Gentoo Archives: gentoo-portage-dev

From: Ulrich Mueller <ulm@g.o>
To: Florian Schmaus <flo@×××××××××.eu>
Cc: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH v2] env-update: create systemd env configuration if required
Date: Thu, 03 Sep 2020 12:43:21
Message-Id: u4kof2fq5@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH v2] env-update: create systemd env configuration if required by Florian Schmaus
1 >>>>> On Thu, 03 Sep 2020, Florian Schmaus wrote:
2
3 > It's not really maintaining the information twice. The information is
4 > maintained at a single point: /etc/env.d
5 > And from there is is transformed by env-update already into two
6 > different formats:
7 > - /etc/profile.env
8 > - /etc/csh.env
9
10 > And with that change additionally into
11 > - /usr/lib/environment.d/gentoo-profile-env.conf
12
13 Sorry for another nitpick, but it's changing a file in /usr at runtime?
14 Also, does the file belong to any package, or is it an orphan?
15
16 Maybe it would be cleaner to generate the file in /etc like the others,
17 if necessary with a symlink in /usr/lib/environment.d? The symlink could
18 belong to some package, maybe even sys-apps/systemd itself.
19
20 Ulrich

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies