Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938261 - ._cfg0000_00gentoo.conf = naming config files with gibberish makes sense
Summary: ._cfg0000_00gentoo.conf = naming config files with gibberish makes sense
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-21 06:35 UTC by Roman Gruber
Modified: 2024-08-21 17:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Gruber 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.
Comment 1 Roman 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
Comment 2 Roman Gruber 2024-08-21 06:40:52 UTC
I think those are responsible too

https://bugzilla.kernel.org/show_bug.cgi?id=219186
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-21 06:52:20 UTC
You are mistaken. Those are temporary saved backup files for CONFIG_PROTECT. Use dispatch-conf or etc-update and they'll go away.
Comment 4 Andreas Sturmlechner gentoo-dev 2024-08-21 06:53:45 UTC
Do the responsible thing and close your bogus upsteam bug as well.
Comment 5 Enne Eziarc 2024-08-21 17:27:12 UTC
(In reply to Roman Gruber from comment #0)
> It is annoying to explain the basics to someone
It sure is, but I'll babysit you for free just this once because you obviously want it so bad.

> but than system
The directory is called "/etc/systemd/system" because it contains config files ("/etc") for systemd ("/systemd") services that run at the system level ("/system"), as opposed to user-level (the services found in "/lib/systemd/user").

> So is the package in question named system?
You might notice there's no package called etc either! Wow!

> do not name everything gentoo
The filename has "gentoo" in it specifically to prevent idiots going off and wasting the time of third parties if ever there's an actual bug with it, which in this case there is not, but it seems the universe has once again punished the distro for its hubris.

The full filename is prefixed with "._cfg0000" to 1) hide it from the sort of people who refuse to not RTFM and have a paranoid-schizophrenic meltdown over unusual files in ls output (see also: the miroR saga) and 2) because it's a pending etc-update change that you've neglected to apply despite emerge giving you hand-holding instructions on how to do so each time you run it; this one isn't a systemd problem, this is a You problem.

> do not use - in folder names
> use _ or no special characters in folder names!
The hyphen is used because it is universally easier to type and does not have special meaning. This is why GNU programs from the 1980s use it for long options. If you actually had any clue what you were talking about you would know this by now. Also it's been called a directory since the 1970s. Only windoze users call it a folder.

> Are you stupid?
Hey Roman. Do you seriously think getting hysterical and demanding to see the manager on multiple bug trackers (systemd's notably not one of them - was it too hard for you to figure out or are you just already banned from github?) over a 41 byte text file makes you smarter than anyone here? Not just Gentoo developers, who have to earn that title by passing an exam which requires *the ability to read*, but do you think you can compare your intelligence to anyone when this is all you ever bring to the table? Figure out the answer in your own time. Everyone else knows it but you've had enough spoon-feeding for the day.

> this shows how stupid some poeple are: [sic]
Perhaps you never learned this fact of life because nobody took pity on you to say it straight, Roman, but the reason you've been getting shunned for all these years is because every last one of your messages are an unintelligible chore to read on top of being needlessly hostile once deciphered. You waste everyone's time with massive screeds about fantasy attacks on your computer with no basis in reality and lack the imagination to even embellish them to sound like they matter, and you consistently fail to read the room and treat your interactions with this community like episodic content where your reputation resets upwards to neutral on each attempt. It doesn't. Everyone thinks you're a clown.

> There used to be a time 30 years ago
Also since you claim to have been doing this for "30 years" (a blatant lie, but let's keep up the kayfabe that you're some l33t Veteran Unix Admin with the authority to give out orders and not just an umarell poseur that can't count past 10) could you start acting your age instead of mashing the keyboard like an epileptic rabid chimpanzee?

Do better, with great urgency, or this scene will continue to play out again and again everywhere you go for the rest of your life, and your only legacy in computing will be how many killfiles you end up in. Remember: this is a You problem. Thanks in advance.