Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80616 - submount-0.9-r1 broken -- submountd not where expected
Summary: submount-0.9-r1 broken -- submountd not where expected
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
: 82153 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-03 11:47 UTC by noddy
Modified: 2005-02-15 15:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
oneliner patch (submount-0.9-submountd-astray.diff,415 bytes, patch)
2005-02-03 11:49 UTC, noddy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description noddy 2005-02-03 11:47:29 UTC
Since the last revision, submount ebuild places the submount helper app, submountd, in /usr/sbin/. Unfortunately, it is hardcoded in the module as /sbin/submountd.

One possible solution is to patch the relevant header. Pretty straightforward.

Reproducible: Always
Steps to Reproduce:
1. emerge submount
2. mount -t subfs /relevant/device /mount/point
3. insert a medium
4. ls /mount/point

Actual Results:  
/mount/point/: No medium found  

Expected Results:  
Show t3h pr0n, why of course!  

Portage 2.0.51-r15 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 
2.6.10-gentoo-r6 i686) 
================================================================= 
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 1600+ 
Gentoo Base System version 1.6.9 
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 16 2004, 10:33:49)] 
dev-lang/python:     2.3.4 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r2 
sys-devel/libtool:   1.5.10-r4 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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 -march=athlon-xp -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs candy ccache distlocks sandbox strict userpriv 
usersandbox" 
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
LANG="en_US.UTF-8" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage-overlays/misc /usr/local/portage-overlays/deltup /usr/local/portage-overlays/kde-split" 
SYNC="rsync://deimos.ffzg.hr/gentoo-portage" 
USE="3dnow 3dnowex X a52 aalib acpi alsa aotuv apm audiofile avi berkdb bzlib 
cdparanoia cdr crypt curl directfb doc dvd dvdr dvdread edl encode escreen f77 
faad fbcon fbdev flac foomaticdb fortran framebuffer freetype gdbm geoip gif 
gstreamer guile imagemagick imlib ithreads jack jack-tmpfs jpeg libg++ libwww 
live lzo lzw-tiff mad matroska mikmod mmx mmx2 mng motif mp3 mpeg mpi ncurses 
network nls nodrm nptl nvidia objc offensive oggvorbis opengl pam pcre pdflib 
perl pic png python qt quicktime readline real rtc sdl slang sndfile 
soundtouch spell sqlite sse ssl stroke svg tcpd tga threads tiff truetype 
truetype-fonts unicode userlocales v4l v4l2 x86 xine xml xml2 xprint xv xvid 
xvmc yv12 zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 noddy 2005-02-03 11:49:20 UTC
Created attachment 50273 [details, diff]
oneliner patch

For your convenience, a patch is provided ;) .
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2005-02-08 00:35:40 UTC
This is a rather major problem, do you think:

    econf --sbindir=/sbin || die "econf failed"

is a good way to solve it?
I dont want to patch the modulesource since I know that subfs is(or was) also included in many inofficial gentoo-patchsets out there like nitro-sources.
Comment 3 noddy 2005-02-11 13:02:20 UTC
It's a perfect way as long as it doesnt awake the monster that,
hypothetically, put it in /usr/ to score FHS points. Wait and see?
And econf in the meantime?
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2005-02-13 12:14:21 UTC
Can you please test the new revision -r2 which has the --sbindir=/sbin fix?
Comment 5 noddy 2005-02-13 13:35:56 UTC
It works. Thanks for the time.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2005-02-15 15:37:32 UTC
*** Bug 82153 has been marked as a duplicate of this bug. ***