Bug 6400

Summary: Parental control tool does not take into account timezone
Product: Mageia Reporter: Daniel Le Berre <le.berred>
Component: RPM PackagesAssignee: Derek Jennings <derekjenn>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: derekjenn, jani.valimaa
Version: 2Keywords: Junior_job
Target Milestone: ---   
Hardware: i586   
OS: Linux   
URL: http://svnweb.mageia.org/soft/drakguard/trunk/bin/drakguard?view=markup
Whiteboard:
Source RPM: drakguard CVE:
Status comment:
Bug Depends on: 9195    
Bug Blocks:    

Description Daniel Le Berre 2012-06-10 20:37:12 CEST
Description of problem:

When restricting the access to the internet to a specific time slot in the parental control, the tool does not consider the timezone of the computer (e.g. Paris GMT+2) but UTC.

As such, if I allow internet browsing from 3:30pm to 7:pm in Paris timezone, the internet access will effectively be activated at 5:30pm until 9pm.

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

How reproducible:
Always

Steps to Reproduce:
1. Set a timezone different from UTC
2. Activate the parental control tool with restriction based on time.
3. Set values close to the actual time.
4. check that internet access is disabled.
Manuel Hiebel 2012-06-25 03:51:23 CEST

Keywords: (none) => Junior_job
URL: (none) => http://svnweb.mageia.org/soft/drakguard/trunk/bin/drakguard?view=markup
Source RPM: (none) => drakguard

Comment 1 Derek Jennings 2013-06-25 14:53:17 CEST
iptables now assumes UTC when setting time so the option --kerneltz has to be used within drakguard to declare local time.

CC: (none) => derekjenn, jani.valimaa
QA Contact: (none) => derekjenn

Derek Jennings 2013-06-30 11:58:23 CEST

Assignee: bugsquad => derekjenn
QA Contact: derekjenn => (none)

Comment 2 Derek Jennings 2013-06-30 21:50:15 CEST
Fixed in Cauldron
drakguard-0.7.10-1.mga4
Derek Jennings 2013-07-01 15:57:01 CEST

Depends on: (none) => 9195

Comment 3 Derek Jennings 2013-08-19 16:01:08 CEST
Fixed See Bug 9195

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