Package: userv
Version: 1.2.0
Severity: normal

Dear Ian,

The userv spec, describing the command-line interface, says:

service-user specifies which user is to provide the service. The user
may be a login name or a numeric uid, or - to indicate that the
service user is to be the same as the calling user.

However, the option to provide a numeric UID doesn't work:

wraith:~$ id
uid=12528(bjh21) gid=12528(bjh21) groups=12528(bjh21)
wraith:~$ userv 12528 foo
userv: failure: requested service user `12528' is not a user

As far as I can tell, this is an error in the specification: there is nothing in the userv client code that even tries to handle a numeric UID passed on the command line. The same error appears in the manual page.

-- System Information:
Debian Release: 11.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 5.10.0-5-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages userv depends on:
ii  libc6  2.31-12

userv recommends no packages.

userv suggests no packages.

-- no debconf information

--
Ben Harris, University of Cambridge Information Services.

Reply via email to