Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#4688 - [initscripts] move towards more standard rc.d scripts
Attached to Project:
Arch Linux
Opened by Dale Blount (dale) - Tuesday, 23 May 2006, 18:30 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 12 June 2009, 20:31 GMT
Opened by Dale Blount (dale) - Tuesday, 23 May 2006, 18:30 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 12 June 2009, 20:31 GMT
|
DetailsIt seems our rc.d initscripts could be more standardized than they are currently. Each daemon possibly uses a different kill style... kill/killall and uses the pid from pidof or sometimes from the file kept in /var/run/. Other distros use a killproc function that handles retrying the kill if first attempt fails, as well as sleeping for only the required amount of time (we use arbitrarily high values now, and sometimes that even fails).
here is the functions file from CentOS that contains this killproc bash function I speak of: EDIT: File is now attached instead. Suggestions? |
This task depends upon
Closed by Aaron Griffin (phrakture)
Friday, 12 June 2009, 20:31 GMT
Reason for closing: None
Additional comments about closing: Use wiki page and prototype files:
http://wiki.archlinux.org/index.php/Writ ing_rc.d_scripts
Friday, 12 June 2009, 20:31 GMT
Reason for closing: None
Additional comments about closing: Use wiki page and prototype files:
http://wiki.archlinux.org/index.php/Writ ing_rc.d_scripts
and also improve our initscripts package in this area.