Bug 751716 - Typo in %preun script
Summary: Typo in %preun script
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jes Sorensen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-07 10:04 UTC by Terje Røsten
Modified: 2011-12-14 23:38 UTC (History)
4 users (show)

Fixed In Version: mdadm-3.2.2-15.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-14 23:38:12 UTC
Type: ---


Attachments (Terms of Use)

Description Terje Røsten 2011-11-07 10:04:50 UTC
Description of problem:

From mdadm.spec:

 
%preun
if [ $1 = 0 ]; then
     /bin/systemctl --no-reload mdmonitor.service > /dev/null 2>&1 || :
     /bin/systemctl stop mdmonitor.service > /dev/null 2>&1 || :
fi

The --no-reload line is missing a disable command, see:

https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd

for more help.

Comment 1 Fedora Update System 2011-11-10 10:00:32 UTC
mdadm-3.2.2-14.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mdadm-3.2.2-14.fc16

Comment 2 Fedora Update System 2011-11-11 01:24:06 UTC
Package mdadm-3.2.2-14.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 mdadm-3.2.2-14.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-15731
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-11-23 10:47:33 UTC
mdadm-3.2.2-15.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mdadm-3.2.2-15.fc16

Comment 4 Fedora Update System 2011-12-14 23:38:12 UTC
mdadm-3.2.2-15.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.