Bug#339091: initramfs-tools: lacking documentation

2005-12-06 Thread David Härdeman
tags 339091 - moreinfo stop maximilian attems ([EMAIL PROTECTED]) wrote: > can you please confirem that your manpage was written under "PUBLIC > DOMAIN" license as the initramfs-tools package? I hope this is sufficient: I, the creator of this work, hereby release it into the public domain. This

Bug#343302: initramfs-tools: should not regenerate images on upgrade

2005-12-14 Thread David Härdeman
Package: initramfs-tools Severity: important The latest version of initramfs-tools (0.44) calls update-initramfs in postinst to regenerate the latest initramfs on upgrades (see initramfs-tools changelog, version 0.40ubuntu6). This can be potentially very dangerous if the newer initramfs-tools for

Bug#342925: Not only on sparc64

2005-12-15 Thread David Härdeman
This problem is not limited to sparc64, I've encountered it on i386 after upgrading from initramfs-tools 0.41 to 0.44 (when using a kernel compiled with modular ide). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#338406: initramfs-tools: Doesn't create /dev/hda* device nodes on LVM system

2005-12-20 Thread David Härdeman
maximilian attems wrote: > please retest with latest initramfs-tools in unstable And when doing so, please take note of merged bugs 332824, 337497 and 342925 (i.e. make sure that ide-disk and possibly ide-generic are added to /dev/mapper/control before generating the new initramfs image). It seem

Bug#332824: fixed udev -> fixed initramfs-tools?

2005-12-20 Thread David Härdeman
Jonathan Brandmeyer wrote: > So, what do I need to edit to fix this? Alternatively, > what command should I try to run after modprobing in > ide-disk and ide-generic? The problem is that ide-disk and ide-generic are not loaded when dm-mod is loaded so when it performs its initial device scan it s

Bug#332824: fixed udev -> fixed initramfs-tools?

2005-12-21 Thread David Härdeman
Jonathan Brandmeyer wrote: > /dev/mapper is empty except for control Does running "vgscan" and/or "vgchange -ay" from the initramfs shell create any nodes in /dev/mapper? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#339087: initramfs-tools: activate all lvm volumes

2005-11-14 Thread David Härdeman
Package: initramfs-tools Severity: wishlist Currently the last line in /usr/share/initramfs-tools/scripts/local-top/lvm only activates the volume group which seems to contain the root fs. In order to support features such as root-auto-probing (bug #337682) and cryptoroot-over-lvm, it would b

Bug#339089: initramfs-tools: delay rootfs-type check

2005-11-14 Thread David Härdeman
Package: initramfs-tools Severity: wishlist Currently /usr/share/initramfs-tools/scripts/local checks for the presence of the root device node after local-top has been run but before local-premount has been run an panics if it can't find it: # Get the root filesystem type if [ ! -e "${ROOT}"

Bug#339091: initramfs-tools: lacking documentation

2005-11-14 Thread David Härdeman
quot; ]; then panic "Frobnication executable not found" fi if [ ! -e "/dev/mapper/frobb" ]; then panic "Frobnication device not found" fi log_begin_msg "Starting frobnication" /sbin/frobnicate "/dev/mapper/frobb" || panic "Frobnication failed" log_end_msg exit 0 .fi .RE .SH AUTHOR The initramfs-tools are written by Jeff Bailey <[EMAIL PROTECTED]>. .PP This manual was written by David Härdeman <[EMAIL PROTECTED]>.

Bug#339092: initramfs-tools: check if filesystem is already present in kernel

2005-11-14 Thread David Härdeman
Package: initramfs-tools Severity: minor Tags: patch This patch adds a separate function to load a filesystem driver which first checks if it is already compiled into the kernel which should remove some superflous modprobe error messages if it is. Re, David Index: initramfs-tools-0.38/scripts

Bug#339093: initramfs-tools: kill udevd as late as possible

