[Pkg-utopia-maintainers] Bug#552139: /sbin/umount.hal outputs error if relative path is specified
Carlo Contavalli
ccontavalli at gmail.com
Fri Oct 23 16:22:35 UTC 2009
Package: hal
Version: 0.5.13-3
Severity: normal
[ user at joshua::/media ] $ umount ./disk
/sbin/umount.hal: ./disk is not recognized by hal
[ user at joshua::/media ] $ umount /media/disk
[ user at joshua::/media ] $
As you can see, relative path causes error, absolute path works.
This behavior is unexpected, given that umount normally works just
fine with relative paths:
joshua:/mnt# mount /dev/sda1 ./tmp
joshua:/mnt# umount ./tmp
joshua:/mnt#
joshua:/media# umount ./disk
joshua:/media#
I suspect the fix would be a oneliner involving a call to realpath(3).
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (1100, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages hal depends on:
ii acl 2.2.48-1 Access control list utilities
ii adduser 3.111 add and remove users and groups
ii consolekit 0.3.1-1 framework for defining and trackin
ii dbus 1.2.16-2 simple interprocess messaging syst
ii hal-info 20090716-1 Hardware Abstraction Layer - fdi f
ii libblkid1 2.16.1-4 block device id library
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.16-2 simple interprocess messaging syst
ii libdbus-glib-1-2 0.82-2 simple interprocess messaging syst
ii libexpat1 2.0.1-4 XML parsing C library - runtime li
ii libglib2.0-0 2.22.0-1 The GLib library of C routines
ii libhal-storage1 0.5.13-3 Hardware Abstraction Layer - share
ii libhal1 0.5.13-3 Hardware Abstraction Layer - share
ii libpolkit2 0.9-4 library for accessing PolicyKit
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip
ii mount 2.16.1-4 Tools for mounting and manipulatin
ii pciutils 1:3.1.4-2 Linux PCI Utilities
ii policykit 0.9-4 framework for managing administrat
ii udev 146-5 /dev/ and hotplug management daemo
ii usbutils 0.86-2 Linux USB utilities
Versions of packages hal recommends:
ii eject 2.1.5+deb1+cvs20081104-6 ejects CDs and operates CD-Changer
ii pm-utils 1.2.5-4 utilities and scripts for power ma
Versions of packages hal suggests:
pn gnome-device-manager <none> (no description available)
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list