Bug 567649

Summary: rhnpush creates apache:apache files/dirs in /var/satellite/redhat/1/
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: OtherAssignee: Michael Mráka <mmraka>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 540CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-30 14:53:10 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:    
Bug Blocks: 487677    

Description Jan Hutař 2010-02-23 15:01:23 UTC
Description of problem:
rhnpush creates apache:apache files/dirs in /var/satellite/redhat/1/, but spacewalk-repo-sync creates apache:root which is correct.


Version-Release number of selected component (if applicable):
spacewalk-backend-server-0.9.4-1.el5 (server)
rhnpush-0.4.5-2.fc12.noarch (client pushing packages)


How reproducible:
always


Steps to Reproduce:
1. push some packages
2. check their rights in /var/satellite/redhat/1/


Actual results:
apache:apache


Expected results:
apache:root


Additional info:
Discovered while checking bug 516767.

Comment 1 Jan Hutař 2010-07-30 09:45:49 UTC
Hello,
I still see this in current SW.nightly and this is error messages in /var/log/httpd/error_log when pushing some random package:

[Fri Jul 30 05:30:09 2010] [error] Changing owner for /var/satellite/redhat/1/485 failed
[Fri Jul 30 05:30:09 2010] [error] Changing owner for /var/satellite/redhat/1/485/rh-tests-Oracle-XE-util-oracle-user failed
[Fri Jul 30 05:30:09 2010] [error] Changing owner for /var/satellite/redhat/1/485/rh-tests-Oracle-XE-util-oracle-user/1.0-5 failed
[Fri Jul 30 05:30:09 2010] [error] Changing owner for /var/satellite/redhat/1/485/rh-tests-Oracle-XE-util-oracle-user/1.0-5/noarch failed
[Fri Jul 30 05:30:09 2010] [error] Changing owner for /var/satellite/redhat/1/485/rh-tests-Oracle-XE-util-oracle-user/1.0-5/noarch/4854abf88d75a39f81adfb238e7e0a2c failed

Comment 3 Clifford Perry 2010-08-30 14:53:10 UTC
This is not a regression. This is same behavior as seen in Sat 5.3 installations. 

[root@rlx-1-12 ~]# ls -l /var/satellite/redhat/
total 1104
drwxr-xr-x  23001 apache apache 757760 Oct 26  2009 1
drwxr-xr-x     59 apache apache   4096 Feb 25  2009 10
drwxr-xr-x      3 apache apache   4096 May 18  2009 15
drwxr-xr-x    122 apache apache   4096 Feb 23  2009 23
drwxr-xr-x     97 apache apache   4096 Sep 23  2008 3
drwxr-xr-x     21 apache apache   4096 Jul 26  2008 4
drwxr-xr-x      3 apache apache   4096 Apr  1  2009 5
drwxr-xr-x      5 apache apache   4096 Jan  8  2009 65
drwxr-xr-x      3 apache apache   4096 Mar 31  2008 7
drwxr-xr-x      5 apache apache   4096 Mar 27  2008 8
drwxr-xr-x      2 apache apache   4096 Jan 12  2009 85
drwxr-xr-x      3 apache apache   4096 Mar 26  2009 9
drwxr-xr-x   4865 apache root   266240 Aug 13 03:02 NULL
[root@rlx-1-12 ~]# rhn-schema-version 
5.0.0-26
[root@rlx-1-12 ~]#

[root@rlx-1-10 1]# ls -l /var/satellite/redhat/
total 116
drwxr-xr-x  669 apache apache 20480 Aug 13 13:41 1
drwxr-xr-x  510 apache apache 12288 Sep  8  2009 2
drwxr-xr-x 4098 apache root   69632 Sep 16  2009 NULL
[root@rlx-1-10 1]# rhn-schema-version 
5.3.0.23-1.el5sat
[root@rlx-1-10 1]#