2005-11-14 Thread David Härdeman
Package: initramfs-tools Severity: minor Tags: patch Currently /usr/share/initramfs-tools/init kills udev after init-premount scripts have executed. However, more devices might become available as a result of running the local scripts. I therefore suggest to kill udev as late as possible (rig

Bug#338406: LVM on hda - works for me

2005-11-14 Thread David Härdeman
Russel Coker wrote: The initramfs generated on a LVM IDE system does not create /dev/hda* device nodes, so vgchange doesn't discover any LVM devices and therefore the machine can't boot. That is weird, I have root-on-lvm-on-hda and the devices are created + the system boots just fine for me.

Bug#338404: Not an initramfs-tools bug

2005-11-14 Thread David Härdeman
This was discussed on debian-devel [1]. As long as the debian kernel is shipped with CONFIG_LEGACY_PTYS enabled I'd say that the current behaviour is correct. The proper fix would be to: a) change the default kernel config; or b) change the udev rules not to do any special changes to initramf

Bug#339087: initramfs-tools: activate all lvm volumes

2005-12-24 Thread David Härdeman
On Fri, Dec 23, 2005 at 02:19:47PM +0100, maximilian attems wrote: This is wrong and can lead to data loss. lvm2 will cheerfully activate even incomplete volumes. I see, feel free to close the bug then, I'll work on a better solution. Re, David -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] w

Bug#211920: Solution found for bug #211920

2005-10-27 Thread David Härdeman
this patch applied and verified that it does indeed fix the problem and it seems to have no side effects. I hope that a fixed version can be included in sarge as soon as possible since this could potentially be a security issue (e.g. if the account has been disabled, access would still be gra

Bug#339365: initramfs-tools: fails with recent udev versions

2005-11-15 Thread David Härdeman
Package: initramfs-tools Severity: important With the recent udev version (0.074-3), /sbin/udevsynthesize tries to run /lib/udev/udevsynthesize if the kernel is a recent version. This fails as /lib/udev/* is not copied to the initramfs image meaning that the boot fails. Re, David -- To UNS

Bug#339374: ketchup: fails with recent 2.6.x.y kernels

2005-11-15 Thread David Härdeman
Package: ketchup Severity: normal Ketchup fails to download recent 2.6.x.y kernels: ([EMAIL PROTECTED]:~/kernel)$ mkdir linux-2.6.14.2 ([EMAIL PROTECTED]:~/kernel)$ ketchup -G -a /home/david/kernel/tarballs -d ./linux-2.6.14.2 2.6.14.2 None -> 2.6.14.2 Unpacking linux-2.6.14.tar.bz2 rmdir: linu

Bug#339375: ketchup: when run with -d option, should create target dir

2005-11-15 Thread David Härdeman
Package: ketchup Severity: wishlist If ketchup is run with the -d command, it would be nice if it created the target directory (if it doesn't exist) instead of crashing: ([EMAIL PROTECTED]:~/kernel)$ ketchup -G -a /home/david/kernel/tarballs -d ./linux-2.6.14.2 2.6.14.2 Traceback (most recen

Bug#339375: Ketchup: create target dir if it doesn't exist

2005-11-17 Thread David Härdeman
y kernels (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339374). Regards, David Härdeman [EMAIL PROTECTED] --- ketchup.orig2005-11-17 22:35:02.0 +0100 +++ ketchup 2005-11-17 22:37:14.0 +0100 @@ -671,6 +671,9 @@ # Process args +if not os.path.exists(options["

Bug#340494: initramfs-tools: make dir and node creation more robust

2005-11-23 Thread David Härdeman
Package: initramfs-tools Severity: minor Currently, initramfs-tools relies upon usr/initramfs_list in 2.6 kernels to create the /dev and /root directories. The attached patch will make sure that they are created along with the console and null device nodes. This has two advantages: 1) If usr

Bug#211920: Security bug (courier ignores pam failures) still present in sarge

2005-10-25 Thread David Härdeman
I am still seeing this problem in the version of courier included in sarge. Courier seems to happily ignore the result of the pam check and continue anyway (when using the pam_tally module). I would suggest that this warrants the security tag and a security update as it allows a user to try to

Bug#402417: [EMAIL PROTECTED]: [Pkg-cryptsetup-devel] Bug#402417: handle chainmode/essiv "plain" correctly]

2007-01-02 Thread David Härdeman
On Sat, Dec 30, 2006 at 04:46:27AM +0100, Jonas Meurer wrote: Hello, I need some advice regarding this bug. Unforuntately i don't know nothing about initramfs, and David Härdeman, the one who usually does all the cryptsetup initramfs stuff, is unavailable currently. Could somebody comme

Bug#403687: [EMAIL PROTECTED]: Re: Bug #406697 - Device nodes are not removed when devices are brought down]

2007-01-15 Thread David Härdeman
On Mon, January 15, 2007 12:45, Steve Langasek said: > On Sun, Jan 14, 2007 at 11:08:53PM +0100, David Härdeman wrote: >> I'll forward the same message to this bug that I forwarded to #406697 >> (which is now closed). Feel free to substitute "cryptsetup" for >>

Bug#406697: [Pkg-cryptsetup-devel] Bug#406697: Bug #406697 - Device nodes are not removed when devices are brought down

2007-01-17 Thread David Härdeman
quot; was indeed executed. I'll take a look at this later today if I have time. Meanwhile, could you add some debugging output to "do_close" in the cryptdisks.functions script and retry a shutdown? -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#406697: [Pkg-cryptsetup-devel] Bug#406697: Bug #406697 - Device nodes are not removed when devices are brought down

2007-01-17 Thread David Härdeman
> fi > else > log_progress_msg "$dst(busy)" > fi > else > log_progress_msg "$dst(stopped)" > fi > done > > log_action_end_msg 0 > } -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#406697: [Pkg-cryptsetup-devel] Bug#406697: Bug #406697 - Device nodes are not removed when devices are brought down

2007-01-17 Thread David Härdeman
es the /dev/dm-* devices and also removes them. At the time the cryptdisks scripts are executed at shutdown, udev is not running (as FJP said). The proper "fix" for this seems to be a post-Etch thing (involving changes in the kernel, udev and libdevmapper), and the issue seems mostly cosmetical, so I'll mark the bug as such. -- David Härdeman

Bug#407905: installation-report: boot fails with encrypted root over raid

2007-01-22 Thread David Härdeman
tions using the graphical installer. -- David Härdeman

Bug#402417: [Pkg-cryptsetup-devel] Bug#402417: cryptsetup: fails to mount encrypted root

2006-12-12 Thread David Härdeman
On Mon, December 11, 2006 18:14, Enrico Gatto said: > On Mon, 11 Dec 2006 10:59:24 +0100 (CET) > David Härdeman <[EMAIL PROTECTED]> wrote: > >> could you please provide me with >> .. >> /etc/fstab, > > /dev/mapper/croot / ext3 defaults

Bug#402410: debian-installer: LVM setup broken if hostname/VG contains a "-" character

2006-12-12 Thread David Härdeman
On Mon, December 11, 2006 19:40, Frans Pop said: > I need some help here. > > According to the test that David Härdeman introduced recently, a hyphen > _is_ a valid character for VG and LV names. > > So what is the actual bug here: > - a hyphen is not a valid character aft

Bug#402410: debian-installer: LVM setup broken if hostname/VG contains a "-" character

2006-12-12 Thread David Härdeman
;)" > + device=/dev/mapper/"$VG_dev"-"$LV_dev" > > dirname=$(echo "$device" | sed "s:/:=:g") > dev=$DEVICES/$dirname > Yes, that's the right idea. I don't know whether more changes are necessary. If needed, I c

Bug#396023: #396023 - Allow encrypted partitions to be removed

2006-12-12 Thread David Härdeman
lates | 28 + partman-base/choose_partition/partition_tree/do_option | 16 + 5 files changed, 252 insertions(+), 55 deletions(-) -- David Härdeman Index: partman-auto/debian/partman-auto.templates === --- partman-auto/d

Bug#396023: #396023 - Allow encrypted partitions to be removed

2006-12-12 Thread David Härdeman
On Tue, Dec 12, 2006 at 09:07:18PM +0100, David Härdeman wrote: The attached patch is my first stab at allowing a more complete removal of configured device-mapper devices (crypto / lvm). It will work in a recursive manner so even crazy setups like crypto-on-lvm-on-crypto-on-something should

Bug#402417: [Pkg-cryptsetup-devel] Bug#402417: cryptsetup: fails to mount encrypted root

2006-12-12 Thread David Härdeman
On Tue, Dec 12, 2006 at 11:04:07PM +0100, Enrico Gatto wrote: Il giorno Tue, 12 Dec 2006 17:35:30 +0100 David Härdeman <[EMAIL PROTECTED]> ha scritto: How can you know that these modules are included? What adds them to the initramfs image? The evms hook includes them in initrd. The pi

Bug#398302: klibc-utils: uswsusp image not recognized

2006-12-14 Thread David Härdeman
Vagrant Cascadian wrote: > i'm not sure this bug is really fixed, or fixed completely... >... > APT policy: (500, 'testing') The fixed version is not in testing yet. -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscr

Bug#403075: [Pkg-cryptsetup-devel] Bug#403075: cryptsetup luksOpen can kill unrelated processes (out of memory killer)

2006-12-14 Thread David Härdeman
se: key slot 0 unlocked. Command successful. # ls -al /dev/mapper/footmp brw-rw 1 root disk 254, 3 2006-12-14 19:14 /dev/mapper/footmp # cryptsetup remove footmp # losetup -d /dev/loop0 -- David Härdeman

Bug#398302: klibc-utils: uswsusp image not recognized

2006-12-14 Thread David Härdeman
tput do you get from fstype in the initramfs image? That is, what output does "fstype < /dev/" give? -- David Härdeman

Bug#403075: [Pkg-cryptsetup-devel] Bug#403075: cryptsetup luksOpen can kill unrelated processes (out of memory killer)

2006-12-14 Thread David Härdeman
cryptsetup that is currently in unstable? -- David Härdeman

Bug#398302: klibc-utils: uswsusp image not recognized

2006-12-18 Thread David Härdeman
I'm sorry but I can't reproduce this. In the initramfs shell during boot after doing "s2disk": (initramfs) fstype < /dev/mapper/corevg-swaplv FSTYPE=suspend FSSIZE=0 (initramfs) Did you regenerate your initramfs after installing the new klibc-utils package? -- David Härdeman

Bug#398429: #398429 - resume support renders system unbootable

2006-12-18 Thread David Härdeman
Hi Martin, the fixed klibc-utils version is in unstable now and it works for me (i.e. it recognizes suspend images). Could you please test it and verify that it works for you as well? (remember to regenerate the initramfs after the updated klibc-utils 1.4.30-2 has been installed) -- David

Bug#402511: #402511 possibly related to #401393

2006-12-18 Thread David Härdeman
FYI, it seems likely that #402511 is due to the same problem as described in #401393 (with further details) -- David Härdeman

Bug#403075: [Pkg-cryptsetup-devel] Bug#403075: cryptsetup luksOpen can kill unrelated processes (out of memory killer)

2006-12-19 Thread David Härdeman
d you then provide me with the exact steps that you took to reproduce it cause so far I haven't managed to do so. -- David Härdeman

Bug#403075: [Pkg-cryptsetup-devel] Bug#403075: cryptsetup luksOpen can kill unrelated processes (out of memory killer)

2006-12-20 Thread David Härdeman
onas will have time to add this fix and release a new version. Later it would probably be good to add checks too make sure that the device argument is a block device and not something else, in order to provide more helpful messages to the user. That can be implemented later though. -- David Hä

Bug#330592: init segfault when /selinux exists but a policy can't be loaded

2006-11-04 Thread David Härdeman
tion instead of manipulating selinux_mnt). Thus I'll close the bug as fixed in sysvinit 2.86.ds1-34. I still suspect that #344471 is a dupe of this bug, but I'll leave that up to the maintainers to deal with. -- David Härdeman

Bug#397196: policycoreutils: fixfiles excludes reiserfs

2006-11-05 Thread David Härdeman
1.8-1 Python bindings for SELinux polic Versions of packages policycoreutils recommends: ii selinux-policy-refpolicy- 0.0.20061018-1 Targeted variant of the SELinux re -- no debconf information -- David Härdeman

Bug#397198: policycoreutils: fixfiles should warn if no suitable fs found

2006-11-05 Thread David Härdeman
1.8-1 Python bindings for SELinux polic Versions of packages policycoreutils recommends: ii selinux-policy-refpolicy- 0.0.20061018-1 Targeted variant of the SELinux re -- no debconf information -- David Härdeman

Bug#397196: policycoreutils: fixfiles excludes reiserfs

2006-11-06 Thread David Härdeman
to > warn people about the presence of unsupported file systems. Ok, seems reasonable. Feel free to close this BR. -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#397454: cryptsetup: root and swap on lvm on crypto can result in boot failure

2006-11-07 Thread David Härdeman
sical volume for several LVM vg's so no additional setup is necessary for the second device. I will commit a fix for this later today, updated package should be included in Etch. -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe&quo

Bug#397450: cryptsetup: tries to check readability of key even if keyscript is set

2006-11-07 Thread David Härdeman
, the init.d scripts check for readability of the key and refuses to try to setup the mapping if it's not readable. I will commit a fix for this later today, updated package should be included in Etch. -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "u

Bug#397476: udev: support no_static_dev in initramfs

2006-11-07 Thread David Härdeman
set (if a initramfs image built using initramfs-tools is used). -- David Härdeman diff -ur ./udev-0.100.orig/extra/initramfs.bottom ./udev-0.100/extra/initramfs.bottom --- ./udev-0.100.orig/extra/initramfs.bottom2006-11-07 18:06:39.0 +0100 +++ ./udev-0.100/extra/initramfs.bottom

Bug#397525: initscripts: Remove extra fd usage from mtab init script

2006-11-07 Thread David Härdeman
later. I must admit though that I didn't really understand why the fd9 trick was used in the first place? -- David Härdeman diff -ur ./sysvinit-2.86.ds1.orig/debian/initscripts/etc/init.d/mtab.sh ./sysvinit-2.86.ds1/debian/initscripts/etc/init.d/mtab.sh --- ./sysvinit-2.86.ds1.orig/debian/in

Bug#397523: lvm-common: add selinux contexts to devices after creating them in the init script

2006-11-07 Thread David Härdeman
Package: lvm-common Version: 1.5.20 Severity: minor Tags: patch Hi, the attached patch changes the lvm-common init.d script(s) to give the newly created devices (if any) their proper SELinux contexts. On a non-SELinux system, nothing is changed by the one-line patch. -- David Härdeman diff

Bug#397528: udev: Set SELinux contexts for device nodes created in initramfs stage

2006-11-07 Thread David Härdeman
-boots, there shouldn't be any differences. -- David Härdeman diff -ur ./udev-0.100.orig/debian/udev.init ./udev-0.100/debian/udev.init --- ./udev-0.100.orig/debian/udev.init 2006-11-08 00:05:12.0 +0100 +++ ./udev-0.100/debian/udev.init 2006-11-08 00:09:30.0 +0100 @@ -

Bug#397651: [Pkg-cryptsetup-devel] Bug#397651: cryptsetup: failed to determine cipher modules to load for /dev/mapper/bee--sata-root

2006-11-08 Thread David Härdeman
some bugs crept in...sorry about that. Would you be willing to test the attached patch? It should solve both bugs you reported today. -- David Härdeman Index: initramfs-cryptroot-hook === --- initramfs-cryptroot-hook(revi

Bug#396520: Proposing a debugging method for this bug

2006-11-08 Thread David Härdeman
build/config/common and set "EXTRAFILES" to something like "EXTRAFILES = /usr/bin/strace" which will also add the extra binary (and all libraries that it uses) -- David Härdeman

Bug#397651: [Pkg-cryptsetup-devel] Bug#397651: cryptsetup: failed to determine cipher modules to load for /dev/mapper/bee--sata-root

2006-11-08 Thread David Härdeman
On Wed, Nov 08, 2006 at 10:33:22PM +0100, Loïc Minier wrote: On Wed, Nov 08, 2006, David Härdeman wrote: Would you be willing to test the attached patch? It should solve both bugs you reported today. I read the patch, and I believe it resolves the issues. I wonder why you prefer ignoring all

Bug#397872: debian-installer: Encryption on top of software RAID broken in daily build

2006-11-10 Thread David Härdeman
Perhaps we need to disable crypto-on-md for Etch...(as Max said in #393728) -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#397888: [Pkg-cryptsetup-devel] Bug#397888: ignores resume configuration files

2006-11-10 Thread David Härdeman
he format of the latter two? -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#397887: [Pkg-cryptsetup-devel] Bug#397887: resume support renders system unbootable

2006-11-10 Thread David Härdeman
stead and which will work without any further changes) -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#397887: [Pkg-cryptsetup-devel] Bug#397887: resume support renders system unbootable

2006-11-10 Thread David Härdeman
On Fri, November 10, 2006 12:10, David Härdeman said: > On Fri, November 10, 2006 10:34, martin f krafft said: >> As of late, cryptsetup figures out what swap device I need to resume >> from disk and tells initramfs to also initialise that device even >> before root is

Bug#397901: installation-report: installation report

2006-11-10 Thread David Härdeman
ke that (can't check the exact naming right now). If you choose that option, it will automatically partition the harddrive using a regular boot partition and encrypted LVM devices for the rest. Is this not what you requested? -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTEC

Bug#397901: installation-report: installation report

2006-11-10 Thread David Härdeman
On Fri, November 10, 2006 15:28, Thomas Hühn said: > David Härdeman wrote: >> On Fri, November 10, 2006 12:02, Thomas Hühn said: >>> - I was surprised to see crypto support in the partitioning phase. >>> First >>> I thought Debian now supports encrypted pa

Bug#397872: debian-installer: Encryption on top of software RAID broken in daily build

2006-11-10 Thread David Härdeman
en into a state where major surgery is needed to get it back? :-/ That was based on Max's analysis of the underlying problems, so not first-hand knowledge. There might be a simpler root cause though. I'm not sure when I'll have time to investigate this further... -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#387159: [Pkg-cryptsetup-devel] Bug#387159: cryptsetup: compulsory hashing in luks format

2006-11-10 Thread David Härdeman
ill like to see this change applied, I suggest you discuss it directly with the upstream author - Clemens Fruhwirth (<[EMAIL PROTECTED]>, http://clemens.endorphin.org/) -- David Härdeman

Bug#397981: [Pkg-cryptsetup-devel] Bug#397981: cryptsetup: initramfs script incompatible with usplash

2006-11-10 Thread David Härdeman
ustom built usplash). -- David Härdeman

Bug#397887: [Pkg-cryptsetup-devel] Bug#397887: resume support renders system unbootable

2006-11-11 Thread David Härdeman
On Fri, Nov 10, 2006 at 01:43:05PM +0100, martin f krafft wrote: also sprach David Härdeman <[EMAIL PROTECTED]> [2006.11.10.1331 +0100]: The hook should warn about these situations though and then skip adding the resume partition details to the initramfs image...I'll fix that Th

Bug#397887: [Pkg-cryptsetup-devel] Bug#397887: resume support renders system unbootable

2006-11-12 Thread David Härdeman
On Sat, Nov 11, 2006 at 05:52:35PM +0100, martin f krafft wrote: also sprach David Härdeman <[EMAIL PROTECTED]> [2006.11.11.1239 +0100]: cryptswap /dev/hda2 cryptroot keyscript=/root/decrypt_derived,hash=sha256,size=256,cipher=aes-cbc-essiv:sha256 So how do I initialise /dev/hda2 for t

Bug#397887: [Pkg-cryptsetup-devel] Bug#397887: resume support renders system unbootable

2006-11-12 Thread David Härdeman
On Sat, Nov 11, 2006 at 05:09:44PM +0100, martin f krafft wrote: also sprach David Härdeman <[EMAIL PROTECTED]> [2006.11.11.1239 +0100]: Ok, I've committed fixes for both your bugs to the SVN repo. Could you please test the package? Either by downloading it from: http://www.hardema

Bug#397887: Re: Bug#397887: [Pkg-cryptsetup-devel] Bug#397887: resume support renders system unbootable

2006-11-12 Thread David Härdeman
On Sun, Nov 12, 2006 at 09:48:16PM +0100, martin f krafft wrote: also sprach David Härdeman <[EMAIL PROTECTED]> [2006.11.12.1645 +0100]: Then, provided that the swap entry is configured in /etc/crypttab, run "/etc/init.d/cryptdisks start" and it'll do the setup for you.

Bug#398302: klibc-utils: Add recognition of suspend images to fstype

2006-11-12 Thread David Härdeman
Package: klibc-utils Version: 1.4.30-1 Severity: normal Tags: patch Hi, the attached patch adds swsusp, suspend2 and uswsusp image detection to fstype. Signed-off-by: David Härdeman <[EMAIL PROTECTED]> -- fstype.c | 15 +++ swap_fs.h |7 +++ 2 files chang

Bug#397887: Re: Bug#397887: Re: Bug#397887: [Pkg-cryptsetup-devel] Bug#397887: resume support renders system unbootable

2006-11-12 Thread David Härdeman
On Sun, Nov 12, 2006 at 11:24:53PM +0100, martin f krafft wrote: also sprach David Härdeman <[EMAIL PROTECTED]> [2006.11.12.2308 +0100]: >created/setup correctly, /bin/fstype returns unknown for FSTYPE, >and thus the cryptroot script thinks that something went wrong >and loops

Bug#401370: [Pkg-cryptsetup-devel] Bug#401370: cryptsetup: the initramfs hook script should add the "cbc" module (needed for 2.6.19 and LUKS)

2006-12-04 Thread David Härdeman
been autodetected but it wasn't due to a variable naming error in the initramfs hook. I've fixed both issues in SVN. Thanks for the report. -- David Härdeman

Bug#401264: partman-auto-lvm: [powerpc, prep] On PReP systems, no separate /boot is needed, since we have the prep partition

2006-12-04 Thread David Härdeman
db_go || return 30 db_get partman-auto-lvm/no_boot || true [ "$RET" = true ] || return 30 fi -- David Härdeman

Bug#401393: Previously working LVM setup mysteriously broken.

2006-12-08 Thread David Härdeman
month or two ago, they just say you can't use Grub for > boot-on-raid, but that Lilo works (that's how I got my system set up). Don't mix up boot-on-raid and boot-on-device-mapper, they are two different things using different kernel subsystems (md and dm). boot-on-raid(1) wor

Bug#401393: Previously working LVM setup mysteriously broken.

2006-12-08 Thread David Härdeman
On Fri, December 8, 2006 10:31, Loïc Minier said: > On Fri, Dec 08, 2006, David Härdeman wrote: >> Don't mix up boot-on-raid and boot-on-device-mapper, they are two >> different things using different kernel subsystems (md and dm). > > Err, md is dm based, right?

Bug#402293: refpolicy: qemu should have execmem permissions

2006-12-09 Thread David Härdeman
Package: refpolicy Severity: normal qemu needs execmem permissions, so (I guess that) a file_context like the following is necessary: /usr/bin/qemu -- system_u:object_r:unconfined_execmem_exec_t At least that fixed the audit messages for me -- David Härdeman

Bug#386694: debian bug #386694

2006-12-09 Thread David Härdeman
I solved this problem (the non-posix command) by replacing: err = os.system("mv linux*/* linux*/.[^.]* ..; rmdir linux*") with err = os.system("find linux* -maxdepth 1 -mindepth 1 -print0 | xargs -0 -iREF mv REF ../; rmdir linux*") -- David Härdeman

Bug#402417: [Pkg-cryptsetup-devel] Bug#402417: cryptsetup: fails to mount encrypted root

2006-12-11 Thread David Härdeman
I assume you use a combination of evms and crypto?) -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-05 Thread David Härdeman
g/398302 to get a copy of the first 128K or so of the decrypted swap device so that I can do some testing why the image is not recognized? -- David Härdeman

Bug#404907: installation-report: winxp to debian etch migration

2007-01-06 Thread David Härdeman
current Etch release timeframe. -- David Härdeman

Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-07 Thread David Härdeman
On Sun, Jan 07, 2007 at 01:53:08PM +0100, Marcus Better wrote: David Härdeman wrote: That would mean that the fstype binary from klibc-utils doesn't recognize the decrypted device as a suspend image. Could you please follow the steps in bugs.debian.org/398302 Ok, I played a little with i

Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-07 Thread David Härdeman
ce the suspend signature still is there (and it has overwritten the swap signature, if the resume had succeeded, the swap signature would have been written back ontop of the suspend signature). -- David Härdeman

Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-08 Thread David Härdeman
ry, so the hash=ripemd160 line should be included in the /etc/crypttab setup. Changing the defaults is not a good solution since that would break the setup for others, so I'll add a line about this to the documentation and consider the BR closed with that. -- David Härdeman

Bug#405301: bug 405301 - cryptoroot on LVM needs source dev /dev/mapper/* in crypttab

2007-01-08 Thread David Härdeman
re not supported as device nodes. -- David Härdeman

Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-08 Thread David Härdeman
a NEWS entry or debconf notice. I don't agree that it's very likely. What is likely is that the mapping is setup during boot and not touched later. So it seems it would work if we fix the initramfs scripts, and run update-initramfs in postinst. -- David Härdeman

Bug#405301: [Pkg-cryptsetup-devel] Bug#405301: bug 405301 - cryptoroot on LVM needs source dev /dev/mapper/* in crypttab

2007-01-08 Thread David Härdeman
ok at it...perhaps I think I'll add both the symlink target check and the warning message... -- David Härdeman

Bug#406697: Bug #406697 - Device nodes are not removed when devices are brought down

2007-01-13 Thread David Härdeman
can't see that anything needs to be done in cryptsetup (except making sure that all works when/if this behaviour is changed in libdevmapper). -- David Härdeman

Bug#403687: [EMAIL PROTECTED]: Re: Bug #406697 - Device nodes are not removed when devices are brought down]

2007-01-14 Thread David Härdeman
ave to wait for the nodes to magically appear instead). There is a writeup on this with some more details at: https://wiki.ubuntu.com/UdevDeviceMapper However, I can't see that anything needs to be done in cryptsetup (except making sure that all works when/if this behaviour is changed

