Package Details: systemd-shim 7_3-1

Package Base: systemd-shim
Description: shim for systemd
Upstream URL: https://launchpad.net/ubuntu/+source/systemd-shim
Category: lib
Licenses: GPL
Provides: systemd=216
Submitter: Alad
Maintainer: None
Last Packager: Alad
Votes: 0
First Submitted: 2014-07-29 16:49
Last Updated: 2014-09-06 15:06

Latest Comments

Comment by Alad

2014-10-04 00:03

Sorry for the late reply, I'm rather busy right now, and have no access to an Arch system. You can find an updated PKGBUILD here:

http://pastie.org/9618465

As you can see prepare() is no longer necessary as the patches are included upstream. I did try to move the file in pre_install, but unfortunately pacman still complained - I'm guessing installs scriptlets are executed after conflict checks.

Comment by aya

2014-09-26 17:40

Oh, I can see cgmanager has just got updated to 0.32 in [community].

Comment by aya

2014-09-25 03:39

Hi Alad,
Thanks for your reply. Understood you position.

I believe it should be possible with pacman to use pre_install script to move /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service away (backup it) and inform the user that it was done.

Also with post_remove it should be possible to restore the file back (should it exist) and also tell the user about it.

Comment by Alad

2014-09-24 21:19

Hey,

The Ubuntu package creates a "divert" for org.freedesktop.systemd1.service so it can coexist with systemd (where it simply refers to /bin/false). As far as I know you can't do this with pacman (yet); file conflicts are checked before operations in an .install file.

So you'd either add a conflict with systemd (losing udev, logind - and keeping logind is the point here) - or make a separate systemd package with the service removed.

As systemd-shim is purely experimental right now, I leave it to the user to manually move the file to say org.freedesktop.systemd1.service.bak before installing. Sorry for the inconvenience.

Comment by aya

2014-09-24 13:46

Hi Alad,

I cannot install the package

error: failed to commit transaction (conflicting files)
systemd-shim: /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service exists in filesystem
Errors occurred, no packages were upgraded.

# pacman -Qo /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service
/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service is owned by systemd 216-3

Comment by Alad

2014-09-23 15:00

Can't be updated until cgmanager is bumped to 0.32 in [community].