[gull] init scripts ne démarrent pas

Stéphane Graber stgraber at ubuntu.com
Sat Apr 7 01:07:46 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 04/06/2012 06:33 AM, Pierre Maitre wrote:
> Bonjour à tous
> 
> Depuis quelque temps, j'ai des problèmes de scripts de démarrage:
> 
> 1) les scripts qui sont dans /etc/rc[235].d  ne démarrent plus au 
> boot. Je dois tous les lancer à la main à la ligne de commande.
> C'est le cas par exemple de cups, apache2, ddclient, etc qui sont
> tous des scripts de type sysV.
> 
> 2) Les scripts de type upstart sont pour la plupart démarrés 
> normalement, sauf cron qui est stoppé:
> 
> root at station0:/etc/rc5.d# initctl status cron cron stop/waiting
> 
> alors que /etc/init/cron.conf contient start on runlevel [2345]
> 
> J'ai donc vérifié le runlevel et, curieusement, il n'y a pas de 
> runlevel après un boot normal (interface graphique): 
> root at station0:/etc/rc5.d# runlevel unknown
> 
> Mais si je fais un telinit 5, tous mes scripts démarrent!
> 
> root at station0:/etc/rc5.d# telinit 5 root at station0:/etc# runlevel N
> 5 root at station0:/etc/rc5.d# initctl status cron cron start/running,
> process 3387 root at station0:/etc/rc5.d# ps -ef | grep cron root
> 3387     1  0 11:49 ?        00:00:00 cron 
> root at station0:/etc/rc5.d# ps -ef | grep cups root      3696     1
> 0 11:49 ?        00:00:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
> 
> 
> Depuis qu'il n'y a plus /etc/inittab, je suis perdu. Je n'ai rien
> trouvé de pertinent dans les logs.
> 
> Quelqu'un aurait-il une piste?
> 
> Pierre Maitre _______________________________________________ gull
> mailing list gull at forum.linux-gull.ch 
> http://forum.linux-gull.ch/mailman/listinfo/gull

Bonjour,

De quelle version d'Ubuntu s'agit-il?

Le résultat de "initctl list" serait utile aussi.

Merci

- -- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJPf3dCAAoJEMY4l01keS1nGYoP/2u5iazZRwxiF1MRIKzEafAk
ZA7AiHPKUYr2D6/dojkEKFPwLcUDJIwo/z9PiEAlusJFMP1EID8kruYphURQtgWZ
Qrm0eRsK1NhavbwXPak3boiKPS7dVQ6+stNeXCFTfy8rwpl14NrHuEot5AjidrcW
guAujAW8FnLDOAx4UghIzYhgWajZL1L9bp59I1N+ZzBpLW+Kjc2bY8qMcTVoQBdf
XRhZ+/doQO7MBonora3fsOeVv4eIKKM581peU0L4wqZ2nPTZlQ8uzuVJ6cTF6988
ZQQz2TA/dg9MF9wR7BXs6Mx5KQa132uc/WRigIRzPUh2Am4gyS6NRwlQ/jSsUD3D
7zLbnRyZ0BhEOTQaoD0BVbl6JC8DcNVE8tX9VZPLF2xdBlYHmAcVGCTe1L3oC2zX
1l7B2QdRhiFnu0F6utTG7dQwAwP1D3jrMNUkx9KsWOCez5Xwj55307nU7LkGjzxO
bTNnjjiBNii1H/BYx/RmvcUBg/dAoro9cPNiZiYcROwby85pXYj8upzjEIwlJTay
X78uc8oPPNp9Ob0JCuuon+CD2QCSa6FaZwck4au9r4AEyiG13Kr+0k5kOO4GjeM/
SzdiLmJq3lNYt+4qUiTgXrqE3m1Z0E3wzzs129YauKicZ7MjuW23kPPReHgvh37B
e2xR46HyEPgbJ3iOJUwt
=UkxP
-----END PGP SIGNATURE-----


More information about the gull mailing list