Bug 7775

Summary: interferences between urpmi and parental control (drakguard)
Product: Mageia Reporter: Marc Maurer <marc.maurer>
Component: RPM PackagesAssignee: Derek Jennings <derekjenn>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: derekjenn, jani.valimaa, liste, marc.maurer
Version: 3   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA2TOO
Source RPM: drakguard CVE:
Status comment:
Bug Depends on: 9195    
Bug Blocks:    

Description Marc Maurer 2012-10-12 07:30:06 CEST
When parental control is activated, download of some package using urpmi is
blocked by DansGuardian.

Version-Release number of selected component (if applicable):
dansguardian-2.10.1.1-6.mga1; urpmi-6.40-9.mga1

How reproducible:
systematic

Steps to Reproduce:
1.Active parental control through MCC
2.Lorsque je fait la commande urpmi --auto-update dans une console, j'obtiens Impossible de trouver un miroir dans la liste $MIRRORLIST
Autre manip après avoir supprimé les médias via le CCM, en ligne de commande :
[root@erato marc]# urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.2.x86_64.list'
... échec de la récupération :
impossible d'accéder au média de distribution (pas de fichier media.cfg trouvé)
impossible d'ajouter le média
Marc Maurer 2012-10-12 07:30:25 CEST

CC: (none) => marc.maurer

Comment 1 Manuel Hiebel 2013-01-26 23:31:16 CET
can you provide access log ? 
see https://bugs.mageia.org/show_bug.cgi?id=2488#c5
Manuel Hiebel 2013-01-26 23:32:00 CET

Summary: interferences between urpmi and parental control => interferences between urpmi and parental control (drakguard)

Comment 2 Bernard SIAUD 2013-06-16 15:23:57 CEST
I have the same problem with mageia 3.

CC: (none) => liste

Comment 3 Manuel Hiebel 2013-06-17 21:42:34 CEST
can you provide access log ?

Whiteboard: (none) => MGA2TOO
Version: 2 => 3
Source RPM: dansguardian-2.10.1.1-6.mga1 => dansguardian

Comment 4 Derek Jennings 2013-07-02 16:05:33 CEST
I have a workaround for you

Edit the file /etc/shorewall/rules.drakx  and immediately before the REDIRECT lines, insert a line

ACCEPT+	fw	net	tcp	http	-	-	-	root

and then restart shorewall with 
shorewall safe-restart

It should then work OK.

It is the drakguard package that configures that file not dansguardian.
(Yet another drakguard bug for me :-)

Assignee: bugsquad => derekjenn
Status: NEW => ASSIGNED
CC: (none) => derekjenn, jani.valimaa
Source RPM: dansguardian => drakguard

Derek Jennings 2013-07-10 09:44:58 CEST

Depends on: (none) => 9195

Comment 5 Derek Jennings 2013-08-19 21:42:03 CEST
fixed with bug 9195

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