Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688562 - sys-auth/fprintd-0.8.1 : wrong path in systemd service file to fingerprint folder
Summary: sys-auth/fprintd-0.8.1 : wrong path in systemd service file to fingerprint fo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maxim Koltsov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-23 20:54 UTC by cono
Modified: 2019-08-04 19:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cono 2019-06-23 20:54:16 UTC
Run of fpritnd-* fails due to error of spawning fpritns service.

There is a wrong path in .service file:

```
grep "ReadWritePaths" /lib/systemd/system/fprintd.service
ReadWritePaths=/var/lib/lib/fprint
```

Should be just single `lib`.

With this path it produce error:
Jun 23 22:03:22 claptop systemd[23718]: fprintd.service: Failed to set up mount namespacing: No such file or directory
Jun 23 22:03:22 claptop systemd[23718]: fprintd.service: Failed at step NAMESPACE spawning /usr/libexec/fprintd: No such file or director

When I changed path and did `systemctl daemon-reload`. It started to work, and I see in the log:
Jun 23 22:12:04 claptop systemd[1]: Starting Fingerprint Authentication Daemon...
Jun 23 22:12:04 claptop dbus-daemon[434]: [system] Successfully activated service 'net.reactivated.Fprint'
Jun 23 22:12:04 claptop systemd[1]: Started Fingerprint Authentication Daemon.
Comment 2 Leho Kraav (:macmaN @lkraav) 2019-07-19 12:44:10 UTC
This is real. Every login is delayed by 20 seconds. Who can patch the ebuild and pull into tree?
Comment 3 Larry the Git Cow gentoo-dev 2019-08-04 19:36:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c9f50f0bbb2a4701beffb7ce50d4a48f67ac6e0

commit 5c9f50f0bbb2a4701beffb7ce50d4a48f67ac6e0
Author:     Maxim Koltsov <maksbotan@gentoo.org>
AuthorDate: 2019-08-04 19:35:15 +0000
Commit:     Maxim Koltsov <maksbotan@gentoo.org>
CommitDate: 2019-08-04 19:36:28 +0000

    sys-auth/fprintd: fix bug in systemd service
    
    Closes: https://bugs.gentoo.org/688562
    Package-Manager: Portage-2.3.67, Repoman-2.3.12
    Signed-off-by: Maxim Koltsov <maksbotan@gentoo.org>

 sys-auth/fprintd/fprintd-0.8.1-r1.ebuild | 69 ++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)
Comment 4 Maxim Koltsov (RETIRED) gentoo-dev 2019-08-04 19:37:17 UTC
Sorry for the delay. I don't use systemd and did not observe this issue.