Changeset 5d3b4e8 for debian


Ignore:
Timestamp:
2008-08-11T23:50:11Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d301872
Parents:
59c84c2
Message:

Fixed run-by-root problem (Debian bug 494656).

Location:
debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • debian/changelog

    r59c84c2 r5d3b4e8  
     1bitlbee (1.2.1-2) unstable; urgency=low
     2
     3  * Properly set the User= line to something sensible so BitlBee won't
     4    run as root anymore. 1.2-5 was a bad upload. :-( (Closes: #494656)
     5
     6 -- Wilmer van der Gaast <wilmer@gaast.net>  Tue, 12 Aug 2008 00:36:03 +0100
     7
    18bitlbee (1.2.1-1.1) unstable; urgency=low
    29
    310  * Non-Maintainer Upload
    411  * Use invoke-rc.d as per policy. (Closes: #492637) [Thanks to Matt
    5     Kraii]
     12    Kraai]
    613
    714 -- Don Armstrong <don@debian.org>  Wed, 06 Aug 2008 06:57:18 -0700
  • debian/postinst

    r59c84c2 r5d3b4e8  
    6464fi
    6565
     66if ! grep -qi '^User *= *' /etc/bitlbee/bitlbee.conf; then
     67        echo 'Updating configuration file, enabling User-setting...'
     68        if ! sed -i -e 's/# *User *= *.*/User = bitlbee/i' /etc/bitlbee/bitlbee.conf; then
     69                echo 'Failed! BitlBee may run as root now, please check your configs.'
     70        fi
     71fi
     72
    6673if [ -n "$2" -a "$BITLBEE_UPGRADE_DONT_RESTART" != "1" ]; then
    6774        if which invoke-rc.d >/dev/null 2>&1; then
Note: See TracChangeset for help on using the changeset viewer.