Bug#398333: Automatic partition/disk selection

2006-11-23 Thread David Härdeman
On Thu, Nov 23, 2006 at 02:48:13PM +0100, Frans Pop wrote: On Friday 17 November 2006 11:28, David Härdeman wrote: On Fri, November 17, 2006 10:21, Frans Pop said: > Because the method is not a question as such when using preseeding. > We should handle the situation where partman-auto/d

Bug#400600: [Pkg-cryptsetup-devel] Bug#400600: please clarify role of /lib/cryptsetup/cryptdisks.functions

2006-11-27 Thread David Härdeman
k together. Why? If the cryptdisks.functions script is missing even though you haven't removed the cryptsetup package from your system something is seriously broken. -- David Härdeman

Bug#395024: Bug with encrypted swap

2006-10-29 Thread David Härdeman
unrelated bug which has now been fixed. Could you retry your installation using a recent daily d-i image? -- David Härdeman

Bug#396022: initramfs-tools: Tries to create the /dev/fb0 device multiple times, causing harmless but confusing error messages

2006-10-29 Thread David Härdeman
fbno desc; do mknod /dev/fb$fbno c 29 $fbno done < /proc/fb if [ ! -e /dev/fb0 ]; then mknod /dev/fb0 c 29 0 fi for i in 0 1 2 3 4 5 6 7 8; do mknod /dev/tty$i c 4 $i done fi -- David Härdeman

