Bug 1024922
Summary: | [brandbot] getting full crash report after completing the cert update on the guest | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Rehana <redakkan> |
Component: | initscripts | Assignee: | initscripts Maintenance Team <initscripts-maint-list> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | qe-baseos-daemons |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | jscotka, jsefler, lnykryn, rvokal, vpavlin |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | initscripts-9.49.7-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 13:22: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: | |||
Bug Depends On: | |||
Bug Blocks: | 863175, 909224 |
Description
Rehana
2013-10-30 15:12:57 UTC
Hi, I don't think this is initscripts' issue. As you can see from the crash report, /usr/sbin/brandbot exited with segmentation fault, so I would rather looked for the bug there. Do you have any leads that it was caused by initscripts? Discussed with Vaclav about the discussion we had with Bill Nottingham.
Missed to mention about the discussion in the bug report
<email thread>
John Sefler (jsefler) said:
> Need to share this with Bill Nottingham who I believe is developing brandbot.
File a bug against initscripts, please. (You can CC me.) Probably just crap
code on my end.
Bill
moving back to initscripts component
diff --git a/src/brandbot.c b/src/brandbot.c index c9b21ec..7418a33 100644 --- a/src/brandbot.c +++ b/src/brandbot.c @@ -27,7 +27,7 @@ int main(int argc, char **argv) { if (!osrelease) return 0; oldname = svGetValue(osrelease, "PRETTY_NAME"); - if (!strcmp(oldname, newname)) + if (oldname && !strcmp(oldname, newname)) return 0; svSetValue(osrelease, "PRETTY_NAME", newname); rc += svWriteFile(osrelease, 0644); Retested on, rpm -qa | grep initscripts-9.49 initscripts-9.49.7-1.el7.x86_64 [root@dhcp71-109 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.8.31-1 subscription-manager: 1.10.6-1.el7 python-rhsm: 1.10.6-1.el7 Observed that now there is NO crash report on the system during branded_name file update Hence moving this bug to verified This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |