Opened 20 years ago
Closed 19 years ago
#1511 closed defect (fixed)
KDE sysconfdir
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | 6.2.0 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
The KDE instructions need to be modified (kdelibs and kdebase, for sure and there could be others) so that the configuration directory (sysconfdir) is pointed to /etc/kde. Currently sysconfir is not specified so if a user points their KDE installation to /usr, then files are created in /usr/etc.
Change History (12)
comment:1 by , 20 years ago
Milestone: | future → 6.2 |
---|
comment:2 by , 20 years ago
comment:3 by , 20 years ago
Well, I disagree about it being just a /usr deal. There are config file and xdg files located here. The FHS says that configuration files for packages located in /opt should be in /etc/opt/package, however, we don't follow the /etc/opt/package thing for GNOME.
I don't understand how /usr/etc is not okay, but /opt/kde/etc is okay.
Neither conform to the FHS, or standard good practice.
comment:4 by , 20 years ago
The reason to put configuration files in /opt/kde/etc is to support installation of multiple versions. There are two ways to think about this. A user may want to keep a single set of configuration files for all versions or separate the config files for each version. If a new version is not backward compatible for these files, having all versions use the same directory would be a problem.
The fisrt note will be in kdelibs. That note could be expanded to offer more guidance.
As an aside, I have a total of seven config files in the kde/etc/ hierarchy and I've never felt the need to change any of them.
comment:5 by , 20 years ago
That's cool. I respect your thoughts. I just think it is odd that you don't want to place an /etc directory in a subdir of /etc. Look at the file ksysguarddrc, this file has a comment at the top stating it is in /etc. Of course, it is really meaningless what some dev put as a comment at the top of a file, it does indicate he expects it to be in /etc.
I, like you, have never had a need to modify the files here, but again, what is the harm in relocating the directory as a sub of /etc?
Just so to complete this thought, as there may be others than me that wonder the same thing, what would be the *harm* in moving /opt/kde/etc to /etc/kde?
comment:6 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Added notes about using --sysconfdir to kdelibs, kdebase, and kdemultimedia
comment:7 by , 19 years ago
Milestone: | 6.2 → future |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Reopening this bug to ensure that the editor wants to violate KDE recommendations and the FHS by continuing to default to the sysconfdir variable as $KDE-PREFIX/etc.
As stated previously in this bug, KDE recommendes using /etc/something for the sysconfdir. The FHS is in agreement here. There really is no reason to keep the default other than one editor's preference.
comment:8 by , 19 years ago
I agree with Randy, configuration files should be in /etc since they are not version dependent. Configuration files are meant to be left on the system even after the package is removed.
comment:9 by , 19 years ago
Owner: | changed from | to
---|---|
qa_contact: | blfs-book@linuxfromscratch.org → bdubbs@linuxfromscratch.org |
Status: | reopened → new |
comment:10 by , 19 years ago
Status: | new → assigned |
---|
comment:11 by , 19 years ago
Milestone: | future → 6.2 |
---|
comment:12 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Changed instructions to add --sysconfdir=/etc/kde to kde{libs,base,multimedia}
This issue only comes up if kde is installed in /usr.
My logs indicate that this can come up in kdelibs, kdebase, and kdemultimedia.
A simple note in the above pages to indicate that ----sysconfdir=/etc is necessary if installing with KDE_PREFIX=/usr should handle the issue.