Bug 2488

Summary: interferences between urpmi and parental control
Product: Mageia Reporter: Martial Montrichard <mmontrichard>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: major    
Priority: Normal CC: dmorganec, ennael1, mageia, marja11, mmontrichard, thierry.vignaud
Version: 1Keywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: dansguardian-2.10.1.1-6.mga1 CVE:
Status comment:

Description Martial Montrichard 2011-08-22 00:48:44 CEST
Description of problem:
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
note: it is not possible to add "root" as "authorized user". Nevertheless should be done as default.
2. Try update of kde 4.6.5
3. Some packages are rejected (around 120 of the 350 4.6.5 updated packages). Here is urpmi result:

---------------------------
[root@localhost partial]# urpmi -v --auto-select --downloader aria2
getting lock on urpmi
using mirror http://twiska.zarb.org/mageia/distrib/1/x86_64/
examen de la liste de synthèse [/var/lib/urpmi/Core Release/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Core Updates/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Nonfree Release/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Nonfree Updates/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Core 32bit Release/synthesis.hdlist.cz]
examen de la liste de synthèse [/var/lib/urpmi/Core 32bit Updates/synthesis.hdlist.cz]
getting exclusive lock on rpm
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
   Paquetage                      Version      Révision      Arch   
(média « Core Updates »)
  bomber                         4.6.5        0.mga1        x86_64  
  bovo                           4.6.5        0.mga1        x86_64  
  granatier                      4.6.5        0.mga1        x86_64  
  kapman                         4.6.5        0.mga1        x86_64  
  katomic                        4.6.5        0.mga1        x86_64  
  kbattleship                    4.6.5        0.mga1        x86_64  
  kblackbox                      4.6.5        0.mga1        x86_64  
  kblocks                        4.6.5        0.mga1        x86_64  
  kbounce                        4.6.5        0.mga1        x86_64  
  kbreakout                      4.6.5        0.mga1        x86_64  
  kdegames4-core                 4.6.5        0.mga1        x86_64  
  kdepimlibs4-core               4.6.5        0.mga1        x86_64  
  kdesnake                       4.6.5        0.mga1        x86_64  
  kdiamond                       4.6.5        0.mga1        x86_64  
  kfourinline                    4.6.5        0.mga1        x86_64  
  kgoldrunner                    4.6.5        0.mga1        x86_64  
  kigo                           4.6.5        0.mga1        x86_64  
  killbots                       4.6.5        0.mga1        x86_64  
  kio4-imap                      4.6.5        0.mga1        x86_64  
  kio4-ldap                      4.6.5        0.mga1        x86_64  
  kio4-mbox                      4.6.5        0.mga1        x86_64  
  kio4-nntp                      4.6.5        0.mga1        x86_64  
  kio4-pop3                      4.6.5        0.mga1        x86_64  
  kio4-sieve                     4.6.5        0.mga1        x86_64  
  kio4-smtp                      4.6.5        0.mga1        x86_64  
  kiriki                         4.6.5        0.mga1        x86_64  
  kjumpingcube                   4.6.5        0.mga1        x86_64  
  klickety                       4.6.5        0.mga1        x86_64  
  klines                         4.6.5        0.mga1        x86_64  
  kmahjongg                      4.6.5        0.mga1        x86_64  
  kmahjongglib                   4.6.5        0.mga1        x86_64  
  kmines                         4.6.5        0.mga1        x86_64  
  knetwalk                       4.6.5        0.mga1        x86_64  
  kolf                           4.6.5        0.mga1        x86_64  
  kollision                      4.6.5        0.mga1        x86_64  
  konquest                       4.6.5        0.mga1        x86_64  
  kpat                           4.6.5        0.mga1        x86_64  
  kppp-provider                  4.6.5        0.mga1        x86_64  
  kreversi                       4.6.5        0.mga1        x86_64  
  kshisen                        4.6.5        0.mga1        x86_64  
  ksirk                          4.6.5        0.mga1        x86_64  
  kspaceduel                     4.6.5        0.mga1        x86_64  
  ksquares                       4.6.5        0.mga1        x86_64  
  ksudoku                        4.6.5        0.mga1        x86_64  
  ktron                          4.6.5        0.mga1        x86_64  
  ktuberling                     4.6.5        0.mga1        x86_64  
  kubrick                        4.6.5        0.mga1        x86_64  
  lib64akonadi-contact4          4.6.5        0.mga1        x86_64  
  lib64akonadi-kabc4             4.6.5        0.mga1        x86_64  
  lib64akonadi-kcal4             4.6.5        0.mga1        x86_64  
  lib64akonadi-kde4              4.6.5        0.mga1        x86_64  
  lib64akonadi-kmime4            4.6.5        0.mga1        x86_64  
  lib64gpgme++2                  4.6.5        0.mga1        x86_64  
  lib64kabc4                     4.6.5        0.mga1        x86_64  
  lib64kabc_file_core4           4.6.5        0.mga1        x86_64  
  lib64kblog4                    4.6.5        0.mga1        x86_64  
  lib64kcal4                     4.6.5        0.mga1        x86_64  
  lib64kcalcore4                 4.6.5        0.mga1        x86_64  
  lib64kcalutils4                4.6.5        0.mga1        x86_64  
  lib64kcddb4                    4.6.5        0.1.mga1      x86_64  
  lib64kcmutils4                 4.6.5        1.1.mga1      x86_64  
  lib64kdesu5                    4.6.5        1.1.mga1      x86_64  
  lib64kdewebkit5                4.6.5        1.1.mga1      x86_64  
  lib64kdnssd4                   4.6.5        1.1.mga1      x86_64  
  lib64kfile4                    4.6.5        1.1.mga1      x86_64  
  lib64kholidays4                4.6.5        0.mga1        x86_64  
  lib64kidletime4                4.6.5        1.1.mga1      x86_64  
  lib64kimap4                    4.6.5        0.mga1        x86_64  
  lib64kldap4                    4.6.5        0.mga1        x86_64  
  lib64kmime4                    4.6.5        0.mga1        x86_64  
  lib64knewstuff2_4              4.6.5        1.1.mga1      x86_64  
  lib64knewstuff3_4              4.6.5        1.1.mga1      x86_64  
  lib64knotifyconfig4            4.6.5        1.1.mga1      x86_64  
  lib64kontactinterface4         4.6.5        0.mga1        x86_64  
  lib64kopetechatwindow_shared1  4.6.5        0.mga1        x86_64  
  lib64kopetecontactlist1        4.6.5        0.mga1        x86_64  
  lib64kparts4                   4.6.5        1.1.mga1      x86_64  
  lib64kpimidentities4           4.6.5        0.mga1        x86_64  
  lib64kpimtextedit4             4.6.5        0.mga1        x86_64  
  lib64kpimutils4                4.6.5        0.mga1        x86_64  
  lib64kprintutils4              4.6.5        1.1.mga1      x86_64  
  lib64kresources4               4.6.5        0.mga1        x86_64  
  lib64krosscore4                4.6.5        1.1.mga1      x86_64  
  lib64ktexteditor4              4.6.5        1.1.mga1      x86_64  
  lib64ktnef4                    4.6.5        0.mga1        x86_64  
  lib64kunitconversion4          4.6.5        1.1.mga1      x86_64  
  lib64kxmlrpcclient4            4.6.5        0.mga1        x86_64  
  lib64kyahoo1                   4.6.5        0.mga1        x86_64  
  lib64mailtransport4            4.6.5        0.mga1        x86_64  
  lib64microblog4                4.6.5        0.mga1        x86_64  
  lib64solid4                    4.6.5        1.1.mga1      x86_64  
  lib64syndication4              4.6.5        0.mga1        x86_64  
  lib64threadweaver4             4.6.5        1.1.mga1      x86_64  
  libreoffice-base               3.3.3.1      0.1.mga1      x86_64  
  libreoffice-calc               3.3.3.1      0.1.mga1      x86_64  
  libreoffice-core               3.3.3.1      0.1.mga1      x86_64  
  libreoffice-draw               3.3.3.1      0.1.mga1      x86_64  
  libreoffice-emailmerge         3.3.3.1      0.1.mga1      x86_64  
  libreoffice-graphicfilter      3.3.3.1      0.1.mga1      x86_64  
  libreoffice-impress            3.3.3.1      0.1.mga1      x86_64  
  libreoffice-kde                3.3.3.1      0.1.mga1      x86_64  
  libreoffice-langpack-br        3.3.3.1      0.1.mga1      x86_64  
  libreoffice-langpack-fr        3.3.3.1      0.1.mga1      x86_64  
  libreoffice-math               3.3.3.1      0.1.mga1      x86_64  
  libreoffice-opensymbol-fonts   3.3.3.1      0.1.mga1      noarch  
  libreoffice-pdfimport          3.3.3.1      0.1.mga1      x86_64  
  libreoffice-presentation-mini> 3.3.3.1      0.1.mga1      x86_64  
  libreoffice-presenter-screen   3.3.3.1      0.1.mga1      x86_64  
  libreoffice-pyuno              3.3.3.1      0.1.mga1      x86_64  
  libreoffice-report-builder     3.3.3.1      0.1.mga1      x86_64  
  libreoffice-ure                3.3.3.1      0.1.mga1      x86_64  
  libreoffice-wiki-publisher     3.3.3.1      0.1.mga1      x86_64  
  libreoffice-writer             3.3.3.1      0.1.mga1      x86_64  
  libreoffice-xsltfilter         3.3.3.1      0.1.mga1      x86_64  
  lskat                          4.6.5        0.mga1        x86_64  
  palapeli                       4.6.5        0.mga1        x86_64  
