Your message dated Mon, 25 Apr 2005 13:49:14 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#306025: binded paths are not mounted during bootup
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Apr 2005 17:54:27 +0000
>From [EMAIL PROTECTED] Sat Apr 23 10:54:27 2005
Return-path: <[EMAIL PROTECTED]>
Received: from godel.cs.bilgi.edu.tr (localhost.localdomain) [212.175.10.10] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DPOpm-0002wB-00; Sat, 23 Apr 2005 10:54:27 -0700
Received: by localhost.localdomain (Postfix, from userid 0)
        id 08B9646104; Sat, 23 Apr 2005 20:58:59 +0300 (EEST)
Content-Type: multipart/mixed; boundary="===============1831891328=="
MIME-Version: 1.0
From: Can Burak Cilingir <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: binded paths are not mounted during bootup
X-Mailer: reportbug 3.8
Date: Sat, 23 Apr 2005 20:58:59 +0300
X-Debbugs-Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============1831891328==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: initscripts
Version: 2.86.ds1-1
Severity: normal
Tags: patch

I am using --bind parameter to relocate some paths. When i want that
bind operation permenantly, i put thet to fstab. Unfortunately
/etc/init.d/mountall.sh does not mound binds. So attached diff is
needed.

FYI, this is a sample line i put in fstab
/local/mirror/ /local/mirror/pub/mirror/ bind defaults,rw 0 2

---8<---

--- /tmp/mountall.sh    2005-04-23 20:39:11.545027952 +0300
+++ /etc/init.d/mountall.sh     2005-04-23 20:41:21.171321760 +0300
@@ -13,7 +13,7 @@
 # Mount local file systems in /etc/fstab.
 #
 [ "$VERBOSE" != no ] && echo "Mounting local filesystems..."
-mount -av -t nonfs,nonfs4,nosmbfs,nocifs,noncp,noncpfs,nocoda 2>&1 |
+mount --bind -av -t nonfs,nonfs4,nosmbfs,nocifs,noncp,noncpfs,nocoda 2>&1 |
        egrep -v '(already|nothing was) mounted'
 
 case `uname -s` in

---8<---

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages initscripts depends on:
ii  coreutils                   5.2.1-2      The GNU core utilities
ii  dpkg                        1.10.27      Package maintenance system for Deb
ii  e2fsprogs                   1.35-6       The EXT2 file system utilities and
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  mount                       2.12-10      Tools for mounting and manipulatin
ii  util-linux                  2.12-10      Miscellaneous system utilities

-- no debconf information

--===============1831891328==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="mountall.sh.diff"

--- /tmp/mountall.sh    2005-04-23 20:39:11.545027952 +0300
+++ /etc/init.d/mountall.sh     2005-04-23 20:41:21.171321760 +0300
@@ -13,7 +13,7 @@
 # Mount local file systems in /etc/fstab.
 #
 [ "$VERBOSE" != no ] && echo "Mounting local filesystems..."
-mount -av -t nonfs,nonfs4,nosmbfs,nocifs,noncp,noncpfs,nocoda 2>&1 |
+mount --bind -av -t nonfs,nonfs4,nosmbfs,nocifs,noncp,noncpfs,nocoda 2>&1 |
        egrep -v '(already|nothing was) mounted'
 
 case `uname -s` in

--===============1831891328==--

---------------------------------------
Received: (at 306025-done) by bugs.debian.org; 25 Apr 2005 11:49:18 +0000
>From [EMAIL PROTECTED] Mon Apr 25 04:49:18 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp-vbr7.xs4all.nl [194.109.24.27] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DQ25U-0004Vp-00; Mon, 25 Apr 2005 04:49:16 -0700
Received: from zahadum.xs4all.nl (zahadum.xs4all.nl [194.109.0.112])
        by smtp-vbr7.xs4all.nl (8.12.11/8.12.11) with ESMTP id j3PBnEgn072735;
        Mon, 25 Apr 2005 13:49:14 +0200 (CEST)
        (envelope-from [EMAIL PROTECTED])
Subject: Re: Bug#306025: binded paths are not mounted during bootup
From: Miquel van Smoorenburg <[EMAIL PROTECTED]>
To: Can Burak Cilingir <[EMAIL PROTECTED]>, [EMAIL PROTECTED],
        [EMAIL PROTECTED]
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Content-Type: text/plain
Date: Mon, 25 Apr 2005 13:49:14 +0200
Message-Id: <[EMAIL PROTECTED]>
Mime-Version: 1.0
X-Mailer: Evolution 2.0.4 
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: by XS4ALL Virus Scanner
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

On Sat, 2005-04-23 at 20:58 +0300, Can Burak Cilingir wrote:
> Package: initscripts
> Version: 2.86.ds1-1
> Severity: normal
> Tags: patch
> 
> I am using --bind parameter to relocate some paths. When i want that
> bind operation permenantly, i put thet to fstab. Unfortunately
> /etc/init.d/mountall.sh does not mound binds. So attached diff is
> needed.
> FYI, this is a sample line i put in fstab
> /local/mirror/ /local/mirror/pub/mirror/ bind defaults,rw 0 2

Well that's what you might expect, but the right syntax is:

/path1        /path2    auto    bind            0       0

That should work, no patches needed.

Mike.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to