Re: [PATCH v2] env-update: create systemd env configuration if required

Ulrich Mueller <[email protected]>
Newsgroups gmane.linux.gentoo.portage.devel
Message-ID <[email protected]>
>>>>> On Thu, 03 Sep 2020, Florian Schmaus wrote:

> It's not really maintaining the information twice. The information is
> maintained at a single point: /etc/env.d
> And from there is is transformed by env-update already into two
> different formats:
> - /etc/profile.env
> - /etc/csh.env

> And with that change additionally into
> - /usr/lib/environment.d/gentoo-profile-env.conf

Sorry for another nitpick, but it's changing a file in /usr at runtime?
Also, does the file belong to any package, or is it an orphan?

Maybe it would be cleaner to generate the file in /etc like the others,
if necessary with a symlink in /usr/lib/environment.d? The symlink could
belong to some package, maybe even sys-apps/systemd itself.

Ulrich
signature.asc (application/pgp-signature, 507 B)
-----BEGIN PGP SIGNATURE-----

iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAl9Q5OIPHHVsbUBnZW50
b28ub3JnAAoJEFGIM1CIQV4uIWUH/A5l2aT9EJCBsipNUs4osKTe6HDyV+jWVRPx
6CqFiM8m+mvSQv2wqPU2L1Cq4tklPhtj8EobRjvJLCYkhtx6pKtkiz8pu4Sfs09R
Ybh6z4OfNzfVXRKenmbb6W153OI4Sux2vSqgKrIXJ0QPVnJAO0w3nVyvxJNyX4k8
bjWlVWRrn0sKnHIy6Cb9Dd8nPOHlmSUj44/QB/lkzQh/VlUcr6rUXqcNT07kfmJb
wJQSkXDC+yVxVifbhi7ASXPhESO9MUQDja4GDmQ4RlcQjCoYlHqsyzFJEMxAixga
Lo913+uQJMLK4Cfq2D7kWjY9hhU9lE46jM9ZQh5Rf4T8r4rJk6M=
=9KMm
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.