Created attachment 814519 [details] genkernel log Hi, I'm having troubles after building a kernel, generating the initrd using genkernel. The kernel is configured to compress in xz, and I configured genkernel to compress the initrd also. The output of the error is as follows: * ERROR: Command './configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-threads --enable-static --disable-nls --disable-xz --disable-xzdec --disable-lzmadec --disable-lzmainfo --disable-lzma-links --disable-scripts --disable-doc' failed! * ERROR: create_initramfs(): append_data(): append_eudev(): populate_binpkg(): populate_binpkg(): gkbuild(): Failed to create binpkg of xz-5.2.5! * Please consult '/var/log/genkernel.log' for more information and any * errors that were reported above. Attached is /var/log/genkernel.log. Thanks! José.
Created attachment 814522 [details] genkernel.conf
COMMAND: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-threads --enable-static --disable-nls --disable-xz --disable-xzdec --disable-lzmadec --disable-lzmainfo --disable-lzma-links --disable-scripts --disable-doc /usr/share/genkernel/gen_worker.sh: line 68: ./configure: Permission denied Dodgy umask?
(In reply to Sam James from comment #2) > COMMAND: ./configure --prefix=/usr --build=x86_64-pc-linux-gnu > --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info > --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib > --enable-threads --enable-static --disable-nls --disable-xz --disable-xzdec > --disable-lzmadec --disable-lzmainfo --disable-lzma-links --disable-scripts > --disable-doc > /usr/share/genkernel/gen_worker.sh: line 68: ./configure: Permission denied > > Dodgy umask? It can be, though the system is not having any extra config in that direction, default umask is: $ umask 0022 from /etc/login.defs: [...] # Default initial "umask" value used by login(1) on non-PAM enabled systems. # Default "umask" value for pam_umask(8) on PAM enabled systems. # UMASK is also used by useradd(8) and newusers(8) to set the mode for new # home directories if HOME_MODE is not set. # 022 is the default value, but 027, or even 077, could be considered # for increased privacy. There is no One True Answer here: each sysadmin # must make up their mind. UMASK 022 [...] Does genkernel modify this value? Thanks!