Bug#633582: initramfs-tools: All files in initrd owned by root
maximilian attems
max at stro.at
Mon Jul 11 23:33:08 CEST 2011
tags 633582 -patch +moreinfo
Thanks
No, please patch is a git patch not a patch with a radom user path,
see documentation
http://anonscm.debian.org/gitweb/?p=kernel/initramfs-tools.git;a=blob_plain;f=docs/maintainer-notes.html;hb=HEAD
On Mon, Jul 11, 2011 at 11:03:34PM +0200, Mandos Maintainers wrote:
> Package: initramfs-tools
> Version: 0.99
> Severity: normal
> Tags: patch
>
> All files in initramfs are now forcibly changed to be owned by root.
> This breaks mandos-client. Patch attached.
what the hack is "mandos"?
care to give a short intro and usage purpose that it may break?
> -- /etc/initramfs-tools/modules
> i915 modeset=1
sugar, it shouldn't be necessary.
> /usr/share/initramfs-tools/hooks:
..
> mandos
> mandos.~1~
> mandos.~2~
hmm?
> diff -u /usr/sbin/mkinitramfs.~1~ /usr/sbin/mkinitramfs
> --- /usr/sbin/mkinitramfs.~1~
> +++ /usr/sbin/mkinitramfs
wrong path, see explanation aboves?
> @@ -321,7 +321,7 @@
> [ "${verbose}" = y ] && echo "Building cpio ${outfile} initramfs"
> (
> # work around lack of "set -o pipefail" for the following pipe:
> -# cd "${DESTDIR}" && find . | cpio --quiet -R 0:0 -o -H newc | gzip >"${outfile}" || exit 1
> +# cd "${DESTDIR}" && find . | cpio --quiet -o -H newc | gzip >"${outfile}" || exit 1
similar as dracut.
> exec 3>&1
> eval `
> # http://cfaj.freeshell.org/shell/cus-faq-2.html
> @@ -330,7 +330,7 @@
> {
> find . 4>&-; echo "ec1=$?;" >&4
> } | {
> - cpio --quiet -R 0:0 -o -H newc 4>&-; echo "ec2=$?;" >&4
> + cpio --quiet -o -H newc 4>&-; echo "ec2=$?;" >&4
> } | ${compress} >"${outfile}"
> echo "ec3=$?;" >&4
> `
>
thank you.
--
maks
More information about the Mandos-Dev
mailing list