Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2353 - leafnode: missing dir /var/lock/news
Summary: leafnode: missing dir /var/lock/news
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Bruce A. Locke (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-02 13:33 UTC by Lars S. Jensen
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars S. Jensen 2002-05-02 13:33:48 UTC
leafnode 1.19.22 is missing it lock file directory /var/lock/news
with out it I gets:
> fetchnews
Cannot obtain lock file, aborting.

I did: 
mkdir /var/lock/news 
chown news:news /var/lock/news

And it works.
Comment 1 Markus Krainer 2002-05-05 09:36:20 UTC
Hi Lars!

I cannot reproduce this. This was a bug in leafnode-1.9.21 (see bug #1976)
and is fixed with 1.9.22. On my machine /var/lock/news gets created with
owner news:news and an empty .keep file in it.

Did you unmerge some packages after installing leafnode? Maybe another
news related package uses the same dir and removed it.

It would be nice, if you could do the following test:
- remove the /var/lock/news dir
- re-emerge leafnode
- tell me if the directory is still missing

 -Markus-

Comment 2 Lars S. Jensen 2002-05-05 11:08:15 UTC
Here is what I have done: 
rm -rf /var/lock/news
emerge leafnode
From the emerge log:
>>> Merging net-news/leafnode-1.9.22 to /
...
--- /var/
--- /var/lock/
>>> /var/lock/news/
>>> /var/lock/news/.keep
>>> Safely unmerging already-installed instance...
--- !mtime obj /var/lock/news/.keep
--- !empty dir /var/lock/news
--- !empty dir /var/lock
--- !empty dir /var

That is OK and fetchnews works:-) 
and emerge leafnode again is also OK.

Can it be caused by a sys-apps/baselayout update or portage bug?
It has a 'keepdir /var/log/new'!
Comment 3 Markus Krainer 2002-05-06 00:02:44 UTC
I just re-emerged baselayout to see what happens, but everything works
as expected (/var/lock/news still here).

So maybe there was a bug in the baselayout package or in an older 
version of portage, but everything seems to work now.

So if you and Bruce agree, I think we can close this bug.

 -Markus-
Comment 4 Lars S. Jensen 2002-05-06 12:16:00 UTC
It OK with me to close this bug.