Bug 20614

Summary: drakguard is missing from the Classical isos
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: ISO building group <isobuild>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: release_blocker CC: ennael1, marja11, yvesbrungard
Version: CauldronKeywords: 6RC
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: drakguard-1.5-1.mga6 CVE:
Status comment:

Description Bit Twister 2017-04-01 05:45:09 CEST
Description of problem:

"/usr/sbin/mgaapplet-config" is not executable [Updates Configuration] at /usr/libexec/drakconf line 833.

"/usr/sbin/drakguard" is not executable [Parental Controls] at /usr/libexec/drakconf line 833.

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


How reproducible: Always


Steps to Reproduce:
1. click up a root terminal
2. mcc


Workaround: urpmi drakguard to fix second error.
Bit Twister 2017-04-01 05:45:28 CEST

Keywords: (none) => 6sta2

Comment 1 Marja Van Waes 2017-04-01 15:40:49 CEST
Which mgaonline and drakguard versions do you have?

I can't reproduce it with mgaonline-3.20-1.mga6, drakguard-1.5-1.mga6 and drakconf-13.14-1.mga6

I don't have mga-applet-config in /usr/sbin, only in /usr/bin, but don't get one of your errors, neither when starting the tools, like you, from mcc that was started from cli, nor when starting them directly from cli.

Keywords: (none) => NEEDINFO
CC: (none) => marja11
Assignee: bugsquad => mageiatools
Source RPM: drakconf-13.14-1.mga6.src.rpm => drakconf-13.14-1.mga6, mgaonline, drakguard

Comment 2 Bit Twister 2017-04-01 16:44:15 CEST
Aha, frap. mgaonline error is my fault. 
My install script removes it since I can not turn it off.

I have a cron job to pull down any updates and gives me an hourly nag pop up message anytime I have downloaded rpms to be installed.

drakguard was not installed using classic DVD.

Keywords: NEEDINFO => (none)
Summary: mgaapplet-config and drakguard are not executable messages => drakguard is not executable message
Source RPM: drakconf-13.14-1.mga6, mgaonline, drakguard => drakconf-13.14-1.mga6, drakguard

Comment 3 papoteur 2017-04-01 19:29:27 CEST
(In reply to Bit Twister from comment #0)
> Description of problem:
 
> "/usr/sbin/drakguard" is not executable [Parental Controls] at
> /usr/libexec/drakconf line 833.
> 
This is not considered as an error, just an information that this option has not been found. Thus, MCC will not display any entry for it.

CC: (none) => yves.brungard_mageia

Comment 4 Bit Twister 2017-04-01 20:01:09 CEST
(In reply to papoteur from comment #3)
> (In reply to Bit Twister from comment #0)
> > Description of problem:
>  
> > "/usr/sbin/drakguard" is not executable [Parental Controls] at
> > /usr/libexec/drakconf line 833.
> > 
> This is not considered as an error, just an information that this option has
> not been found. Thus, MCC will not display any entry for it.

I understand what you are saying. Summary Description needs to reflect what the user sees so they and other users can find a bug report dealing with their problem.

In my opinion the bug is drakconf should include/require any executable/application that is to be a selection by the user.
Comment 5 Marja Van Waes 2017-04-01 20:56:07 CEST
(In reply to Bit Twister from comment #2)

> drakguard was not installed using classic DVD.

Then how did you manage to click on it in MCC? Or wasn't that what you did after starting mcc in a terminal.?

(In reply to Bit Twister from comment #0)

> Steps to Reproduce:
> 1. click up a root terminal
> 2. mcc
>
Comment 6 Bit Twister 2017-04-01 22:07:30 CEST
(In reply to Marja van Waes from comment #5)
> (In reply to Bit Twister from comment #2)
> 
> > drakguard was not installed using classic DVD.
> 
> Then how did you manage to click on it in MCC?

I did not bother clicking on anything.

> Or wasn't that what you did after starting mcc in a terminal.?

Yes. :)

Steps to Reproduce will produce the error without doing anything.
Message shows up upon mcc launch at the terminal.


FYI: just now installed latest iso and drakguard was not installed.
TestBed Install is currently installing 113 packages.

$ cat *.txt
Sat Apr  1 00:27:27 CEST 2017
[bittwister@wb Mageia-6-rc-x86_64-DVD]$
Comment 7 Marja Van Waes 2017-04-01 23:00:52 CEST
Thanks for elaborating :-)

I haven't rsynced the Classical isos, yet, but do see that drakguard was indeed missing in the March 23 iso.

That's probably not intentional, because dansguardian is not missing.

Keywords: 6sta2 => 6RC
Assignee: mageiatools => isobuild
Summary: drakguard is not executable message => drakguard is missing from the Classical iso
Source RPM: drakconf-13.14-1.mga6, drakguard => drakguard-1.5-1.mga6

Comment 8 Bit Twister 2017-04-01 23:44:17 CEST
(In reply to Marja van Waes from comment #7)

> I haven't rsynced the Classical isos, yet, 

I was trying the pretest hoping to have less updates. It is no where near ready for QA. 130+ orphans wanting to take out gnome and kde.

Will start over with a network install.
Comment 9 Marja Van Waes 2017-04-02 10:41:56 CEST
Drakguard is _not_ missing from the Live isos, so I'm now sure it isn't intentionally removed from the classical isos. Increasing priority.

Priority: Normal => release_blocker
Summary: drakguard is missing from the Classical iso => drakguard is missing from the Classical isos

Comment 10 Anne Nicolas 2017-04-02 17:12:07 CEST
No idea why it(s not in isos. Just added in list for next rebuild

CC: (none) => ennael1

Comment 11 Rémi Verschelde 2017-04-03 09:57:10 CEST
(In reply to Bit Twister from comment #0)
> Description of problem:
> 
> "/usr/sbin/mgaapplet-config" is not executable [Updates Configuration] at
> /usr/libexec/drakconf line 833.
> 
> "/usr/sbin/drakguard" is not executable [Parental Controls] at
> /usr/libexec/drakconf line 833.

Those are not errors but just slightly-too-verbose info messages. Those applets are optional, and if they are not installed, MCC will not display them and instead display this info message in the terminal.

It should likely be reformulated to sound less like something is buggy, e.g. "'Parental Controls' is disabled as /usr/sbin/drakguard is not installed."
Comment 12 Mageia Robot 2017-04-03 10:53:19 CEST
commit 0f533bb6fce19527ad0ec900cfa6bc2f51fba4f3
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Mon Apr 3 10:43:12 2017 +0200

    better message for missing pkgs (mga#20614)
---
 Commit Link:
   http://gitweb.mageia.org/software/control-center/commit/?id=0f533bb6fce19527ad0ec900cfa6bc2f51fba4f3
Comment 13 Rémi Verschelde 2017-04-04 09:59:16 CEST
Should be fixed in next ISOs according to comment 10.

For the confusing info message, it should now be better after the enhancement in comment 12.

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