On 2025/06/17 10:02, Manuel Giraud wrote:
> Stuart Henderson <[email protected]> writes:
> 
> > On 2025-06-16, Dave Voutila <[email protected]> wrote:
> >> Sonic <[email protected]> writes:
> >>
> >>> After updating to the latest snapshot followed by updating packages 
> >>> sysclean is showing:
> >>> =======================
> >>> # sysclean
> >>> @user build:21:wobj::/var/empty:/bin/ksh (modified)
> >>> =======================
> >>> What does that output mean and what action should be taken?
> >>>
> >>
> >> There's an outdated user "build" no longer defined in the base
> >> install. You can use userdel to remove it.
> >
> > Nearly but not quite - the user still exists but the master.passwd entry
> > changed. This one (and if you see them, others with low uids, below 500)
> > is from the base OS.
> >
> > You can userdel, but then run sysmerge afterwards and it will be readded
> > with the new default passwd entry.
> 
> Hi,
> 
> I have the same issue as OP but also with packages' users.  For example:

Note I was careful to say "with low uids, below 500" for base OS.

> # sysclean
> @user _dbus:572:_dbus:daemon:/nonexistent:/sbin/nologin (modified)
> @user _rsync:669:_rsync:daemon:/var/empty:/sbin/nologin (modified)
> 
> In such case, the sysmerge after userdel does not readd said user.  How
> should I proceed then?

Simplest way is probably to reinstall the package, either pkg_delete and
pkg_add, or easier if there are other packages depending on it:

pkg_add -r -D installed dbus rsync

There is a special case, _lldpd, where the user from packages was
replaced with one in base, if you use that then either leave alone,
or if you want things squeaky clean you can rmuser, sysmerge, then
reinstall.

Reply via email to