🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.user
7 messages
7 total messages Started by Vincent Lefevre Fri, 13 Nov 2026 16:00
iperf user on Debian/unstable
#496
Author: Vincent Lefevre
Date: Fri, 13 Nov 2026 16:00
17 lines
2120 bytes
Hi,

On one of my Debian/unstable machines, there is now an iperf user
in "/etc/passwd":

iperf:x:113:122::/nonexistent:/usr/sbin/nologin

Is there any reason? Under which circumstances is it created?

Note: iperf 2.2.2+dfsg2-1 is installed, but on another machine
where iperf 2.2.2+dfsg2-1 is also installed, there is no iperf
user.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Re: iperf user on Debian/unstable
#497
Author: Greg Wooledge
Date: Fri, 13 Nov 2026 16:10
17 lines
2163 bytes
On Fri, Nov 13, 2026 at 16:48:05 +0100, Vincent Lefevre wrote:
> Hi,
> 
> On one of my Debian/unstable machines, there is now an iperf user
> in "/etc/passwd":
> 
> iperf:x:113:122::/nonexistent:/usr/sbin/nologin
> 
> Is there any reason? Under which circumstances is it created?

Most likely it was created by the postinstall script of some package
that you either *have*, or *once had*.

If you don't find it in "grep -r iperf /var/lib/dpkg/info" then it
might have been created by a package you once had, but have since
deleted.  Deleting the package will generally not delete whatever
users/groups were created by it.
Re: iperf user on Debian/unstable
#499
Author: Vincent Lefevre
Date: Fri, 13 Nov 2026 17:00
28 lines
2921 bytes
On 2026-11-13 10:59:57 -0500, Greg Wooledge wrote:
> On Fri, Nov 13, 2026 at 16:48:05 +0100, Vincent Lefevre wrote:
> > On one of my Debian/unstable machines, there is now an iperf user
> > in "/etc/passwd":
> > 
> > iperf:x:113:122::/nonexistent:/usr/sbin/nologin
> > 
> > Is there any reason? Under which circumstances is it created?
> 
> Most likely it was created by the postinstall script of some package
> that you either *have*, or *once had*.

Very unlikely. This is very recent (last night).

> If you don't find it in "grep -r iperf /var/lib/dpkg/info" then it
> might have been created by a package you once had, but have since
> deleted.  Deleting the package will generally not delete whatever
> users/groups were created by it.

In addition to iperf, only bash-completion has a match.
I haven't deleted any package. There have been 2 iperf
upgrades, though. And it has been created during the
first one.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Re: iperf user on Debian/unstable
#501
Author: David Wright
Date: Fri, 13 Nov 2026 19:50
36 lines
5119 bytes
On Fri 13 Nov 2026 at 17:55:06 (+0100), Vincent Lefevre wrote:
> On 2026-11-13 10:59:57 -0500, Greg Wooledge wrote:
> > On Fri, Nov 13, 2026 at 16:48:05 +0100, Vincent Lefevre wrote:
> > > On one of my Debian/unstable machines, there is now an iperf user
> > > in "/etc/passwd":
> > > 
> > > iperf:x:113:122::/nonexistent:/usr/sbin/nologin
> > > 
> > > Is there any reason? Under which circumstances is it created?
> > 
> > Most likely it was created by the postinstall script of some package
> > that you either *have*, or *once had*.
> 
> Very unlikely. This is very recent (last night).
> 
> > If you don't find it in "grep -r iperf /var/lib/dpkg/info" then it
> > might have been created by a package you once had, but have since
> > deleted.  Deleting the package will generally not delete whatever
> > users/groups were created by it.
> 
> In addition to iperf, only bash-completion has a match.
> I haven't deleted any package. There have been 2 iperf
> upgrades, though. And it has been created during the
> first one.

In the package iperf_2.2.2+dfsg2-1_amd64.deb, the contents of the file
/usr/lib/sysusers.d/iperf.conf looks as though it might be relevant:

u! _iperf - "iperf daemon"

Same for iperf3 (just add a 3.)

Perhaps iperf{,3} does it itself, or perhaps systemd?

