tor dependency insanity.
Matthew Miller
mattdm at mattdm.org
Tue Mar 2 18:03:54 UTC 2010
On Tue, Mar 02, 2010 at 12:59:52PM -0500, Seth Vidal wrote:
> especially considering what it provides :(
> repoquery -ql tor-lsb
> /etc/rc.d/init.d/tor
> /var/run/tor
Check out the post/preun scripts:
%post lsb
/usr/lib/lsb/install_initd %_initrddir/tor || {
cat <<EOF >&2
oouch... redhat-lsb is still broken. See the report
https://bugzilla.redhat.com/show_bug.cgi?id=522053
for details.
EOF
/sbin/chkconfig --add tor
}
%preun lsb
test "$1" != 0 || %_initrddir/tor stop &>/dev/null || :
test "$1" != 0 || /usr/lib/lsb/remove_initd %_initrddir/tor
%postun lsb
test "$1" = 0 || env -i %_initrddir/tor try-restart &>/dev/null
But /usr/lib/lsb/install_initd and /usr/lib/lsb/remove_initd are symlinks
to chkconfig!!!
--
Matthew Miller <mattdm at mattdm.org>
Senior Systems Architect -- Instructional & Research Computing Services
Computing & Information Technology
Harvard School of Engineering & Applied Sciences
More information about the devel
mailing list