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

Bug#779208: marked as done (debian-installer: Remove /dev/sdX installer entry from fstab)



Your message dated Tue, 16 Feb 2016 21:12:14 -0800
with message-id <20160217051214.GA1592@jirafa.cyrius.com>
and subject line Fixed
has caused the Debian Bug report #779208,
regarding debian-installer: Remove /dev/sdX installer entry from fstab
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.)


-- 
779208: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779208
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Severity: important
Tags: d-i

Hello,

I noticed that debian-installer leaves a /dev/sdX entry in /etc/fstab inside the newly installed system. This entry corresponds to the medium that Debian was installed from. In my case, I just installed Debian stable on one of our servers (not the machine I am writing from, so please disregard the System Information below). The installer left these lingering entries on fstab:

#/dev/sdc1       /media/usb0     auto    rw,user,noauto  0       0
#/dev/sdc2       /media/usb1     auto    rw,user,noauto  0       0

It was a machine with several hard drives and RAID. Installing a later kernel from backports and rebooting the system made it unable to mount / and /swap, until we finally booted from the old kernel and removed these entries.

I've seen various other issues emerge from this issue, one example is here:
http://forums.debian.net/viewtopic.php?t=65395

It might have an easy workaround, but I believe that the entries that correspond to the installer should be removed from /etc/fstab when debian-installer is still running and right before it boots into the new system.

Also, please disregard the system information below, the machine that the issue appeared in is:
# uname -a
Linux tourbina 3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-ckt4-3~bpo70+1 (2015-02-12) x86_64 GNU/Linux
# cat /etc/debian_version 
7.8
# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Mar  1  2012 /bin/sh -> dash
# echo $LANG
en_US.UTF-8
# echo $LC_CTYPE
el_GR.UTF-8
# ps -eo pid,comm |head
  PID COMMAND
    1 init

Best regards,

Vivia

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (700, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
KiBi said he'd close the bug but it seems he never did.

This was fixed:

   * Don't add entries for random USB media to /etc/fstab, they're not
     useful. Closes: #761815

-- 
Martin Michlmayr
http://www.cyrius.com/

--- End Message ---

Reply to: