Bug 219186 - - ._cfg0000_00gentoo.conf = naming config files with gibberish makes sense (edit)
Summary: - ._cfg0000_00gentoo.conf = naming config files with gibberish makes sense (e...
Status: NEW
Alias: None
Product: Linux
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: Virtual assignee for kernel bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-21 06:40 UTC by Roman Gruber
Modified: 2024-08-21 06:40 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Roman Gruber 2024-08-21 06:40:18 UTC
Most likely that gibberish package generates too many subfolders with bad config files

roman@Sienna_Cichlid ~ $ emerge -s cpupower
  
[ Results for search key : cpupower ]
Searching...

*  sys-power/cpupower
      Latest version available: 6.10
      Latest version installed: 6.10
      Size of files: 95 KiB
      Homepage:      https://www.kernel.org/
      Description:   Shows and sets processor power related values
      License:       GPL-2


2024-08-21 06:35:34 UTC
Please stop that subfolder config madness

There used to be a time 30 years ago where config files where in 

/etc/config_for_service_pulseaudio


this shows how stupid some poeple are:

to explain it in more detail for everyone

/etc/subfolder_1/subfolder_2 / ..... /subfolder_1000/config_file

naming a config file gentoo.config
Are you stupid?
Name it pulseaudio for the service pulseaudio on the webpage pulseaudio

do not name everything gentoo

and stick to one ending

cfg or config 

but much better no ending


do not use - in folder names

use _ or no special characters in folder names!


Sienna_Cichlid /home/roman # etc-update 
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/systemd/system/cpupower-frequency-set.service.d/00gentoo.conf (1)
Please select a file to edit by entering the corresponding number.
              (don't use -3, -5, -7 or -9 if you're unsure what to do)
              (-1 to exit) (-3 to auto merge all files)
                           (-5 to auto-merge AND not use 'mv -i')
                           (-7 to discard all updates)
                           (-9 to discard all updates AND not use 'rm -i'): ^Cetc-update: ERROR: interrupted
Sienna_Cichlid /home/roman # cat /etc/systemd/system/cpupower-frequency-set.service.d/._cfg0000_00gentoo.conf 
[Service]
Environment="OPTS=-g ondemand"


Reproducible: Always




It is annoying to explain the basics to someone

Summary the config file should be

/etc/cpupower

So it can be easily found.


Feel free to pass it on to the responsible guy.
[reply] [−]Comment 1Roman Gruber 2024-08-21 06:38:16 UTC
Where is the extra information in those subfolders?

systemd/system

systemd ... okay maybe makes sense

but than system

So is the package in question named system?

emerge -s system 
gives result 62 matches

emerge -s systemd 
gives result 23 matches

emerge -s cpufreq
gives result 2 packages

Note You need to log in before you can comment on or make changes to this bug.