[systemd] /lib/systemd/system/accounts-daemon.service is unpackaged

Bug #1321705 reported by Anders Kaseorg
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
accountsservice (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Now that accountsservice is configured with --enable-systemd, a /lib/systemd/system/accounts-daemon.service gets installed into debian/tmp, but it is not packaged anywhere. The absence of the file prevents gdm from starting successfully:

May 21 06:16:23 fixed-disk dbus-daemon[896]: dbus[896]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.60" (uid=0 pid=20007 comm="/usr/sbin/gdm ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destina
May 21 06:16:23 fixed-disk dbus-daemon[896]: dbus[896]: [system] Activating via systemd: service name='org.freedesktop.Accounts' unit='accounts-daemon.service'
May 21 06:16:23 fixed-disk dbus[896]: [system] Activating via systemd: service name='org.freedesktop.Accounts' unit='accounts-daemon.service'
May 21 06:16:23 fixed-disk dbus[896]: [system] Activation via systemd failed for unit 'accounts-daemon.service': Unit accounts-daemon.service failed to load: No such file or directory. See system logs and 'systemctl status accounts-daemon.service' for details.
May 21 06:16:23 fixed-disk dbus-daemon[896]: dbus[896]: [system] Activation via systemd failed for unit 'accounts-daemon.service': Unit accounts-daemon.service failed to load: No such file or directory. See system logs and 'systemctl status accounts-daemon.service' for details.

This may be fixed by adding

lib/systemd/system/accounts-daemon.service

(or one of its parents) to debian/accountsservice.install.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: accountsservice 0.6.37-1ubuntu1
ProcVersionSignature: Ubuntu 3.15.0-1.5-generic 3.15.0-rc5
Uname: Linux 3.15.0-1-generic x86_64
NonfreeKernelModules: openafs
ApportVersion: 2.14.2-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed May 21 06:26:37 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2010-12-05 (1263 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
SourcePackage: accountsservice
UpgradeStatus: Upgraded to utopic on 2013-10-31 (202 days ago)

Revision history for this message
Anders Kaseorg (andersk) wrote :
Revision history for this message
Anders Kaseorg (andersk) wrote :
Revision history for this message
Iain Lane (laney) wrote :

Thanks Anders - I've instead copied the packaging for this stuff from Debian, so that we can further reduce the delta. It doesn't seem to cause any problems on my Upstart system, and I've checked that the file is installed. I'm not running systemd so I didn't check if it works there; please reopen if it doesn't.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package accountsservice - 0.6.37-1ubuntu2

---------------
accountsservice (0.6.37-1ubuntu2) utopic; urgency=medium

  * Merge changes from Debian to install systemd unit and use systemd
    debhelper sequence. (LP: #1321705)
 -- Iain Lane <email address hidden> Wed, 21 May 2014 13:29:14 +0100

Changed in accountsservice (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.