Bug#391664: Patch to remove loops from p-a-c (bug #391664)

2006-10-29 Thread David Härdeman
I've attached a patch which replaces the loops with more direct access methods. I've done one install run with it and it seems to work as expected. The patch is fairly large though, not sure whether it would be a good idea to apply it before Etch? -- David Härdeman Index: aut

Bug#381973: Crash in LUKS part of cryptsetup with > 256 bit keys

2006-10-29 Thread David Härdeman
ting the stack and leading to interesting crashes in unrelated places later. I'm not familiar enough with the LUKS code to suggest a fix...Clemens? -- David Härdeman

Bug#396454: lintian: Check for LSB logging usage in init.d scripts

2006-10-31 Thread David Härdeman
might be a sufficient check... -- David Härdeman

Bug#330592:

2006-11-01 Thread David Härdeman
mehow). I'd still like to trace down what *is* causing the glibc warnings though, just to be sure. I'll try to fiddle with the rcS scripts next to see if I can find the offender. -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#344471: Are bugs #344471 and #330592 dupes?

2006-11-01 Thread David Härdeman
Hmm, perhaps bugs #344471 and #330592 describe the same issue (i.e. one which is no longer reproducible)? Edwin, are you still able to reproduce the init GPF that you reported in http://bugs.debian.org/344471 ? -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject

