FS#6776 - add custom commands to rc.sysinit and rc.shutdown
Attached to Project:
Arch Linux
Opened by pajaro (pajaro) - Saturday, 31 March 2007, 21:38 GMT
Last edited by Aaron Griffin (phrakture) - Wednesday, 30 January 2008, 22:51 GMT
Opened by pajaro (pajaro) - Saturday, 31 March 2007, 21:38 GMT
Last edited by Aaron Griffin (phrakture) - Wednesday, 30 January 2008, 22:51 GMT
|
Details
Something that i miss in archlinux is the possibility to
execute commands in the sysinit and shutdown processes in
states in which the hd is mounted readonly.
Now i have to edit the rc.sysinit and rc.shutdown files every time an upgrade appears. It would be really good to be able to include files within the boot process setting files in rc.conf like you do with DAEMONS, but having others states: ROOT_READONLY_STATE_DAEMONS=(checkfs) these files could the same behaivour than daemons: a switch with "boot" and "shutdown" options, so that you don't need to create a a boot_pre_mount_rw trigger and a shotdown_post_mount_ro one, just a ro_state would be enough. _ |
This task depends upon
Closed by Aaron Griffin (phrakture)
Wednesday, 30 January 2008, 22:51 GMT
Reason for closing: Won't implement
Wednesday, 30 January 2008, 22:51 GMT
Reason for closing: Won't implement
In example, LVM, encrypted filesystems, raids, wouldn't need modification of the main files.
This would also keep rc.sysinit clean and simple.
Maybe this doesn't fit with the arch KISS philosophy, but i am not the one who has to evaluate it. As I see programming, having an structure similar to the one DAEMONS have applied to the whole boot and shutdown processes would be optimal.
Also, since i became more brave as a coder, I don't see anymore that this should be a feature request. Initiscripts get updated slow enough to adapt each release.
As I see it now, i should create my own initscripts and add them to aur. If they came to be good and widely accepted then it is when the feature request should be opened.
Thank you for your time :)