Bug 661248

Summary: Luci stores run-time data (pid file, cache and sessions data) into /var/lib/luci but /var/run/luci would be more appropriate wrt transiency of these files
Product: [Fedora] Fedora Reporter: Jan Pokorný [poki] <jpokorny>
Component: luciAssignee: Jan Pokorný [poki] <jpokorny>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 14CC: cfeist, fdinitto, rmccabe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-13 19:36:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 660446, 661260    
Bug Blocks:    

Description Jan Pokorný [poki] 2010-12-08 10:12:32 UTC
The solution for this is a simple change of paths at the right places
(mainly the spec file).

Note: this was fixed in the context of work on pkg-update upstream
      branch which means the fix ties closely to the major change
      brought from this branch into main-line upstream code
      in connection with bug #660446

Comment 1 Jan Pokorný [poki] 2010-12-08 16:20:07 UTC
Commit
http://git.fedorahosted.org/git/?p=luci.git;a=commit;h=794269d782fdf26efcb4077a9b06ae15b5549104
addresses this bug.

Comment 2 Jan Pokorný [poki] 2010-12-08 17:40:29 UTC
To test this, basically this sequence (made after installation) will serve
its purpose:

# service luci start
# service luci status
Server running in PID 876
(check that pid file was even created in /var/run/luci)
# ls -al /var/run/luci
total 20
drwxr-xr-x.  4 luci luci 4096 Dec  8 17:05 .
drwxr-xr-x. 14 root root 4096 Dec  6 14:58 ..
drwxr-x---.  2 luci luci 4096 Dec  8 17:05 cache
-rw-r--r--.  1 luci luci    3 Dec  8 17:05 luci.pid
drwxr-x---.  4 luci luci 4096 Dec  8 17:05 sessions

(mainly check the presence, permissions and ownership of these 3 items
and permissions and ownership of parent dir)