Bug 795746 - Subsys names and pidfiles don't correspond with SysV init script names
Subsys names and pidfiles don't correspond with SysV init script names
Status: ASSIGNED
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rusers (Show other bugs)
6.2
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Honza Horak
qe-baseos-daemons
: Patch
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-21 07:54 EST by Honza Horak
Modified: 2016-11-30 20:02 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
proposed patch (2.69 KB, patch)
2012-02-21 08:02 EST, Honza Horak
no flags Details | Diff

  None (edit)
Description Honza Horak 2012-02-21 07:54:53 EST
Description of problem:
This is a part of the original bug #634922. Renaming subsys files and pidfiles is not able to be fixed and tested easily as a fastrack, so it has been separated into this bug and can be fixed in some later release.

Version-Release number of selected component (if applicable):
rusers-server-0.17-59.el6.x86_64.rpm

How reproducible:
every-time

Steps to Reproduce:
1.run rpmlint -i rusers-server-0.17-59.el6.x86_64.rpm
  
Actual results:
rusers.spec: W: invalid-url Source2: rstatd.tar.gz
The value should be a valid, public HTTP, HTTPS, or FTP URL.

rusers.spec: W: invalid-url Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-rusers-0.17.tar.gz <urlopen error [Errno -2] Name or service not known>
The value should be a valid, public HTTP, HTTPS, or FTP URL.

rusers-server.x86_64: E: incoherent-subsys /etc/rc.d/init.d/rusersd rpc.rusersd
The filename of your lock file in /var/lock/subsys/ is incoherent with your
actual init script name. For example, if your script name is httpd, you have
to use 'httpd' as the filename in your subsys directory. It is also possible
that rpmlint gets this wrong, especially if the init script contains
nontrivial shell variables and/or assignments.  These cases usually manifest
themselves when rpmlint reports that the subsys name starts a with '$'; in
these cases a warning instead of an error is reported and you should check the
script manually.

rusers-server.x86_64: E: incoherent-subsys /etc/rc.d/init.d/rusersd rpc.rusersd
The filename of your lock file in /var/lock/subsys/ is incoherent with your
actual init script name. For example, if your script name is httpd, you have
to use 'httpd' as the filename in your subsys directory. It is also possible
that rpmlint gets this wrong, especially if the init script contains
nontrivial shell variables and/or assignments.  These cases usually manifest
themselves when rpmlint reports that the subsys name starts a with '$'; in
these cases a warning instead of an error is reported and you should check the
script manually.

rusers-server.x86_64: E: incoherent-subsys /etc/rc.d/init.d/rstatd rpc.rstatd
The filename of your lock file in /var/lock/subsys/ is incoherent with your
actual init script name. For example, if your script name is httpd, you have
to use 'httpd' as the filename in your subsys directory. It is also possible
that rpmlint gets this wrong, especially if the init script contains
nontrivial shell variables and/or assignments.  These cases usually manifest
themselves when rpmlint reports that the subsys name starts a with '$'; in
these cases a warning instead of an error is reported and you should check the
script manually.

rusers-server.x86_64: E: incoherent-subsys /etc/rc.d/init.d/rstatd rpc.rstatd
The filename of your lock file in /var/lock/subsys/ is incoherent with your
actual init script name. For example, if your script name is httpd, you have
to use 'httpd' as the filename in your subsys directory. It is also possible
that rpmlint gets this wrong, especially if the init script contains
nontrivial shell variables and/or assignments.  These cases usually manifest
themselves when rpmlint reports that the subsys name starts a with '$'; in
these cases a warning instead of an error is reported and you should check the
script manually.

3 packages and 1 specfiles checked; 4 errors, 2 warnings.

Expected results:
no errors

Additional info:
The warnings with invalid urls were expected, because packages don't have an active upstream and FTP on linux.org hasn't been available for some time.
Comment 1 Honza Horak 2012-02-21 08:02:17 EST
Created attachment 564667 [details]
proposed patch

This patch changes names of lockfiles/pidfiles to correspond with rusersd and rstatd SysV init script names and moves these files when the services are running during package update.
Comment 2 RHEL Product and Program Management 2012-09-07 01:12:20 EDT
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

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