Suppose you are 99% of the user base and will not even notice this problem. What is the worst it can happen? What prevented system update from cleaning up after itself?
-------- Original Message -------- On 6/17/25 12:13, Stuart Henderson <s...@spacehopper.org> wrote: > On 2025/06/17 10:02, Manuel Giraud wrote: > > Stuart Henderson <stu.li...@spacehopper.org> writes: > > > > > On 2025-06-16, Dave Voutila <d...@sisu.io> wrote: > > >> Sonic <sonicsm...@gmail.com> 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. > >