python-validity icon indicating copy to clipboard operation
python-validity copied to clipboard

Use without systemd

Open void-m4110c opened this issue 4 years ago • 8 comments
trafficstars

Hi,

as there are many distros out there that don't force you to use systemd, it would be great to have an option to install python-validity on those systems.

Is there any solution for this?

Thanks

void-m4110c avatar Feb 20 '21 16:02 void-m4110c

Look at the systemd service file and write your own script.

himekifee avatar Feb 20 '21 16:02 himekifee

I'm running this on gentoo+OpenRC just fine. The init script looks like:

$ cat /etc/init.d/validity
#!/sbin/openrc-run
command="/usr/lib/python-validity/dbus-service"
command_background=true
pidfile="/var/run/${RC_SVCNAME}.pid"

mid-kid avatar Mar 02 '21 17:03 mid-kid

I'm running this on gentoo+OpenRC just fine. The init script looks like:

$ cat /etc/init.d/validity
#!/sbin/openrc-run
command="/usr/lib/python-validity/dbus-service"
command_background=true
pidfile="/var/run/${RC_SVCNAME}.pid"

@mid-kid without fprintd-clients? I'm struggling to install it as it has a hard requirement for libsystemd

Midou36O avatar Aug 17 '22 05:08 Midou36O

@Midou36O You can use fprintd-0.9.0 to build the clients without libsystemd. Here's a relevant patch for it: https://pastebin.com/raw/7AQbB0WC

That said, good chance you can modify modern fprintd to link with elogind since the clients only need the sd-bus api, which elogind provides. It didn't exist back when I was still messing with this tool and it's probably more trouble than it's worth, the new clients haven't added much functionality.

mid-kid avatar Aug 19 '22 16:08 mid-kid

So i could just use a modern libelogind patched fprintd and it would just work?

Midou36O avatar Aug 19 '22 17:08 Midou36O

Like I said, I use the clients from fprintd-0.9.0, which don't need libsystemd, so I wouldn't know.

mid-kid avatar Aug 21 '22 23:08 mid-kid

I see, thanks for the help.

Midou36O avatar Aug 22 '22 01:08 Midou36O