Bug#465901: marked as done (cryptroot remote unlocking on boot feature)
Your message dated Wed, 09 Apr 2008 09:03:38 +0000
with message-id <E1JjWDS-0006Be-M9@ries.debian.org>
and subject line Bug#465901: fixed in initramfs-tools 0.92
has caused the Debian Bug report #465901,
regarding cryptroot remote unlocking on boot feature
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
465901: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465901
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: cryptroot remote unlocking on boot feature
- From: debian@x.ray.net
- Date: Fri, 15 Feb 2008 15:47:40 +0100
- Message-id: <47B5A60C.3070400@x.ray.net>
Package: initramfs-tools
Version: 0.91e
Severity: wishlist
Tags: patch
this patch is part of three patches (initramfs-tools, cryptsetup,
dropbear) which enable mkinitramfs to create initramfss that provide the
ability to log in and unlock a cryptroot during the boot process from
remote via ssh.
calling configure_networking from /scripts/functions might appear more
than once, so just try if it hasn't been done/wasn't successful yet.
check that by testing for existence of /tmp/net-$DEVICE.conf which is
created by ipconfig.
in mkinitramfs CONFDIR is exported, as this is necessary for hooks (see
related dropbear patch) to find the config without relying on something
hardcoded that's otherwise (mkinitramfs) dynamic.
diff -rNc initramfs-tools.orig/mkinitramfs initramfs-tools/mkinitramfs
*** initramfs-tools.orig/mkinitramfs 2007-12-25 17:03:57.000000000 +0100
--- initramfs-tools/mkinitramfs 2008-02-14 14:01:07.000000000 +0100
***************
*** 168,173 ****
--- 168,174 ----
# Export environment for hook scripts.
#
+ export CONFDIR
export MODULESDIR
export version
export CONFDIR
diff -rNc initramfs-tools.orig/scripts/functions initramfs-tools/scripts/functions
*** initramfs-tools.orig/scripts/functions 2007-12-25 17:03:57.000000000 +0100
--- initramfs-tools/scripts/functions 2008-02-14 13:58:53.000000000 +0100
***************
*** 273,307 ****
configure_networking()
{
! # support ip options see linux sources Documentation/nfsroot.txt
! case ${IPOPTS} in
! none|off)
! # Do nothing
! ;;
! ""|on|any)
! # Bring up device
! ipconfig ${DEVICE}
! ;;
! dhcp|bootp|rarp|both)
! ipconfig -c ${IPOPTS} -d ${DEVICE}
! ;;
! *)
! ipconfig -d $IPOPTS
! # grab device entry from ip option
! NEW_DEVICE=${IPOPTS#*:*:*:*:*:*}
! if [ "${NEW_DEVICE}" != "${IPOPTS}" ]; then
! NEW_DEVICE=${NEW_DEVICE%:*}
! else
! # wrong parse, possibly only a partial string
! NEW_DEVICE=
! fi
! if [ -n "${NEW_DEVICE}" ]; then
! DEVICE="${NEW_DEVICE}"
! fi
! ;;
! esac
! # source relevant ipconfig output
! . /tmp/net-${DEVICE}.conf
}
--- 273,310 ----
configure_networking()
{
! if [ ! -e /tmp/net-${DEVICE}.conf ]; then
! # support ip options see linux sources Documentation/nfsroot.txt
! case ${IPOPTS} in
! none|off)
! # Do nothing
! ;;
! ""|on|any)
! # Bring up device
! ipconfig ${DEVICE}
! ;;
! dhcp|bootp|rarp|both)
! ipconfig -c ${IPOPTS} -d ${DEVICE}
! ;;
! *)
! ipconfig -d $IPOPTS
! # grab device entry from ip option
! NEW_DEVICE=${IPOPTS#*:*:*:*:*:*}
! if [ "${NEW_DEVICE}" != "${IPOPTS}" ]; then
! NEW_DEVICE=${NEW_DEVICE%:*}
! else
! # wrong parse, possibly only a partial string
! NEW_DEVICE=
! fi
! if [ -n "${NEW_DEVICE}" ]; then
! DEVICE="${NEW_DEVICE}"
! fi
! ;;
! esac
!
! # source relevant ipconfig output
! . /tmp/net-${DEVICE}.conf
! fi
}
--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.92
We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:
initramfs-tools_0.92.dsc
to pool/main/i/initramfs-tools/initramfs-tools_0.92.dsc
initramfs-tools_0.92.tar.gz
to pool/main/i/initramfs-tools/initramfs-tools_0.92.tar.gz
initramfs-tools_0.92_all.deb
to pool/main/i/initramfs-tools/initramfs-tools_0.92_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 465901@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Wed, 09 Apr 2008 10:42:49 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.92
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description:
initramfs-tools - tools for generating an initramfs
Closes: 447611 463607 465901 467078 467627 468112 468113 470869 474691
Changes:
initramfs-tools (0.92) unstable; urgency=low
.
Release "Ogni contrada è patria del ribelle"
.
[ maximilian attems ]
* init: export ROOTFLAGS + ROOTFSTYPE.
* debian/control: s/XS-Vcs/Vcs/
* mkinitramfs: Drop gzip -9 option. (closes: #470869)
Thanks Tollef Fog Heen <tfheen@err.no>.
* Ignore lintian warnings about empty directories.
* framebuffer: Let udev create fb devices.
* framebuffer: Leave tty devices for udev too.
* manpages: fix hyphen-used-as-minus-sign
* init: fix mkdir usage.
* init: Set proper permissions of /dev/console mknod fallback.
* scripts/function: Use mknod directly.
* debian/control: Depend on latest klibc for mknod usage.
* scripts/functions: fix configure_networking() for multiple interfaces.
(closes: #467078) Thanks Michal Sojka <sojkam1@fel.cvut.cz>.
* ps3 nuke useless hardcoded initramfs script. (closes: #468113)
* resume: Add support for resume_offset swap file suspend to disk.
(closes: #474691) Thanks Alan Jenkins <alan-jenkins@tuffmail.co.uk>.
* update-initramfs: Rename function according to reliability fix.
* hook-functions: Add atl1, cxgb3, e1000e, igb, ipg, niu, sky2 to
net section of initramfs modules. (closes: #463607)
* hook-functions: MODULES=dep fix ps3 support.
* initramfs-tools.8: Small documentation fixes. (closes: #467627)
.
[ debian@x.ray.net ]
* configure_network(): do nothing if device already configured.
(closes: #465901)
.
[ Joey Hess ]
* update-initramfs: use dpkg-trigger. (closes: #447611)
.
[ Luke Yelavich ]
* update-initramfs: Initramfs generation reliability fixes.
(closes: #468112)
.
[ Fabio M. Di Nitto ]
* hook-functions: Add support for sunvnet and sunvdc.
Files:
331235c0dd9e0dfbc2ef8b4065a2c9a9 780 utils optional initramfs-tools_0.92.dsc
66617c9ca31288fcadeb88e69af2c23d 65089 utils optional initramfs-tools_0.92.tar.gz
e42742da43870f0544feacbbcd7bb832 71950 utils optional initramfs-tools_0.92_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH/IIJeW7Lc5tEHqgRAkScAKDA9LT52pky3AVKva6wmfSJaX4pNQCgiIEe
gsS10Xjq+XjPSHR+FXjbfy8=
=00G2
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: