Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670982 - app-misc/screen should install screen.conf in /usr/lib/tmpfiles.d directory instead of /etc/tmpfiles.d
Summary: app-misc/screen should install screen.conf in /usr/lib/tmpfiles.d directory i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-12 08:11 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-11-21 19:05 UTC (History)
1 user (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 Arfrever Frehtes Taifersar Arahesis 2018-11-12 08:11:24 UTC
All ebuilds of app-misc/screen currently install /etc/tmpfiles.d/screen.conf.

However tmpfiles.d(5) man page says:
(https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html#Configuration%20Directories%20and%20Precedence)

"""
Configuration Directories and Precedence
...
Files in /etc/tmpfiles.d override files with the same name in /usr/lib/tmpfiles.d and /run/tmpfiles.d.
Files in /run/tmpfiles.d override files with the same name in /usr/lib/tmpfiles.d.
Packages should install their configuration files in /usr/lib/tmpfiles.d.
Files in /etc/tmpfiles.d are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages.
"""
Comment 1 Larry the Git Cow gentoo-dev 2018-11-21 19:05:17 UTC
The bug has been referenced in the following commit(s):

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

commit e5132760791ce0307362727befc7755e98aafbfd
Author:     Sven Wegener <swegener@gentoo.org>
AuthorDate: 2018-11-21 18:55:34 +0000
Commit:     Sven Wegener <swegener@gentoo.org>
CommitDate: 2018-11-21 19:04:40 +0000

    app-misc/screen: Use tmpfiles.eclass, bug #670982
    
    Bug: https://bugs.gentoo.org/670982
    Signed-off-by: Sven Wegener <swegener@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 app-misc/screen/screen-9999.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)