Summary: | dev-libs/lockdev-1.0.3.1.2-r1 with sys-apps/systemd-204 - non-root users cannot record lock on serial device | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Mayo <aklhfex> |
Component: | [OLD] Library | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | openrc, systemd |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Chris Mayo
2013-09-16 18:27:28 UTC
Maintainer, are you ok with that change? Until we enable whatever option is required to make systemd install its /usr/lib/tmpfiles.d/legacy.conf, this won't work properly. It looks like in order for systemd to install that file, you must tell systemd that you have the full legacy rc?.d setup just like Fedora/Red Hat used to. Well, the Arch change should work as they are neither having the rc.d compat in their systemd package /run/lock is created by the Gentoo rules, so we can fix the permissions ourselves if they're wrong. The problem is that I am not sure if they are wrong :/, should /var/lock be changed to more relaxed permissions or lockdev should have its own subdir? I say that because looks like other distributions are also having that restrict permissions for /var/lock What does OpenRC do here? @openrc, any idea about how to deal with this? Thanks Now (sys-apps/systemd-224-r1) using uucp group instead of dialout. (In reply to Chris Mayo from comment #8) > Now (sys-apps/systemd-224-r1) using uucp group instead of dialout. Changed to uucp in systemd-208-r3 for bug #463376 What is the status of this with current systemd versions? With sys-apps/systemd-226-r2: $ ls -ld /run/lock/ drwxr-xr-x 2 root root 60 May 25 19:44 /run/lock/ Not a problem for me any more as libcec-3.1.0 doesn't use lockdev. Apart from earlier versions of libcec, other user is USE="serial" media-libs/libgphoto2. |