Bug 221105

Summary: inconsistent directory permissions
Product: [Fedora] Fedora Reporter: Christian Krause <chkr>
Component: leafnodeAssignee: Kevin Fenzi <kevin>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.11.5-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-25 17:41:57 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:

Description Christian Krause 2007-01-01 21:22:33 UTC
Description of problem:
the permission of the /var/spool/news directory in the rpm package does not
match the permissions which are set by a running leafnode

Version-Release number of selected component (if applicable):
leafnode-1.11.5-2.fc6.i386.rpm

How reproducible:
100%

Steps to Reproduce:
1. install leafnode
2. run leafnode
3. rpm -V leafnode
  
Actual results:

root@moria:/var/spool/news# rpm -V leafnode
S.5....T c /etc/leafnode/config
S.5....T c /etc/xinetd.d/leafnode
.M......   /var/spool/news
.M......   /var/spool/news/failed.postings
.M......   /var/spool/news/interesting.groups
.M......   /var/spool/news/leaf.node
.M......   /var/spool/news/message.id
.M......   /var/spool/news/out.going

Expected results:
The permissions of the /var/spool/news directories should match the permissions
of the rpm package.

Comment 1 Kevin Fenzi 2007-01-02 00:17:58 UTC
Thanks for the bug report.

I will take a look and see what I can figure out. 


Comment 2 Kevin Fenzi 2007-01-23 05:44:46 UTC
ok. I just checked in and built a fix for this. 
Should be out in the next day or so... if you would like to test a non signed 
rpm, you can find it here:

http://buildsys.fedoraproject.org/logs/fedora-6-extras/26259-leafnode-1.11.5-
3.fc6/

If you could test the package there, or wait and test it when it's released as 
an update and let me know if you spot any problems I would appreciate it. 

Thanks again for the bug report. 

Comment 3 Kevin Fenzi 2007-01-24 02:38:05 UTC
The updated package was pushed out today. 
Could you test and confirm that the updated package fixes the permissions?


Comment 4 Christian Krause 2007-01-28 20:50:37 UTC
Hi Kevin,

Please apologize, that I haven't had the time to test the unsigned rpm.
I've checked the current leafnode package, and it seems most of the permission
problemss are fixed. Thank you very much for taking care of it!

There is only one small glitch left:

/var/spool/news/out.going is always set automatically to non-matching settings:

root@:~# chmod 2775 /var/spool/news/out.going
root@:~# rpm -V leafnode
S.5....T c /etc/leafnode/config
S.5....T c /etc/xinetd.d/leafnode

[since now everything is fine]

root@:~# su - news
news@:~$ /usr/sbin/fetchnews
news@:~$
root@:~# rpm -V leafnode
S.5....T c /etc/leafnode/config
S.5....T c /etc/xinetd.d/leafnode
.M......   /var/spool/news/out.going
root@:~# 

[but after using e.g. fetchnews or reading news, the permissions of out.going
are wrong again.

Best regards,
Christian

Comment 5 Kevin Fenzi 2007-01-28 21:52:59 UTC
Rats. I thought I got them all. 
I use leafnode extensively on my laptop, so it's easy for me to test. 
I must have missed the out.going dir somehow. ;( 

I'll see about fixing that soon... 

Thanks for your patience. 


Comment 6 Kevin Fenzi 2007-02-22 04:44:23 UTC
Sorry for the delay here. 

I just pushed out an update that hopefully fixes that last permission issue. 
You can test out a unsigned version of this update at: 
http://buildsys.fedoraproject.org/plague-results/fedora-6-extras/leafnode/

Or just wait a day or two and it should be pushed out...

please let me know if you spot any further issues with this update. 

Comment 7 Christian Krause 2007-02-25 17:03:14 UTC
Hi Kevin,

I've installed the new signed package and all problems are solved!

Thank you very much for the updated package!

So the bug can be closed as "fixed". I assume the appropriate status would be
CURRENTRELEASE, but I'm not sure. - so I let it up to you to close it. ;-)

Best regards,
Christian

Comment 8 Kevin Fenzi 2007-02-25 17:41:57 UTC
Thanks for the report and good feedback. :) 

If you spot any further problems feel free to file a new bug.