First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 93903
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Christian Zoffoli <xmerlin@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Rasch <almagro@web.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 93903 depends on: Show dependency tree
Bug 93903 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-05-25 02:13 0000
The init-script provided with the gfs package contains a bug that prevents it
from mounting more than 
one gfs filesystem because it messes the mount points up.
The following patch should fix the problem:

--- gfs 2005-05-23 14:19:26.000000000 +0200
+++ gfs.neu     2005-05-25 10:46:40.000000000 +0200
@@ -48,8 +48,8 @@
                        einfo "Mounting GFS filesystems"
                        device=""
                        for device in ${remaining_verified}; do
-                               local target="$(awk '!/^#/ && $3 == "gfs"  { if
("$1" -eq "${device}" ) print $2 }' /
etc/fstab)"
-                               local mounted="$(awk '$3 == "gfs"  { if ("$1"
-eq "${device}" ) print $2 }' /proc/
mounts)"
+                               local target="$(awk '!/^#/ && $3 == "gfs" && $1
== device { print $2 }' device=$
{device} /etc/fstab)"
+                               local mounted="$(awk '$3 == "gfs" && $1 ==
device { print $2 }' device=$
{device} /proc/mounts)"

                                # mount only filesystems not already mounted
                                if [ -z "${mounted}" ]; then


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.9-gentoo-
r9 i686)
===============================================================
==
System uname: 2.6.9-gentoo-r9 i686 Intel(R) Xeon(TM) CPU 3.20GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r9
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/
share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode
foomaticdb fortran 
gdbm gif gpm gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod mmx mp3 mpeg
ncurses nls 
oggvorbis opengl oss pam pdflib perl png python qt quicktime ruby sdl spell ssl
svga tcpd truetype 
truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

------- Comment #1 From Christian Zoffoli 2005-06-14 02:47:51 0000 -------
fixed in cvs. thanks

First Last Prev Next    No search results available      Search page      Enter new bug