1
0
forked from pool/sysuser-tools
Commit Graph

13 Commits

Author SHA256 Message Date
Thorsten Kukuk
a509a811ad Accepting request 1099442 from home:olh:branches:Base:System
- Version 3.2
- update sysusers_requires to request sysuser-shadow 3.2
- Use TAB consistently for indention in sysusers2shadow.sh
- This pkg needs to follow behavior which is described in sysusers.d(5).
  Always create a system group of the same name as the system user,
  even if the user already exists. (bsc#1205161, bsc#1207778, bsc#1213240)

- Disable systemd-sysuser on SLE15 to stay compatible
  (disable-systemd-sysusers.patch)

OBS-URL: https://build.opensuse.org/request/show/1099442
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=54
2023-07-25 07:05:14 +00:00
59868ddda3 Accepting request 1099233 from home:olh:branches:Base:System
- Add "quilt setup" friendly hint to %sysusers_requires usage
  It is not required to have sysuser-tools installed when working
  with a pkg source which uses sysuser-tools at build time.

OBS-URL: https://build.opensuse.org/request/show/1099233
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=53
2023-07-18 12:22:19 +00:00
1aff59c0c9 Accepting request 1001491 from home:gmbr3:Active
- Use append so if a pre file already exists it isn't overridden

OBS-URL: https://build.opensuse.org/request/show/1001491
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=52
2022-09-19 06:55:41 +00:00
Dominique Leuenberger
8545e7eac4 Accepting request 901117 from home:dimstar:Factory
- Bump version up to 3.1. The --replace parameter only appeared in
  systemd 238, so we need to ensure to get the update order correct
  for sysuser-generate when using the 3rd command line parameters:
  * systemd -> sysuser-tools -> system-{user|group}-FOO.
- Add Conflicts systemd < 238 to sysuser-shadow
- update sysuser_requires to request sysuser-shadow 3.1

OBS-URL: https://build.opensuse.org/request/show/901117
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=45
2021-06-21 10:02:40 +00:00
Thorsten Kukuk
1d4aa7fd58 Accepting request 898111 from home:kukuk:container
- Support systemd-sysusers --replace=/usr/lib/sysusers.d/ option
- sysusers-generate-pre: only use first argument for grep
- sysusers2shadow.sh: use "run" prefix for systemd-sysusers call
- macros.sysusers: fix typo

OBS-URL: https://build.opensuse.org/request/show/898111
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=44
2021-06-07 13:14:59 +00:00
Thorsten Kukuk
c81af58db0 Accepting request 871208 from home:kukuk:etc
- Use systemd-sysusers only if /proc is mounted, don't require it
- Set --replace option for systemd-sysusers

OBS-URL: https://build.opensuse.org/request/show/871208
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=40
2021-02-11 12:54:07 +00:00
Thorsten Kukuk
e839e06bcf Accepting request 853102 from home:lnussel:branches:Base:System
- useradd_or_adduser_dep must be PreReq so ordering makes sure it gets
  installed before.
- suggest shadow where useradd_or_adduser_dep is actually required

OBS-URL: https://build.opensuse.org/request/show/853102
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=32
2020-12-07 12:26:22 +00:00
Thorsten Kukuk
73d3e7c0eb Accepting request 835782 from home:favogt:fixnobody
- Avoid useless use of cat
- Simplify %sysusers_requires
- Drop shebang, rpm passes it to /bin/sh itself

OBS-URL: https://build.opensuse.org/request/show/835782
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=30
2020-09-22 08:24:31 +00:00
Thorsten Kukuk
1c0c62a860 Accepting request 828539 from home:kukuk:branches:Base:System
- Packages providing users need /usr/bin/cat installed to create
  them. Add that to the PreRequires.

OBS-URL: https://build.opensuse.org/request/show/828539
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=28
2020-08-21 15:11:27 +00:00
Thorsten Kukuk
68942d50f7 Accepting request 718884 from home:dimstar:Factory
Fixup macros; my bad, it should be Suggests:, not Suggest:

OBS-URL: https://build.opensuse.org/request/show/718884
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=18
2019-07-26 13:33:41 +00:00
Thorsten Kukuk
dc1a70f2b6 Accepting request 718841 from home:kukuk:container
- Use suggest shadow to prefer that over busybox in normal systems

- Add support for busybox adduser/addgroup
- Change requirements from shadow to useradd_or_adduser_dep

OBS-URL: https://build.opensuse.org/request/show/718841
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=17
2019-07-26 11:29:41 +00:00
Thorsten Kukuk
c35174b874 Accepting request 504523 from home:kukuk:sysusers
- Put helper script into own subpackage
- Convert sysusers config file to shadow arguments and use
  shadow suite to create user and groups. Fixes [bsc#1041497] and
  serveral dependency loops.

OBS-URL: https://build.opensuse.org/request/show/504523
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=7
2017-06-19 06:26:55 +00:00
Ludwig Nussel
20ab9219b9 Accepting request 457437 from home:kukuk:sysusers
Initial tool package for the new system user proposal

OBS-URL: https://build.opensuse.org/request/show/457437
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=1
2017-02-16 15:08:58 +00:00