Cheers,
David.
Re: iperf user on Debian/unstable
#537
Author: Vincent Lefevre
Date: Mon, 16 Nov 2026 11:30
33 lines
3173 bytes
On 2026-11-13 13:40:30 -0600, David Wright wrote:
> On Fri 13 Nov 2026 at 17:55:06 (+0100), Vincent Lefevre wrote:
> > In addition to iperf, only bash-completion has a match.
> > I haven't deleted any package. There have been 2 iperf
> > upgrades, though. And it has been created during the
> > first one.

Indeed, the iperf user was created when iperf 2.2.1+dfsg-3 got
installed, and this was not expected.

> In the package iperf_2.2.2+dfsg2-1_amd64.deb, the contents of the file
> /usr/lib/sysusers.d/iperf.conf looks as though it might be relevant:
> 
> u! _iperf - "iperf daemon"
> 
> Same for iperf3 (just add a 3.)
> 
> Perhaps iperf{,3} does it itself, or perhaps systemd?

That's _iperf, not iperf. But the iperf.service file still had
User=iperf. Then I reported a bug:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153939

and the maintainer fixed various things (and iperf has been split
into iperf-client and iperf-server). In particular, the iperf user
has been removed by the iperf upgrade, so that now, everything is
consistent on my machines.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Re: iperf user on Debian/unstable
#560
Author: David Wright
Date: Mon, 16 Nov 2026 20:10
54 lines
6271 bytes
On Mon 16 Nov 2026 at 12:24:27 (+0100), Vincent Lefevre wrote:
> On 2026-11-13 13:40:30 -0600, David Wright wrote:
> > On Fri 13 Nov 2026 at 17:55:06 (+0100), Vincent Lefevre wrote:
> > > In addition to iperf, only bash-completion has a match.
> > > I haven't deleted any package. There have been 2 iperf
> > > upgrades, though. And it has been created during the
> > > first one.
> 
> Indeed, the iperf user was created when iperf 2.2.1+dfsg-3 got
> installed, and this was not expected.
> 
> > In the package iperf_2.2.2+dfsg2-1_amd64.deb, the contents of the file
> > /usr/lib/sysusers.d/iperf.conf looks as though it might be relevant:
> > 
> > u! _iperf - "iperf daemon"
> > 
> > Same for iperf3 (just add a 3.)
> > 
> > Perhaps iperf{,3} does it itself, or perhaps systemd?
> 
> That's _iperf, not iperf. But the iperf.service file still had
> User=iperf. Then I reported a bug:
> 
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1153939
> 
> and the maintainer fixed various things (and iperf has been split
> into iperf-client and iperf-server). In particular, the iperf user
> has been removed by the iperf upgrade, so that now, everything is
> consistent on my machines.

It does seem that systemd expected there to be an iperf user,
judging by the iperf.service file in certain recent versions:

[Service]
Type=simple
Restart=always
RestartSec=15
User=iperf
ExecStart=/usr/bin/iperf --server --interval 0 --ipv6_domain
SuccessExitStatus=1

but suspecting ‘u! _iperf - "iperf daemon"’ was guesswork on my part
as I can't parse such gobbledegook. I don't what does parse it, or
how systemd would deal with a missing user.

I don't think trixie's iperf knows about systemd, so I can only
guess that one of the iperf_2.2.2+dfsg2-?_amd64.deb packages
was responsible, as you said. Now that iperf_2.2.2+dfsg2-5_all.deb
exists, which deletes any iperf and _iperf users, I guess that other
people won't be affected by this glitch if they weren't active
around 12–14 November.

Cheers,
David.
Re: iperf user on Debian/unstable
#565
Author: Vincent Lefevre
Date: Tue, 17 Nov 2026 03:50
20 lines
2710 bytes
On 2026-11-16 14:08:29 -0600, David Wright wrote:
> It does seem that systemd expected there to be an iperf user,
> judging by the iperf.service file in certain recent versions:
> 
> [Service]
> Type=simple
> Restart=always
> RestartSec=15
> User=iperf
> ExecStart=/usr/bin/iperf --server --interval 0 --ipv6_domain
> SuccessExitStatus=1

Note that I had never run this service. It seems that the iperf user
was added by mistake in iperf 2.2.1+dfsg-3 (unconditionally). Since
then, the service code has changed, and DynamicUser=yes is now used.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads