Am 25.08.2012 18:02, schrieb Gerardo Exequiel Pozzi: >> --- /dev/null >> +++ b/configs/releng/root-image/etc/fstab >> @@ -0,0 +1,6 @@ >> +# >> +# /etc/fstab: static file system information >> +# >> +# <file system> <dir> <type> <options> <dump> <pass> >> +tmpfs /tmp tmpfs nodev,nosuid 0 0 >> +keyring /etc/pacman.d/gnupg tmpfs mode=0755 0 0 > > Or maybe with tmpfiles.d > > d /run/pacman.d/gnupg - - - - - > L - - - - /etc/pacman.d/gnupg
Fine by me.
>> diff --git a/configs/releng/root-image/etc/rc.d/pacman-init
>> b/configs/releng/root-image/etc/rc.d/pacman-init
>> index bbbd719..20005c8 100755
>> --- a/configs/releng/root-image/etc/rc.d/pacman-init
>> +++ b/configs/releng/root-image/etc/rc.d/pacman-init
>> @@ -7,7 +7,6 @@ case "$1" in
>> start)
>> stat_busy "Initializing pacman keyring"
>> if { pacman-key --init && pacman-key --populate archlinux; }
>> &>/dev/null; then
>> - add_daemon pacman-init
>> stat_done
>> else
>> stat_fail
>> @@ -16,14 +15,9 @@ case "$1" in
>> ;;
>> stop)
>> - stat_busy "Removing pacman keyring"
>> - rm -rf /etc/pacman.d/gnupg
>> - rm_daemon pacman-init
>> - stat_done
>> ;;
>> restart)
>> - $0 stop
>> $0 start
>> ;;
>>
>
> Well I was thinking in removing all initscripts stuff in few days, since
> there are no objections in my RFC patches.
Pierre had some concerns regarding the network setup, so I'll force him
to comment on that by hitting him repeatedly until he writes an email.
The same can be achieved with a oneshot systemd unit - what's important
is that the pacman-init "stop" on shutdown makes no sense.
signature.asc
Description: OpenPGP digital signature
