stunnel init.d script doesnt work at boot time but works later on
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
stunnel4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: stunnel4
On fresh Jaunty Ubuntu 9.04 install
Linux ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
#apt-cache policy stunnel
stunnel:
Installé : 3:4.22-2
Candidat : 3:4.22-2
Table de version :
*** 3:4.22-2 0
500 http://
100 /var/lib/
With /etc/default/
I get:
#ps -aef | grep stunnel
root 4459 1 0 13:20 ? 00:00:00 /usr/bin/stunnel4 /etc/stunnel/
with no errors in /var/log/messages. Stunnel is not properly started.
After
#sudo /etc/init.
#ps -aef | grep stunnel
root 4459 1 0 13:20 ? 00:00:00 /usr/bin/stunnel4 /etc/stunnel/
root 4460 1 0 13:20 ? 00:00:00 /usr/bin/stunnel4 /etc/stunnel/
root 4461 1 0 13:20 ? 00:00:00 /usr/bin/stunnel4 /etc/stunnel/
root 4462 1 0 13:20 ? 00:00:00 /usr/bin/stunnel4 /etc/stunnel/
root 4463 1 0 13:20 ? 00:00:00 /usr/bin/stunnel4 /etc/stunnel/
stunnel4 4464 1 0 13:20 ? 00:00:00 /usr/bin/stunnel4 /etc/stunnel/
Stunnel is now properly started.
I tried moving the init.d scripts to higher priority (51,81) (higher than NetworkManager). It didnt change anything.
sudo find /etc/ -name "*stunnel4*"
/etc/rc2.
/etc/rc4.
/etc/rc1.
/etc/rc3.
/etc/logrotate.
/etc/rc5.
/etc/default/
/etc/rc0.
/etc/rc6.
/etc/init.
/etc/ppp/
/etc/ppp/
Ugly workaround:
#cat /etc/crontab | grep stunnel
@reboot root /etc/init.
Common interests with https:/ /bugs.launchpad .net/bugs/ 172768