un espace de 413Ko sera libéré.
146Mo de paquets seront récupérés.
Procéder à l'installation des 116 paquetages ? (O/n) O


récupération des fichiers rpm à partir de « Core Updates »...
    http://twiska.zarb.org/mageia/distrib/1/x86_64/: media/core/updates/lib64kopetechatwindow_shared1-4.6.5-0.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/: media/core/updates/lib64kyahoo1-4.6.5-0.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/: media/core/updates/lib64knotifyconfig4-4.6.5-1.1.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/: media/core/updates/lib64kabc4-4.6.5-0.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/: media/core/updates/kdepimlibs4-core-4.6.5-0.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/: media/core/updates/lib64mailtransport4-4.6.5-0.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/: media/core/updates/lib64kcddb4-4.6.5-0.1.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/: media/core/updates/lib64kparts4-4.6.5-1.1.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/: media/core/updates/lib64solid4-4.6.5-1.1.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/: media/core/updates/lib64kcalutils4-4.6.5-0.mga1.x86_64.rpm
http://twiska.zarb.org/mageia/distrib/1/x86_64/ media/core/updates lib64kopetechatwindow_shared1-4.6.5-0.mga1.x86_64.rpm lib64kyahoo1-4.6.5-0.mga1.x86_64.rpm lib64knotifyconfig4-4.6.5-1.1.mga1.x86_64.rpm lib64kabc4-4.6.5-0.mga1.x86_64.rpm kdepimlibs4-core-4.6.5-0.mga1.x86_64.rpm lib64mailtransport4-4.6.5-0.mga1.x86_64.rpm lib64kcddb4-4.6.5-0.1.mga1.x86_64.rpm lib64kparts4-4.6.5-1.1.mga1.x86_64.rpm lib64solid4-4.6.5-1.1.mga1.x86_64.rpm lib64kcalutils4-4.6.5-0.mga1.x86_64.rpm récupéré
... récupération effectuée
erreur: /var/cache/urpmi/partial/lib64kopetechatwindow_shared1-4.6.5-0.mga1.x86_64.rpm: not an rpm package
erreur: /var/cache/urpmi/partial/lib64kyahoo1-4.6.5-0.mga1.x86_64.rpm: not an rpm package
erreur: /var/cache/urpmi/partial/lib64knotifyconfig4-4.6.5-1.1.mga1.x86_64.rpm: not an rpm package
erreur: /var/cache/urpmi/partial/lib64kabc4-4.6.5-0.mga1.x86_64.rpm: not an rpm package
erreur: /var/cache/urpmi/partial/kdepimlibs4-core-4.6.5-0.mga1.x86_64.rpm: not an rpm package
erreur: /var/cache/urpmi/partial/lib64mailtransport4-4.6.5-0.mga1.x86_64.rpm: not an rpm package
erreur: /var/cache/urpmi/partial/lib64kcddb4-4.6.5-0.1.mga1.x86_64.rpm: not an rpm package
erreur: /var/cache/urpmi/partial/lib64kparts4-4.6.5-1.1.mga1.x86_64.rpm: not an rpm package
erreur: /var/cache/urpmi/partial/lib64solid4-4.6.5-1.1.mga1.x86_64.rpm: not an rpm package
erreur: /var/cache/urpmi/partial/lib64kcalutils4-4.6.5-0.mga1.x86_64.rpm: not an rpm package
L'installation a échoué à cause de paquets bogués :
    http://twiska.zarb.org/mageia/distrib/1/x86_64/media/core/updates/lib64kopetechatwindow_shared1-4.6.5-0.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/media/core/updates/lib64kyahoo1-4.6.5-0.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/media/core/updates/lib64knotifyconfig4-4.6.5-1.1.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/media/core/updates/lib64kabc4-4.6.5-0.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/media/core/updates/kdepimlibs4-core-4.6.5-0.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/media/core/updates/lib64mailtransport4-4.6.5-0.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/media/core/updates/lib64kcddb4-4.6.5-0.1.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/media/core/updates/lib64kparts4-4.6.5-1.1.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/media/core/updates/lib64solid4-4.6.5-1.1.mga1.x86_64.rpm
    http://twiska.zarb.org/mageia/distrib/1/x86_64/media/core/updates/lib64kcalutils4-4.6.5-0.mga1.x86_64.rpm

