Bug 661248 - 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
Summary: Luci stores run-time data (pid file, cache and sessions data) into /var/lib/l...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: luci
Version: 14
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jan Pokorný [poki]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 660446 661260
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-08 10:12 UTC by Jan Pokorný [poki]
Modified: 2010-12-13 19:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-13 19:36:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 660446 0 medium CLOSED Luci package neither well maintainable wrt external files (cross-references, values integrity etc.) nor it forms compact... 2021-02-22 00:41:40 UTC

Internal Links: 660446

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)


Note You need to log in before you can comment on or make changes to this bug.