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

2022-01-28 Thread Lennart Poettering
On Di, 18.01.22 12:32, Ben Cotton (bcot...@redhat.com) 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 >

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

2022-01-21 Thread Vít Ondruch
Dne 21. 01. 22 v 11:23 Pavel Březina napsal(a): On 1/20/22 15:15, Vít Ondruch wrote: Dne 20. 01. 22 v 14:53 Pavel Březina napsal(a): On 1/20/22 12:52, Vít Ondruch wrote: I have naive question why these files are not static and in /usr. I mean, I am pretty sure I won't run `authselect

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

2022-01-21 Thread Pavel Březina
On 1/20/22 15:15, Vít Ondruch wrote: Dne 20. 01. 22 v 14:53 Pavel Březina napsal(a): On 1/20/22 12:52, Vít Ondruch wrote: I have naive question why these files are not static and in /usr. I mean, I am pretty sure I won't run `authselect select --force` or anything similar any time soon. So

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

2022-01-20 Thread Neal Gompa
On Thu, Jan 20, 2022 at 8:14 AM Demi Marie Obenour wrote: > > On 1/20/22 01:13, Panu Matilainen wrote: > > On 1/20/22 06:16, Chris Murphy wrote: > >>> Deleting /var/lib/net-snmp/snmpd.conf means making the agent look like a > >>> new system, with new IDs, a renumbered interface table, and loss of

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

2022-01-20 Thread Chris Murphy
On Wed, Jan 19, 2022 at 11:14 PM Panu Matilainen wrote: > > On 1/20/22 06:16, Chris Murphy wrote: > >> Deleting /var/lib/net-snmp/snmpd.conf means making the agent look like a > >> new system, with new IDs, a renumbered interface table, and loss of > >> SNMPv3 users. > > > > You're not going to

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

2022-01-20 Thread Vít Ondruch
Dne 20. 01. 22 v 14:53 Pavel Březina napsal(a): On 1/20/22 12:52, Vít Ondruch wrote: I have naive question why these files are not static and in /usr. I mean, I am pretty sure I won't run `authselect select --force` or anything similar any time soon. So why the configuration is not static,

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

2022-01-20 Thread Pavel Březina
On 1/20/22 12:52, Vít Ondruch wrote: I have naive question why these files are not static and in /usr. I mean, I am pretty sure I won't run `authselect select --force` or anything similar any time soon. So why the configuration is not static, generated at build time, not having anything in

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

2022-01-20 Thread Demi Marie Obenour
On 1/20/22 01:13, Panu Matilainen wrote: > On 1/20/22 06:16, Chris Murphy wrote: >>> Deleting /var/lib/net-snmp/snmpd.conf means making the agent look like a >>> new system, with new IDs, a renumbered interface table, and loss of >>> SNMPv3 users. >> >> You're not going to wipe /var to do a reset

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

2022-01-20 Thread Vít Ondruch
I have naive question why these files are not static and in /usr. I mean, I am pretty sure I won't run `authselect select --force` or anything similar any time soon. So why the configuration is not static, generated at build time, not having anything in /etc unless somebody really wants to

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

2022-01-20 Thread Petr Pisar
V Thu, Jan 20, 2022 at 11:26:49AM +0100, Pavel Březina napsal(a): > On 1/19/22 12:40, Petr Pisar wrote: > > V Wed, Jan 19, 2022 at 11:55:48AM +0100, Pavel Březina napsal(a): > > > On 1/19/22 11:35, Petr Pisar wrote: > > > > V Wed, Jan 19, 2022 at 11:30:11AM +0100, Pavel Březina napsal(a): > > > >

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

2022-01-20 Thread Pavel Březina
On 1/19/22 17:06, Colin Walters wrote: On Wed, Jan 19, 2022, at 10:25 AM, Neal Gompa wrote: I agree, I think it should move to /usr/lib/sysimage/authselect instead. That would break the use case of running it on an image based (i.e. readonly /usr) system *client side*. We settled on

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

2022-01-20 Thread Pavel Březina
On 1/19/22 12:40, Petr Pisar wrote: V Wed, Jan 19, 2022 at 11:55:48AM +0100, Pavel Březina napsal(a): On 1/19/22 11:35, Petr Pisar wrote: V Wed, Jan 19, 2022 at 11:30:11AM +0100, Pavel Březina napsal(a): On 1/19/22 11:04, Petr Pisar wrote: V Tue, Jan 18, 2022 at 12:32:52PM -0500, Ben Cotton

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

2022-01-19 Thread Panu Matilainen
On 1/20/22 06:16, Chris Murphy wrote: Deleting /var/lib/net-snmp/snmpd.conf means making the agent look like a new system, with new IDs, a renumbered interface table, and loss of SNMPv3 users. You're not going to wipe /var to do a reset casually - the idea would be, this hardware isn't coming

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

2022-01-19 Thread Chris Murphy
On Wed, Jan 19, 2022 at 6:14 PM Chris Adams wrote: > > Once upon a time, Chris Murphy said: > > > For example, snmpd stores program-generated config in /var/lib/net-snmp, > > > which gets merged with config from /etc/snmp. > > > > What's the exact consequence of deleting either /etc/snmp and > >

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

2022-01-19 Thread Chris Adams
Once upon a time, Chris Murphy said: > > For example, snmpd stores program-generated config in /var/lib/net-snmp, > > which gets merged with config from /etc/snmp. > > What's the exact consequence of deleting either /etc/snmp and > /var/lib/net-snmp - separately and together? Delete either one

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

