Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Implicitly set conf_files
@ 2020-05-05 11:02 Gottox
  2020-05-05 11:12 ` Duncaen
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: Gottox @ 2020-05-05 11:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

New issue by Gottox on void-packages repository

https://github.com/void-linux/void-packages/issues/21649

Description:
What about marking any files in /etc automaticly as conf_files. are there any counter-examples where this would break anything?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
@ 2020-05-05 11:12 ` Duncaen
  2020-05-05 16:44 ` sgn
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Duncaen @ 2020-05-05 11:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-623992969

Comment:
Yes scripts in `/etc/sv/` and `/etc/runit` should probably not be `conf_files` by default, especially if a user sets `keepconf=yes` in xbps.d, which will always create `.new-$version` files even if the previous configuration file was never changed.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
  2020-05-05 11:12 ` Duncaen
@ 2020-05-05 16:44 ` sgn
  2020-05-16 14:02 ` Chocimier
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: sgn @ 2020-05-05 16:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 267 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-624167464

Comment:
- Files provided by `grml-zsh-config`
- `/etc/bash/bashrc` (not sure about this one)

Those files shouldn't be marked as conf

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
  2020-05-05 11:12 ` Duncaen
  2020-05-05 16:44 ` sgn
@ 2020-05-16 14:02 ` Chocimier
  2020-05-18  7:12 ` Gottox
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Chocimier @ 2020-05-16 14:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-629650718

Comment:
Good idea.

Skimmed through xlocate, nothing besides what Duncaen pointed seems to need to be excluded.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (2 preceding siblings ...)
  2020-05-16 14:02 ` Chocimier
@ 2020-05-18  7:12 ` Gottox
  2020-05-18  7:13 ` Gottox
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Gottox @ 2020-05-18  7:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 174 bytes --]

New comment by Gottox on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-629990676

Comment:
basicly Debian for example does.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (3 preceding siblings ...)
  2020-05-18  7:12 ` Gottox
@ 2020-05-18  7:13 ` Gottox
  2020-05-18  8:00 ` travankor
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Gottox @ 2020-05-18  7:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

New comment by Gottox on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-629991226

Comment:
I'll make a PR that addresses this issue and respects @Duncaen's comments.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (4 preceding siblings ...)
  2020-05-18  7:13 ` Gottox
@ 2020-05-18  8:00 ` travankor
  2020-05-18  8:00 ` travankor
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: travankor @ 2020-05-18  8:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-630013536

Comment:
Should `/etc/sv/conf`count as conf?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (5 preceding siblings ...)
  2020-05-18  8:00 ` travankor
@ 2020-05-18  8:00 ` travankor
  2020-07-11  5:06 ` ericonr
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: travankor @ 2020-05-18  8:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 188 bytes --]

New comment by travankor on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-630013536

Comment:
Should `/etc/sv/service/conf`count as conf?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (6 preceding siblings ...)
  2020-05-18  8:00 ` travankor
@ 2020-07-11  5:06 ` ericonr
  2020-07-11  5:14 ` ericonr
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ericonr @ 2020-07-11  5:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-656991120

Comment:
AppArmor profiles aren't conf files either. They are in `/etc/apparmor.d/`, but the local files in `/etc/apparmor.d/local/` are conf files.

@Duncaen what do you think about making `/etc/runit/ctrlaltdel` a `conf_file`? It is something that a user can change depending on the action they want to trigger when they use that keyboard shortcut.

> Should /etc/sv/service/confcount as conf?

@travankor IMO yes, it's where we recommend users make changes that persist across package updates. I believe the `vsv` function marks those as conf by default.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (7 preceding siblings ...)
  2020-07-11  5:06 ` ericonr
@ 2020-07-11  5:14 ` ericonr
  2020-07-11  6:16 ` ericonr
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ericonr @ 2020-07-11  5:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-656991120

Comment:
AppArmor profiles aren't conf files either. They are in `/etc/apparmor.d/`, but the local files in `/etc/apparmor.d/local/` are conf files.

@Duncaen what do you think about making `/etc/runit/ctrlaltdel` a `conf_file`? It is something that a user can change depending on the action they want to trigger when they use that keyboard shortcut.

> Should /etc/sv/service/confcount as conf?

@travankor IMO yes, it's where we recommend users make changes that persist across package updates. I believe the `vsv` function marks those as conf by default.

