Bug 753216
Summary: | tigervnc-server-1.1.0-1.fc16 writes errors during uninstall | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Tkac <atkac> |
Component: | tigervnc | Assignee: | Adam Tkac <atkac> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | atkac, fedora, jik, michal, orion, ovasik |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | tigervnc-1.1.0-3.fc16 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 744881 | Environment: | |
Last Closed: | 2011-12-02 21:26:44 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: | 744881 | ||
Bug Blocks: |
Description
Adam Tkac
2011-11-11 16:06:39 UTC
preuninstall scriptlet (using /bin/sh): if [ "$1" -eq 0 ]; then /bin/systemctl --no-reload vncserver.service > /dev/null 2>&1 /bin/systemctl stop vncserver.service > /dev/null 2>&1 fi postuninstall scriptlet (using /bin/sh): if [ "$1" -ge "1" ]; then /bin/systemctl try-restart vncserver.service > /dev/null 2>&1 fi You at least need to have "|| :" at the end. But does this even apply? One takes the sample file and copies to vncserver@:1.service for example. And even if this were to restart all of the vncservers, would one want this done? Seems like it could unexpectedly kill sessions. (In reply to comment #1) > preuninstall scriptlet (using /bin/sh): > if [ "$1" -eq 0 ]; then > /bin/systemctl --no-reload vncserver.service > /dev/null 2>&1 > /bin/systemctl stop vncserver.service > /dev/null 2>&1 > fi > postuninstall scriptlet (using /bin/sh): > if [ "$1" -ge "1" ]; then > /bin/systemctl try-restart vncserver.service > /dev/null 2>&1 > fi > > You at least need to have "|| :" at the end. But does this even apply? One > takes the sample file and copies to vncserver@:1.service for example. And even > if this were to restart all of the vncservers, would one want this done? Seems > like it could unexpectedly kill sessions. You are right, those statements are useless when user creates separate vncserver@:<display>.service service files. tigervnc-1.1.0-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/tigervnc-1.1.0-3.fc16 Package tigervnc-1.1.0-3.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing tigervnc-1.1.0-3.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16244/tigervnc-1.1.0-3.fc16 then log in and leave karma (feedback). tigervnc-1.1.0-3.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 741727 has been marked as a duplicate of this bug. *** |