Re: initialization vs supervision
Hello James,
> Stage-1's purpose is basically to mount file systems, load drivers,
> check the file system, and load the disks. Now first off, yes, I
> could move udev into stage-2, but there-in lies an issue, what would
> then require a redrafting of many service scripts to check for udev,
> then load? Udev in my opinion is a one-shot daemon. It loads devices
> and it settles, and that's it. DBus already has many services check
> for it. If we expand this it only increases the complexity factor,
> so that's why things get moved around from stage-2 to stage-1,
> unless otherwise shown to be necessary.
I take your approach that udev should not need to be supervised. If it
crashes, I have this line in my crontab:
" */5 * * * * for svc in $(rc-status --crashed); do rc-service $svc -- --nodeps restart; done"
On my system, I have atd, crond, acpid, klogd and svlogd as supervised
processes. I plan to move from syslogd to rsyslogd, so, it might
change a little.
Thanks
Joe
--cmJC7u66zC7hs+87
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBAgAGBQJT0QqZAAoJENvmPC7PRKkIgeUP/RBfhRfuIQ8hcTbBZ5YVDLvY
B2BoGlm1HVkNIk+VGdjPhjtSb03jPrIu6imtd3+U8K1SPcF5YRKiFmAvHpX6pDb0
vStvgkO/iRvl0zx1XTC1uRHSNQ9o91yRu8gdUSsZTx3tZOD37bBZ5AHstYVygPiF
/bIcXvAld4gqHz+82DhqPooGJMC12bLAI4jUIIPbYy/Rl1mCyDurDUMAlYheEf4V
pNRpJ2PEGTImH32sCnPl3mjvl1CW4D38rU8PRONUJRWK+aWitVb1EoPUwdRgL+qZ
iywCkVdTEzNlH5nhkmKbdkSYDm71YuZojLnKFbSqygMz6YaBiHMaPegaRFMfCuqg
ScAcvEMwL1UnZIt9YAD1KMSw1ZKS8v/LXF67nDh/1lQEb97dA5ewpOrweMCUJ9fD
x+b8rGiiBv5KJEGaqW9BvXGyD7vNS5ly5SXNK/kSIUs/V2hs7nu61SbcH4zjX6M/
P6E1o3c4B+b2jeg6ifd3ukSjgeSS5IWWee3sghQRk5bUNAl2ldf/5tWIaTBPf0h3
mUMPFusLOlAnmTjlTzpf8oPzxmDrGwRcnCjXvbxXohWXx2qltdNnpUj1KqIZprxD
9jh8thWpa42384bSQwe5VGPipDYUKUdCb5N/T2lwRe6bbsrENYlGdMEfl+sUzR2+
/DYxfziodo+99IDW4xag
=JozS
-----END PGP SIGNATURE-----
--cmJC7u66zC7hs+87--
Received on Thu Jul 24 2014 - 13:31:05 UTC
This archive was generated by hypermail 2.3.0
: Sun May 09 2021 - 19:44:18 UTC