As I saw, after reboot box I must always run "/etc/init.d/autofs start" manualy, because autofs does not start automaticaly. Tried on more boxes.
Why ?
Posted 21 April 2014 - 15:38
Can you check if you have S??-autofs files in a.o. /etc/rc2.d? The package seems to inherit update-rc.d in the recipe, but it may not install the necessary symlinks? Or it is called at the wrong phase during booting?
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 21 April 2014 - 16:14
Ah okay, then that part is no problem. Maybe it's something with a name lookup being done before the network is up etc. What shows ls /etc/rc2.d? Over here I have S01networking, so networking should be ready by the time S20autofs is started. Weird.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 21 April 2014 - 17:19
Yes exactly, that's correct imho.
What you might try (what I do in such situations) is add logging to the script.
If you have something like this in the script:
start) startstopdaemon bla ;;
replace it with
start) ( set -x startstopdaemon bla ) 2>&1 > /tmp/logging ;;
I hope this shows something.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 21 April 2014 - 19:15
I should repair my title from "Autofs does not start after reboot box" to "Autofs does not start after power-on" box.
All shared disks are missing. But autofs4 module is loaded, when I put into autofs script line with: lsmod >> /tmp/autofs.log.
After next reboot it works well, as I known now. Deep standby do not corrupts it too, but when was used power off/on before deep standy, then after wake-up from deep standby it is not initialized too.
Strange...
Same on dm800se, xp1000, same on vu ultimo.Same on friend's vu solo2.
Posted 21 April 2014 - 20:20
I should repair my title from "Autofs does not start after reboot box" to "Autofs does not start after power-on" box.
All shared disks are missing. But autofs4 module is loaded, when I put into autofs script line with: lsmod >> /tmp/autofs.log.
After next reboot it works well, as I known now. Deep standby do not corrupts it too, but when was used power off/on before deep standy, then after wake-up from deep standby it is not initialized too.
Strange...
Same on dm800se, xp1000, same on vu ultimo.Same on friend's vu solo2.
I have the same problem like you have, here is on the Octagon SF8 (XP1000).
How can we fix it ?
Thank's
Posted 22 April 2014 - 13:53
What happens if you put a sleep 120 before starting of the daemon? Maybe someting isn't ready initialising at this point. It's just a wild guess, but if it works then, it must be something like that. Also may the dmesg output from directly after booting will give some info?
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 22 April 2014 - 16:49
Ugly...
Does dmesg say something useful (beside the usual boot message and driver debug messages)? I don't use autofs, so I can't test myself.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 22 April 2014 - 17:24
Ugly...
Does dmesg say something useful (beside the usual boot message and driver debug messages)? I don't use autofs, so I can't test myself.
Ugly ... but works.
As I read on inet, it is problem for more users... https://bugs.launchp...189/comments/39
Posted 22 April 2014 - 17:31
But I still don't understand, because autofs is started after "network". The startup sequence is not comparable to Ubuntu. But maybe autofs cannot handle interface ip address as well and maybe dhcp finishes after autofs. Can you try it with a static ip address? If that's the case, we may need to start autofs from a dhcp client hook script, I am not sure if udhcpd offers such hooks though.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 22 April 2014 - 17:45
Do you mean static dhcp lease or static in enigma? I am using static dhcp leases.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Posted 22 April 2014 - 18:36
Okay clear. So interface is up, ip doesn't change... This really looks like autofs needs to be started twice to get running! The next thing I would do myself is replace part of the init script that starts the autofs daemon with a script that calls strace (-f!) to start the daemon and redirect the output to a file. Do you think you can do that?
What also might help is install busybox-syslog, configure it for log buffer and see what's logged using logread.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
0 members, 0 guests, 0 anonymous users