[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#381677: initramfs-tools: Temporary files and initramfs world-readable



thanks for your quick response.

On Tue, Sep 12, 2006 at 04:33:07PM +0200, Lionel Elie Mamane wrote:
> >> Aren't /usr/share/initramfs-tools/conf.d/ and/or
> >> /etc/initramfs-tools/conf.d/ already such "specific config dir"?
> 
> > no they got source inside the initramfs on boot time,
> 
> Ah yeah, right.
> 
> > what you want is a conf dir for build specific package specific
> > settings.
> 
> Actually, if we look at the details, I'm not sure the loopaes-utils
> package should unconditionally set the umask of initramfs-tools, as
> a significant portion of the users may have the package installed,
> but not an encrypted _root_ filesystem. So in the best case, we would
> want the loopaes hooks to be able to decide whether they touch the
> umask or not at runtime (runtime = building the initramfs), but this
> seems difficult at best. So, I suppose that the next best thing would
> be to give the _administrator_ a way to change the umask. But that's
> up to the maintainer of loopaes-utils, naturally.
> 
> Max Vozeler? An opinion on that?

well i need anyway an mkinitramfs.d dir that allows to set packages
what they need on the initramfs aka
BUSYBOX=y
or 
UMASK=777

or whatever, i haven't yet come up with a good simple name,
with hooks or conf inside of it, as hooks are clearly only for build
time.

-- 
maks





Reply to: