Processed: Re: Bug#1057799: systemd: fails to configure

2023-12-09 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> severity 1057799 normal
Bug #1057799 [systemd] systemd: fails to configure
Severity set to 'normal' from 'serious'
> tags 1057799 wontfix
Bug #1057799 [systemd] systemd: fails to configure
Added tag(s) wontfix.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
1057799: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057799
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1057799: systemd: fails to configure

2023-12-09 Thread JP Pozzi


Hello,

It is a "test" machine, so I install and uninstall many softs, this can lead
to that result if something gous wrong.
I correct that ... and will look in other machines to circumvent such a problem.

Regards

JP P

- Mail original -
De: "Michael Biebl" 
À: "JP Pozzi" , "1057799" <1057...@bugs.debian.org>
Cc: "JPPO" 
Envoyé: Samedi 9 Décembre 2023 01:17:45
Objet: Re: systemd: fails to configure

Am 09.12.23 um 00:53 schrieb JP Pozzi:
> Hello,
> 
> Here the result :
> 
> grep users /etc/group /etc/gshadow
> /etc/group:users:x:100:
> /etc/gshadow:users:*::suricata

You appear to have a mismatch between /etc/group and /etc/gshadow.
Either your user "suricata" is listed in both or none.

Not sure how you ended up in this situation, but this looks like a local 
misconfiguration.

Michael



Bug#1057799: systemd: fails to configure

2023-12-08 Thread Michael Biebl

Am 09.12.23 um 00:53 schrieb JP Pozzi:

Hello,

Here the result :

grep users /etc/group /etc/gshadow
/etc/group:users:x:100:
/etc/gshadow:users:*::suricata


You appear to have a mismatch between /etc/group and /etc/gshadow.
Either your user "suricata" is listed in both or none.

Not sure how you ended up in this situation, but this looks like a local 
misconfiguration.


Michael



OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1057799: systemd: fails to configure

2023-12-08 Thread JP Pozzi
Hello, 

Here the result : 

grep users /etc/group /etc/gshadow 
/etc/group:users:x:100: 
/etc/gshadow:users:*::suricata 

To circumvent the problem ; 
1) I save /etc/gshadow, drop the "offending" line 
and restart systemd --configure 
with success 
2) Restore the saved gshadow file. 

Regards 

JP P 

- Mail original - 
De: "Michael Biebl"  
À: 1057...@bugs.debian.org, "JPPO"  
Envoyé: Vendredi 8 Décembre 2023 18:48:18 
Objet: Re: systemd: fails to configure 

On Fri, 08 Dec 2023 17:30:23 +0100 JPP  wrote: 
> Package: systemd 
> Version: 252.19-1~deb12u1 
> Severity: serious 
> Tags: d-i 
> Justification: normal 
> 
> Dear Maintainer, 
> 
> I get a problem upgrading the system, systemd fails to configure : 
> 
> sudo dpkg --configure systemd 
> Setting up systemd (252.19-1~deb12u1) ... 
> Creating group 'users' with GID 100. 
> /etc/gshadow: Group "users" already exists. 

Can you attach the output of 

sudo grep users /etc/group /etc/gshadow 


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1057799: systemd: fails to configure

2023-12-08 Thread JP Pozzi
Hello, 

Sorry I didn't see the second part, here is it : 
1) SYSTEMD_LOG_LEVEL=debug 
# systemd-sysusers /usr/lib/sysusers.d/basic.conf 
result : nothing 
2) cat /usr/lib/sysusers.d/basic.conf 
# generated from /usr/share/base-passwd/{passwd,group}.master 
g adm 4 - 
g tty 5 - 
g disk 6 - 
g man 12 - 
g kmem 15 - 
g dialout 20 - 
g fax 21 - 
g voice 22 - 
g cdrom 24 - 
g floppy 25 - 
g tape 26 - 
g sudo 27 - 
g audio 29 - 
g dip 30 - 
g operator 37 - 
g src 40 - 
g shadow 42 - 
g utmp 43 - 
g video 44 - 
g sasl 45 - 
g plugdev 46 - 
g staff 50 - 
g games 60 - 
g users 100 - 
g nogroup 65534 - 

u root 0 - /root /bin/bash 
u daemon 1 - /usr/sbin /usr/sbin/nologin 
u bin 2 - /bin /usr/sbin/nologin 
u sys 3 - /dev /usr/sbin/nologin 
u sync 4:65534 - /bin /bin/sync 
u games 5:60 - /usr/games /usr/sbin/nologin 
u man 6:12 - /var/cache/man /usr/sbin/nologin 
u lp 7 - /var/spool/lpd /usr/sbin/nologin 
u mail 8 - /var/mail /usr/sbin/nologin 
u news 9 - /var/spool/news /usr/sbin/nologin 
u uucp 10 - /var/spool/uucp /usr/sbin/nologin 
u proxy 13 - /bin /usr/sbin/nologin 
u www-data 33 - /var/www /usr/sbin/nologin 
u backup 34 - /var/backups /usr/sbin/nologin 
u list 38 - /var/list /usr/sbin/nologin 
u irc 39 - /run/ircd /usr/sbin/nologin 
u _apt 42:65534 - /nonexistent /usr/sbin/nologin 
u nobody 65534:65534 - /nonexistent /usr/sbin/nologin 


