Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[IDEA] Remove XBMC reboot when SSH reboot denied
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Idea: Remove XBMC reboot when SSH reboot denied
14th May, 2014, 03:18 AM
Post: #1
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
Remove XBMC reboot when SSH reboot denied
When you make a change in ssh Xbian-config (Say updating OC values) you are asked if you want to reboot. Selecting No has the desired effect - however in XBMC you are still prompted if you want to reboot.

There is no need for this - the system should know where the "change" was made (either ssh or XBMC) and only display the reboot command on the appropriate screen.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
22nd Jun, 2014, 02:02 PM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Remove XBMC reboot when SSH reboot denied
that is by design.

what about case you login with ssh and your wife is watching tv directly ? Smile

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
26th Jun, 2014, 02:15 AM
Post: #3
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Remove XBMC reboot when SSH reboot denied
What would be worse... in that scenario is that I am upgrading the system and the popup appears on the TV downstairs and "her indoors" say's "Ok" - Doh.

Not an issue more a point.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
2nd Jul, 2014, 07:13 AM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Remove XBMC reboot when SSH reboot denied
the "problem" is not that simple at all. just for start - if you find elegant solution - no problem to implement it.
anyhow from the system perspective this all is happening:

all xbian* packages & xbian-config is following Debian policy with reboot-required semaphore file.
xbian-config has internal function to check for that file. xbian-config-xbmc is solely calling that internal function. the function itself will not return "yes" until apt & dpkg finished - that just means you will not get "reboot" request prior upgrading is done.

the file is commonly used by other system components and also upstream packages are creating it in case they would like to reboot (libs/base tools/kernel/etc).

auto-update subsystem is using that too. so the file & user notification by XBian can by also triggered by non-user actions (so without originator ssh or xbmc). auto-update subsystem has some shutdown tasks which also rely on that semaphore file.

xbmc will ask you only once (if NO is choosen, xbmc will not ask again).

and the most relevant point - this notification is there because REBOOT IS REQUIRED. if libc is updated without services restart or reboot, it's only question of time of random problems / crashes. but the same applies for instance if XBians libcec, libtag, shairport libs would be updated and XBMC won't be restarted (or reboot).

if it is such problem and you want to silently ignore that fact, only proper solution would be a switch yes/no in xbian-config-xbmc at updates controlling the popup dialog within xbmc. so the reboot check will never run in xbmc.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
Bug reboot is not working qoop 3 5,419 3rd Mar, 2022 01:18 PM
Last Post: bonjovi
  Official way to stop and restart kodi without reboot? Otaku Wally 19 117,603 4th Jan, 2020 09:40 AM
Last Post: deHakkelaar
  [SOLVED] constant crash and reboot aztech 2 7,587 12th Feb, 2016 03:21 PM
Last Post: f1vefour

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 12:25 AM Powered By MyBB, © 2002-2025 MyBB Group.