Essayer de continuer néanmoins ? (o/N) N
----------------

Note: I have tried several mirror and all downloader.
In fact, the rpm file is replaced by a dansguardian file like this:

----------------
<html>
<head>
<title>DansGuardian - Acc&egrave;s refus&eacute;</title>
  <style type="text/css">
body{
        padding: 0;
        margin: 0px;
}
h1{
        color: #2854B1;
}
a{
  color: #2854B1;
}
div#alert{
        background-color: #679EF1;
        margin: 10px;
        padding: 4;
}
div#main{
        position: absolute;
        top: 0px;
        left: 0px;
        height: 100%;
        width: 100%;
        background-color: #A7CFF9;
        color: #2854B1;
        font: 14px arial,verdana,sans-serif;
        text-align: center;
}
.....
---------------------
Martial Montrichard 2011-08-22 00:58:11 CEST

CC: (none) => mmontrichard

Manuel Hiebel 2011-08-22 15:38:02 CEST

Component: Release (media, process) => RPM Packages

Comment 1 Thierry Vignaud 2011-10-10 19:15:19 CEST
Not an urpmi issue

CC: (none) => thierry.vignaud
Source RPM: dansguardian-2.10.1.1-6.mga1; urpmi-6.40-9.mga1 => dansguardian-2.10.1.1-6.mga1

