RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1045321 - Return exit code 134 when rhsmcertd is started and status-checked.
Summary: Return exit code 134 when rhsmcertd is started and status-checked.
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2013-12-20 07:10 UTC by qianzhan
Modified: 2014-01-10 02:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-10 02:47:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description qianzhan 2013-12-20 07:10:13 UTC
Description of problem:
Return exit code 134 when rhsmcertd is started and status-checked.

Version-Release number of selected component (if applicable):
subscription-manager: 1.10.8-1.el7
python-rhsm: 1.10.8-1.el7


How reproducible:
always

Steps to Reproduce:
1. Stop the rhsmcertd service 
[root@dhcp-65-40 ~]# service rhsmcertd stop
Redirecting to /bin/systemctl stop  rhsmcertd.service

2. Check the exit code

[root@dhcp-65-40 ~]# service rhsmcertd status
Redirecting to /bin/systemctl status  rhsmcertd.service
rhsmcertd.service - Enable periodic update of entitlement certificates.
   Loaded: loaded (/usr/lib/systemd/system/rhsmcertd.service; enabled)
   Active: inactive (dead) since Fri 2013-12-20 02:04:30 EST; 1min 17s ago
  Process: 12348 ExecStart=/usr/bin/rhsmcertd (code=exited, status=0/SUCCESS)
 Main PID: 12349 (code=killed, signal=TERM)

Dec 20 02:02:38 dhcp-65-40.nay.redhat.com systemd[1]: Starting Enable periodi...
Dec 20 02:02:38 dhcp-65-40.nay.redhat.com systemd[1]: Started Enable periodic...
Dec 20 02:03:17 dhcp-65-40.nay.redhat.com systemd[1]: Started Enable periodic...
Dec 20 02:04:30 dhcp-65-40.nay.redhat.com systemd[1]: Stopping Enable periodi...
Dec 20 02:04:30 dhcp-65-40.nay.redhat.com systemd[1]: Stopped Enable periodic...
Dec 20 02:05:45 dhcp-65-40.nay.redhat.com systemd[1]: Stopped Enable periodic...
Hint: Some lines were ellipsized, use -l to show in full.
[root@dhcp-65-40 ~]# echo $?
3


3. Start the rhsmcertd service
[root@dhcp-65-40 ~]# service rhsmcertd start
Redirecting to /bin/systemctl start  rhsmcertd.service

4. Check the exit code
[root@dhcp-65-40 ~]# service rhsmcertd status
Redirecting to /bin/systemctl status  rhsmcertd.service
rhsmcertd.service - Enable periodic update of entitlement certificates.
   Loaded: loaded (/usr/lib/systemd/system/rhsmcertd.service; enabled)
   Active: active (running) since Fri 2013-12-20 02:06:26 EST; 12s ago
  Process: 13111 ExecStart=/usr/bin/rhsmcertd (code=exited, status=0/SUCCESS)
 Main PID: 13112 (rhsmcertd)
   CGroup: /system.slice/rhsmcertd.service
           └─13112 /usr/bin/rhsmcertd
Assertion 'n_pids > 0' failed at src/shared/cgroup-show.c:47, function show_pid_array(). Aborting.
Aborted (core dumped)

[root@dhcp-65-40 ~]# echo $?
134

Actual results:
As step 4.

Expected results:
The exit code should be 0 after rhsmcertd is started and status-checked.

Additional info:

Comment 2 qianzhan 2014-01-09 08:04:49 UTC
Hi,

I verified this bug with new build (RHEL-7.0-20140108.0), and it does not exist any more. So I believe the bug has been fixed in the new build. 

Is there anyone can set it as ON_QA status so that I can move it from ON_QA to VERIFIED?



The following is my verification:

1. Version-Release number of selected component:

[root@dhcp-65-192 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 1.4.3.23-1.el6sam_splice-Headpin
subscription-manager: 1.10.10-1.el7
python-rhsm: 1.10.10-1.el7


2. Start the rhsmcertd service:
 
[root@dhcp-65-192 ~]# service rhsmcertd start
Redirecting to /bin/systemctl start  rhsmcertd.service

3. Check the exit code

[root@dhcp-65-192 ~]# service rhsmcertd status
Redirecting to /bin/systemctl status  rhsmcertd.service
rhsmcertd.service - Enable periodic update of entitlement certificates.
   Loaded: loaded (/usr/lib/systemd/system/rhsmcertd.service; enabled)
   Active: active (running) since Thu 2014-01-09 00:45:48 CST; 30min ago
  Process: 9384 ExecStart=/usr/bin/rhsmcertd (code=exited, status=0/SUCCESS)
 Main PID: 9385 (rhsmcertd)
   CGroup: /system.slice/rhsmcertd.service
           └─9385 /usr/bin/rhsmcertd

Jan 09 00:45:48 dhcp-65-192.nay.redhat.com systemd[1]: Starting Enable period...
Jan 09 00:45:48 dhcp-65-192.nay.redhat.com systemd[1]: Started Enable periodi...
Jan 09 01:15:48 dhcp-65-192.nay.redhat.com systemd[1]: Started Enable periodi...
Hint: Some lines were ellipsized, use -l to show in full.


[root@dhcp-65-192 ~]# echo $?
0


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