[Bug 1956589] Re: Darkstat exits on sleep

2022-03-19 Thread Emil Mikulic
That's --daylog (which records bytes in/out per day), what you want is
--syslog (which will hopefully record some kind of error, and will end
up in /var/log/messages or similar)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956589

Title:
  Darkstat exits on sleep

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1956589/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1956589] Re: Darkstat exits on sleep

2022-03-16 Thread Emil Mikulic
The child process is expected, it's used for DNS resolution (so as not
to block the main process, which is a select() loop)

Please run with --syslog and see if there's a smoking gun in the logs
when darkstat stops.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956589

Title:
  Darkstat exits on sleep

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1956589/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1964121] Re: onboard can not type in some input boxes

2022-03-08 Thread Emil Mikulic
I don't think darkstat is the right package, darkstat isn't a GUI app.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1964121

Title:
  onboard can not type in some  input boxes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1964121/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 249038] Re: darkstat does not start on boot

2020-12-22 Thread Emil Mikulic
Two processes is normal (the child process is to do non-blocking DNS
resolution).

Mytonn is there anything relevant in the syslog?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/249038

Title:
  darkstat does not start on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/249038/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1839492] Re: Bad test for $START_DARKSTAT in /etc/init.d/darkstat

2019-09-04 Thread Emil Mikulic
Glad you got it resolved. ;)

The only other thing I can think of is that it sometimes fails to start
at boot because of an ordering/timing problem (i.e. listening on an
interface before it's up'd). Make darkstat log to syslog, reboot, and
examine the syslog.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839492

Title:
  Bad test for $START_DARKSTAT in /etc/init.d/darkstat

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1839492/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1839492] Re: Bad test for $START_DARKSTAT in /etc/init.d/darkstat

2019-09-04 Thread Emil Mikulic
Ok so after boot what does "systemctl status darkstat" say? Because in
#4 it was running with no errors.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839492

Title:
  Bad test for $START_DARKSTAT in /etc/init.d/darkstat

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1839492/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1839492] Re: Bad test for $START_DARKSTAT in /etc/init.d/darkstat

2019-09-03 Thread Emil Mikulic
Apparently "bad" just means it's not a native systemd service.

So it doesn't start on boot? And it doesn't start on "systemctl start
darkstat"?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839492

Title:
  Bad test for $START_DARKSTAT in /etc/init.d/darkstat

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1839492/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1839492] Re: Bad test for $START_DARKSTAT in /etc/init.d/darkstat

2019-09-02 Thread Emil Mikulic
What shows up on the console + in "journalctl -f" + in syslog when you
run:

systemctl start darkstat
systemctl status darkstat.service

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839492

Title:
  Bad test for $START_DARKSTAT in /etc/init.d/darkstat

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1839492/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1839492] Re: Bad test for $START_DARKSTAT in /etc/init.d/darkstat

2019-08-31 Thread Emil Mikulic
Shouldn't:
 test "$START_DARKSTAT" = "yes" || exit 0
Mean "variable has to equal yes or else early exit" ?

$ test "$X" = "yes" || echo early exit
early exit
$ export X=yes; test "$X" = "yes" || echo early exit
$

What am I missing?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839492

Title:
  Bad test for $START_DARKSTAT in /etc/init.d/darkstat

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1839492/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1512120]

2018-06-08 Thread Emil Mikulic
Oh, sorry, which bug should I be following up on?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512120

Title:
  [SRU] thunar crashes on file renaming

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunar/+bug/1512120/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1512120]

2018-06-08 Thread Emil Mikulic
Sorry, to be clear: I still see the invalid reads and writes when I'm
dragging and dropping files in the UI.

I tried the loop for renaming files every second and wasn't able to
trigger a crash in thunar with or without the patch.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512120

Title:
  [SRU] thunar crashes on file renaming

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunar/+bug/1512120/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1512120]

2018-06-08 Thread Emil Mikulic
Yes, I'm pretty sure I've been able to trigger it with both copy/paste
and drag/drop.

I don't have a reliable way of reproducing it, I manually click around
until I get a crash.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512120

Title:
  [SRU] thunar crashes on file renaming

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunar/+bug/1512120/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1512120]

2018-06-08 Thread Emil Mikulic
Created attachment 6636
Use reference counting to avoid crash in deferred reload

I've got a semi-reliable way of triggering this (two side-by-side
windows, showing two different dirs, a lot of image files, drag and drop
and it crashes)

The attached diff increments the refcount before creating the deferred
reload, then decrements it after the reload runs. I haven't been able to
repro the crash since.

Could someone please take a look?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512120

Title:
  [SRU] thunar crashes on file renaming

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunar/+bug/1512120/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1512120]

