Overview
Request 675195 accepted
- version 0.85.2
- Fixed changes file to mention relevant github pull requests.
- Removed remaining preun rpm hook from EOL openSUSE versions
- Merged /var/adm/netconfig move revert from openSUSE:Factory
causing to not find md5 sums from previous netconfig version
due to incorrectly merged hook in spec file and trouble on
transactional systems without writeable /var/lib/netconfig.
Removed obsoletes revert-var-adm-lib-netconfig-move.patch.
(bsc#1124152,bsc#1124340).
- Merged rpm spec bash section marks (gh#openSUSE/sysconfig#23)
- Remove code to update from openSUSE older than 12.3, which is EOL
(gh#openSUSE/sysconfig#19).
- Move /var/adm/netconfig to /var/lib/netconfig to become more FHS
conform (gh#openSUSE/sysconfig#18).
- Created by mtomaschewski
- In state accepted
- Supersedes 672474
I'm pretty sure this wont work on a transactional system (such as Kubic, CaaSP, or the Transactional Server role on SLE 15 SP1, Leap, or Tumbleweed)
Hm, you're removing the %pre
scriptlet entirely, but add new Requires(pre)? Somehow I'm missing something.
I agree with Richard: The netconfig post script will not have the intended effect on transactional systems. The reason is that /var is not mounted into the update environment (because that would actually change the state of the currently running system).
The common way to solve this is to write a systemd unit handling the migration.
This was introduced in https://github.com/openSUSE/sysconfig/pull/18/commits/6f3c5aad8122ce83f35255adb499131838161bf3, but with today's transactional systems this will break. A (temporary) rollback can be found in https://build.opensuse.org/package/show/home:fos:branches:openSUSE:Factory/sysconfig.
common agreement is that the move from /var/adm to /var/lib does more harm than good, so I will hotpatch the revert in Factory. In the hope that Marius and Thorsten's team will sort out a solution next week
IMO we don't need another solution -- the /var/adm (and /var/lib) directory are not used any more, except to migrate from from file + md5 to a link.
I'm going to merge the openSUSE:Factory changes reverting the move to git and resubmit it.
Request History
mtomaschewski created request
- version 0.85.2
- Fixed changes file to mention relevant github pull requests.
- Removed remaining preun rpm hook from EOL openSUSE versions
- Merged /var/adm/netconfig move revert from openSUSE:Factory
causing to not find md5 sums from previous netconfig version
due to incorrectly merged hook in spec file and trouble on
transactional systems without writeable /var/lib/netconfig.
Removed obsoletes revert-var-adm-lib-netconfig-move.patch.
(bsc#1124152,bsc#1124340).
- Merged rpm spec bash section marks (gh#openSUSE/sysconfig#23)
- Remove code to update from openSUSE older than 12.3, which is EOL
(gh#openSUSE/sysconfig#19).
- Move /var/adm/netconfig to /var/lib/netconfig to become more FHS
conform (gh#openSUSE/sysconfig#18).
licensedigger accepted review
ok
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto added repo-checker as a reviewer
Please review build success
factory-auto accepted review
Check script succeeded
alarrosa accepted review
staging-bot set openSUSE:Factory:Staging:F as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:F"
staging-bot accepted review
Picked openSUSE:Factory:Staging:F
maxlin_factory changed priority to moderate => important
raising priority for openSUSE:Factory:Staging:F
repo-checker accepted review
Accepted as part of openSUSE:Factory:Staging:F
coolo accepted review
ready to accept
coolo approved review
ready to accept
coolo accepted request
Accept to openSUSE:Factory