thkukuk / atomic-updates_and_etc Goto Github PK
View Code? Open in Web Editor NEWAtomic updates and different kinds of config files in /etc can create quite some headache and confusion. I will try to list the problems here and possible solutions.
Atomic updates and different kinds of config files in /etc can create quite some headache and confusion. I will try to list the problems here and possible solutions.
openSUSE Portal:Packaging says
We also follow the Linux Filesystem Hierarchy Standard (FHS) which is a reference on how to manage a Linux filesystem hierarchy.
FHS 3.0, section 4.9 /usr/local : Local hierarchy mentions:
Note that /usr/etc is still not allowed: programs in /usr should place configuration files in /etc.
What is our plan for resolving this conflict?
Many of the proposed solutions have the need to inform a sysadmin of changes to config files introduced by packages
etc-update from Gentoo https://wiki.gentoo.org/wiki/Handbook:X86/Portage/Tools#etc-update is designed to let sysadmins know when package changes alter config files in /etc
etc-update has already been modified to support openSUSE and .rpmnew files and such:
https://build.opensuse.org/package/show/openSUSE:Factory/etc-update
This might be part of the solution to those sysadmin-notification requirements of those solutions
So OSTree has implemented /usr/etc
for many years now.
It's not clear to me that this proposal is aligned with it currently.
As of today, /usr/etc
on OSTree-managed systems is not something most software should look at, because the config files are copied to /etc.
Further today, rpm-ostree for example automatically rewrites RPM content to use /usr/etc
in the commit. Having applications directly install things in /usr/etc
gets into an ownership mess.
Or to say this all more clearly; I think the OSTree model has been working out quite well for years and by choosing a slightly different implementation plan here, you're creating potential for a clash.
It doesn't seem like it'd be too hard for the transactional-update project to match what OSTree is doing and do the 3-way merge of /usr/etc
with /etc
right?
Another question here; are you thinking of using this scheme only for transactional-update systems or also for "traditional" zypper installs?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.