I hope this will help. 

Regards 

JP P 


- Mail original - 
De: "Michael Biebl"  
À: "1057799" <1057...@bugs.debian.org>, "JPPO"  
Envoyé: Vendredi 8 Décembre 2023 18:51:17 
Objet: Re: systemd: fails to configure 

Am 08.12.23 um 18:48 schrieb Michael Biebl: 
> On Fri, 08 Dec 2023 17:30:23 +0100 JPP  wrote: 
>> Package: systemd 
>> Version: 252.19-1~deb12u1 
>> Severity: serious 
>> Tags: d-i 
>> Justification: normal 
>> 
>> Dear Maintainer, 
>> 
>> I get a problem upgrading the system, systemd fails to configure : 
>> 
>> sudo dpkg --configure systemd 
>> Setting up systemd (252.19-1~deb12u1) ... 
>> Creating group 'users' with GID 100. 
>> /etc/gshadow: Group "users" already exists. 
> 
> Can you attach the output of 
> 
> sudo grep users /etc/group /etc/gshadow 
> 

The output of 

sudo SYSTEMD_LOG_LEVEL=debug systemd-sysusers /usr/lib/sysusers.d/basic.conf 

as well, please 


Bug#1057799: systemd: fails to configure

2023-12-08 Thread JP Pozzi
Hello,

Here the result :

grep users /etc/group /etc/gshadow
/etc/group:users:x:100:
/etc/gshadow:users:*::suricata

To circumvent the problem ;
1) I save /etc/gshadow, drop the "offending" line 
and restart systemd --configure
with success
2) Restore the saved gshadow file.

Regards 

JP P

- Mail original -
De: "Michael Biebl" 
À: 1057...@bugs.debian.org, "JPPO" 
Envoyé: Vendredi 8 Décembre 2023 18:48:18
Objet: Re: systemd: fails to configure

On Fri, 08 Dec 2023 17:30:23 +0100 JPP  wrote:
> Package: systemd
> Version: 252.19-1~deb12u1
> Severity: serious
> Tags: d-i
> Justification: normal
> 
> Dear Maintainer,
> 
> I get a problem upgrading the system, systemd fails to configure :
> 
> sudo dpkg --configure systemd
> Setting up systemd (252.19-1~deb12u1) ...
> Creating group 'users' with GID 100.
> /etc/gshadow: Group "users" already exists.

Can you attach the output of

sudo grep users /etc/group /etc/gshadow

OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1057799: systemd: fails to configure

2023-12-08 Thread JP Pozzi
Hello,

Sorry I didn't see the second part, here is it :
1) SYSTEMD_LOG_LEVEL=debug
# systemd-sysusers /usr/lib/sysusers.d/basic.conf
result : nothing
2) cat /usr/lib/sysusers.d/basic.conf
# generated from /usr/share/base-passwd/{passwd,group}.master
g adm4 -
g tty5 -
g disk   6 -
g man12-
g kmem   15-
g dialout20-
g fax21-
g voice  22-
g cdrom  24-
g floppy 25-
g tape   26-
g sudo   27-
g audio  29-
g dip30-
g operator   37-
g src40-
g shadow 42-
g utmp   43-
g video  44-
g sasl   45-
g plugdev46-
g staff  50-
g games  60-
g users  100   -
g nogroup65534 -

u root   0   - /root/bin/bash
u daemon 1   - /usr/sbin/usr/sbin/nologin
u bin2   - /bin /usr/sbin/nologin
u sys3   - /dev /usr/sbin/nologin
u sync   4:65534 - /bin /bin/sync
u games  5:60- /usr/games   /usr/sbin/nologin
u man6:12- /var/cache/man   /usr/sbin/nologin
u lp 7   - /var/spool/lpd   /usr/sbin/nologin
u mail   8   - /var/mail/usr/sbin/nologin
u news   9   - /var/spool/news  /usr/sbin/nologin
u uucp   10  - /var/spool/uucp  /usr/sbin/nologin
u proxy  13  - /bin /usr/sbin/nologin
u www-data   33  - /var/www /usr/sbin/nologin
u backup 34  - /var/backups /usr/sbin/nologin
u list   38  - /var/list/usr/sbin/nologin
u irc39  - /run/ircd/usr/sbin/nologin
u _apt   42:65534 - /nonexistent /usr/sbin/nologin
u nobody 65534:65534 - /nonexistent /usr/sbin/nologin


I hope this will help.

Regards

JP P


- Mail original -
De: "Michael Biebl" 
À: "1057799" <1057...@bugs.debian.org>, "JPPO" 
Envoyé: Vendredi 8 Décembre 2023 18:51:17
Objet: Re: systemd: fails to configure

Am 08.12.23 um 18:48 schrieb Michael Biebl:
> On Fri, 08 Dec 2023 17:30:23 +0100 JPP  wrote:
>> Package: systemd
>> Version: 252.19-1~deb12u1
>> Severity: serious
>> Tags: d-i
>> Justification: normal
>>
>> Dear Maintainer,
>>
>> I get a problem upgrading the system, systemd fails to configure :
>>
>> sudo dpkg --configure systemd
>> Setting up systemd (252.19-1~deb12u1) ...
>> Creating group 'users' with GID 100.
>> /etc/gshadow: Group "users" already exists.
> 
> Can you attach the output of
> 
> sudo grep users /etc/group /etc/gshadow
> 

The output of

sudo SYSTEMD_LOG_LEVEL=debug systemd-sysusers /usr/lib/sysusers.d/basic.conf

as well, please



Bug#1057799: systemd: fails to configure

2023-12-08 Thread Michael Biebl

Am 08.12.23 um 18:48 schrieb Michael Biebl:

On Fri, 08 Dec 2023 17:30:23 +0100 JPP  wrote:

Package: systemd
Version: 252.19-1~deb12u1
Severity: serious
Tags: d-i
Justification: normal

Dear Maintainer,

I get a problem upgrading the system, systemd fails to configure :

sudo dpkg --configure systemd
Setting up systemd (252.19-1~deb12u1) ...
Creating group 'users' with GID 100.
/etc/gshadow: Group "users" already exists.


Can you attach the output of

sudo grep users /etc/group /etc/gshadow



The output of

sudo SYSTEMD_LOG_LEVEL=debug systemd-sysusers /usr/lib/sysusers.d/basic.conf

as well, please


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1057799: systemd: fails to configure

2023-12-08 Thread Michael Biebl

On Fri, 08 Dec 2023 17:30:23 +0100 JPP  wrote:

Package: systemd
Version: 252.19-1~deb12u1
Severity: serious
Tags: d-i
Justification: normal

Dear Maintainer,

I get a problem upgrading the system, systemd fails to configure :

sudo dpkg --configure systemd
Setting up systemd (252.19-1~deb12u1) ...
Creating group 'users' with GID 100.
/etc/gshadow: Group "users" already exists.


Can you attach the output of

sudo grep users /etc/group /etc/gshadow



OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1057799: systemd: fails to configure

2023-12-08 Thread JPP
Package: systemd
Version: 252.19-1~deb12u1
Severity: serious
Tags: d-i
Justification: normal

Dear Maintainer,

I get a problem upgrading the system, systemd fails to configure :

sudo dpkg --configure systemd
Setting up systemd (252.19-1~deb12u1) ...
Creating group 'users' with GID 100.
/etc/gshadow: Group "users" already exists.
dpkg: error processing package systemd (--configure):
 installed systemd package post-installation script subprocess returned error 
exit status 1
Errors were encountered while processing:
 systemd


-- Package-specific info:

-- System Information:
Debian Release: 12.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-0.deb12.2-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=C
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  libacl12.3.1-3
ii  libaudit1  1:3.0.9-1
ii  libblkid1  2.38.1-5+b1
ii  libc6  2.36-9+deb12u3
ii  libcap21:2.66-4
ii  libcryptsetup122:2.6.1-4~deb12u1
ii  libfdisk1  2.38.1-5+b1
ii  libgcrypt201.10.1-3
ii  libkmod2   30+20221128-1
ii  liblz4-1   1.9.4-1
ii  liblzma5   5.4.1-0.2
ii  libmount1  2.38.1-5+b1
ii  libp11-kit00.24.1-2
ii  libseccomp22.5.4-1+b3
ii  libselinux13.4-1+b6
ii  libssl33.0.11-1~deb12u2
ii  libsystemd-shared  252.19-1~deb12u1
ii  libsystemd0252.19-1~deb12u1
ii  libzstd1   1.5.4+dfsg2-5
ii  mount  2.38.1-5+b1

Versions of packages systemd recommends:
ii  dbus [default-dbus-system-bus]  1.14.10-1~deb12u1
ii  ntpsec [time-daemon]1.2.2+dfsg1-1+deb12u1

Versions of packages systemd suggests:
ii  libfido2-11.12.0-2+b1
ii  libqrencode4  4.1.1-1
ii  libtss2-esys-3.0.2-0  3.2.1-3
ii  libtss2-mu0   3.2.1-3
pn  libtss2-rc0   
ii  policykit-1   122-3
ii  polkitd   122-3
pn  systemd-boot  
pn  systemd-container 
pn  systemd-homed 
pn  systemd-resolved  
pn  systemd-userdbd   

Versions of packages systemd is related to:
ii  dbus-user-session  1.14.10-1~deb12u1
pn  dracut 
ii  initramfs-tools0.142
iu  libnss-systemd 252.19-1~deb12u1
iu  libpam-systemd 252.19-1~deb12u1
ii  udev   252.19-1~deb12u1

-- Configuration Files:
/etc/systemd/system.conf changed:
[Manager]
DefaultTimeoutStopSec=30s
DefaultDeviceTimeoutSec=20s

/etc/systemd/user.conf changed:
[Manager]
DefaultTimeoutStopSec=30s
DefaultRestartSec=100ms


-- no debconf information