On Mon, Jun 22, Stefan Dirsch wrote:
Hi
I'm currently working on the config file switch /etc --> /usr/etc (find Details on https://en.opensuse.org/openSUSE:Packaging_UsrEtc) and now I'm wondering what should be done with files mentioned in the list below.
* /etc/profile.d/* (no changes in aaa_base, bash yet)
Yes, this should be moved to /usr/etc/profile.d at best, as the files there are not really configuration files or files an admin should change.
* /etc/alternatives/* (no changes in update-alternatives/dpkg yet)
It's correct, as the admin needs to change them.
* /etc/slp.reg.d/* (e.g. vnc.reg, ssh.reg) (no changes in openslp yet) * /etc/xdg/autostart (e.g. vncmanager-controller.desktop, xdg-user-dirs.desktop) * /etc/logrotate.d/* (e.g. xdm, dracut)
Somebody need to rewrite logrotate first :(
* /etc/skel/* (e.g. .xinitrc.template, .profile) (no changes yet in filesystem useradd, <whatever is affected>)
Also hard to change, as the admin should be able to change them...
* /etc/rpm/* macros (e.g. macros.xorg-server, macros.kernel-source)
For most packages, it's /usr/lib/rpm since some time already. perl and tcl also needs to be fixed. This is worth bug reports, as this needs to be fixed anyways.
Seems I depend a lot on other packages to implement the switch first. Or is the switch for the files in the list above not planned or sensible? What do you think?
It depends. And there will never be a move of all packages at the same time, the /etc directories and support for them have to stay for third party packages and admin changes, e.g. For the /etc/*.d files: if there is not already another location like /usr/lib/rpm/, yes, unfortunatley you have to wait until this packages support files in /usr/lib or /usr/etc. For some it should be easy, for others it will be pretty hard. Thorsten
Should I open bugzilla tickets for these and depend my tickets on these?
For most (if not all) of these packages I don't feel competent and I am simply not brave enough trying to do the required changes myself. Chances to break our distribution that way sounds rather realistic to me. :-(
I'm definitely willing to enhance the webpage above with the outcome of this discussion - if there is any.
Thanks, Stefan
Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE Software Solutions Germany GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ---------------------------------------------------------------- (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer ----------------------------------------------------------------
-- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany Managing Director: Felix Imendoerffer (HRB 36809, AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org