Hi, I would love to see a change in the guidelines, here: https://en.opensuse.org/openSUSE:Packaging_guidelines#Users_and_Groups It is mentioned to create a file named '%{name}-user.conf' I would propose to name it '%{name}.sysusers' or '%{name}.sysusersd' It is more close and following the scheme we already use with: - %{name}.firewalld - %{name}.logrotate - %{name}.sysconfig - %{name}.service - %{name}.tmpfilesd What do you think ? Thank you Kind Regards -- Christian ------------------------------------------------------------ https://join.worldcommunitygrid.org?recruiterId=177038 ------------------------------------------------------------ http://www.sc24.de - Sportbekleidung ------------------------------------------------------------
On Mon, Oct 9, 2023 at 4:00 AM Christian <chris@computersalat.de> wrote:
Hi,
I would love to see a change in the guidelines, here: https://en.opensuse.org/openSUSE:Packaging_guidelines#Users_and_Groups
It is mentioned to create a file named '%{name}-user.conf'
I would propose to name it '%{name}.sysusers' or '%{name}.sysusersd'
It is more close and following the scheme we already use with: - %{name}.firewalld - %{name}.logrotate - %{name}.sysconfig - %{name}.service - %{name}.tmpfilesd
What do you think ?
This is how I already name the files for the packages I've adapted to this in Fedora and openSUSE. It does have to be installed into %{_sysusersdir}/%{name}.conf, but that's fine to separately specify. It's probably better to simply not specify a specific file name for the original Source file and leave it to the packager. It's not like it matters that much anyway. -- 真実はいつも一つ!/ Always, there's only one truth!
On Mon, Oct 9, 2023 at 4:00 AM Christian <chris@computersalat.de> wrote:
Hi,
I would love to see a change in the guidelines, here: https://en.opensuse.org/openSUSE:Packaging_guidelines#Users_and_Groups
It is mentioned to create a file named '%{name}-user.conf'
Correct, because the package used as example from Factory is using system-user-*.conf
I would propose to name it '%{name}.sysusers' or '%{name}.sysusersd'
I would propose to not specify it, as it currently isn't specified how you call that name, too.
It is more close and following the scheme we already use with: - %{name}.firewalld - %{name}.logrotate - %{name}.sysconfig - %{name}.service - %{name}.tmpfilesd
What do you think ?
Will not work with several existing packages. Your assumption that there is exactly one sysuser.d file per source package is not correct. So a clear veto from my side. Don't specify something in a way which will not work with current packages. And I don't see a need to specify it at all. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect, Future Technologies SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nuernberg, Germany Managing Director: Ivo Totev, Andrew McDonald, Werner Knoblich (HRB 36809, AG Nürnberg)
participants (3)
-
Christian
-
Neal Gompa
-
Thorsten Kukuk