Bug#861713: netdata: `service netdata restart` fails due to missing pidfile

2017-05-26 Thread Daniel Piddock
Control: tags -1 + patch

I also hit this issue.

netdata doesn't store its pid to a file by default. Can be turned on with
the -P flag. Patch for netdata.init attached.

Daniel


init.patch
Description: Binary data


Bug#788014: does not start at bootup

2015-12-14 Thread Daniel Piddock
I've also hit this problem of the race condition with ntpdate.

If ntpd dies for whatever reason (port in use, somebody stomping about
with kill to prove the point) systemd thinks that this is fine. System
configuration tools like Puppet won't try to start ntpd again as
"systemctl status ntp" returns ok.

The sysv shim just isn't good enough.

I ended up rolling my own local ntp package with a systemd unit file.

Patch against ntp_4.2.6.p5+dfsg-7+deb8u1

Dan
diff -ruN a/debian/control b/debian/control
--- a/debian/control	2015-10-23 18:04:42.0 +0100
+++ b/debian/control	2015-11-02 10:46:26.0 +
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian NTP Team 
 Uploaders: Bdale Garbee , Peter Eisentraut , Kurt Roeckx 
-Build-Depends: dh-autoreconf, debhelper (>= 6), libedit-dev, libcap2-dev [linux-any], libssl-dev (>= 1.0.0e-1), autogen (>= 1:5.11), bison
+Build-Depends: dh-autoreconf, debhelper (>= 6), libedit-dev, libcap2-dev [linux-any], libssl-dev (>= 1.0.0e-1), autogen (>= 1:5.11), bison, dh-systemd
 Build-Conflicts: libavahi-compat-libdnssd-dev, libwww-dev, libwww-ssl-dev
 Standards-Version: 3.9.3
 Homepage: http://support.ntp.org/
diff -ruN a/debian/ntp.service b/debian/ntp.service
--- a/debian/ntp.service	1970-01-01 01:00:00.0 +0100
+++ b/debian/ntp.service	2015-11-02 10:46:36.0 +
@@ -0,0 +1,15 @@
+[Unit]
+Description=Network Time Service
+After=network-online.target syslog.socket
+Before=time-sync.target
+Wants=time-sync.target network-online.target
+Conflicts=systemd-timesyncd.service
+
+[Service]
+Type=forking
+EnvironmentFile=-/etc/default/ntp
+ExecStart=/usr/sbin/ntpd -u ntp:ntp $NTPD_OPTS
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target
diff -ruN a/debian/rules b/debian/rules
--- a/debian/rules	2014-07-16 17:49:08.0 +0100
+++ b/debian/rules	2015-11-02 10:47:52.0 +
@@ -95,8 +95,10 @@
 	dh_installdocs -a
 	dh_installexamples -a
 	dh_installman -a
+	dh_systemd_enable
 	dh_installinit -pntp --update-rcd-params="start 23 2 3 4 5 ." --error-handler=installinit_error
 	dh_installinit -pntpdate
+	dh_systemd_start
 	dh_installcron -a
 	dh_installlogcheck -a
 	dh_installchangelogs -a


Bug#781170: bsd-mailx: Error message references invalid option -t

2015-03-25 Thread Daniel Piddock
Package: bsd-mailx
Version: 8.1.2-0.20141216cvs-1
Severity: minor

Dear Maintainer,

Running the following command produces the given error:
$ echo test | mail -b t...@example.com -s test
mail: You must specify direct recipients with -t when -s, -c, or -b is used

bsd-mailx does not have a -t option.

I believe the suggestion to use -t was introduced with the fix for bug
#327809, which was to fix a previously confusing but correct error
message.

Maybe the wording You must specify to-addr recipients when using -s,
-c, or -b would be better?

Dan


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#764689: subversion: Include /usr/bin/fsfs-*

2014-10-10 Thread Daniel Piddock
Package: subversion
Version: 1.8.10-2
Severity: wishlist

Dear Maintainer,

Please include the new 1.8 /usr/bin/fsfs-* programs. I'm primarily
interested in fsfs-stats as it's referenced from
http://subversion.apache.org/docs/release-notes/1.8.html#fsfs-stats

