Bug 175352
| Summary: | Preinstall scriptlet does not check if avahi is currently installed | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Boyan Anastasov <btanastasov> |
| Component: | avahi | Assignee: | Martin Stransky <stransky> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-08-12 17:10:06 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: | |||
This bug is now fixed with avahi-0.6.1-2 , in tomorrow's rawhide - only if the avahi-daemon service is not known to chkconfig at all will the chkconfig --add be done . Unfortunately, we have to enable the avahi service by default, because packages like gnome-meeting, gnome-vfs, openoffice, etc. depend on the avahi service running - hopefully in the future we'll have a way of letting services dynamically enable services on which they depend. I think this can be closed now. |
From Bugzilla Helper: User-Agent: Opera/9.00 (X11; Linux i686; U; en) Description of problem: After every yum upgrade of avahi, avahi-daemon is set to start on boot even if I previously disabled it with: chkconfig avahi-daemon off Preinstall script does not check if avahi is already installed and resets my settings: bash# rpm -q --scripts avahi preinstall scriptlet (using /bin/sh): # Add the "avahi" user /usr/sbin/useradd -c 'Avahi daemon' -u 70 \ -s /sbin/nologin -r -d '/' avahi 2> /dev/null || : postinstall scriptlet (using /bin/sh): /sbin/ldconfig if [ "$1" -eq 1 ]; then /sbin/chkconfig --add avahi-daemon >/dev/null 2>&1 .......... Version-Release number of selected component (if applicable): avahi-0.6.1-1 How reproducible: Always Steps to Reproduce: 1. Upgrade avahi with yum or rpm 2. 3. Actual Results: bash# chkconfig --list avahi-daemon avahi-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off Expected Results: Like before upgrade it should be: bash# chkconfig --list avahi-daemon avahi-daemon 0:off 1:off 2:off 3:off 4:off 5:off 6:off Additional info: