Bug 4704 - Udisksd is missing systemd service file
Summary: Udisksd is missing systemd service file
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-26 11:28 CET by Juan Magallon
Modified: 2012-02-26 21:55 CET (History)
4 users (show)

See Also:
Source RPM: udisks2-1.92.0-1.mga2.src.rpm
CVE:
Status comment:


Attachments
udisks sytemd service file (143 bytes, application/octet-stream)
2012-02-26 16:55 CET, Juan Magallon
Details

Description Juan Magallon 2012-02-26 11:28:20 CET
Current package is missing the udisks2.service for systemd,
so it does not get started, and disk handling is broken in
Gnome (at least...)

werewolf:~/in/udisks-1.92.0/data# rpm -ql udisks2
/etc/bash_completion.d/udisksctl-bash-completion.sh
/etc/dbus-1/system.d/org.freedesktop.UDisks2.conf
/lib/udev/rules.d/80-udisks2.rules
/usr/bin/udisksctl
/usr/lib/udisks2
/usr/lib/udisks2/udisksd
/usr/sbin/umount.udisks2
/usr/share/dbus-1/system-services/org.freedesktop.UDisks2.service
/usr/share/doc/udisks2
/usr/share/doc/udisks2/AUTHORS
/usr/share/doc/udisks2/COPYING
/usr/share/doc/udisks2/HACKING
/usr/share/doc/udisks2/NEWS
/usr/share/doc/udisks2/README
/usr/share/locale/da/LC_MESSAGES/udisks2.mo
/usr/share/man/man1/udisksctl.1.xz
/usr/share/man/man8/udisks.8.xz
/usr/share/man/man8/udisksd.8.xz
/usr/share/polkit-1/actions/org.freedesktop.udisks2.policy
/var/lib/udisks2
Comment 1 Richard Walker 2012-02-26 14:07:26 CET
I confirm that external disc partitions are not mounted except for vfat partition which are mounted by HAL but are not picked up by the file manager (pcmanfm) and iconified, so no point-and-click unmount is available.

CC: (none) => richard.j.walker

Comment 2 Olav Vitters 2012-02-26 14:20:52 CET
(In reply to comment #0)
> /usr/share/dbus-1/system-services/org.freedesktop.UDisks2.service

systemd does dbus activation. I see the service file here.. what is wrong?

CC: (none) => olav

Comment 3 Juan Magallon 2012-02-26 16:50:41 CET
Probably we don't need anymore to activate it manually with systemctl,
but even that dbus file

one:~# cat /usr/share/dbus-1/system-services/org.freedesktop.UDisks2.service
[D-BUS Service]
Name=org.freedesktop.UDisks2
Exec=/usr/lib/udisks2/udisksd --no-debug
User=root
SystemdService=udisks2.service

refers to udisks2.service, that is not present in the RPM:

one:~# rpm -ql udisks2 | grep service
/usr/share/dbus-1/system-services/org.freedesktop.UDisks2.service

But it is present in the tarball, I picked it from the src tarball,
edited the path and all works fine.

CC: (none) => jamagallon

Comment 4 Juan Magallon 2012-02-26 16:55:55 CET
Created attachment 1643 [details]
udisks sytemd service file
Comment 5 Juan Magallon 2012-02-26 16:57:12 CET
Sorry, I messed with bugzilla. This comment was supposed to be before attachment...
If someone wants to try, just drop attacched file into /lib/sytemd/system.
Comment 6 Richard Walker 2012-02-26 18:23:54 CET
It worked for me. Now all my external drive partitions are mounted and displayed in pcmanfm. halevt is mounting all my external usb hard discs and internal DVD whilst udisksd is mounting the floppy and internal hard discs. 

Confused? I am.
Comment 7 Colin Guthrie 2012-02-26 21:55:05 CET
Unit now included in latest udisks2 package. It was just missing an argument to configure (or a BR on systemd-devel, but the configure arg is enough).

Status: NEW => RESOLVED
CC: (none) => mageia
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.