FS#48924 - [dkms] Compiles modules as the root user
Attached to Project:
Arch Linux
Opened by Earnestly (Earnest) - Wednesday, 13 April 2016, 12:15 GMT
Last edited by Sébastien Luttringer (seblu) - Saturday, 16 April 2016, 21:02 GMT
Opened by Earnestly (Earnest) - Wednesday, 13 April 2016, 12:15 GMT
Last edited by Sébastien Luttringer (seblu) - Saturday, 16 April 2016, 21:02 GMT
|
Details
Currently dkms in Arch Linux appears to compile the modules
as the root user, this is particularly problematic with the
push to use DKMS for kernels Arch supports.
I believe it is possible to support building as non-root with dkms but I'm unsure how. Ubuntu's example from https://wiki.kubuntu.org/Kernel/Dev/DKMSPackaging clearly shows the build command using su nobody -c "make ..." however that doesn't appear to be part of upstream DKMS: http://linux.dell.com/cgi-bin/cgit.cgi/dkms.git/tree/dkms#n632 |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Saturday, 16 April 2016, 21:02 GMT
Reason for closing: Won't implement
Saturday, 16 April 2016, 21:02 GMT
Reason for closing: Won't implement
Until then, debian (and I guess ubuntu) does not build as nobody anymore, see:
- http://metadata.ftp-master.debian.org/changelogs//main/d/dkms/dkms_2.2.0.3-2_changelog
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554168