Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #51692
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#767448: No way to override settings from /usr/share/initramfs-tools/conf-hooks.d/* |
| Date | 2015-12-11 03:50 +0100 |
| Message-ID | <qElWp-6r8-1@gated-at.bofh.it> (permalink) |
| References | <ohcWB-35D-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
On Fri, 31 Oct 2014 06:17:46 +0100 Piotr Jurkiewicz <piotr.jerzy.jurkiewicz@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.
Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#767448: No way to override settings from /usr/share/initramfs-tools/conf-hooks.d/* Ben Hutchings <ben@decadent.org.uk> - 2015-12-11 03:50 +0100
Bug#767448: No way to override settings from /usr/share/initramfs-tools/conf-hooks.d/* Ben Hutchings <ben@decadent.org.uk> - 2016-01-25 18:40 +0100
Bug#767448: No way to override settings from /usr/share/initramfs-tools/conf-hooks.d/* Piotr Jurkiewicz <piotr.jerzy.jurkiewicz@gmail.com> - 2016-02-29 05:20 +0100
Bug#767448: No way to override settings from /usr/share/initramfs-tools/conf-hooks.d/* Ben Hutchings <ben@decadent.org.uk> - 2016-04-17 03:00 +0200
Processed: Re: No way to override settings from /usr/share/initramfs-tools/conf-hooks.d/* owner@bugs.debian.org (Debian Bug Tracking System) - 2016-04-17 03:00 +0200
csiph-web