Bug 354531
| Summary: | script failure | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bill Nottingham <notting> |
| Component: | bluez-utils | Assignee: | David Woodhouse <dwmw2> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 8 | CC: | bnocera, jorton, rvokal, sundaram |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-10-30 22:34:08 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 235703 | ||
|
Description
Bill Nottingham
2007-10-26 17:36:11 UTC
Which bit is it failing? I don't see anything wrong with the scripts... Not sure. If I force it now, it works. I suspect it's the condrestart stuff (which should be in %postun and be "$1" -ge "1") Yeah, you can definitely get an exit status of 1 there. If the condrestart bits aren't hit, then the exit status when the scriptlet exits will be 1. So the condrestart probably needs to be moved to %postun, have notting's fix and also add an exit 0 to the end Fixed to follow the scriptlet guidelines better (and merged the changes with the devel/ branch) I don't get any scriptlet errors with the latest update. Can I close? +if [ "$1" -ge "1" ]; then + /sbin/service bluetooth condrestart >/dev/null 2>&1 + /sbin/service dund condrestart >/dev/null 2>&1 + /sbin/service pand condrestart >/dev/null 2>&1 fi this runs the condrestarts on install ($1 == 1) as well as upgrade, which doesn't seem necessary (though harmless). Yep, can't reproduce anymore. |