Closed CurlyMoo closed 9 years ago
start on started xbmc-loaded or failsafe-boot or started xbmc-done
to
start on started network-interface or started networking
if all fine, we can make that default
what I agree on - IF xbmc job is killed on TIMEOUT (startup timeout), respawn should not kick in. Respawn should be active only on 'random' xbmc crashes - actually this should be fixed. and indeed is in xbian-package-xbmc-scripts v1.1.5
ssh-nid.conf
and remove the ssh-nid.override
. So let's do that.well
xbmc started services wise. Does some of our logic depend on it?your 2. would be right IF it would come out of valid premise. but it does not. for you it is theoretic assumption. for me it is hell & work for 4months. you can't remember that because it was the time you took a break from project. but I still remember how many times the workflow & it's upstart implementation changed around that. and each I remember why. I'm telling you it was not by reading never used disaster recovery manuals of some anonymous company.
for you it sounds so far far away... I tell you why - because we never got reported issues around that. we were never spoiled by mass reports of failed boots, shutdowns, over and over missing xbmc conf files, destroyed partitions, lost data. never ever with number of individual cases greater then std error.
why do you think it is like that. because we are lucky? because we have lucky users? or because the users do report 1ms rebutter but always forget to report lost data ? nope. it is because we took all possible precautions to minimise impact of those "theoretic assumptions".
so if you ask if there is actually use in knowing how well xbmc (the core application) is with start or with quit/reboot/shutdown - the answer is yes, there is. USER. the only which really matters. and the user is not interested in the details, yes - until all magically works. but he will tell you over and over again if the not important details suddenly do not play together.
I of course assume there is a reason to know it, but what. What do we do when XBMC is actually fully started? What services are dependent on it?
we know we don't need to do anything.
the other case is when we need to take actions (already listed them before).
After building my offsite ZFS backup with XBian and investigating the XBMC reboot loop, i have the following two questions:
ssh-nid.override
and SSH just runs fine. I would just let telnet run besides SSH and try to start SSH as early as possible as well. When SSH fails, users can fallback on telnet.xbmc.bin
process is still running and if not let it respawn (except when the user stopped XBMC himself).Was just curious. Especially the XBMC thing questions me because it's already quite a hassle to get it working properly.