This could be achieved by adding to debian/subversion.install:
debian/tmp/usr/bin/fsfs* usr/bin

Thank you,
Dan

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages subversion depends on:
ii  libapr11.5.1-3
ii  libaprutil11.5.3-3
ii  libc6  2.19-11
ii  libldap-2.4-2  2.4.39-1.1+b1
ii  libsasl2-2 2.1.26.dfsg1-11
ii  libsvn11.8.10-2

subversion recommends no packages.

Versions of packages subversion suggests:
pn  db5.3-utilnone
pn  patch none
ii  subversion-tools  1.8.10-2

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#685797: [Pkg-nagios-devel] Bug#685797: nagios-plugins-contrib: check_raid - cli64 and ModelName containing spaces

2013-06-24 Thread Daniel Piddock
On 22/06/13 16:45, Bernd Zeimetz wrote:
 Hi,

 One of our servers with an areca card has drives that have modelnames
 containing spaces and hyphens. This causes the drive section of the
 results from check_raid to be blank. Attached is a patch to update the
 regex and handle our drives.
 thanks for the bug report and sorry for the late reply. Please check if
 check_raid from the version in unstable works for you as your patch doesn't
 apply anymore. It would be great if you could update the patch if necessary -
 then I'll also push it to upstream.

It looks like the current sid version (7.20130614) has fixed this issue.
Western Digital drives that include the annoying model name are listed
as an example in the comments. Unfortunately our server containing the
Areca card died.

Thanks,

Dan


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#705625: libpam-sss: Error when logging out a local user

2013-04-17 Thread Daniel Piddock
Package: libpam-sss
Version: 1.8.4-2
Severity: important
Tags: upstream

Dear Maintainer,

Configuring pam to use the sss module generates an error when logging
out a local user:

# su - localaccount
localaccount@hostname:~$ logout
su: User not known to the underlying authentication module

Network users do not produce an error on logout.

Ubuntu users came across the same problem:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1012900

This bug has been fixed somewhere in the 1.8.5 or 1.8.6 release
upstream. I've been able to confirm this with a locally built 1.8.6.

Thank you,
Dan

-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpam-sss depends on:
ii  libc6   2.13-38
ii  libpam-runtime  1.1.3-7.1
ii  libpam0g1.1.3-7.1
ii  libselinux1 2.1.9-5

Versions of packages libpam-sss recommends:
ii  sssd  1.8.4-2

libpam-sss suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#685797: nagios-plugins-contrib: check_raid - cli64 and ModelName containing spaces

2012-08-24 Thread Daniel Piddock
Package: nagios-plugins-contrib
Version: 4.20120702
Severity: normal
Tags: patch

Hi,

One of our servers with an areca card has drives that have modelnames
containing spaces and hyphens. This causes the drive section of the
results from check_raid to be blank. Attached is a patch to update the
regex and handle our drives.

Regards,
Dan

diff -ru a/check_raid/check_raid b/check_raid/check_raid
--- a/check_raid/check_raid 2012-08-02 22:16:58.0 +0100
+++ b/check_raid/check_raid 2012-08-24 12:16:59.0 +0100
@@ -1331,7 +1331,7 @@
# plugin to miss a failed drive.
next if (/^\s+\d+\s+\d+\s+SLOT\s2[5-9]/);
 
-   next unless (my($drive1, $stat1) = 
/^\s+\d+\s+\d+\s+SLOT\s(\d+)\s.+\s+\d+\.\d+\w+\s\s(.+)/) || (my($drive2, 
$stat2) = /^\s+\d+\s+(\d+)\s+\w+\s+\d+.\d\w+\s+(.+)/);
+   next unless (my($drive1, $stat1) = 
/^\s+\d+\s+\d+\s+SLOT\s(\d+)\s.+\s+\d+\.\d+\w+\s\s(.+)/) || (my($drive2, 
$stat2) = /^\s+\d+\s+(\d+)\s+[\w-\s]+?\s+\d+.\d\w+\s+(.+)/);
 