2018-06-08 Thread Emil Mikulic
Copying from https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=800723#96:

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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512120

Title:
  [SRU] thunar crashes on file renaming

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunar/+bug/1512120/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1512120]

2018-06-08 Thread Emil Mikulic
With Check-if-a-thunar-file-is-still-valid-before-reloading.patch, I
still see the invalid reads and writes, but not the crash on strcmp(NULL

Also, moving ~20 files (drag and drop to another thunar window) feels
very slow now.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1512120

Title:
  [SRU] thunar crashes on file renaming

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunar/+bug/1512120/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1699374] Re: localhost:666 connection refused error?

2017-06-21 Thread Emil Mikulic
darkstat v2.x used 666
darkstat v3.x used 667

debianhelp has screenshots from v2.6

My guess is Debian overrode the port to 666 when the package was
upgraded from v2 to v3 so as to not change the (Debian) default. :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699374

Title:
  localhost:666 connection refused error?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1699374/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1699374] Re: localhost:666 connection refused error?

2017-06-20 Thread Emil Mikulic
Great, sounds like the distro part is working correctly! What's left to
do in this bug?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699374

Title:
  localhost:666 connection refused error?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1699374/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1699374] Re: connection refused due to pcap error?

2017-06-20 Thread Emil Mikulic
Sorry about the documentation. I can't change what's in that magazine.
:)

The cfg file is specific to the distro and applies to systemd(?)
starting darkstat at boot time, it's not a standard part of darkstat /
not something it reads at startup.

i.e. Either "service start darkstat" or whatever the Ubuntu equivalent
is, or add "-p 666" to the sudo cmdline you run.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699374

Title:
  connection refused due to pcap error?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1699374/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1699374] Re: connection refused due to pcap error?

2017-06-20 Thread Emil Mikulic
The default webserver port should be 667. Try: "netstat -lntp" while
darkstat is running.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699374

Title:
  connection refused due to pcap error?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1699374/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1699374] Re: connection refused due to pcap error?

2017-06-20 Thread Emil Mikulic
Try: sudo darkstat -i eth0 --debug

The error message could be better, but it's saying there's no interface
called "--debug", which was the argument to -i.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1699374

Title:
  connection refused due to pcap error?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1699374/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1215330] Re: package darkstat 3.0.714+dfsg-1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück

2013-12-10 Thread Emil Mikulic
I can't reproduce the problem with your darkstat + init.cfg files.
I also reverted the darkstat file to the one from the package, and I still 
can't reproduce.

Is /bin/sh a symlink to dash?
Please post the output of: ls -l /bin/sh

And also:
/bin/sh -x /etc/init.d/darkstat start

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1215330

Title:
  package darkstat 3.0.714+dfsg-1 failed to install/upgrade:
  Unterprozess installiertes post-installation-Skript gab den Fehlerwert
  1 zurück

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1215330/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1215330] Re: package darkstat 3.0.714+dfsg-1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück

2013-12-07 Thread Emil Mikulic
> It is failing to start because the -i -p and -b attributes defined in
init.cfg are being overwritten with "" values in the startup script

I'm sorry, I missed this in my first reading.

However, it also doesn't make sense.  I just downloaded and unpacked the
package I think you're using:

wget 
http://mirror.internode.on.net/pub/ubuntu/ubuntu/pool/universe/d/darkstat/darkstat_3.0.714+dfsg-1_amd64.deb
ar x darkstat_3.0.714+dfsg-1_amd64.deb  
tar zxf data.tar.gz

And ./etc/init.d/darkstat sets a bunch of variables to "", then it does
". $INIT"

Why isn't $INIT overriding the empty strings set in
./etc/init.d/darkstat?

> It appears that several variables defined /etc/darkstat/init.cfg are
overridden after importing by /etc/init.d/darkstat

I can't see where this is happening.  Could you please upload these two
files, verbatim, from your system? Maybe attach them to the bug?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1215330

Title:
  package darkstat 3.0.714+dfsg-1 failed to install/upgrade:
  Unterprozess installiertes post-installation-Skript gab den Fehlerwert
  1 zurück

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1215330/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1215330] Re: package darkstat 3.0.714+dfsg-1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück

2013-12-06 Thread Emil Mikulic
> After configuring /etc/darkstat/init.cfg darkstat still fails to
start, and gives no error or reason why. No logs are generated

Could you please reproduce this with --syslog added to the cmdline flags
and work out why it's failing to start?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1215330

Title:
  package darkstat 3.0.714+dfsg-1 failed to install/upgrade:
  Unterprozess installiertes post-installation-Skript gab den Fehlerwert
  1 zurück

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/1215330/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 882237] Re: Incorrect focus when application is slow to respond

