Package: util-linux
X-Debbugs-Cc: [email protected]
Version: 2.42-1
Severity: normal

Dear Maintainer,

runuser no longer accepts the whitelist-environment option (both in long
and short form) despite it still being listed in the man page.

For example, without specifying whitelist, runuser works
```
# runuser -l test -c id
uid=12345(test) gid=12345(test) groups=12345(test)
```

But if I specify an environment variable to whitelist I get an error
```
# runuser -l test -w MY_VAR -c id
-sh: 0: Illegal option -w
```

The same happens when using long form
```
# runuser --login test -c id
uid=12345(test) gid=12345(test) groups=12345(test)
# runuser --login test --whitelist-environment MY_VAR -c id
-sh: 0: Illegal option --
```

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.19.10+deb14-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages util-linux depends on:
ii  libblkid1       2.42-1
ii  libc6           2.42-14
ii  libcap-ng0      0.9.1-1
ii  libcrypt1       1:4.5.1-1
ii  libmount1       2.42-1
ii  libpam-modules  1.7.0-5+b1
ii  libpam-runtime  1.7.0-5
ii  libpam0g        1.7.0-5+b1
ii  libselinux1     3.9-4+b1
ii  libsmartcols1   2.42-1
ii  libsystemd0     260.1-1
ii  libtinfo6       6.6+20251231-1
ii  libudev1        260.1-1
ii  libuuid1        2.42-1

Versions of packages util-linux recommends:
ii  sensible-utils  0.0.26

Versions of packages util-linux suggests:
ii  dosfstools          4.2-1.2
pn  kbd                 <none>
ii  util-linux-extra    2.42-1
pn  util-linux-locales  <none>
pn  wtmpdb              <none>

Reply via email to