GNU bug report logs -
#60699
[PATCH 1/2] gnu: Add fwupd service.
Previous Next
Full log
Message #19 received at 60699 <at> debbugs.gnu.org (full text, mbox):
Hello,
I think it doesn't make much sense to make a shepherd service for fwupd.
Fwupd runs through dbus, so it can just be a dbus service. Then dbus
starts it on demand. Currently the package doesn't have the service
file, because it outputs it only when it has elogind in inputs. This
patch https://issues.guix.gnu.org/77752 fixes that. It also fixes check
for missing polkit policykit.
I think that fwupd service should:
- extend dbus root service type with (configurable) fwupd package
- extend polkit service type with (configurable) fwupd package
I will submit service like that in a few days.
For now, this can be used in one's config to make it work properly:
```
(simple-service 'dbus-fwupd
dbus-root-service-type
(list fwupd))
(simple-service 'polkit-fwupd
polkit-service-type
(list fwupd))
```
Polkit extension is needed only for fwupdmgr, not for fwupdtool,
this is also why fwupdmgr can be used without as non-root,
contrary to fwupdtool that needs root.
Dbus is needed for both for usage of all actions, some actions of
fwupdtool seem to not require it.
Regards,
Rutherther
This bug report was last modified 65 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.