if (defined($drive1)) {
push(@drivestatus, $drive1:$stat1);



Bug#593461: Bug #593461

2011-06-14 Thread Daniel Piddock
The bug discussed here is caused by the Debian patch issue762963.diff.
Removing this patch makes the issue disappear.

-- 
Daniel Piddock, Systems Administrator, CoreFiling Limited
http://www.corefiling.com




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#607178: ioquake3-server: Seg fault caused by code/botlib/be_aas_route.c:1860

2011-04-04 Thread Daniel Piddock
On 11/03/11 00:04, Simon McVittie wrote:
 I haven't been able to reproduce this myself, but I reported it upstream and
 Thilo Schulz suggested a patch that might fix it. Could you try ioquake3 from
 experimental, version 1.36+svn1921-1?

 Regards,
 S

I've been running the 1.36+svn1921-1 server for almost a month. It has
recently crashed on dm-oa1 again at the same point in the code. This
isn't something I can easily reproduce and it has only happened on
dm-oa1 so far.

Attaching log output for the last map, including backtrace.

Dan

-- 
Daniel Piddock, Systems Administrator, CoreFiling Limited
http://www.corefiling.com



debug.log
Description: Binary data


Bug#617414: libapache2-svn: REPORT gives 500 on authz restricted paths if not authenticated (kerberos)

2011-03-08 Thread Daniel Piddock
Package: libapache2-svn
Version: 1.6.12dfsg-5
Severity: normal

We use svn DAV with kerberos authentication which worked fine. However
recently we created a /secure folder with restricted access. Any attempt to
access the folder using kerberos authentication causes svn to fail with the
error:
svn: Not authorized to open root of edit operation

Looking in the Apache logs, this is caused by the REPORT command
returning 500.

Using basic authorization the commands complete successfully.

The Authz file contains:

[groups]
admins = dgp

[/]
* = r
@admins = rw

[/secure]
* =
@admins = rw


Apache config DAV section:
Location /svn
  DAV svn
  SVNPath /srv/svn/root
  SVNPathAuthz On
  AuthzSVNAccessFile /srv/svn/etc/svnpasswd
  Satisfy Any
  AuthType Kerberos
  AuthName Subversion (or use kerberos)
  Krb5Keytab /etc/apache2/apache2.keytab
  KrbLocalUserMapping on
  KrbDelegateBasic on
  Require valid-user
  LimitExcept GET PROPFIND OPTIONS REPORT
Require valid-user
  /LimitExcept
/Location

Apache log for svn up using kerberos (libapache2-mod-auth-kerb):
127.0.1.1 - - [08/Mar/2011:17:39:09 +] OPTIONS /svn/secure HTTP/1.1 401 
5964
127.0.1.1 - dgp [08/Mar/2011:17:39:09 +] OPTIONS /svn/secure HTTP/1.1 200 
1236
127.0.1.1 - - [08/Mar/2011:17:39:09 +] PROPFIND /svn/secure HTTP/1.1 401 
708
127.0.1.1 - dgp [08/Mar/2011:17:39:09 +] PROPFIND /svn/secure HTTP/1.1 
207 916
127.0.1.1 - - [08/Mar/2011:17:39:09 +] PROPFIND /svn/secure HTTP/1.1 401 
708
127.0.1.1 - dgp [08/Mar/2011:17:39:09 +] PROPFIND /svn/secure HTTP/1.1 
207 916
127.0.1.1 - - [08/Mar/2011:17:39:09 +] PROPFIND /svn/!svn/vcc/default 
HTTP/1.1 207 580
127.0.1.1 - - [08/Mar/2011:17:39:09 +] PROPFIND /svn/!svn/bln/6 HTTP/1.1 
207 580
127.0.1.1 - - [08/Mar/2011:17:39:09 +] REPORT /svn/!svn/vcc/default 
HTTP/1.1 500 532

Corresponding entries when falling back to basic auth:
127.0.1.1 - - [08/Mar/2011:18:22:27 +] OPTIONS /svn/secure HTTP/1.1 401 
820
127.0.1.1 - dgp [08/Mar/2011:18:22:30 +] OPTIONS /svn/secure HTTP/1.1 200 
996
127.0.1.1 - dgp [08/Mar/2011:18:22:30 +] PROPFIND /svn/secure HTTP/1.1 
207 676
127.0.1.1 - dgp [08/Mar/2011:18:22:30 +] PROPFIND /svn/!svn/vcc/default 
HTTP/1.1 207 580
127.0.1.1 - dgp [08/Mar/2011:18:22:30 +] PROPFIND /svn/!svn/bln/6 
HTTP/1.1 207 580
127.0.1.1 - dgp [08/Mar/2011:18:22:32 +] PROPFIND /svn/secure HTTP/1.1 
207 676
127.0.1.1 - dgp [08/Mar/2011:18:22:32 +] PROPFIND /svn/!svn/vcc/default 
HTTP/1.1 207 580
127.0.1.1 - dgp [08/Mar/2011:18:22:32 +] PROPFIND /svn/!svn/bln/6 
HTTP/1.1 207 580
127.0.1.1 - dgp [08/Mar/2011:18:22:32 +] PROPFIND /svn/secure HTTP/1.1 
207 676
127.0.1.1 - dgp [08/Mar/2011:18:22:32 +] PROPFIND /svn/!svn/vcc/default 
HTTP/1.1 207 580
127.0.1.1 - dgp [08/Mar/2011:18:22:32 +] PROPFIND /svn/!svn/bc/6/secure 
HTTP/1.1 207 676
127.0.1.1 - - [08/Mar/2011:18:22:32 +] OPTIONS /svn/secure HTTP/1.1 401 
6028
127.0.1.1 - dgp [08/Mar/2011:18:22:32 +] OPTIONS /svn/secure HTTP/1.1 200 
996
127.0.1.1 - dgp [08/Mar/2011:18:22:32 +] PROPFIND /svn/secure HTTP/1.1 
207 676
127.0.1.1 - dgp [08/Mar/2011:18:22:33 +] PROPFIND /svn/secure HTTP/1.1 
207 676
127.0.1.1 - dgp [08/Mar/2011:18:22:33 +] PROPFIND /svn/!svn/vcc/default 
HTTP/1.1 207 580
127.0.1.1 - dgp [08/Mar/2011:18:22:33 +] PROPFIND /svn/!svn/bln/6 
HTTP/1.1 207 580
127.0.1.1 - dgp [08/Mar/2011:18:22:33 +] PROPFIND /svn/secure HTTP/1.1 
207 676
127.0.1.1 - dgp [08/Mar/2011:18:22:33 +] PROPFIND /svn/!svn/vcc/default 
HTTP/1.1 207 580
127.0.1.1 - dgp [08/Mar/2011:18:22:33 +] PROPFIND /svn/!svn/bln/6 
HTTP/1.1 207 580
127.0.1.1 - dgp [08/Mar/2011:18:22:33 +] REPORT /svn/!svn/vcc/default 
HTTP/1.1 200 1042

REPORT fails to ask for authentication if none has been provided and instead
throws an error.

Removing anon access (Satify All and removing the LimitExcept clause)
allows kerberos auth to work correctly.

libapache2-mod-auth-kerb  5.4-1

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libapache2-svn depends on:
ii  apache2.2-common2.2.16-6 Apache HTTP Server common files
ii  libc6   2.11.2-10Embedded GNU C Library: Shared lib
ii  libsvn1 1.6.12dfsg-5 Shared libraries used by Subversio

libapache2-svn recommends no packages.

Versions of packages libapache2-svn suggests:
ii  db4.8-util4.8.30-2   Berkeley v4.8 Database Utilities

-- no debconf information

-- 
Daniel Piddock, Systems Administrator, CoreFiling Limited
http://www.corefiling.com



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#611914: nagios-plugins-basic: check_smtp blindly sends HELO no matter how the server responds to connection

2011-02-03 Thread Daniel Piddock
Package: nagios-plugins-basic
Version: 1.4.15-3~bpo50+2
Severity: normal
Tags: patch

The check_smtp program will blindly send a EHLO/HELO line after getting
a connection message without paying attention to the response code. If
the response code indicated a non-OK state, check_smtp should handle it
cleanly instead of falling over later with recv() failed and quitting
with WARNING code.

This is an edge use case. I want to monitor a smtp server that returns
451 local error after connecting.

Patch attached checks that the response does not contain 220 before
comparing against any -e argument. If -e does not match, print a message
and set return code to WARNING. Either way, return and don't send more
data to the server.

-- System Information:
Debian Release: 5.0.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nagios-plugins-basic depends on:
ii  iputils-ping 3:20071127-1+lenny1 Tools to test the
reachability of
ii  libc62.7-18lenny7GNU C Library: Shared libraries
ii  libssl0.9.8  0.9.8g-15+lenny11   SSL shared libraries
ii  procps   1:3.2.7-11  /proc file system utilities
ii  ucf  3.0016  Update Configuration File:
preserv

nagios-plugins-basic recommends no packages.

Versions of packages nagios-plugins-basic suggests:
ii  nagios3   3.0.6-4~lenny2 A host/service/network
monitoring

-- no debconf information

-- 
Daniel Piddock, Systems Administrator, CoreFiling Limited
http://www.corefiling.com
diff -ru nagios-plugins-1.4.15/plugins/check_smtp.c mine/plugins/check_smtp.c
--- nagios-plugins-1.4.15/plugins/check_smtp.c  2010-07-27 21:47:16.0 
+0100
+++ mine/plugins/check_smtp.c   2011-02-03 16:17:29.0 +
@@ -190,14 +190,19 @@
printf (%s, buffer);
/* strip the buffer of carriage returns */
strip (buffer);
-   /* make sure we find the response we are looking for */
-   if (!strstr (buffer, server_expect)) {
-   if (server_port == SMTP_PORT)
-   printf (_(Invalid SMTP response 
received from host: %s\n), buffer);
-   else
-   printf (_(Invalid SMTP response 
received from host on port %d: %s\n),
-   
server_port, buffer);
-   result = STATE_WARNING;
+   /* make sure we got a valid connect response */
+   if (!strstr (buffer, 220)) {
+   /* make sure we find the response we are 
looking for */
+   if (!strstr (buffer, server_expect)) {
+   if (server_port == SMTP_PORT)
+   printf (_(Invalid SMTP 
response received from host: %s\n), buffer);
+   else
+   printf (_(Invalid SMTP 
response received from host on port %d: %s\n),
+   
server_port, buffer);
+   result = STATE_WARNING;
+   }
+   /* Failed to connect, so bail */
+   return result;
}
}
 


Bug#607178: ioquake3-server: Seg fault caused by code/botlib/be_aas_route.c:1860

2011-01-26 Thread Daniel Piddock
Another crash, this time at line 1860.

-- 
Daniel Piddock, Systems Administrator, CoreFiling Limited
http://www.corefiling.com



crash2
Description: Binary data


Bug#607178: ioquake3-server: Seg fault caused by code/botlib/be_aas_route.c:1860

2011-01-20 Thread Daniel Piddock
On 16/01/11 23:54, Simon McVittie wrote:
 On Wed, 15 Dec 2010 at 11:17:22 +, Daniel Piddock wrote:
 I've been experiencing seg faults of the quake server using openarena from
 experimental (0.8.5-5+exp2). I recompiled both with DEB_BUILD_OPTIONS=noopt
 nostrip and run with:
 OPENARENA_BACKTRACE=1 /usr/games/openarena-server +exec debian_server.cfg
 Hi,
 Thanks for testing the experimental openarena! Unfortunately, the openarena
 wrapper script in revision -5+exp2 handled OPENARENA_BACKTRACE incorrectly.
 Please try the attached script instead (or upgrade to -5+exp3, but you'd
 need to rebuild it with nostrip again for useful results).

Hi,

ioquake has crashed again on oa_dm1 using the new script and gdb
generated some data, although it was 3 lines later at be_aas_route.c:1863.
if (aasworld.areasettings[testareanum].contents  stopcontents)

Dan

-- 
Daniel Piddock, Systems Administrator, CoreFiling Limited
http://www.corefiling.com

  Item: 3 weapon_rocketlauncher
]
Program received signal SIGSEGV, Segmentation fault.
0x00468a93 in AAS_PredictRoute (route=0x7fffd060, areanum=497, 
origin=0x7fffed24df18, goalareanum=2, travelflags=18616254, maxareas=100, 
maxtime=1000, stopevent=6, stopcontents=1024, stoptfl=67108864, stopareanum=0) 
at code/b
otlib/be_aas_route.c:1863
1863code/botlib/be_aas_route.c: No such file or directory.
in code/botlib/be_aas_route.c

