On Fri, 31 Oct 2014 06:17:46 +0100 Piotr Jurkiewicz <piotr.jerzy.jurkiew...@gmail.com> wrote: > Package: initramfs-tools > > There is no way for user to override settings from > /usr/share/initramfs-tools/conf-hooks.d. > > For example, dropbear package in file /usr/.../conf-hooks.d/dropbear > sets UMASK variable to 0077. User cannot override this with his own > setting in /etc. > > The only way to do that is to edit /usr/.../conf-hooks.d/dropbear file > directly and change UMASK. However, such change will be of course > overwritten on a next update of dropbear package.
Actually, you can use dpkg-divert to rename this file to somewhere else that initramfs-tools will ignore it. dpkg will follow that renaming so it won't undo your change. > In my opinion, user-provided settings from /etc/* should have priority > over package-provided settings form /usr/*. This is a tricky one. Some packages really do need to override initramfs.conf, to enable features they depend on. I agree we need to come up with a better approach for controlling the UMASK variable. Ben. -- Ben Hutchings One of the nice things about standards is that there are so many of them.
signature.asc
Description: This is a digitally signed message part