Bug#756109: systemd: Please copy 70-uaccess.rules and 71-seat.rules in the initramfs

Laurent Bigonville bigon at debian.org
Fri Nov 13 16:03:46 GMT 2015


On Sun, 29 Mar 2015 05:30:23 +0200 md at Linux.IT (Marco d'Itri) wrote:
 > On Jul 26, Laurent Bigonville <bigon at debian.org> wrote:
 >
 > > Do you think that it could be possible to copy 70-uaccess.rules and
 > > 71-seat.rules (and maybe 73-seat-late.rules) in the initramfs?
 > Adding 70-uaccess.rules is easy, but 71-seat.rules runs some programs
 > like loginctl which is not available in the initramfs.
 > Maybe we need a simpler rules file just for the initramfs?
 > Is this change still needed?
 > What do other distributions do about this?

Still would be nice to have yes.

I see two RUN in the 71-seat.rules and the loginctl one is used to lock 
the session in case a keylogger is inserted while the machine is booted, 
is it a problem if the command fails? The other one is udevadm, isn't 
this one already in the initramfs?

Looking at fedora, I see that they are copying the following rules:

     inst_rules \
         70-uaccess.rules \
         71-seat.rules \
         73-seat-late.rules \
         90-vconsole.rules \
         99-systemd.rules

but indeed they are also installing the loginctl apparently (and 
systemd-sysctl for 99-systemd.rules).

Cheers,

Laurent



More information about the Pkg-systemd-maintainers mailing list