Bug#330592: init segfault when /selinux exists but a policy can't be loaded

2006-11-02 Thread David Härdeman
nux by default (I doubt > it ever did though). > > * SELinux used to try and load a policy even if one has not been > configured/installed. * One of the libraries that init depends on had a bug which has been fixed -- David Härdeman -- To UNSUBSCRIBE, emai

Bug#396126: Cryptsetup bug #396126: FTBFS: Incompatible with etch versions

2006-11-02 Thread David Härdeman
and commit it to SVN this evening. Since a new upload is necessary for d-i RC1, and since it fixes two RC bugs, I'll ask Frans Pop to do a NMU upload unless you've told me by then that you have time to do the upload. -- David Härdeman -- To UNSUBSCRIBE, email to [EMAIL PROTECTE

Bug#397887: Re: Re: Bug#397887: Re: Bug#397887: [Pkg-cryptsetup-devel] Bug#397887: resume support renders system unbootable

2006-11-13 Thread David Härdeman
On Mon, November 13, 2006 10:39, martin f krafft said: > also sprach David Härdeman <[EMAIL PROTECTED]> [2006.11.13.0014 +0100]: >> So that means that suspend2disk actually removes the swap signature from >> disk when you suspend. I seemed to recall that the suspend solutions

Bug#397887: resume support renders system unbootable

2006-11-13 Thread David Härdeman
) has been fixed with the changes that'll go into the next upload. The remainder is of lower severity. -- David Härdeman

  1   2   3   4   5   6   7   >