Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1267122 > unrolled thread

Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf'

Started byAndrew Bower <andrew@bower.uk>
First post2025-10-23 01:40 +0200
Last post2025-11-10 00:20 +0100
Articles 11 — 3 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf' Andrew Bower <andrew@bower.uk> - 2025-10-23 01:40 +0200
    Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf' Andrew Bower <andrew@bower.uk> - 2025-10-26 17:50 +0100
      Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf' Andrew Bower <andrew@bower.uk> - 2025-10-27 09:00 +0100
        Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf' Andrew Bower <andrew@bower.uk> - 2025-10-31 01:40 +0100
          Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf' Andrea Pappacoda <andrea@pappacoda.it> - 2025-10-31 10:00 +0100
            Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf' Andrew Bower <andrew@bower.uk> - 2025-11-01 09:00 +0100
    Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf' Antoine Le Gonidec <vv221@debian.org> - 2025-11-08 12:30 +0100
      Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf' Andrea Pappacoda <andrea@pappacoda.it> - 2025-11-08 12:40 +0100
        Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf' Antoine Le Gonidec <vv221@debian.org> - 2025-11-08 16:20 +0100
      Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf' Antoine Le Gonidec <vv221@debian.org> - 2025-11-09 14:20 +0100
        Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf' Andrea Pappacoda <andrea@pappacoda.it> - 2025-11-10 00:20 +0100

#1267122 — Bug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf'

FromAndrew Bower <andrew@bower.uk>
Date2025-10-23 01:40 +0200
SubjectBug#1118619: opensysusers: falls over on u! (locked user) type: ignoring invalid entry on line 3 of 'pcscd.conf'
Message-ID<LIQAV-7cZi-3@gated-at.bofh.it>
Package: opensysusers
Version: 0.7.3-5
Severity: normal

Dear Maintainer,

I upgraded pcscd, which has acquired a sysusers dropin since 2.4.0-1 and
opensysusers failed to recognise the locked user type (suffixed 'u!') so did
not create the user:

  Setting up pcscd (2.4.0-1devuan1) ...
  sysusers: ignoring invalid entry on line 3 of 'pcscd.conf'
  ok: run: pcscd: (pid 11819) 1s

  ==> /usr/lib/sysusers.d/pcscd.conf <==
  # Add a locked pcscd system user and group.
  # See man sysusers.d(5).
  u! pcscd - "PC/SC Smart Card Daemon"

Thanks!

Andrew

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 7 (freia/ceres)
Release:	7
Codename:	freia ceres
Architecture: x86_64

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

Versions of packages opensysusers depends on:
ii  passwd  1:4.18.0-2

opensysusers recommends no packages.

opensysusers suggests no packages.

-- no debconf information

[toc] | [next] | [standalone]


#1267801

FromAndrew Bower <andrew@bower.uk>
Date2025-10-26 17:50 +0100
Message-ID<LKc6l-88v0-9@gated-at.bofh.it>
In reply to#1267122
Control: forwarded -1 https://github.com/cromerc/opensysusers/pull/10

On Thu, Oct 23, 2025 at 12:28:25AM +0100, Andrew Bower wrote:
> I upgraded pcscd, which has acquired a sysusers dropin since 2.4.0-1 and
> opensysusers failed to recognise the locked user type (suffixed 'u!') so did
> not create the user:

I have proposed a patch upstream to support the 'locked' account type
suffix: https://github.com/cromerc/opensysusers/pull/10

[toc] | [prev] | [next] | [standalone]


#1267906

FromAndrew Bower <andrew@bower.uk>
Date2025-10-27 09:00 +0100
Message-ID<LKqiZ-8igp-1@gated-at.bofh.it>
In reply to#1267801
Control: tags -1 + patch

Hi,

On Sun, Oct 26, 2025 at 04:44:39PM +0000, Andrew Bower wrote:
> Control: forwarded -1 https://github.com/cromerc/opensysusers/pull/10
> 
> On Thu, Oct 23, 2025 at 12:28:25AM +0100, Andrew Bower wrote:
> > I upgraded pcscd, which has acquired a sysusers dropin since 2.4.0-1 and
> > opensysusers failed to recognise the locked user type (suffixed 'u!') so did
> > not create the user:
> 
> I have proposed a patch upstream to support the 'locked' account type
> suffix: https://github.com/cromerc/opensysusers/pull/10

I have also proposed this as a Debian patch[1] so that systems using
opensysusers don't break when initscripts and run scripts try to take
advantage of users created in this way before a solution is updated in
an upstream release.

Thanks!

Andrew

[1] https://salsa.debian.org/debian/opensysusers/-/merge_requests/5

[toc] | [prev] | [next] | [standalone]


#1268411

FromAndrew Bower <andrew@bower.uk>
Date2025-10-31 01:40 +0100
Message-ID<LLLln-9giu-3@gated-at.bofh.it>
In reply to#1267906
Control: severity -1 important

