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

Bug#696901: marked as done (chroot-setup.sh: [kfreebsd-*] procfs mounted instead of linprocfs in target)

Your message dated Thu, 22 May 2014 05:18:40 +0000
with message-id <E1WnLOq-0007tP-Cj@franck.debian.org>
and subject line Bug#696901: fixed in debian-installer-utils 1.107
has caused the Debian Bug report #696901,
regarding chroot-setup.sh: [kfreebsd-*] procfs mounted instead of linprocfs in target
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

696901: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696901
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer-utils
Version: 1.94
Severity: important
Tags: d-i patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org


I noticed that the wrong type of proc filesystem, procfs (meant for
native FreeBSD) gets mounted in a kfreebsd-amd64 target during install.

The correct proc filesystem for GNU/kFreeBSD is linprocfs.  This
contains among other things, /proc/cmdline (which is what
chroot-setup.sh actually looks for to decide if proc needs mounting).

Later, when grub-installer runs, it would have tried to mount
/target/proc correctly (as linprocfs) thanks to the fix for #613430, but
only if that directory is empty, which procfs will not be.

As a result, the grub-common postinst complains about being unable to
find /proc/mounts, with unknown consequences.  (grub-mkdevicemap and
grub-probe still seem to work;  the GRUB install step fails currently
for a different reason).

A patch fixing this is attached.  Thanks.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/chroot-setup.sh b/chroot-setup.sh
index a7f6495..6eb1b22 100644
--- a/chroot-setup.sh
+++ b/chroot-setup.sh
@@ -116,11 +116,11 @@ EOF
 			# Some packages (eg. the kernel-image package) require a mounted
 			# /proc/. Only mount it if not mounted already
 			if [ ! -f /target/proc/cmdline ]; then
-				mount -t procfs proc /target/proc
+				mount -t linprocfs proc /target/proc
 			# Some package might need sysfs mounted
 			# Only mount it if not mounted already
 			if [ ! -d /target/sys/devices ]; then
 				mount -t linsysfs sysfs /target/sys

--- End Message ---
--- Begin Message ---
Source: debian-installer-utils
Source-Version: 1.107

We believe that the bug you reported is fixed in the latest version of
debian-installer-utils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 696901@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Christian Perrier <bubulle@debian.org> (supplier of updated debian-installer-utils 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@ftp-master.debian.org)

Hash: SHA1

Format: 1.8
Date: Thu, 22 May 2014 06:51:08 +0200
Source: debian-installer-utils
Binary: di-utils-shell di-utils-reboot di-utils-exit-installer di-utils di-utils-mapdevfs di-utils-terminfo
Architecture: source all i386
Version: 1.107
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
 di-utils   - Miscellaneous utilities for the debian installer (udeb)
 di-utils-exit-installer - Exit installer (udeb)
 di-utils-mapdevfs - mapdevfs utility for the debian installer (udeb)
 di-utils-reboot - Reboot (udeb)
 di-utils-shell - Execute a shell (udeb)
 di-utils-terminfo - Terminfo entries needed by newt/slang in debian installer (udeb)
Closes: 696901
 debian-installer-utils (1.107) unstable; urgency=medium
   [ Steven Chamberlain ]
   * Fix procfs mounting on GNU/kFreeBSD: it's called linprocfs, rather
     than procfs (Closes: #696901).
 35fa8bc8a21698b8bb786f7b3a91f2eadbc246ad 2229 debian-installer-utils_1.107.dsc
 b927e687f7d1f331468a0baf32504fd96b3fb171 96824 debian-installer-utils_1.107.tar.xz
 a68dc0fe5e8514fe2e15163084c8b1bb5d45acd7 24926 di-utils-shell_1.107_all.udeb
 db0d6ad3616a3be9f090bcdf6027afe22a442f55 10984 di-utils-reboot_1.107_all.udeb
 816ddd9262ca55b1f00fcf9a35f67416a54e21d5 2988 di-utils-exit-installer_1.107_all.udeb
 9afb16e6bfeed668b537d095075accd07b0497d9 36380 di-utils_1.107_i386.udeb
 61d32937f1daf0d3750d46234323104e3641e84c 2340 di-utils-mapdevfs_1.107_i386.udeb
 56bae75363e48cbeb53807a40170f219f2f5a84e 2456 di-utils-terminfo_1.107_i386.udeb
 77113cf64a836e1c171cb208d046de0ab76f00d0aeb4a8fe72da1a0441ca64e7 2229 debian-installer-utils_1.107.dsc
 96aa618da5634e63d97fe451fbdc4e3b9f4a54bf4770e290588c1efbb3cccd84 96824 debian-installer-utils_1.107.tar.xz
 1a3f0c5efc0d38c3fab96a126d81a3dcc8107b7fb80c233bf6927eb94cccbba6 24926 di-utils-shell_1.107_all.udeb
 d96bb7de800ce720f580292b144761b40ba2ff493abdc96665e0e6149aeb677e 10984 di-utils-reboot_1.107_all.udeb
 8837d5f3a45ff4c0e7155e6a2a425edbfb84f5bc9ba73e2b7324f055367977cf 2988 di-utils-exit-installer_1.107_all.udeb
 7957a242e43bee0da11ad4d0513ef5927edc4306a1bf849ddb78c30c9b4dce55 36380 di-utils_1.107_i386.udeb
 1098019d10fcb02883c0f531bad6e032756679e8271bce93546a93be124d2391 2340 di-utils-mapdevfs_1.107_i386.udeb
 ce42816e46330b5f643bd2bd9d2fcc9bd35ac8519c214851b98fced99d710ec4 2456 di-utils-terminfo_1.107_i386.udeb
 d5311062b066c20b4bd69f217fabf82f 24926 debian-installer standard di-utils-shell_1.107_all.udeb
 f7d1d92bf79475c95928dc3f87808832 10984 debian-installer standard di-utils-reboot_1.107_all.udeb
 e08ee4f5df4716d23dd08b4e9c34f686 2988 debian-installer extra di-utils-exit-installer_1.107_all.udeb
 7837ea6acfb61c27d76676bc04a9f5fb 36380 debian-installer standard di-utils_1.107_i386.udeb
 7bfea66dd1cef3ff5ce5f3520177b62a 2340 debian-installer standard di-utils-mapdevfs_1.107_i386.udeb
 697be17344cc8f87191804d4022d213d 2456 debian-installer standard di-utils-terminfo_1.107_i386.udeb
 f489c79052bfe577580e68b4daf4c43c 2229 debian-installer standard debian-installer-utils_1.107.dsc
 5ab3f5fabce02f8a42f099a39fc6b35c 96824 debian-installer standard debian-installer-utils_1.107.tar.xz

Version: GnuPG v1.4.12 (GNU/Linux)


--- End Message ---

Reply to: