Debian Bug report logs - #497561
live-initramfs: mount-call in scripts/init-bottom/udev has wrong syntax

Package: live-initramfs; Maintainer for live-initramfs is Debian Live Project <debian-live@lists.debian.org>;

Reported by: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

Date: Tue, 2 Sep 2008 16:42:01 UTC

Severity: important

Tags: patch

Done: Daniel Baumann <daniel@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live@lists.debian.org>:
Bug#497561; Package live-initramfs. Full text and rfc822 format available.

Acknowledgement sent to Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
New Bug report received and forwarded. Copy sent to Debian Live <debian-live@lists.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-initramfs: mount-call in scripts/init-bottom/udev has wrong syntax
Date: Tue, 02 Sep 2008 18:38:41 +0200
Package: live-initramfs
Severity: important
Tags: patch


The udev-script in scripts/init-bottom/ on the ramdisk created for live-initramfs seems to
use an deprecated syntax for the mount-call:

mount -n -o move /dev $rootmnt/dev

This will cause the booting live system to abort with a kernel-panic (mount complaining
with "You must specify the filesystem-type").

Unpacking the ramdisk, replacing the above line with:

mount --move /dev $rootmnt/dev

fixed it and the live-system will boot properly.

The initrd I used was created by "make-fai-nfsroot" in the fai-server-package, but the fai-maintainers
told me this would rather be a bug in "live-initramfs", so I post it here.


Regards,

Adrian

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages live-initramfs depends on:
ii  busybox                       1:1.10.2-1 Tiny utilities for small and embed
ii  file                          4.25-1     Determines file type using "magic"
ii  initramfs-tools               0.92f      tools for generating an initramfs
ii  sudo                          1.6.9p17-1 Provide limited super user privile
ii  udev                          0.125-5    /dev/ and hotplug management daemo
pn  user-setup                    <none>     (no description available)

Versions of packages live-initramfs recommends:
ii  eject                       2.1.5+deb1-1 ejects CDs and operates CD-Changer
pn  uuid-runtime                <none>       (no description available)
ii  wget                        1.11.4-1     retrieves files from the web

Versions of packages live-initramfs suggests:
pn  curlftpfs                     <none>     (no description available)
pn  genext2fs                     <none>     (no description available)
pn  httpfs2                       <none>     (no description available)
pn  loop-aes-utils                <none>     (no description available)
pn  mtd-tools                     <none>     (no description available)
pn  squashfs-tools                <none>     (no description available)




Bug reassigned from package `live-initramfs' to `initramfs-tools'. Request was from Marco Amadori <marco.amadori@gmail.com> to control@bugs.debian.org. (Tue, 14 Oct 2008 20:24:03 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#497561; Package initramfs-tools. (Sun, 14 Dec 2008 22:24:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to maximilian attems <max@stro.at>:
Extra info received and forwarded to list. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>. (Sun, 14 Dec 2008 22:24:04 GMT) Full text and rfc822 format available.

Message #12 received at 497561@bugs.debian.org (full text, mbox):

From: maximilian attems <max@stro.at>
To: 497561@bugs.debian.org
Cc: Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Subject: Re: live-initramfs: mount-call in scripts/init-bottom/udev has wrong syntax
Date: Sun, 14 Dec 2008 23:21:13 +0100
reassign live-initramfs
stop


> This will cause the booting live system to abort with a kernel-panic
> (mount complaining
> with "You must specify the filesystem-type").

live initramfs currently musn't drag in util-linux-ng mount.


-- 
maks




Bug reassigned from package `initramfs-tools' to `live-initramfs'. Request was from maximilian attems <maks@debian.org> to control@bugs.debian.org. (Sun, 14 Dec 2008 22:57:03 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live@lists.debian.org>:
Bug#497561; Package live-initramfs. (Mon, 15 Dec 2008 01:51:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live@lists.debian.org>. (Mon, 15 Dec 2008 01:51:05 GMT) Full text and rfc822 format available.

Message #19 received at 497561@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: Marco Amadori <marco.amadori@gmail.com>
Cc: 497561@bugs.debian.org
Subject: Re: live-initramfs: mount-call in scripts/init-bottom/udev has wrong syntax
Date: Mon, 15 Dec 2008 02:47:49 +0100
Marco,

could you comment on this one?

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live@lists.debian.org>:
Bug#497561; Package live-initramfs. (Mon, 15 Dec 2008 08:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marco Amadori <amadorim@vdavda.com>:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live@lists.debian.org>. (Mon, 15 Dec 2008 08:12:02 GMT) Full text and rfc822 format available.

Message #24 received at 497561@bugs.debian.org (full text, mbox):

From: Marco Amadori <amadorim@vdavda.com>
To: daniel@debian.org, 497561@bugs.debian.org
Subject: Re: Bug#497561: live-initramfs: mount-call in scripts/init-bottom/udev has wrong syntax
Date: Mon, 15 Dec 2008 09:10:29 +0100
On Monday 15 December 2008, 02:47:49, Daniel Baumann wrote:

> Marco,
>
> could you comment on this one?

live-initramfs currently does not include util-linux-ng "mount" as the 
inspection of "hooks/live" could show. (You could also inspect the generated 
initrd to have a look). It includes the klibc version of mount and this only 
because initramfs-tools does include it.

The incriminated file in "scripts/init-bottom" does not belong to 
live-initramfs so we cannot do anything it seems to resolve this bug other 
than manually patching the generated initrd, but this seems not our duty and 
it is bad and ugly.

Or I missed the point completetly so please someone gently let us know better 
this issue.

-- 
ESC:wq

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





Reply sent to daniel@debian.org:
You have taken responsibility. (Thu, 26 Feb 2009 10:09:06 GMT) Full text and rfc822 format available.

Notification sent to Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
Bug acknowledged by developer. (Thu, 26 Feb 2009 10:09:06 GMT) Full text and rfc822 format available.

Message #29 received at 497561-done@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: 497561-done@bugs.debian.org, 497561-submitter@bugs.debian.org
Subject: Re: live-initramfs: mount-call in scripts/init-bottom/udev has wrong syntax
Date: Thu, 26 Feb 2009 11:08:01 +0100
Hi,

to summarise:

  * live-initramfs never had any scripts in init-bottom.

  * the scripts/live script uses correct mount options for the included
    mount program inside the initramfs.

  * i cannot reproduce any panic with live images.

  * i cannot reporoduce any "You must specify the filesystem-type"
    message at boot time.

therefore, I'm closing this bug. feel free to reopen if you have
evidence for the bug with current systems.

also, if there is no standard way of generating an image where it
happens (e.g. when not using live-helper), consider providing a test
image so that a particular image can be debugged.

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Message sent on to Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
Bug#497561. (Thu, 26 Feb 2009 10:09:07 GMT) Full text and rfc822 format available.

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 27 Mar 2009 07:31:44 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 18 13:43:12 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.