Bug#766863: Intent to NMU darkstat to fix longstanding l10n bug

2023-01-17 Thread Emil Mikulic
I'm not planning a new release. Go for it!


Bug#914628: darkstat FTCBFS: uses the host architecture compiler for build tool c-ify

2018-11-29 Thread Emil Mikulic
On Wed, Nov 28, 2018 at 1:57 AM Helmut Grohne  wrote:

> On Tue, Nov 27, 2018 at 11:24:30PM +1100, Emil Mikulic wrote:
> > I've applied this to my git repo:
> >
> https://unix4lyfe.org/gitweb/darkstat-debian/commitdiff/81efbd5c6e2e7cb36bafb7a5e96d955cf4850ae9
> >
> > Does that commit look okay to you?
>
> The bug number in debian/changelog is still -1 (as I didn't know it
> before submitting the patch), you likely want to change it to #914628.
>

Oops, sorry. I've amended this and also (at the maintainer's request)
turned it into a regular upload with version 3.0.719-2:
https://unix4lyfe.org/gitweb/darkstat-debian/commitdiff/9d1c7a9225d51767715102b8e490a5a52555c26d


Bug#911109: darkstat: start darkstat does not work (status:start darkstat monitoring system at boot);manuall works"

2018-10-15 Thread Emil Mikulic
On Tue, Oct 16, 2018 at 6:24 AM Manfred Braun  wrote:

> INTERFACE="-i ens18 -p "
> PORT="-p 667"
>

Looks like there's a stray -p in INTERFACE.


Bug#800723:

2016-02-17 Thread Emil Mikulic
This is with thunar-1.6.10: (line numbers will be off because I was
adding debug printfs)

thunar_file_info_reload() touches memory deleted by thunar_folder_reload()

I don't think this is a thread race because I always see both
functions running on the same thread.

What I think is happening here:

thunar_file_reload_idle() does:
 g_idle_add((GSourceFunc) thunar_file_reload, file);
This defers a call of thunar_file_reload(file) until after
thunar_folder_reload() has deleted "file"

The crash looks like this in valgrind:

==12276== Process terminating with default action of signal 11 (SIGSEGV)
==12276==  Access not within mapped region at address 0x0
==12276==at 0x4362BA: thunar_file_info_reload (thunar-file.c:977)
==12276==by 0x436720: thunar_file_load.constprop.8 (thunar-file.c:1179)
==12276==by 0x4367BF: thunar_file_reload (thunar-file.c:3931)
==12276==by 0x7E37E89: g_main_context_dispatch (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4600.2)
==12276==by 0x7E3822F: g_main_context_iterate.isra.29 (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4600.2)
==12276==by 0x7E38551: g_main_loop_run (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.4600.2)
==12276==by 0x5E0A586: gtk_main (in
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.29)
==12276==by 0x41FBF8: main (main.c:314)

glib's g_main_context_dispatch() is calling into thunar_file_reload(),
which means it came via g_idle_add.

Then we get to this part of thunar_file_info_reload():

/* determine the basename */
file->basename = g_file_get_basename (file->gfile); //[1]
if (strcmp (file->basename, "kmsg") == 0 //[2]

[1] "file" has been freed, so the read (of gfile) and write (of
basename) are "invalid read/write of size 8" according to valgrind,
but don't crash.

g_file_get_basename() writes to the terminal:
(thunar:13169): GLib-GIO-CRITICAL **: g_file_get_basename: assertion
'G_IS_FILE (file)' failed

[2] file->basename is set to NULL, so the strcmp() attempt causes SIGSEGV.

(strcmp doesn't appear in the backtrace because it gets compiled to a
"repz cmpsb" instruction)

If I comment out the g_idle_add, the bad memory accesses seem to go away.

I'm not sure what the right fix for this is though.



Bug#746358:

2014-05-27 Thread Emil Mikulic
I ran into this problem and the patch in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746358#20 fixed it.

Commenting out my NFS mounts worked also, but I couldn't figure out how to
get to an editor short of using a rescue CD. (i.e. even in a recovery
mode boot, I'd get stuck at Raise network interfaces.)

I have br0 in /etc/network/interfaces, I have NetworkManager running for
whatever reason, I have by-default NFS mounts in /etc/fstab, and the
systemd package is version 204-10.


Bug#687967: darkstat: No start when IPv6 disabled

2012-09-17 Thread Emil Mikulic
On Tue, Sep 18, 2012 at 2:59 AM, nutzteil nutzt...@web.de wrote:

 I have ipv6 disabled via kernel-commandline:
  ipv6.disable=1

 With this setting darkstat does not start:
 
 # darkstat -i br0 --chroot /var/lib/darkstat --import darkstat.db --export
 darkstat.db
 14801: error: http_listen_one(::, 667): socket(10 (AF_INET6), 1, 6)
 failed: Address family not supported by protocol


This should be fixed by:
http://unix4lyfe.org/gitweb/darkstat/commitdiff/2149b21ad285a7f4f9e7c2fdf214c5d365992a3d

Unfortunately, I haven't done a release since. :(


Bug#671442: darkstat: man page SEE ALSO section tcpdump(1) should be tcpdump(8)

2012-05-03 Thread Emil Mikulic
On Fri, May 4, 2012 at 2:21 PM, Yuanle Song syl...@gmail.com wrote:

 As the title says, the SEE ALSO section of the man page should be
 updated.

 tcpdump is in section 8.


In FreeBSD, it's in section 1.


Bug#653294: hellanzb: doesn't work with python-twisted 11.1.0-1 (patch included)

2011-12-26 Thread Emil Mikulic
Package: hellanzb
Version: 0.13-6.1
Severity: grave
Tags: upstream patch
Justification: renders package unusable

Dear Maintainer,

Twisted keeps moving _NO_FILENO around.  The error is:

$ hellanzb 
Traceback (most recent call last):
  File /usr/bin/hellanzb, line 14, in module
from Hellanzb.Core import main
  File /usr/lib/pymodules/python2.7/Hellanzb/Core.py, line 9, in 
module
from Hellanzb.HellaReactor import HellaReactor
  File /usr/lib/pymodules/python2.7/Hellanzb/HellaReactor.py, line 
14, in module
from twisted.internet.selectreactor import _NO_FILENO
ImportError: cannot import name _NO_FILENO

The fix is:

diff --git a/Hellanzb/HellaReactor.py b/Hellanzb/HellaReactor.py
index 4284c0b..88ee556 100644
--- a/Hellanzb/HellaReactor.py
+++ b/Hellanzb/HellaReactor.py
@@ -9,7 +9,11 @@ reactor system so it can catch signals, and shutdown hellanzb 
cleanly
 import Hellanzb, sys, time
 
 import twisted.copyright
-if twisted.copyright.version = '2.0.0' or twisted.copyright.version = 
'10.0.0':
+if twisted.copyright.version = '11.1.0':
+from twisted.internet.selectreactor import SelectReactor
+from twisted.internet.posixbase import _NO_FILENO
+from twisted.internet.posixbase import _NO_FILEDESC
+elif twisted.copyright.version = '2.0.0' or twisted.copyright.version = 
'10.0.0':
 from twisted.internet.selectreactor import SelectReactor
 from twisted.internet.selectreactor import _NO_FILENO
 from twisted.internet.selectreactor import _NO_FILEDESC

I've submitted this upstream via github:
https://github.com/emikulic/hellanzb/commit/2a8a873b65d79a6483d4c7afb547ed8ce43b8d6e


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

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hellanzb depends on:
ii  par2 0.4-11
ii  python   2.7.2-9
ii  python-openssl   0.13-1
ii  python-support   1.0.14
ii  python-twisted-core  11.1.0-1
ii  python-twisted-web   11.1.0-1

Versions of packages hellanzb recommends:
ii  python-yenc  0.3+debian-2+b2

Versions of packages hellanzb suggests:
ii  unrar  1:4.0.3-1

-- Configuration Files:
/etc/hellanzb.conf changed [not included]

-- 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