On Mon, Oct 27, 2025 at 07:50:35AM +0000, Andrew Bower wrote:
> I have also proposed this as a Debian patch[1] so that systems using
> opensysusers don't break when initscripts and run scripts try to take
> advantage of users created in this way before a solution is updated in
> an upstream release.

I have also added an autopkgtest, similar to with the recent uid-gid
patch.

I think this is worth fixing sooner or later, as it could soon break
services expecting the user to be present. I notice your packages are
designated LowNMU and hope you don't mind if I propose an update with my
patch, that could be superseded if upstream come up with an alternative
implementation?

[toc] | [prev] | [next] | [standalone]


#1268431

FromAndrea Pappacoda <andrea@pappacoda.it>
Date2025-10-31 10:00 +0100
Message-ID<LLT9f-9lxw-1@gated-at.bofh.it>
In reply to#1268411
Hi Andrew, I’m currently super busy with a lot of non-Debian things, and cannot look into this now. Anyone is welcome to upload a fix!

Bye :)

[toc] | [prev] | [next] | [standalone]


#1268563

FromAndrew Bower <andrew@bower.uk>
Date2025-11-01 09:00 +0100
Message-ID<LMeGJ-9BfC-1@gated-at.bofh.it>
In reply to#1268431
Control: block -1 by 1119811

On Fri, Oct 31, 2025 at 09:49:01AM +0100, Andrea Pappacoda wrote:
> Hi Andrew, I’m currently super busy with a lot of non-Debian things,
> and cannot look into this now. Anyone is welcome to upload a fix!

Understood, and thank you!

Sorry I misspelled X-Debbugs-CC when notifying you of my RFS: #1119811

> Bye :)

[toc] | [prev] | [next] | [standalone]


#1269523

FromAntoine Le Gonidec <vv221@debian.org>
Date2025-11-08 12:30 +0100
Message-ID<LOPiO-bozO-15@gated-at.bofh.it>
In reply to#1267122

[Multipart message — attachments visible in raw view] — view raw

I am willing to sponsor Andrew’s patch for opensysusers, but before doing it I noticed the following requirement on LowThresholdNmu:
> Please upload with dgit and commit the fixes to the package VCS

While I have no problem with updating the Salsa repositories, I am not a dgit user and am not currently willing to learn new tools for an upload.
Is dgit usage a hard requirement, or would you be OK with a regular SSH upload through dput(-ng)?

[toc] | [prev] | [next] | [standalone]


#1269524

FromAndrea Pappacoda <andrea@pappacoda.it>
Date2025-11-08 12:40 +0100
Message-ID<LOPst-boDr-9@gated-at.bofh.it>
In reply to#1269523
Don’t worry, if you don’t want to do it I’ll fix it myself later :)

In any case, it’s pretty easy to do. You just have to do “dgit push-source” instead of “dput myfile.changes”

Thanks and bye!

(Sorry for the top-post, I’m replying from my phone)

> Il giorno 8 nov 2025, alle ore 12:27, Antoine Le Gonidec <vv221@debian.org> ha scritto:
> 
> I am willing to sponsor Andrew’s patch for opensysusers, but before doing it I noticed the following requirement on LowThresholdNmu:
>> Please upload with dgit and commit the fixes to the package VCS
> 
> While I have no problem with updating the Salsa repositories, I am not a dgit user and am not currently willing to learn new tools for an upload.
> Is dgit usage a hard requirement, or would you be OK with a regular SSH upload through dput(-ng)?

[toc] | [prev] | [next] | [standalone]


#1269546

FromAntoine Le Gonidec <vv221@debian.org>
Date2025-11-08 16:20 +0100
Message-ID<LOSTn-br2Z-5@gated-at.bofh.it>
In reply to#1269524

[Multipart message — attachments visible in raw view] — view raw

Le Sat, Nov 08, 2025 at 12:30:58PM +0100, Andrea Pappacoda a écrit :
> Don’t worry, if you don’t want to do it I’ll fix it myself later :)

All good then.

I’m probably uploading that update later today, after a review, and send a ping here once it’s done.

[toc] | [prev] | [next] | [standalone]


#1269639

FromAntoine Le Gonidec <vv221@debian.org>
Date2025-11-09 14:20 +0100
Message-ID<LPduO-bF7o-9@gated-at.bofh.it>
In reply to#1269523

[Multipart message — attachments visible in raw view] — view raw

opensysusers 0.7.3-5.1 has been reviewed and uploaded (dgit has not been updated), I’m updating the Salsa repository right after I have sent this message.

[toc] | [prev] | [next] | [standalone]


#1269671

FromAndrea Pappacoda <andrea@pappacoda.it>
Date2025-11-10 00:20 +0100
Message-ID<LPmRr-bLLR-7@gated-at.bofh.it>
In reply to#1269639
> Il giorno 9 nov 2025, alle ore 14:19, Antoine Le Gonidec <vv221@debian.org> ha scritto:
> 
> opensysusers 0.7.3-5.1 has been reviewed and uploaded (dgit has not been updated), I’m updating the Salsa repository right after I have sent this message.

Thank you again! Bye :)

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web