[Assist] Snapper and OpenRC
Megver83
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ó:
> Hi,
>
> 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
> partitions.
>
> The problem is that when I run any command that involves `snapper(8)` I
> get
> ```
> 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
> time.
>
> 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]
> Name=org.opensuse.Snapper
> Exec=/usr/sbin/snapperd
> User=root
> ```
>
>
>
> _______________________________________________
> Assist mailing list
> Assist at lists.parabola.nu
> https://lists.parabola.nu/mailman/listinfo/assist
>
--
GPG: 0x227CA7C556B2BA78
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.parabola.nu/pipermail/assist/attachments/20170604/146e41ef/attachment.bin>
More information about the Assist
mailing list