Bug 25637 - Squid 4 in MGA7 installs files out of locations
Summary: Squid 4 in MGA7 installs files out of locations
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: i586 Linux
Priority: Normal minor
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2019-10-31 03:31 CET by Mauricio Andrés Bustamante Viveros
Modified: 2019-11-08 00:38 CET (History)
5 users (show)

See Also:
Source RPM: squid-4.8-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Mauricio Andrés Bustamante Viveros 2019-10-31 03:31:40 CET
Description of problem:
In MGA7, the squid rpm, installs files that must be located in /etc/ into /etc/squid....

Version-Release number of selected component (if applicable):
squid 4.7 && 4.8 from updates

How reproducible:
Every time:


Steps to Reproduce:
1.Install squid
2.go to /etc/squid, into this folder, you will locate logrotate.d, sysconfig and other files these in MGA6 squid 3.5.27 are located into /etc
3.The squid service starts normally, but the log rotation and the dependant ifup start when the NIC is again active will not function
Comment 1 Lewis Smith 2019-10-31 10:46:27 CET
Thank you for this report.

Assigning to the squid registered maintainer.

Source RPM: squid-4.7 => squid-4.8-1.mga7.src.rpm
Assignee: bugsquad => bruno

Comment 2 David GEIGER 2019-10-31 12:49:38 CET
In progress!

CC: (none) => geiger.david68210

Comment 3 David GEIGER 2019-10-31 17:14:51 CET
Assigning to QA,


Advisory:
========================

Some sysconfig files are not installed where they should be (e.g. the logrotate file are installed in "/etc/squid/logrotate.d/squid" instead of "/etc/logrotate.d/squid").
So this update fixes this issue.

========================

Packages in 7/core/updates_testing:
========================
squid-4.8-1.1.mga7.i586.rpm
squid-cachemgr-4.8-1.1.mga7.i586.rpm
squid-4.8-1.1.mga7.x86_64.rpm
squid-cachemgr-4.8-1.1.mga7.x86_64.rpm

Source RPM: 
========================
squid-4.8-1.1.mga7.src.rpm

Assignee: bruno => qa-bugs

Comment 4 Mauricio Andrés Bustamante Viveros 2019-11-01 12:55:14 CET
Testing in MGA7 i586
Installs OK
Service starts OK

The ifup.d control works
Pending the log rotation (Will be hacked ro be run at 12:00)
Comment 5 Herman Viaene 2019-11-05 10:01:52 CET
MGA7-64 Plasma on Lenovo B50
No installation issues
Reff bug 25110 for testing
At CLI:
# systemctl restart httpd
# systemctl start squid
#  systemctl -l status squid
● squid.service - LSB: Starts the squid daemon
   Loaded: loaded (/etc/rc.d/init.d/squid; generated)
   Active: active (running) since Tue 2019-11-05 09:42:58 CET; 13s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 3912 ExecStart=/etc/rc.d/init.d/squid start (code=exited, status=0/SUCCESS)
 Main PID: 3930 (squid)
   Memory: 15.0M
   CGroup: /system.slice/squid.service
           ├─3930 squid
           ├─3932 (squid-1) --kid squid-1
           ├─3937 (logfile-daemon) /var/log/squid/access.log
           └─4547 (pinger)

nov 05 09:42:58 mach5.hviaene.thuis systemd[1]: Starting LSB: Starts the squid daemon...
nov 05 09:42:58 mach5.hviaene.thuis squid[3925]: Squid Parent: will start 1 kids
nov 05 09:42:58 mach5.hviaene.thuis squid[3925]: Squid Parent: (squid-1) process 3927 started
nov 05 09:42:58 mach5.hviaene.thuis squid[3925]: Squid Parent: squid-1 process 3927 exited with status 0
nov 05 09:42:58 mach5.hviaene.thuis squid[3930]: Squid Parent: will start 1 kids
nov 05 09:42:58 mach5.hviaene.thuis squid[3930]: Squid Parent: (squid-1) process 3932 started
nov 05 09:42:58 mach5.hviaene.thuis squid[3912]: init_cache_dir /var/spool/squid... Starting squid: [  OK  ]
nov 05 09:42:58 mach5.hviaene.thuis systemd[1]: Started LSB: Starts the squid daemon.

Checked that /etcs/quid/logrotate.d/squid does not exist, but /etc/logrotate.d/squid does.
Changed firefox to use localhost as proxy at port 3128.
Pointed firefox to a valid and an invalid URL. These  are found in /var/log/squid/access.log.
All OK for me.

Whiteboard: (none) => MGA7-64-OK
CC: (none) => herman.viaene

Comment 6 Mauricio Andrés Bustamante Viveros 2019-11-05 22:26:28 CET
The test are OK, Can be validated?
Comment 7 Thomas Andrews 2019-11-07 16:41:22 CET
Validating. Advisory in Comment 3.

CC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => validated_update

Thomas Backlund 2019-11-07 22:51:10 CET

CC: (none) => tmb
Keywords: (none) => advisory

Comment 8 Mageia Robot 2019-11-08 00:38:22 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0197.html

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


Note You need to log in before you can comment on or make changes to this bug.