Package: torrus-common
Version: 2.03-1
Severity: important
Tags: patch
devdiscover has the username 'torrus' hardcoded for its --mkdir option but
Debian uses
'Debian-torrus' instead.
The attached patch simply changes the username.
A better solution would look up the right username at each devdiscover
invocation.
Cheers,
Christopher
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable'), (300, 'proposed-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages torrus-common depends on:
ii adduser 3.113+nmu3
ii db-util 5.1.6
ii dpkg 1.16.8
ii libapache-session-perl 1.89-1
ii libberkeleydb-perl 0.51-1
ii libcgi-fast-perl 5.14.2-12
ii libjson-perl 2.53-1
ii libnet-snmp-perl 6.0.1-2
ii libproc-daemon-perl 0.14-1
ii librrds-perl 1.4.7-2
ii libtemplate-perl 2.24-1
ii libtimedate-perl 1.2000-1
ii liburi-perl 1.60-1
ii libxml-libxml-perl 2.0001+dfsg-1
ii lsb-base 4.1+Debian7
ii netbase 5.0
ii perl 5.14.2-12
ii rrdtool 1.4.7-2
torrus-common recommends no packages.
Versions of packages torrus-common suggests:
pn libapache2-mod-fcgid | libapache2-mod-fastcgi | lighttpd <none>
pn libcrypt-des-perl <none>
ii libdigest-hmac-perl 1.03+dfsg-1
pn libio-socket-inet6-perl <none>
-- no debconf information
--- /usr/share/torrus/bin/devdiscover 2012-05-16 23:00:22.000000000 +0200
+++ /tmp/devdiscover 2012-08-28 16:02:23.024685205 +0200
@@ -585,8 +585,8 @@
$confBuildSemaphore->down();
}
- my ($login,$pass,$uid,$gid) = getpwnam('torrus')
- or die('Cannot get user details for torrus');
+ my ($login,$pass,$uid,$gid) = getpwnam('Debian-torrus')
+ or die('Cannot get user details for Debian-torrus');
foreach my $dir ( $dd->listDataDirs() )
{