umount.hal and return code
Zdenek Prikryl
zprikryl at redhat.com
Tue Feb 19 07:54:28 PST 2008
Hello,
according this page:
http://lists.freedesktop.org/archives/hal/2007-March/007738.html, umount.hal
should return correct return code. So, if I put a cd into a cdrom, then an
automounter will mount it. In mtab in cdrom record is uhelper=hal and uid with
correct value. If I want to umount it in a console as a user (uid of the user ==
uid in mtab), then everything is fine, the cdrom is umounted. But umount itself
returns 1 as a return code, because /sbin/umount.hal returns 1. According the
upstream, it should be fixed (page above), but in f8 it isn't fixed. More
precisely, the patch is applied but it returns always 1 as the return code.
Any idea where is a problem?
Thanks.
Regards.
--
Zdenek Prikryl <zprikryl at redhat.com>
Software Engineer - Base Operating Systems Brno
More information about the hal
mailing list