How would this work for new applications that for some reason store files in `/etc` that aren't config files? Will we have a new `no_conf_files` or `no_auto_conf_file` field, or have to add exceptions to the script?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (8 preceding siblings ...)
  2020-07-11  5:14 ` ericonr
@ 2020-07-11  6:16 ` ericonr
  2021-01-21 18:00 ` ericonr
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ericonr @ 2020-07-11  6:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1104 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-656991120

Comment:
AppArmor profiles aren't conf files either. They are in `/etc/apparmor.d/`, but the local files in `/etc/apparmor.d/local/` are conf files.

@Duncaen what do you think about making `/etc/runit/ctrlaltdel` a `conf_file`? It is something that a user can change depending on the action they want to trigger when they use that keyboard shortcut.

> Should /etc/sv/service/confcount as conf?

@travankor IMO yes, it's where we recommend users make changes that persist across package updates. I believe the `vsv` function marks those as conf by default.

How would this work for new applications that for some reason store files in `/etc` that aren't config files? Will we have a new `no_conf_files` or `no_auto_conf_file` field, or have to add exceptions to the script?

---

To keep track, stuff I can think of in `/etc/` that aren't conf:

- `kernel.d/`
- `os-release` ?
- some/most(?) of the stuff in `zfs/`
- `polkit-1/rules.d/50-default.rules`

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (9 preceding siblings ...)
  2020-07-11  6:16 ` ericonr
@ 2021-01-21 18:00 ` ericonr
  2022-04-16  2:02 ` github-actions
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: ericonr @ 2021-01-21 18:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 148 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-764832073

Comment:
Ping?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (10 preceding siblings ...)
  2021-01-21 18:00 ` ericonr
@ 2022-04-16  2:02 ` github-actions
  2022-07-16  2:13 ` github-actions
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: github-actions @ 2022-04-16  2:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-1100506700

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (11 preceding siblings ...)
  2022-04-16  2:02 ` github-actions
@ 2022-07-16  2:13 ` github-actions
  2022-10-15  2:16 ` github-actions
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: github-actions @ 2022-07-16  2:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-1186062358

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (12 preceding siblings ...)
  2022-07-16  2:13 ` github-actions
@ 2022-10-15  2:16 ` github-actions
  2023-01-14  1:55 ` github-actions
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: github-actions @ 2022-10-15  2:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-1279634326

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (13 preceding siblings ...)
  2022-10-15  2:16 ` github-actions
@ 2023-01-14  1:55 ` github-actions
  2023-01-28  1:59 ` [ISSUE] [CLOSED] " github-actions
  2023-01-30 18:47 ` Chocimier
  16 siblings, 0 replies; 18+ messages in thread
From: github-actions @ 2023-01-14  1:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-1382630408

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [ISSUE] [CLOSED] Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (14 preceding siblings ...)
  2023-01-14  1:55 ` github-actions
@ 2023-01-28  1:59 ` github-actions
  2023-01-30 18:47 ` Chocimier
  16 siblings, 0 replies; 18+ messages in thread
From: github-actions @ 2023-01-28  1:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

Closed issue by Gottox on void-packages repository

https://github.com/void-linux/void-packages/issues/21649

Description:
What about marking any files in /etc automaticly as conf_files. are there any counter-examples where this would break anything?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: Implicitly set conf_files
  2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
                   ` (15 preceding siblings ...)
  2023-01-28  1:59 ` [ISSUE] [CLOSED] " github-actions
@ 2023-01-30 18:47 ` Chocimier
  16 siblings, 0 replies; 18+ messages in thread
From: Chocimier @ 2023-01-30 18:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/issues/21649#issuecomment-1409153002

Comment:
Blocked on https://github.com/void-linux/xbps/issues/342

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-01-30 18:47 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05 11:02 [ISSUE] Implicitly set conf_files Gottox
2020-05-05 11:12 ` Duncaen
2020-05-05 16:44 ` sgn
2020-05-16 14:02 ` Chocimier
2020-05-18  7:12 ` Gottox
2020-05-18  7:13 ` Gottox
2020-05-18  8:00 ` travankor
2020-05-18  8:00 ` travankor
2020-07-11  5:06 ` ericonr
2020-07-11  5:14 ` ericonr
2020-07-11  6:16 ` ericonr
2021-01-21 18:00 ` ericonr
2022-04-16  2:02 ` github-actions
2022-07-16  2:13 ` github-actions
2022-10-15  2:16 ` github-actions
2023-01-14  1:55 ` github-actions
2023-01-28  1:59 ` [ISSUE] [CLOSED] " github-actions
2023-01-30 18:47 ` Chocimier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).