Idea: Remove XBMC reboot when SSH reboot denied
|
2nd Jul, 2014, 07:13 AM
Post: #4
|
|||
|
|||
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 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Remove XBMC reboot when SSH reboot denied - IriDium - 14th May, 2014, 03:18 AM
RE: Remove XBMC reboot when SSH reboot denied - mk01 - 22nd Jun, 2014, 02:02 PM
RE: Remove XBMC reboot when SSH reboot denied - IriDium - 26th Jun, 2014, 02:15 AM
RE: Remove XBMC reboot when SSH reboot denied - mk01 - 2nd Jul, 2014 07:13 AM
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
reboot is not working | qoop | 3 | 4,812 |
3rd Mar, 2022 01:18 PM Last Post: bonjovi |
|
Official way to stop and restart kodi without reboot? | Otaku Wally | 19 | 115,027 |
4th Jan, 2020 09:40 AM Last Post: deHakkelaar |
|
[SOLVED] constant crash and reboot | aztech | 2 | 7,102 |
12th Feb, 2016 03:21 PM Last Post: f1vefour |