On Fri, Aug 30, 2024 at 03:16:34AM +0200, Lorenzo Puliti wrote: > recently a growing number of packages are using debhelper's > installsysusers addon to create system users. installsysusers > uses systemd-sysusers to create system users, so adduser > it's completely sidestepped.
*shrug* As using adduser is just a recommendation and not a requirement, and adduser sees itself as a service provider not as a mandatory thing, and going a declarative approach certainly has its advantages, I don't care much about packages not using adduser. > At the same time several DDs decided that dh_sysuser (I'm the maintainer), > that uses adduser, has to go away before the next stable release[1]. As I can see, dh_sysuser is just used by a single package and I find the idea of incorporating the functionality into that single package compelling. > If adduser could be used as alternative to systemd by dh_installsysusers > that would solve my issue. Even if you don't care about my use case, the > linux world is standardizing more and more on systemd features so maybe > this could be a useful addition to adduser? As the adduser maintainer, I embrace ways to create system users in a different way. That reduces my workload. While I strive to deliver a good service to the packages using adduser to create their system users I acknowledge that the number of such packages is going to get smaller due to packages migrating to the systemd way of doing things. I am okay with that. > According to my understanding, in order to be used by dh_installsysusers > adduser has to learn to > > A) create system user on a target chroot > > B) use a sysusers.d[3] file as input > > I'm available to produce patches for the two above, it could be > a new option in adduser or a new "addsysuserd" program, I don't have an > opinion on that. > If patches are accepted I also will be available to fix bugs that > could arise from those new features. > > this is a relevant effort for me, so I would like to know in advance if > a sane patch for this will be accepted or not. I think it would be a better idea to either keep this in a separate package. I am not sure whether it is within Luca's powers to kind of order you to have your package removed from Debian. I don't think that adduser should be part of a political fight. I am way too tired to be part of this. So, sorry, I am not convinced that adduser should adopt a totally different kind of interface at this time. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421