Is fstab-sync in newest cvs broken?

Thomas Gufler csab3266 at uibk.ac.at
Thu Aug 26 14:00:38 PDT 2004


On Thursday 26 August 2004 22:12, David Zeuthen wrote:
> On Thu, 2004-08-26 at 20:51 +0200, Thomas Gufler wrote:
> > On Thursday 26 August 2004 18:03, David Zeuthen wrote:
> > > On Thu, 2004-08-26 at 14:09 +0200, Thomas Gufler wrote:
> > > > Hi,
> > > >
> > > > I have updated my local copy of hal to the newest cvs version. I use
> > > > fstab-sync to create the entries for my DVD-Drive, usb-stick, digital
> > > > camera (mass storage) which went well till the update of hal. Now I
> > > > only get a entry for my DVD-Drive but not for my usb based devices
> > > > (usb-stick, ..). In /media I get also just one entry for my
> > > > DVD-Drive.
> > > > hal-device-manager still shows my usb-devices.
> > > >
> > > > Any suggestions?
> > >
> > > Seems to work for me; please attach the output of starting the hal
> > > daemon
> > >
> > >  'HALD_VERBOSE=1 ./hald --daemon=no'
> >
> > Ok, done. See output_hald
>
> Seems a little sparse, should begin with
Ok, here is what I did:
become su
stopped hald (/etc/init.d/hald stop)
ps -A | grep hald (to be sure hald is really not running)
cd /usr/sbin
HALD_VERBOSE=1 ./hald --daemon=no
I only get those few lines I've attached to my last mail.

>
> [root at laptop hald]# HALD_VERBOSE=1 ./hald --daemon=no
> 22:07:13.661 [D] hald.c:317: opt_become_daemon = 0
> 22:07:13.755 [I] linux/osspec.c:193: Mountpoint for sysfs is /sys
> 22:07:13.905 [I] linux/osspec.c:1212:
> ******************************************22:07:13.905 [I]
> linux/osspec.c:1213: **** hotplug_counter is now 1 22:07:13.905 [I]
> linux/osspec.c:1214: ******************************************22:07:13.907
> [I] callout.c:332: Invoking 40-hal-hotplug-map.hal 22:07:14.025 [I]
> callout.c:332: Invoking 50-fstab-sync.hal
> 7908: ###################################
> 7908: fstab-sync entering; add udi=/org/freedesktop/Hal/devices/computer
> 7908: mount_root=/media use_managed=yes managed_keyword=kudzu
> 7908: Acquiring advisory lock on /etc/fstab
> 7908: Lock acquired
> 7908: Releasing advisory lock on /etc/fstab
> 7908: Lock released
> 7908: fstab-sync exiting; add udi=/org/freedesktop/Hal/devices/computer
> 7908: ###################################
>
> 22:07:14.264 [I] hald.c:73: Added device to GDL;
> udi=/org/freedesktop/Hal/devices/computer 22:07:14.264 [I]
> linux/osspec.c:742: handling /sys/devices/pci0000:00/0000:00:08.0 pci ...
>
> > > and the output of lshal when device detection is done.
>
> The lshal output looks good.
>
> Did you remember to install the new fstab-sync callout? That would
> require configuring the source tree with --enable-fstab-sync (think I
> just put that in). I guess that would be something to look after. I
Yes, it was compiled with --enable-fstab-sync
Compiled it a few minutes ago, ls -l /usr/sbin/fstab-sync gives me:
-rwxr-xr-x  1 root root 21016 26. Aug 22:44 /usr/sbin/fstab-sync

and ls -l /etc/hal/device.d/:
insgesamt 0
lrwxrwxrwx  1 root root 20 17. Aug 10:17 fstab-sync -> /usr/sbin/fstab-sync


> always symlink /usr/local/hal/devices.d/50-fstab-sync.hal into fstab-
> sync into my build tree.
Sorry, don't understand? 

>
> Thanks,
> David

Do I need to update dbus too? (dbus-cvs from about 5 days ago)

Thanks,

Thomas 
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list