hard reference to /etc/timkpr left

Bug #314061 reported by HansHook
2
Affects Status Importance Assigned to Milestone
timekpr
Fix Released
Low
Even Nedberg

Bug Description

Hi
First: Thanks for a great initiative and a great effort!!!

I am in the process of adopting timkpr to my specific need.
(Might be a contributer one of this days ...)
My kids may login on several computers and as a first quickie i have placed configuration data on an nfs share.

Thats when I noticed the line (26) in timekpr-clinet:
       self.conffile = '/etc/timekpr/' + self.usernam

i.e. replacing
TIMEKPRDIR = /etc/timekpr
with for exmple
TIMEKPRDIR = /home/settings/timekpr/etc
in
/etc/timekpr.conf
will fail ...
(In fact each user will be granted more and more time each time he/she logs in ....)

My quick fix was to make a soft link /etc/timekpr -> /home/settings/timekpr/etc
and that worked fine.

I now have one global timecounter for each user in my network.

I am using version = 0.2.2

Regards

Hans Höök

Revision history for this message
Even Nedberg (nedberg) wrote :

Ooops! Now why did I do that? Will fix it right away!

Changed in timekpr:
assignee: nobody → nedberg
importance: Undecided → Low
status: New → In Progress
Even Nedberg (nedberg)
Changed in timekpr:
status: In Progress → Fix Committed
Even Nedberg (nedberg)
Changed in timekpr:
status: Fix Committed → Fix Released
Changed in timekpr:
milestone: none → 0.3.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.