Comment 2 Marja Van Waes 2011-12-09 18:25:27 CET
Well, I tried three times, with obscenity sensibility "high"
Last time was with kde updates as well, but I just can't reproduce this bug.

Another thing I tried, was installing hedgewars. The description of the game contains words like "weapons" and "kill" but it was no problem to install this game.

So I started doubting parental control worked at all, but it does, I can't go to an "adult" page

CC: (none) => dmorganec, ennael1, marja11

Comment 3 Marja Van Waes 2011-12-09 18:38:42 CET
@ Martial

Do you still have this issue? If so, I'll ask someone else to try to reproduce it, because as you could see above, for me everything works as it should.
Comment 4 Martial Montrichard 2012-01-14 17:15:43 CET
I still have the issue with the last mageia update.
Here is a not echaustive liste of package that have problems:
lib64nepomukutils4-4.6.5-1.6.mga1.x86_64.rpm 4.6.5 1.6mga1
lib64nepomukquery4-4.6.5-1.6.mga1.x86_64.rpm 4.6.5 1.6mga1
lib64kparts4-4.6.5-1.6.mga1.x86_64.rpm 4.6.5 1.6mga1
lib64kcmutils4-4.6.5-1.6.mga1.x86_64.rpm 4.6.5 1.6mga1
lib64nepomuk4-4.6.5-1.6.mga1.x86_64.rpm 4.6.5 1.6mga1
lib64solid4-4.6.5-1.6.mga1.x86_64.rpm 4.6.5 1.6mga1
lib64ktcore12-4.1.3-1.mga1.x86_64.rpm 4.1.3 1.mga1
Comment 5 Marja Van Waes 2012-01-16 20:39:02 CET
Olivier Blin, the author of drakguard, suggested to look at the dansguardian logs. So could you please attach the relevant
/var/log/dansguardian/access.log* 
of when this problem occurred?

CC: (none) => mageia

Comment 6 Marja Van Waes 2012-02-24 17:49:39 CET
@ Martial, 

could you please reply to the previous question? If you won't reply within two weeks from now, I will have to close this bug as OLD. Thank you.

Keywords: (none) => NEEDINFO

Comment 7 Marja Van Waes 2012-03-10 15:47:07 CET
Since there are insufficient details provided in this report for us to investigate the issue further, and we have not received feedback to the information we have requested above, we will assume the problem was not reproducible, or has been fixed in one of the updates we have released for the reporter's distribution.

Users who have experienced this problem are encouraged to upgrade to the latest update of their distribution, and if this issue turns out to still be reproducible in the latest update, please reopen this bug with the information requested in comment 5

Closing as OLD.

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