aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev.c
diff options
context:
space:
mode:
authorFajar A. Nugraha <[email protected]>2011-07-07 14:25:53 +0700
committerBrian Behlendorf <[email protected]>2011-07-08 11:44:17 -0700
commit1fa3bb750d0418dc4a5a3abd2bd8cce9c205c9e1 (patch)
tree6901a8d04e5392daac85b72a6b7814314188e0b3 /module/zfs/vdev.c
parent3af2ce4d6883ab96814fb1d0bc01368bb06c5343 (diff)
Remove zfs service only on uninstall, not on upgrade
This caused problems on upgrade using RPM: * The new version will run chkconfig --add, which has no effect since the service was already added. * The old version will run chkconfig --del, which caused zfs service removal. Only run "chkconfig --del" on complete uninstall, by checking the value of "$1" to %preun, which will be "0" on uninstall, and "1" on upgrade. http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html Signed-off-by: Brian Behlendorf <[email protected]> Closes #314
Diffstat (limited to 'module/zfs/vdev.c')
0 files changed, 0 insertions, 0 deletions