common: Debian/Ubuntu packaging doesn't mark /etc/containers/containers.conf as a conffile
Version: 1.2.0~2
(Not sure this is the right place to report, I am using the apt repo at https://download.opensuse.org/repositories/devel?)
The Debian/Ubuntu packages install a symlink from /etc/containers/containers.conf to /usr/share/containers/containers.conf, but do not mark this as a ‘conffile’, which means if there is an existing file in that location it gets clobbered on package install. It is done for storage.conf, though.
I am also not sure why this symlink exists in the first place - the comments at the top of the file suggest the version under /usr/share will always be read, with the /etc version selectively overriding it if it exists?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (12 by maintainers)
Commits related to this issue
- Merge pull request #363 from containers/dependabot/cargo/anyhow-1.0.59 build(deps): bump anyhow from 1.0.58 to 1.0.59 — committed to M1cha/common by openshift-ci[bot] 2 years ago
In the recent past, I had decided to give up on packaging for newer versions of debian/ubuntu (they already have these tools though moving at a much slower pace because of packaging policies and such). But that decision ended up blocking our upstream CI testing for ubuntu 20.10. So, I had to re-enable packaging for 20.10 and I thought might as well provide these packages to the community while I’m at it. Of course, these are not official distro packages, and I’m not an official debian/ubuntu packager.
Well, the debian packaging code that’s provided on the Kubic project is not the same as used by the official debian/ubuntu packages. The Kubic project’s debian code is present on https://gitlab.com/rhcontainerbot/podman/-/tree/debian (for podman example) which nobody usually cares about except me (well not even me, but rather my bot). And, I’d rather not upstream this code because I’m certain debian project wouldn’t like it or use it because I break a lot of debian’s rules (main one being building with bundled go libraries).
So, if you say “debian packaging bugs” wrt. Kubic, I guess github.com/containers is still the best place to file those, but if I come across bugs related to the official distro packages, I ask them to file at the distro’s bug tracker instead.
I guess I could have a
kubicbranch or something hosted upstream, but then again every time I bump this branch to a new version, it’s a force push (because of a rebase on the latest upstream release tag), and I don’t know if upstream or anyone that tracks this branch would like that behaviour.The ideal solution IMHO, would be to have volunteers with debian packaging experience help out the official debian and ubuntu package maintainer ( @siretart) so that updates are pushed out faster and we don’t even need to have Kubic packages anymore.
Well, RE: latest-and-greatest packages on CentOS, I’m the CentOS guy as well. I used to use CentOS’ community build systems earlier but I found OBS/Kubic to be an easier experience as well as a single place to host multiple distros. CentOS packages via Kubic just end up re-building the latest fedora release rpm sources, so that’s usually not much trouble maintenance-wise.
The official debian packaging code also exists independently on https://salsa.debian.org but I won’t be able to use it for the Kubic project.
Personally, I want to keep the community and upstream happy, and upstream CI as well as much of the community want latest-and-greatest that many distros often can’t provide because of various reasons/policies, so I do what I gotta do.
That said, if people in the community are willing to own the Kubic project packages and have them tracked on the Kubic project’s tracker, I’m willing to share access. So, let me know …
HTH and hope I didn’t misread anything.