Bug 16777

Summary: ufdbguard update to bugfix update 1.31 patch14
Product: Mageia Reporter: claire robinson <eeeemail>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, luigiwalser, sysadmin-bugs
Version: 5Keywords: validated_update
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard: has_procedure MGA5-32-OK advisory
Source RPM: ufdbguard CVE:
Status comment:

Description claire robinson 2015-09-18 16:54:19 CEST
See ufdbguard update in bug 16734

When updated ufdbguard init script is restarting ufdb and failing due to it already running. It then shows with a status of stopped even though squid is still using it.

ufdbguard install/update should stop both services and restart both ufdb and squid, with ufdb starting first.


Reproducible: 

Steps to Reproduce:
claire robinson 2015-09-18 16:54:31 CEST

Whiteboard: (none) => MGA5TOO

David Walser 2015-09-18 17:21:41 CEST

Version: Cauldron => 5
Whiteboard: MGA5TOO => (none)

Comment 1 claire robinson 2015-09-18 17:23:55 CEST
Maybe needs something in %post rather than init script
Comment 2 David Walser 2015-09-18 17:37:25 CEST
(In reply to claire robinson from comment #1)
> Maybe needs something in %post rather than init script

Yeah, I *think* "systemctl try-restart squid.service" *should* do the right thing.  I've added that in Cauldron.  We can try that in Mageia 5 once the existing update is pushed.
Comment 3 David Walser 2015-10-09 20:50:57 CEST
This will do the squid restart automatically when you install it.

Testing directions in Bug 16734.

Advisory:
----------------------------------------

The ufdbguard package has been updated to version 1.31-patch14, which fixes an
issue where it would need to be manually restarted if the connection queue was
full.  See the upstream release notes for more details.

References:
https://www.urlfilterdb.com/release-1.31.html
----------------------------------------

Updated packages in core/updates_testing:
----------------------------------------
ufdbguard-1.31-5.2.mga5
ufdbguard-cgi-1.31-5.2.mga5

from ufdbguard-1.31-5.2.mga5.src.rpm

CC: (none) => luigiwalser
Assignee: luigiwalser => qa-bugs
Whiteboard: (none) => has_procedure

David Walser 2015-10-09 20:51:33 CEST

Summary: ufdbguard init script should restart squid aswell as ufdb service - in correct sequence => ufdbguard update to bugfix update 1.31 patch14

Comment 4 David Walser 2015-10-09 20:56:15 CEST
It worked perfectly here at work when I updated it.

Whiteboard: has_procedure => has_procedure MGA5-32-OK

Dave Hodgins 2015-10-13 19:15:04 CEST

Keywords: (none) => validated_update
Whiteboard: has_procedure MGA5-32-OK => has_procedure MGA5-32-OK advisory
CC: (none) => davidwhodgins, sysadmin-bugs

Comment 5 Mageia Robot 2015-10-13 19:49:45 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0153.html

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