Thread 1 (process 1996):
#0  0x00468a93 in AAS_PredictRoute (route=0x7fffd060, areanum=497, 
origin=0x7fffed24df18, goalareanum=2, travelflags=18616254, maxareas=100, 
maxtime=1000, stopevent=6, stopcontents=1024, stoptfl=67108864, stopareanum=0) 
at co
de/botlib/be_aas_route.c:1863
curareanum = 759
reachnum = 994
i = 4
j = 0
testareanum = 53543636
curorigin = {-276, 852, -119.875}
reach = 0x7fffee39d7c0
reachareas = 0x75f5fa98
#1  0x0040c879 in SV_GameSystemCalls (args=0x7fffce50) at 
code/server/sv_game.c:525
No locals.
#2  0x00445507 in VM_DllSyscall (arg=576) at code/qcommon/vm.c:353
args = {576, 140737488343136, 497, 140737172004632, 2, 18616254, 
3472609778985861220, 1000, -4294967290, 140733193389056, 140733260496896, 
140733193388032, 6298758252, 433791685152, 8608550846, 140737172004632}
i = 16
ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 
0x7fffcff0, reg_save_area = 0x7fffcee0}}
#3  0x7fffecfe8a2e in trap_AAS_PredictRoute (route=0x7fffd060, 
areanum=497, origin=0x7fffed24df18, goalareanum=2, travelflags=18616254, 
maxareas=100, maxtime=1000, stopevent=6, stopcontents=1024, stoptfl=67108864, 
stopareanum=0) at code/game/g_syscalls.c:357
No locals.
#4  0x7fffecf8ca81 in BotAIPredictObstacles (bs=0x7fffed24cbe4, 
goal=0x7fffd220) at code/game/ai_dmq3.c:4658
modelnum = 0
entitynum = -316355612
bspent = 32767
activategoal = {inuse = 0, goal = {origin = {0, 0, 0}, areanum = 0, 
mins = {0, 0, 0}, maxs = {0, 0, 0}, entitynum = 0, number = 0, flags = 0, 
iteminfo = 0}, time = 0, start_time = 0, justused_time = 0, shoot = 0, weapon = 
0, target = {0, 0, 0}, origin = {0, 0, 2.1019477e-44}, areas = {0 repeats 32 
times}, numareas = 16, areasdisabled = 0, next = 0x3f774334}
route = {endpos = {-276, 852, -119.875}, endarea = 759, stopevent = 0, 
endcontents = 0, endtravelflags = 2, numareas = 0, time = 646}
#5  0x7fffecf7b47c in AINode_Seek_LTG (bs=0x7fffed24cbe4) at 
code/game/ai_dmnet.c:1986
goal = {origin = {1049, 1286, 72.25}, areanum = 2, mins = {-13, -13, 
-13}, maxs = {13, 13, 13}, entitynum = 172, number = 202, flags = 5, iteminfo = 
32}
target = {0, 0, 0}
dir = {0, 0, 0}
moveresult = {failure = 0, type = 0, blocked = 0, blockentity = 0, 
traveltype = 0, flags = 0, weapon = 0, movedir = {0, 0, 0}, ideal_viewangles = 
{0, 0, 0}}
range = 0
#6  0x7fffecf8e552 in BotDeathmatchAI (bs=0x7fffed24cbe4, 
thinktime=0.10001) at code/game/ai_dmq3.c:5372
gender = \227\340\362?, '\000' repeats 28 times\340, 
\327\377\377\377\177\000\000*\207\376\354\377\177\000\000\000\000\000\000\000\000\000\000\030\337$\355\377\177\000\000@\330\377\377\377\177\000\000O\017\370\354\377\177\000\000P\330\377\377\361\001\000\000\030\337$\355\377\177\000\000\364\313$\355\377\177\000\000\343\362\370\354\377\177\000\000@\330\377\377\377\177\000\000\067\206\376\354\377\177\000\000\364\313$\355\377\177\000\000(\217\376\354\000\004\000
name = 
`\330\377\377\377\177\000\000\030\337$\355\377\177\000\000\207SD\000\000\000\000\000\000\004\000\000\000\000\000\000\207SD,
 '\000' repeats 13 times, 
\001\000\000\006\377\177\000\000\000\000\000\000\377\177\000\000\220\334\377\377\377\177\000\000/+\373\354\020\000\000\000\277#0D\242~\236D\002\000\000\000\000\000\000\000`\330\377\377\377\177\000\000\000\004\000\000\000\000\000\000\207SD,
 '\000' repeats 21 times\260, +\232\367\377\177\000

Bug#607178: ioquake3-server: Seg fault caused by code/botlib/be_aas_route.c:1860

2010-12-15 Thread Daniel Piddock
Package: ioquake3-server
Version: 1.36+svn1802-1
Severity: important


I've been experiencing seg faults of the quake server using openarena from
experimental (0.8.5-5+exp2). I recompiled both with DEB_BUILD_OPTIONS=noopt
nostrip and run with:
OPENARENA_BACKTRACE=1 /usr/games/openarena-server +exec debian_server.cfg

Configured to have 4 bots play amongst themselves. Map at the time of the crash
was oa_dm1.aas

Last few lines of console output:
Kill: 3 2 4: Grunt killed Rai by MOD_GRENADE
Item: 0 item_armor_shard
Item: 3 weapon_rocketlauncher
Item: 0 item_armor_shard
say: Rai: I hope your genitals fall off in a freak fishing accident.
Rai^7: I hope your genitals fall off in a freak fishing accident.
]
Program received signal SIGSEGV, Segmentation fault.
0x00468a5d in AAS_PredictRoute (route=0x7fffd160, areanum=349, 
origin=0x7fffed25df18, goalareanum=2, travelflags=18616254, maxareas=100, 
maxtime=1000, stopevent=6, stopcontents=1024, stoptfl=67108864, stopareanum=0) 
at code/botlib/be_aas_route.c:1860
1860code/botlib/be_aas_route.c: No such file or directory.
in code/botlib/be_aas_route.c
Undefined command: .  Try help.
Kill the program being debugged? (y or n) [answered Y; input not from terminal]