2012-06-16 Thread Emil Mikulic
This is driving me nuts. I'm getting it on Debian unstable mousing in
and out of google-chrome. A symptom I'm seeing is that xorg burns a lot
of CPU time while it's happening, it appears to be coming from one of
the closed-source nvidia libraries, and it appears to be issuing a storm
of ioctl()s to /dev/nvidia0 (or nvidiactl, I forget)

For comparison, I don't have this problem with twm. (i.e. I'm pretty
sure the root cause is something xfwm4 is doing)

** Also affects: xfwm4 (Debian)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/882237

Title:
  Incorrect focus when application is slow to respond

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/882237/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 200913] Re: [needs-packaging] SDLMESS

2012-02-27 Thread Emil Mikulic
AIUI sdlmess is now a standard part of mess, and there is a much newer
'mess' package in Debian which installs just fine on Ubuntu:
http://packages.qa.debian.org/m/mess.html

Instead of me continuing to maintain my PPA, what do we need to do to
get the upstream mess package into Ubuntu?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/200913

Title:
  [needs-packaging] SDLMESS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/200913/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 902153] Re: ubuntu 11.10 darkstat can`t start

2011-12-22 Thread Emil Mikulic
Good to hear!  This will be fixed in the next release (of darkstat)
then.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/902153

Title:
  ubuntu 11.10 darkstat can`t start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/902153/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 902153] Re: ubuntu 11.10 darkstat can`t start

2011-12-16 Thread Emil Mikulic
It took a while to get the binding code right after IPv6 support was
added.  Could you please build the latest version from git and tell me
if it still has this problem on your system?

git clone http://unix4lyfe.org/git/darkstat
cd darkstat
# important:
git checkout work
autoconf
autoheader
./configure --with-chroot-dir=/tmp
make
sudo ./darkstat -i eth0 --verbose --no-daemon

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/902153

Title:
  ubuntu 11.10 darkstat can`t start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/902153/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 902153] Re: ubuntu 11.10 darkstat can`t start

2011-12-13 Thread Emil Mikulic
Strange.  Try specifying the bind address (-b cmdline flag)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/902153

Title:
  ubuntu 11.10 darkstat can`t start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/darkstat/+bug/902153/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 200913] Re: [needs-packaging] SDLMESS

2011-02-13 Thread Emil Mikulic
Done.  This turned out to be pretty easy.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/200913

Title:
  [needs-packaging] SDLMESS

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 200913] Re: [needs-packaging] SDLMESS

2011-02-11 Thread Emil Mikulic
Hi there,
This is my ppa: https://launchpad.net/~darkmoon/+archive/ppa
I have updated the sdlmess therein to 0141 and there's an amd64 build now.  
Give it a burl!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/200913

Title:
  [needs-packaging] SDLMESS

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 200913] Re: [needs-packaging] SDLMESS

2010-05-20 Thread Emil Mikulic
Hi all,

Ludomatic did an excellent job packaging this for Debian. I started with
sdlmess_0132 from http://apt.ludomatic.fr/pool/non-free/s/sdlmess/,
bumped the version to 0136, and now have i386 packages in my ppa:
https://launchpad.net/~darkmoon/+archive/ppa

Install:
sudo add-apt-repository ppa:darkmoon/ppa
sudo apt-get update
sudo apt-get install sdlmess
(it's an 11.6MB download and doesn't contain any ROMs of course)

Play:
mkdir -p ~/roms/dai
cd ~/roms/dai
unzip ~/dai.zip
sdlmess dai -rompath ~/roms -window

And that's it.

I can't get the amd64 package to build and sadly I don't have a spare
amd64 test box at the moment. If someone else can patch this up, please
follow-up to this bug.

(off-topic: if anyone remembers the DAInamic please contact me
privately)

-- 
[needs-packaging] SDLMESS
https://bugs.launchpad.net/bugs/200913
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 576862] [NEW] darkstat web interface doesn't load

2010-05-07 Thread Emil Mikulic
On Fri, May 07, 2010 at 08:06:24AM -, Jan Cerny wrote:
> Public bug reported:
> 
> Binary package hint: darkstat
> 
> Ubuntu 10.04 (server) x86_64
> darkstat version 3.0.712-2
> when I start darkstat with /etc/init.d/darkstat start, it listens on port 667 
> but when I point my browser there the webpage never loads
> when I run command `darkstat -i eth0 --no-daemon --verbose`
> it just prints error "darkstat (08289): tcp: packet too short (28 bytes)"

This is a known bug which was fixed in darkstat 3.0.713  :(

-- 
darkstat web interface doesn't load
https://bugs.launchpad.net/bugs/576862
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 413876] Re: unable to completely remove darkstat with Synaptic Package Manager

2010-04-14 Thread Emil Mikulic
Can someone close this bug please?

The problem was due to a botched user edit to init.cfg mostly caused by
bad and confusing commented-out syntax in the default init.cfg, it will
be fixed in the darkstat 3.0.713 package.

-- 
unable to completely remove darkstat with Synaptic Package Manager
https://bugs.launchpad.net/bugs/413876
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 249038] Re: darkstat does not start on boot

2009-08-22 Thread Emil Mikulic
If I disable NetworkManager and add e1000 to /etc/modules and configure
eth0 via /etc/network/interfaces, then darkstat starts up just fine (!).
Hew, is your Debian Lenny system using NetworkManager?

Even though it starts up, darkstat 3.0.712-1 on Jaunty can't decode TCP
traffic because of the snaplen problem:
http://bazaar.launchpad.net/~darkmoon/+junk/darkstat-pkg/revision/11

And the web interface is horribly laggy due to pcap being blocking:
http://bazaar.launchpad.net/~darkmoon/+junk/darkstat-pkg/revision/10

These two things will be fixed in the next release, but what do we do
about the interaction with NetworkManager?

-- 
darkstat does not start on boot
https://bugs.launchpad.net/bugs/249038
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 249038] Re: darkstat does not start on boot

2009-08-22 Thread Emil Mikulic
I can reproduce the problem with darkstat 3.0.712-1 on Jaunty.  The
problem is (piping darkstat --verbose --no-daemon through
/usr/bin/logger at boot time):

  error: pcap_open_live(): eth0: That device is not up

Changing the boot order via update-rc.d doesn't fix this problem for me.
darkstat needs to be started after NetworkManager is done configuring
eth0.

You'll notice even e.g. ntp is started prior to NetworkManager, despite 
/etc/init.d/ntp containing:
  # Required-Start:  $network $remote_fs $syslog

NetworkManager restarts ntp after the interface comes up, via
/etc/network/if-up.d/ntpdate

-- 
darkstat does not start on boot
https://bugs.launchpad.net/bugs/249038
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 413876] Re: unable to completely remove darkstat with Synaptic Package Manager

2009-08-22 Thread Emil Mikulic
I would suggest: http://bazaar.launchpad.net/~darkmoon/+junk/darkstat-
pkg/revision/7

-- 
unable to completely remove darkstat with Synaptic Package Manager
https://bugs.launchpad.net/bugs/413876
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 413876] Re: unable to completely remove darkstat with Synaptic Package Manager

2009-08-22 Thread Emil Mikulic
Dustin, the problem is the last line in init.cfg:
  DNS="--no-dns" Don't reverse reolve IPs to host names

This is indeed a syntax error in a shell script, and the "unterminated
string" starts at the single quote in "don't" ;)

No offense intended, but I believe this is user error, and not really a
bug in darkstat or the darkstat packaging for Debian/Ubuntu.

Furthermore, I suspect that this is not a problem specific to darkstat, but 
could be triggered in any package where:
 1. Removing the package first tries to stop a daemon
 2. Stopping the daemon involves sourcing a config file
 3. The config file is broken

-- 
unable to completely remove darkstat with Synaptic Package Manager
https://bugs.launchpad.net/bugs/413876
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 413876] Re: unable to completely remove darkstat with Synaptic Package Manager

2009-08-22 Thread Emil Mikulic
The commented out #DNS line in the default init.cfg file is bad.  This
should be fixed in the package.

-- 
unable to completely remove darkstat with Synaptic Package Manager
https://bugs.launchpad.net/bugs/413876
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 413876] Re: unable to completely remove darkstat with Synaptic Package Manager

2009-08-17 Thread Emil Mikulic
Dustin, could you please post your /etc/darkstat/init.cfg?

-- 
unable to completely remove darkstat with Synaptic Package Manager
https://bugs.launchpad.net/bugs/413876
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 413876] Re: unable to completely remove darkstat with Synaptic Package Manager

2009-08-17 Thread Emil Mikulic
The relevant part of the dpkg log:

Setting up darkstat (3.0.712-1) ...

 * please change the value of START_DARKSTAT in order to
start darkstat


Log ended: 2009-08-14  23:35:34

Log started: 2009-08-15  07:20:29
(Reading database ... 126336 files and directories currently installed.)

Removing darkstat ...

/etc/darkstat/init.cfg: 13: Syntax error: Unterminated quoted string

invoke-rc.d: initscript darkstat, action "stop" failed.

dpkg: error processing darkstat (--purge):

 subprocess pre-removal script returned error exit status 2

-- 
unable to completely remove darkstat with Synaptic Package Manager
https://bugs.launchpad.net/bugs/413876
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs