Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125864 - sys-apps/hal-0.5.5.1-r3 - fstab-sync is not installed and devices are not auto-mounted
Summary: sys-apps/hal-0.5.5.1-r3 - fstab-sync is not installed and devices are not aut...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-11 12:56 UTC by Jonas MG
Modified: 2006-05-27 20:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas MG 2006-03-11 12:56:10 UTC
I have a 2.6 kernel with hald / dbus / gnome-vfs-daemon running, and options in gnome-volume-properties are enabled by default for auto-mounting devices. But it fails. I think that it is for next:

HAL uses fstab-sync for add/remove devices in fstab, and that file is not installed with it.
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2006-03-11 14:10:08 UTC
we do not use fstab-sync.  It is not necessary to have automounting work.

Did you follow the upgrade guide?
http://www.gentoo.org/proj/en/desktop/gnome/howtos/gnome-2.12-upgrade.xml
Comment 2 Jonas MG 2006-03-12 02:02:31 UTC
I have all well configured as it says in http://www.gentoo.org/proj/en/desktop/gnome/howtos/gnome-2.12-upgrade.xml

But my devices are not auto-mounted

gnome-volume-manager can not be runned from the commandline, and it shows the next message:

** (gnome-volume-manager:8078): WARNING **: manager.c/2380: not on the system console
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2006-03-12 14:43:02 UTC
And that's not an fstab-sync error... For two reasons.. well... it's not... that's a pam console error. And secondly because fstab-sync is not part of hal-0.5.x... grab the sources.. you won't see it in there.

Please add emerge info (which you should have done in the first place since this is a bug report). You should also include emerge -pv hal
Comment 4 Jonas MG 2006-03-13 00:48:56 UTC
I installed gnome from a fresh install (2006.0). And if it is a pam console error, the problem is that 'pam_console' flag is not enabled by default:

 $ emerge hal -pv
sys-apps/hal-0.5.5.1-r3  -acpi -debug -doc -pam_console -pcmcia (-selinux)


 $ emerge --info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fno-ident -fforce-addr -fsched-spec-load"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fno-ident -fforce-addr -fsched-spec-load -fvisibility-inlines-hidden -frepo"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks nodoc sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO ftp://gentoo.kems.net/mirrors/gentoo ftp://mirror.pacific.net.au/linux/Gentoo"
LANG="es_ES.utf8"
LC_ALL="es_ES.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="es en"
MAKEOPTS="-j2"
PKGDIR="/distfiles/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cairo cdda cddb cdr crypt cups curl dbus directfb dri dts dvb dvd eds emboss encode exif expat fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif glut gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal howl idn imlib ipv6 jpeg kde kdexdeltas lcms libg++ libwww mad matroska mikmod mmx mng motif mozsvg mp3 mpeg ncurses nls nptl ogg opengl pam pcre pdflib perl pic png python qt quicktime readline speex spell sqlite sse ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vorbis xml xml2 xmms xprint xv xvid zlib video_cards_nv video_cards_nvidia video_cards_vesa input_devices_keyboard input_devices_mouse input_devices_evdev linguas_es linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 5 Jonas MG 2006-03-13 01:27:41 UTC
 # equery hasuse pam_console
[ Searching for USE flag pam_console in all categories among: ]
 * installed packages
[I--] [  ] sys-apps/hal-0.5.5.1-r3 (0)
[I--] [  ] sys-libs/pam-0.78-r3 (0)

 # flagedit +pam_console

 # emerge pam hal

I follow with the same problem:

* Not possible mounting
* When I run gnome-volume-manager from commandline, I get the same warning
Comment 6 Jonas MG 2006-03-13 01:28:22 UTC
s/Not possible mounting/Not possible auto-mounting
Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2006-03-19 07:13:16 UTC
Issue is with gnome-volume-manager interactions and not HAL
Comment 8 Joe McCann (RETIRED) gentoo-dev 2006-03-25 11:24:19 UTC
did you follow the instructions at the end of the pam emerge about the extra steps you have to take to enable pam_console?

"If you want to enable the pam_console module, please follow"
"the instructions in /usr/share/doc/${PF}/README.pam_console."
Comment 9 Jonas MG 2006-03-27 05:04:49 UTC
I follow all steps from /usr/share/doc/${PF}/README.pam_console
but i have the same problem

NOTE: I'm using qingy as login manager
Comment 10 Doug Goldstein (RETIRED) gentoo-dev 2006-05-27 20:37:00 UTC
There's no notes on pam_console in the HAL ebuilds..

You have a couple of choices.. add yourself to the plugdev group.. and you're fine..

touch /var/run/console/$user in /etc/conf/local.start if you have a single user system.

This annoyance will go away once PolicyKit is brought to Portage which won't happen until it stops being such a crazy/unstable moving target.