Line 1860 is:
testareanum = aasworld.reachabilityareaindex[reachareas-firstarea + j];

I don't know gdb well enough to know why it's giving Undefined command.

-- System Information:
Debian Release: 5.0.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-bpo.5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ioquake3-server depends on:
ii  libc6  2.7-18lenny6  GNU C Library: Shared libraries
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages ioquake3-server recommends:
ii  openarena-server0.8.5-5+exp2 server and game logic for the game

ioquake3-server suggests no packages.

-- no debconf informatio



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#586337: samba: Owner of file not available with kerberos (Samba bug 7139)

2010-06-18 Thread Daniel Piddock
Package: samba
Version: 2:3.4.8~dfsg-1
Severity: important
Tags: patch upstream

Samba 3.4 does not correctly return/detect the owner of a file if
kerberos auth is used. This gives unusual experiences for files owned by
the user, if group of the parent folder is not +w:
* Can modify the file
* Cannot rename
* Cannot delete
* Cannot edit permissions

These problems make samba practically unusable in a kerberos enviornment.

Although submitted against 3.5 beta,
https://bugzilla.samba.org/show_bug.cgi?id=7139 contains debug
information and a patch. The patch applied cleanly against 3.4.8~dfsg-1
(at an offset) and solves the problem. It is included since 3.5.0rc3
upstream.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba depends on:
ii  adduser 3.112add and remove users and groups
ii  debconf [debconf-2.0]   1.5.32   Debian configuration
management sy
ii  libacl1 2.2.49-2 Access control list shared
library
ii  libattr11:2.4.44-1   Extended attribute shared
library
ii  libc6   2.10.2-9 Embedded GNU C Library:
Shared lib
ii  libcap2 1:2.17-2 support for getting/setting
POSIX.
ii  libcomerr2  1.41.12-1common error description
library
ii  libcups21.4.3-1  Common UNIX Printing
System(tm) -
ii  libgnutls26 2.8.6-1  the GNU TLS library -
runtime libr
ii  libgssapi-krb5-21.8.1+dfsg-5 MIT Kerberos runtime
libraries - k
ii  libk5crypto31.8.1+dfsg-5 MIT Kerberos runtime
libraries - C
ii  libkrb5-3   1.8.1+dfsg-5 MIT Kerberos runtime libraries
ii  libldap-2.4-2   2.4.17-2.1   OpenLDAP libraries
ii  libpam-modules  1.1.1-3  Pluggable Authentication
Modules f
ii  libpam-runtime  1.1.1-3  Runtime support for the PAM
librar
ii  libpam0g1.1.1-3  Pluggable Authentication
Modules l
ii  libpopt01.16-1   lib for parsing cmdline
parameters
ii  libtalloc2  2.0.1-1  hierarchical pool based
memory all
ii  libwbclient02:3.4.8~dfsg-1   Samba winbind client library
ii  lsb-base3.2-23.1 Linux Standard Base 3.2
init scrip
ii  procps  1:3.2.8-9/proc file system utilities
ii  samba-common2:3.4.8~dfsg-1   common files used by both
the Samb
ii  update-inetd4.36 inetd configuration file
updater
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages samba recommends:
ii  logrotate 3.7.8-6Log rotation utility

Versions of packages samba suggests:
pn  ctdbnone   (no description available)
pn  ldb-tools   none   (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-4 The OpenBSD Internet
Superserver
pn  smbldap-tools   none   (no description available)

-- debconf information:
  samba/run_mode: daemons
  samba/generate_smbpasswd: true

-- 
Daniel Piddock, Systems Administrator, CoreFiling Limited
http://www.corefiling.com




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#585075: tinyproxy: upstream site_spec rules are ignored

2010-06-08 Thread Daniel Piddock
Package: tinyproxy
Version: 1.8.1-4
Severity: important
Tags: upstream patch

The 1.8 series of tinyproxy never matches an upstream site_spec rule
due to a small error in the config file handler. Patch attached
(against 1.8.1-4).

Using the following upstream rule, no default:
upstream 127.0.0.1:8080 .google.com

Current behavour (log file):
INFO Jun 08 21:30:12 [11459]: Added upstream 127.0.0.1:8080 for  .google.com
...
CONNECT Jun 08 21:31:43 [11460]: Request (file descriptor 6): GET
http://www.google.com/ HTTP/1.0
INFO Jun 08 21:31:43 [11460]: No proxy for www.google.com

Expected behavour (log file):
INFO Jun 08 21:46:52 [11511]: Added upstream 127.0.0.1:8080 for .google.com
...
CONNECT Jun 08 21:48:02 [11512]: Request (file descriptor 6): GET
http://www.google.com/ HTTP/1.0
INFO Jun 08 21:48:02 [11512]: Found proxy 127.0.0.1:8080 for www.google.com

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tinyproxy depends on:
ii  libc6 2.10.2-9   Embedded GNU C Library: Shared lib
ii  logrotate 3.7.8-6Log rotation utility

tinyproxy recommends no packages.

tinyproxy suggests no packages.

-- no debconf information
diff -ru a/src/conf.c b/src/conf.c
--- a/src/conf.c	2010-06-08 03:28:02.0 +0100
+++ b/src/conf.c	2010-06-08 21:27:16.0 +0100
@@ -1022,8 +1022,8 @@
 return -1;
 port = (int) get_long_arg (line, match[7]);
 
-if (match[9].rm_so != -1) {
-domain = get_string_arg (line, match[9]);
+if (match[10].rm_so != -1) {
+domain = get_string_arg (line, match[10]);
 if (domain) {
 upstream_add (ip, port, domain, conf-upstream_list);
 safefree (domain);