Re: tor dependency insanity.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Senior Systems Architect -- Instructional & Research Computing Services
Computing & Information Technology 
Harvard School of Engineering & Applied Sciences
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux