Bug 129501

Summary: LTC10415-service --list-all line 61 gets a seg fault
Product: Red Hat Enterprise Linux 3 Reporter: Bill Goodrich <billgo>
Component: opensslAssignee: Phil Knirsch <pknirsch>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 3.0CC: borgan, bugproxy, dbukoske, markwiz, rvokal, shillman
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-22 02:12:34 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 Bill Goodrich 2004-08-09 19:50:01 UTC
The following has be reported by IBM LTC:  
service --list-all  line 61 gets a seg fault
Hardware Environment:
z900
Software Environment:
rhel3 u3 public beta

Steps to Reproduce:
1. service --list-all
2.
3.

Actual Results:
atd (pid 802) is running...
auditd (pid 625) is running...
Configured Mount Points:
------------------------

Active Mount Points:
--------------------
crond (pid 770) is running...
cupsd (pid 688) is running...
dc_client is stopped
dc_server is stopped
/etc/init.d/halt.s390init: call me as 'halt' or 'reboot' please!
httpd is stopped
Firewall is stopped.
Table: filter
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain RH-Firewall-1-INPUT (0 references)
target     prot opt source               destination         

irqbalance is stopped
mdadm (pid 605) is running...
mdmpd is stopped
Server address not specified in /etc/sysconfig/netdump
Configured devices:
lo eth0
Currently active devices:
lo eth0
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
rpc.statd is stopped
nscd is stopped
ntpd is stopped
/sbin/service: line 61:  6277 Segmentation fault      env -i LANG=$LANG
PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" status
portmap (pid 594) is running...
Process accounting is disabled.
The random data source exists
rhnsd (pid 812) is running...
saslauthd is stopped
sendmail (pid 760 751) is running...
smartd is stopped
smbd (pid 3922 3918) is running...
nmbd (pid 3923) is running...
squid is stopped
squid: ERROR: No running copy
sshd (pid 3236 820 707) is running...
syslogd (pid 579) is running...
klogd (pid 583) is running...
tux is stopped
Xvnc is stopped
vsftpd (pid 6103 6101 730) is running...
winbindd is stopped
xfs (pid 793) is running...
xinetd (pid 721) is running...
ypbind is stopped


Expected Results:
Shouldn't seg fault

Additional Information:

Comment 1 Suzanne Hillman 2004-08-10 21:27:17 UTC
There _is_ no 'service --list-all', that I can find. There is a
--status-all, however.

And, /sbin/service is part of initscripts, not serviceconf. What
version of initscripts is on your system?

Finally, I was not able to reproduce this on a s390x machine here - is
this something you can regularly reproduce?

Comment 2 Suzanne Hillman 2004-08-10 21:28:26 UTC
(at least, according to "rpm -q --whatprovides /sbin/service", it's
part of initiscripts)

Comment 3 Bill Goodrich 2004-08-17 20:05:22 UTC
Sorry! I messed up on that one. It's --status-all. 

initscripts-7.31.15.EL-1

It always fails in the same place:
/sbin/service: line 61: 18389 Segmentation fault      env -i
LANG=$LANG PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" status

I checked my 31 bit image and it runs clean there. 

Comment 4 Bill Goodrich 2004-08-17 20:08:28 UTC
Sorry! I messed up on that one. It's --status-all. 

initscripts-7.31.15.EL-1

It always fails in the same place:
/sbin/service: line 61: 18389 Segmentation fault      env -i
LANG=$LANG PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" status

I checked my 31 bit image and it runs clean there. 

Comment 5 Bill Nottingham 2004-08-19 19:17:12 UTC
This is a particular service segfaulting.

If you run 'service <blah> status' by hand, which one segfaults?

Comment 6 Bill Goodrich 2004-09-20 18:29:39 UTC
The failure occurs between ntpd and portmap. The service in
/etc/init.d between those two services is pkcsslotd.

service --status pkcsslotd
--status: unrecognized service

This is a zSeries specific service that is used in support of the
zSeries Cryptographic hardware. 

nscd is stopped
ntpd is stopped
/sbin/service: line 61:  2241 Segmentation fault      env -i
LANG=$LANG PATH=$PATH TERM=$TERM "${SERVICEDIR}/${SERVICE}" status
portmap (pid 383) is running...
Process accounting is disabled.


Comment 7 Bill Goodrich 2004-09-20 18:31:43 UTC
Brock, does this happen on your U3 zSeries images?

Comment 8 Phil Knirsch 2004-10-18 16:08:47 UTC
Is this bug by any change related to that one here?

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=133839

If yes, then i can include the same fix for RHEL3 for the next update.

Read ya, Phil

Comment 9 Bill Goodrich 2004-10-18 21:17:16 UTC
Phil, I don't know if it is related or not. 
It's the same as: 
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=133091

Here's some comments from you from that one:
 Additional Comment #10 From Phil Knirsch (pknirsch)  on
2004-09-27 10:47 -------

Oh, thats right.

Including fix in next openCryptoki package.

Read ya, Phil

I guessing if we get the new openCryptoki we can wrap this one up. 
I hope that helps.

Comment 10 Phil Knirsch 2004-11-17 14:03:32 UTC
Just verified, it's really the initscript fix. Will open an errata for
RHEL3 for openCryptoki.

Read ya, Phil

Comment 11 Phil Knirsch 2004-12-09 13:30:51 UTC
Packages done, errata created. Fixed packages will be in RHEL3-U4

Read ya, Phil

Comment 12 John Flanagan 2004-12-22 02:12:35 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2004-648.html


Comment 14 IBM Bug Proxy 2005-01-05 14:14:29 UTC
----- Additional Comments From hannsj_uhl.com  2005-01-05 09:06 EST -------
fyi ... the last update from the Red Hat bugzilla 129501 was from 12/21
as follows:
"
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2004-648.html
"
Then the bugzilla was closed on the Red Hat side ...
... closing this bugzilla on the LTC side now.