Bug 1074014
| Summary: | Double OK when starting the service | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jan Pazdziora (Red Hat) <jpazdziora> |
| Component: | sssd | Assignee: | Jakub Hrozek <jhrozek> |
| Status: | CLOSED ERRATA | QA Contact: | Kaushik Banerjee <kbanerje> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.6 | CC: | apeetham, dpal, grajaiya, jgalipea, jpazdziora, lslebodn, mkosek, pbrezina, preichl |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | sssd-1.11.5.1-1.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: Bash function daemon will call 'success' or 'fail'. It is useless to call them one more time. It may cause strange behaviour with some configurations of terminal.
Consequence: When running service sssd restart, the [OK] is printed three times
Fix: remove rudimentary call of 'success' and 'failure'
Result: [OK] is printed 2 times
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-14 04:48:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jan Pazdziora (Red Hat)
2014-03-07 16:26:25 UTC
Upstream ticket: https://fedorahosted.org/sssd/ticket/2280 I was not able to reproduce it
Steps done
1. Created new RHEL6.5 VM
2. Updated all packages
3. Installed package ipa-client
4. machine was enrolled to IPA
5. Run service sssd restart.
[root@vm-049 ~]# rpm -q sssd
sssd-1.9.2-129.el6.x86_64
[root@vm-049 ~]# rpm -qa | grep sysv
sysvinit-tools-2.87-5.dsf.el6.x86_64
[root@vm-049 ~]# rpm -qa | grep upstart
upstart-0.6.5-12.el6_4.1.x86_64
[root@vm-049 ~]#
[root@vm-049 ~]# service sssd status
sssd (pid 1962) is running...
[root@vm-049 ~]# service sssd restart
Stopping sssd: [ OK ]
Starting sssd: [ OK ]
[root@vm-049 ~]# service sssd stop
Stopping sssd: [ OK ]
[root@vm-049 ~]# service sssd restart
Stopping sssd: cat: /var/run/sssd.pid: No such file or directory
[FAILED]
Starting sssd: [ OK ]
Could you compare version of installed packages?
[root@mgmt3 ~]# rpm -q sssd sssd-1.9.2-129.el6.x86_64 [root@mgmt3 ~]# rpm -qa | grep sysv ntsysv-1.3.49.3-2.el6_4.1.x86_64 sysvinit-tools-2.87-5.dsf.el6.x86_64 [root@mgmt3 ~]# rpm -qa | grep upstart upstart-0.6.5-12.el6_4.1.x86_64 [root@mgmt3 ~]# service sssd status sssd (pid 8006) is running... [root@mgmt3 ~]# service sssd restart Stopping sssd: [ OK ] [ OK ] sssd: [ OK ] [root@mgmt3 ~]# service sssd stop Stopping sssd: [ OK ] [root@mgmt3 ~]# service sssd restart Stopping sssd: cat: /var/run/sssd.pid: No such file or directory [FAILED] [ OK ] sssd: [ OK ] [root@mgmt3 ~]# Fixed upstream:
master: 636caee5776fb062fde39bc761df142005dcb589
sssd-1-11: d4ebaeb010645cb974aff21f00b8132ae5f2d85d
Verified the bz on SSSD Version : sssd-1.11.6-1.el6.x86_64 Steps followed during verification - # service sssd restart Stopping sssd: [ OK ] Starting sssd: [ OK ] # rpm -q sssd sssd-1.11.6-1.el6.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1375.html |