Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667706 - sys-apps/systemd-239-r1[-pam] - Symbolic link /usr/lib/environment.d/99-environment.conf points to /etc/environment which does not exist
Summary: sys-apps/systemd-239-r1[-pam] - Symbolic link /usr/lib/environment.d/99-envir...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-04 11:13 UTC by Francesco Turco
Modified: 2020-02-23 17:36 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,6.55 KB, text/plain)
2018-10-04 11:13 UTC, Francesco Turco
Details
build.log.xz (build.log.xz,68.32 KB, application/x-xz)
2018-10-04 11:14 UTC, Francesco Turco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Turco 2018-10-04 11:13:24 UTC
Portage reports the following QA issue when emerging sys-apps/systemd-239-r1:

> QA Notice: Symbolic link /usr/lib/environment.d/99-environment.conf points to /etc/environment which does not exist.
Comment 1 Francesco Turco 2018-10-04 11:13:55 UTC
Created attachment 549226 [details]
emerge-info.txt

emerge --info sys-apps/systemd
Comment 2 Francesco Turco 2018-10-04 11:14:16 UTC
Created attachment 549228 [details]
build.log.xz
Comment 3 Mike Gilbert gentoo-dev 2018-10-07 14:28:18 UTC
/etc/environment is installed by sys-libs/pam. It may also be created manually. If it doesn't exist, the dangling symlink is expected.

@dev-portage: How can I silence this QA warning?
Comment 4 Zac Medico gentoo-dev 2018-10-07 20:14:07 UTC
We don't have a whitelist variable for broken symbolic links yet, the check is just this 2 lines of code here:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=ca7467006b112f65a57c4db7816729841a2de694

How does QA_BROKEN_SYMLINKS sound for the new variable name?
Comment 5 Mike Gilbert gentoo-dev 2020-02-23 17:36:23 UTC
This isn't worth "fixing" to me. If QA_BROKEN_SYMLINKs is supported in Portage someday, I would be happy to utilize it.