Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#66807 - [sssd] environment-file relocation proposal

Attached to Project: Community Packages
Opened by Konstantin Shalygin (k0ste) - Thursday, 28 May 2020, 04:38 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Friday, 29 May 2020, 12:10 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

By default `--with-environment-file` is `/etc/sysconfig/sssd` - RedHat like. For Arch some packages have files like this in `/etc/conf.d` dir, for example atftpd, smartd, etc.

I was build package for myself with `--with-environment-file=/etc/conf.d/sssd` and checks that all services will override `DEBUG_LOGGER=--logger=journald`, because by default systemd units shipped with `logger=files`. This works as expected.
This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Friday, 29 May 2020, 12:10 GMT
Reason for closing:  Won't implement
Additional comments about closing:  No clear policy or de-facto standard. Just use /etc/sysconfig/sssd
Comment by Massimiliano Torromeo (mtorromeo) - Friday, 29 May 2020, 12:08 GMT
I don't remember any Arch policy that says that /etc/conf.d should be used instead of /etc/sysconfig. It is true that a bunch of packages use /etc/conf.d but the reverse is also true.

On my current system I can count 10 systemd services that use EnvironmentFile=-/etc/conf.d/SOMESVC and 8 that use EnvironmentFile=-/etc/sysconfig/SOMESVC.

A clear policy would help avoid confusion but until such a policy exists I won't change the default location for sssd just for the sake of it.

Loading...