[Assist] Snapper and OpenRC
megver83 at openmailbox.org
Mon Jun 5 00:23:45 BST 2017
Haven't you looked for a Snapper OpenRC init script?
I've not seen in Gentoo's wiki that Snapper has no init script -->
https://wiki.gentoo.org/wiki/Snapper however, the same happened with
udisks2 so storage devices where not detected by GUI file managers, so I
created my own udisks2-openrc package and uploaded it to [pcr] and AUR,
maybe the same could happen with snapper.
El 04/06/17 a las 17:02, Omar Polo escribió:
> two days ago I reinstalled parabola on my laptop and I've decided to use
> openrc as init system.
> So far everything went well, but now I've noticed that snapper does not
> work as expected.
> Snapper is a tool to create and manage snapshots of BTRFS and LVM
> The problem is that when I run any command that involves `snapper(8)` I
> Operation not succeeded (org.freedesktop.DBus.Error.Spawn.ExecFailed).
> BUT, if I start `snapperd` in some terminal, `snapper` suddenly start
> working. Unfortunately `snapperd` stops itself after a short period of
> Digging in the source code of snapper, I've understood that `snapperd`
> relies on dbus for its activation. [^1]
> Given this, how can I solve this problem? Manually running `snapperd`
> could temporary fix this problem, but isn't something I'd like to do on
> a daily basis.
> I've tried to write an init.d script that starts `snapperd`, but
> `snapperd` quit itself after inactivity.
> Obviously all mentioned command were executed as root
> * * *
> [^1]: The snapper' systemd unit file is:
> # DBus service activation config
> [D-BUS Service]
> Assist mailing list
> Assist at lists.parabola.nu
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the Assist