Re: F36 Change: Authselect: Move State Files to /etc (Self-Contained Change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Di, 18.01.22 12:32, Ben Cotton (bcotton@xxxxxxxxxx) wrote:

> https://fedoraproject.org/wiki/Changes/Authselect_Move_State_Files_To_Etc
>
>
> == Summary ==
>
> Authselect will move several files that are currently stored at
> /var/lib/authselect to /etc/authselect/.state. This does not affect
> configuration backup, that will be kept at
> /var/lib/authselect/backups.
>
> The files that will be moved are:
> * /var/lib/authselect/dconf-db -> /etc/authselect/.state/dconf-db
> * /var/lib/authselect/dconf-locks /etc/authselect/.state/dconf-locks

A lock file in /etc? What is that precisely? Shouldn't that be in
/run? (i.e. locks are runtime concepts typically, hence should neither
be in /etc/ not in /var/.

> * /var/lib/authselect/fingerprint-auth /etc/authselect/.state/fingerprint-auth
> * /var/lib/authselect/nsswitch.conf /etc/authselect/.state/nsswitch.conf
> * /var/lib/authselect/password-auth /etc/authselect/.state/password-auth
> * /var/lib/authselect/postlogin /etc/authselect/.state/postlogin
> * /var/lib/authselect/smartcard-auth /etc/authselect/.state/smartcard-auth
> * /var/lib/authselect/system-auth /etc/authselect/.state/system-auth

I think it would be best to put a comment in each saying something
like:

    # This file is autogenerated by foo, do not edit. Use foo --regenerate
    # to modify, see foo(1) for details.

at the top of each file, and not hide them.

Hiding stuff is mean. Might be fine for temporary files, but not for
stuff that actually matters. Might be OK in $HOME too, maybe, but
otherwise, please don't hide stuff.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux