Bug 19024

Summary: 6_s1: squid removal does not delete squid from passwd/group files
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: Bruno Cornec <bruno>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: squid-3.5.20-1.mga6.x86_64 CVE:
Status comment:

Description Bit Twister 2016-07-22 15:27:38 CEST
Description of problem:

squid rpm removal does not delete squid from /etc/passwd and group files

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. remove squid rpm
2. pwck -r
Marja Van Waes 2016-07-22 16:01:47 CEST

CC: (none) => marja11
Assignee: bugsquad => bruno

Comment 1 David Walser 2016-07-22 16:05:26 CEST
This is nothing specific to this package.  The %_postun_userdel and %_postun_groupdel macros don't actually do anything.  This choice was made on purpose, because packages may leave files behind owned by those users/groups, and when re-installing the package, if it gets a different UID/GID next time, things might break.  In Squid's case, this is actually likely to happen (with the contents of /var/spool/squid), as an example.

Status: NEW => RESOLVED
Resolution: (none) => INVALID