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

Bug#674481: marked as done (partman-target: Please remove /proc from generated fstab for wheezy)



Your message dated Fri, 15 Jun 2012 15:49:20 +0000
with message-id <E1SfYm0-00057r-E6@franck.debian.org>
and subject line Bug#674481: fixed in partman-target 78
has caused the Debian Bug report #674481,
regarding partman-target: Please remove /proc from generated fstab for wheezy
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.)


-- 
674481: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674481
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: partman-target
Version: 77
Severity: important
Tags: patch

/proc has been created as part of the default /etc/fstab for
some time.  However, this is not needed, and has been found
to be detrimental in some cases.  /proc is mounted by the
initramfs (if used), or else by the mountkernfs init script,
making the fstab entry redundant.  If the naming of the
filesystem differs to the name used in the initramfs or init
scripts, this can cause the mountall script to fail.
#425199 is an example of this.

Note this obsoletes #378984; mountkernfs now uses the
mount options from /etc/fstab for all filesystems /if present/,
meaning that no special support is required on the part of
the installer, given that the regular initscripts handle this
job in the general case--no special /proc support is required.

In short, removing /proc has zero downside--it's all handled
outside fstab by default, and has been since forever, and we
pick up the settings from /proc should there be an entry there,
so we're both backward compatible /and/ customisable by the
admin.


Regards,
Roger

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

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From 5da5941d594e4d02054d9f14549e70e8af87f0fd Mon Sep 17 00:00:00 2001
From: Roger Leigh <rleigh@debian.org>
Date: Fri, 25 May 2012 00:05:52 +0100
Subject: [PATCH] create_fstab_header: Drop /proc

/proc has been created as part of the default /etc/fstab for
some time.  However, this is not needed, and has been found
to be detrimental in some cases.  /proc is mounted by the
initramfs (if used), or else by the mountkernfs init script,
making the fstab entry redundant.  If the naming of the
filesystem differs to the name used in the initramfs or init
scripts, this can cause the mountall script to fail.

Signed-off-by: Roger Leigh <rleigh@debian.org>
---
 finish.d/create_fstab_header |    2 --
 1 file changed, 2 deletions(-)

diff --git a/finish.d/create_fstab_header b/finish.d/create_fstab_header
index 8aece0d..e99fa5e 100755
--- a/finish.d/create_fstab_header
+++ b/finish.d/create_fstab_header
@@ -13,8 +13,6 @@ case `udpkg --print-os` in
 #
 EOF
 		printf "%-15s %-15s %-7s %-15s %-7s %s\n" '# <file system>' '<mount point>' '<type>' '<options>' '<dump>' '<pass>' >> /target/etc/fstab
-
-		printf "%-15s %-15s %-7s %-15s %-7s %s\n" proc /proc proc defaults 0 0 >> /target/etc/fstab
 	;;
 
 	kfreebsd)
-- 
1.7.10


--- End Message ---
--- Begin Message ---
Source: partman-target
Source-Version: 78

We believe that the bug you reported is fixed in the latest version of
partman-target, which is due to be installed in the Debian FTP archive:

partman-target_78.dsc
  to main/p/partman-target/partman-target_78.dsc
partman-target_78.tar.gz
  to main/p/partman-target/partman-target_78.tar.gz
partman-target_78_all.udeb
  to main/p/partman-target/partman-target_78_all.udeb



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 674481@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubulle@debian.org> (supplier of updated partman-target 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.8
Date: Fri, 15 Jun 2012 17:02:16 +0200
Source: partman-target
Binary: partman-target
Architecture: source all
Version: 78
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
Description: 
 partman-target - Provides partman with ability to prepare /target (udeb)
Closes: 674481
Changes: 
 partman-target (78) unstable; urgency=low
 .
   * Team upload
 .
   [ Joey Hess ]
   * Stop adding /proc to /etc/fstab on Linux (automatically mounted)
     Closes: #674481 Thanks, Roger Leigh
 .
   [ Christian Perrier ]
   * Turn XC-Package-Type into Package-Type
 .
   [ Joey Hess ]
   [ Updated translations ]
   * Tibetan (bo.po) by Tennom
   * Welsh (cy.po) by Dafydd Tomos
   * Basque (eu.po) by Piarres Beobide
   * Lao (lo.po) by Anousak Souphavanh
   * Lithuanian (lt.po) by Rimas Kudelis
   * Latvian (lv.po) by Rūdolfs Mazurs
   * Macedonian (mk.po) by Arangel Angov
   * Panjabi (pa.po) by A S Alam
   * Portuguese (Brazil) (pt_BR.po) by Felipe Augusto van de Wiel (faw)
   * Traditional Chinese (zh_TW.po) by Yao Wei (魏銘廷)
Checksums-Sha1: 
 76c2259176a16ae6ff6192039fe941fa4fd41c26 1638 partman-target_78.dsc
 0488b57b6d1f723303648e6b52707370c8fd5e35 147209 partman-target_78.tar.gz
 3c9dccfcdb5439b85031df473119fba9e3614cc2 119008 partman-target_78_all.udeb
Checksums-Sha256: 
 25f584ce90ca9b4f8025c4eb44ccf2bd5f80e76e75072f630cf3327e2c82ff02 1638 partman-target_78.dsc
 9158fa4e6e1e1eab6645c6e5b3d851cc9d62b6e1d9ccef805183b498418eaab3 147209 partman-target_78.tar.gz
 76f3596d725338f4d2b319386fea54efefd2eb802c7fe513f36562365fa37b63 119008 partman-target_78_all.udeb
Files: 
 ca7fdc070accac42bb9ab26828c60043 1638 debian-installer standard partman-target_78.dsc
 1a148f394dd37673d127424b593945a3 147209 debian-installer standard partman-target_78.tar.gz
 51329ac948f586ac6581a940c201cc87 119008 debian-installer standard partman-target_78_all.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIVAwUBT9tVQIcvcCxNbiWoAQK4SQ//QFBkqjjl843NUkamfTWujQZE6LnNqhdL
8JZwO1aB+buxm4bmDQG3FQC4WDioL6ZNgGnXuhFRpuhhTP++hDdzoQvgnyQXhswl
f2usGHjX237+lxnMeAhGVV5CilV2o03aZHu+ozn97fQ1woAmGmXMH8enxA/5A1RB
7nQttQhl//WbYUSkCmgyKhDvPBbWQrmvqsSjTE6IEidtANUS715OvSbJaagwEM2k
HvzYe5WiJiOHjTLtJe4lkpR2gutOX9/mRbMxKjqxLQlXvJ28Csx8suDC64n/SSWn
PaTYuXItZo2Zl4jZwliJ4ERI3oe2MZpXDp1QQghPs0YVhLKUmc6ZtyLTgCc8XCUL
UWDNS87u3FtRKmUhFd15ujxTSR09/Y7Vz7iiybEx20YzBjhmv5/5Ey10pbDe6bWH
QLb1c2AHwZqhSftBP0ido6lYkLnEUZdqAolgXkEaCgpa+OZRotkVhCFlk7Kihr/G
HylhNsRZQrrywNF/qG7SW1N/UANAVfm1p4I6mKrj3hqsvexQZQ2seAnOYl7DgPwA
3Hvhbag/lPyDwZTx/mCBewrCRbr2N8sm8hnNFrBWolFCngAxkG994J1OSFVSoKa7
LPdMNKZbVP6wSQTmwr/nkuq7iAXH8nB8FDFAz9tfr7Ee6qcFTs9wB+hOUx7e9Fse
XV4Ll1LrT9U=
=q+lM
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: