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
Created attachment 50273 [details, diff] oneliner patch For your convenience, a patch is provided ;) .
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.
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?
Can you please test the new revision -r2 which has the --sbindir=/sbin fix?
It works. Thanks for the time.
*** Bug 82153 has been marked as a duplicate of this bug. ***