2022-01-19 Thread Chris Murphy
On Wed, Jan 19, 2022 at 11:48 AM Chris Adams wrote: > > This push to destroy /var really needs to be stopped, or at least > handled as a whole and not on a piecemeal basis. There are many > packages that store data and config in /var that is NOT to be deleted at > will. The big thing is

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

2022-01-19 Thread Chris Adams
This push to destroy /var really needs to be stopped, or at least handled as a whole and not on a piecemeal basis. There are many packages that store data and config in /var that is NOT to be deleted at will. The big thing is databases, but there are lots of little things. For example, snmpd

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

2022-01-19 Thread Chris Murphy
On Wed, Jan 19, 2022 at 4:56 AM Vitaly Zaitsev via devel wrote: > > On 19/01/2022 09:54, Pavel Březina wrote: > > This is the intention, it should not be touched by users therefore it > > should not be visible to users, in my opinion. > > Packaging of hidden files/directories is not a good idea.

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

2022-01-19 Thread Chris Murphy
On Wed, Jan 19, 2022 at 3:04 AM Petr Pisar wrote: > > V Tue, Jan 18, 2022 at 12:32:52PM -0500, Ben Cotton napsal(a): > > Since /var should contain only files that can be safely removed, > > While I agree with your change, this statement is false. /var is for any files > which are variable. Files

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

2022-01-19 Thread Colin Walters
On Wed, Jan 19, 2022, at 10:25 AM, Neal Gompa wrote: > > I agree, I think it should move to /usr/lib/sysimage/authselect instead. That would break the use case of running it on an image based (i.e. readonly /usr) system *client side*. We settled on having it in /etc in

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

2022-01-19 Thread Neal Gompa
On Wed, Jan 19, 2022 at 10:19 AM Fabio Valentini wrote: > > On Tue, Jan 18, 2022 at 6:34 PM Ben Cotton wrote: > > > > https://fedoraproject.org/wiki/Changes/Authselect_Move_State_Files_To_Etc > > > > > > == Summary == > > > > Authselect will move several files that are currently stored at > >

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

2022-01-19 Thread Fabio Valentini
On Tue, Jan 18, 2022 at 6:34 PM Ben Cotton 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 >

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

2022-01-19 Thread Michael Catanzaro
On Wed, Jan 19 2022 at 12:56:26 PM +0100, Vitaly Zaitsev via devel wrote: Packaging of hidden files/directories is not a good idea. Yeah that seems too creative. I don't think we need to hide files in system directories. ___ devel mailing list --

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

2022-01-19 Thread Vitaly Zaitsev via devel
On 19/01/2022 09:54, Pavel Březina wrote: This is the intention, it should not be touched by users therefore it should not be visible to users, in my opinion. Packaging of hidden files/directories is not a good idea. /etc is meant to be editable by user. -- Sincerely, Vitaly Zaitsev

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

2022-01-19 Thread Petr Pisar
V Wed, Jan 19, 2022 at 11:55:48AM +0100, Pavel Březina napsal(a): > On 1/19/22 11:35, Petr Pisar wrote: > > V Wed, Jan 19, 2022 at 11:30:11AM +0100, Pavel Březina napsal(a): > > > On 1/19/22 11:04, Petr Pisar wrote: > > > > V Tue, Jan 18, 2022 at 12:32:52PM -0500, Ben Cotton napsal(a): > > > > >

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

2022-01-19 Thread Pavel Březina
On 1/19/22 11:35, Petr Pisar wrote: V Wed, Jan 19, 2022 at 11:30:11AM +0100, Pavel Březina napsal(a): On 1/19/22 11:04, Petr Pisar wrote: V Tue, Jan 18, 2022 at 12:32:52PM -0500, Ben Cotton napsal(a): Since /var should contain only files that can be safely removed, While I agree with your

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

2022-01-19 Thread Petr Pisar
V Wed, Jan 19, 2022 at 11:30:11AM +0100, Pavel Březina napsal(a): > On 1/19/22 11:04, Petr Pisar wrote: > > V Tue, Jan 18, 2022 at 12:32:52PM -0500, Ben Cotton napsal(a): > > > Since /var should contain only files that can be safely removed, > > > > While I agree with your change, this statement

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

2022-01-19 Thread Pavel Březina
On 1/19/22 11:04, Petr Pisar wrote: V Tue, Jan 18, 2022 at 12:32:52PM -0500, Ben Cotton napsal(a): Since /var should contain only files that can be safely removed, While I agree with your change, this statement is false. /var is for any files which are variable. Files which can be safely

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

2022-01-19 Thread Petr Pisar
V Tue, Jan 18, 2022 at 12:32:52PM -0500, Ben Cotton napsal(a): > Since /var should contain only files that can be safely removed, While I agree with your change, this statement is false. /var is for any files which are variable. Files which can be safely removed belong to /var/tmp and /var/cache.

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

2022-01-19 Thread Pavel Březina
On 1/18/22 19:03, Vitaly Zaitsev via devel wrote: On 18/01/2022 18:32, Ben Cotton wrote: Authselect state files moved from/var/lib/authselect to /etc/authselect/.state. Why /etc/authselect/.state and not /etc/authselect/state? Dot in front of the name means hidden file/directory. This is

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

2022-01-18 Thread Vitaly Zaitsev via devel
On 18/01/2022 18:32, Ben Cotton wrote: Authselect state files moved from/var/lib/authselect to /etc/authselect/.state. Why /etc/authselect/.state and not /etc/authselect/state? Dot in front of the name means hidden file/directory. -- Sincerely, Vitaly Zaitsev (vit...@easycoding.org)