Bug#1017840: debian-security-support: cannot create /var/lib/debian-security-support/security-support.semaphore: Permission

2022-08-23 Thread Christoph Anton Mitterer
On Tue, 2022-08-23 at 16:23 +, Holger Levsen wrote:
> users must not be cleaned up (=removed) on package removal

Well perhaps not a must as per policy, but I think for debian-security-
support it would still make sense to clean up the user, or do you
expect anyone to create files under that user which would then have no
valid user/group? :-)


Cheers,
Chris.



Bug#1017840: debian-security-support: cannot create /var/lib/debian-security-support/security-support.semaphore: Permission

2022-08-23 Thread Holger Levsen
On Tue, Aug 23, 2022 at 05:41:22PM +0200, Christoph Anton Mitterer wrote:
> It also seems as if neither that director or its files nor the created
> user is ever cleaned up on purge, but left behind as cruft forever.

users must not be cleaned up (=removed) on package removal, so the
only thing purge should do is remove /var/lib/debian-security-support/


-- 
cheers,
Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

figures don't lie, but liars figure.


signature.asc
Description: PGP signature


Bug#1017840: debian-security-support: cannot create /var/lib/debian-security-support/security-support.semaphore: Permission

2022-08-23 Thread Christoph Anton Mitterer
Hey Holger.


It also seems as if neither that director or its files nor the created
user is ever cleaned up on purge, but left behind as cruft forever.

Or did I oversee something in the posrm?


Thanks,
Chris.



Bug#1017840: debian-security-support: cannot create /var/lib/debian-security-support/security-support.semaphore: Permission

2022-08-22 Thread Holger Levsen
control: severity -1 serious
thanks

On Sun, Aug 21, 2022 at 11:54:04AM +, Witold Barylulk wrote:
> During installation in live-build
> 
> Setting up debian-security-support (1:12+2022.08.12) ...
> adduser: Warning: The home directory `/var/lib/debian-security-support' does 
> not belong to the user you are currently creating.
> /usr/bin/check-support-status: 282: cannot create 
> /var/lib/debian-security-support/security-support.semaphore: Permission denied
> dpkg: error processing package debian-security-support (--configure):
>  installed debian-security-support package post-installation script 
> subprocess returned error exit status 2
 
thanks for filing this bug report, Witold! I'll fix it ASAP.


-- 
cheers,
Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

First they came for the journalists, we don't know what happened after that.


signature.asc
Description: PGP signature


Bug#1017840: debian-security-support: cannot create /var/lib/debian-security-support/security-support.semaphore: Permission

2022-08-21 Thread Witold Barylulk
Package: debian-security-support
Version: 1:12+2022.08.19
Severity: normal
X-Debbugs-Cc: witold.bary...@gmail.com

During installation in live-build

Setting up debian-security-support (1:12+2022.08.12) ...
adduser: Warning: The home directory `/var/lib/debian-security-support' does 
not belong to the user you are currently creating.
/usr/bin/check-support-status: 282: cannot create 
/var/lib/debian-security-support/security-support.semaphore: Permission denied
dpkg: error processing package debian-security-support (--configure):
 installed debian-security-support package post-installation script subprocess 
returned error exit status 2



-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.19.0-rc5 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_UNSIGNED_MODULE, TAINT_SOFTLOCKUP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debian-security-support depends on:
ii  adduser3.123
ii  debconf [debconf-2.0]  1.5.79
ii  gettext-base   0.21-8

debian-security-support recommends no packages.

debian-security-support suggests no packages.

-- debconf information:
* debian-security-support/limited:
  debian-security-support/ended:
  debian-security-support/earlyend: