Bug#630212: libvirt-bin: libvirt doesn't spawn qemu with supplementary groups

2011-06-12 Thread Alex Bennee
Package: libvirt-bin
Version: 0.8.3-5+squeeze1
Severity: important
Tags: upstream


If you configure libvirt to spawn qemu with it's own user you can run into
problems getting KVM to work. This is because although the qemu user belongs
to the kvm and disk groups without calling initgroups the spawned process
won't be able to access /dev/kvm (root:kvm) and much hilarity/head scratching
will ensue.

This problem has been documented upstream and has been patched in recent 
releases:

https://bugzilla.redhat.com/show_bug.cgi?id=664406

In the end the workaround I applied was to nail the /dev/kvm device to:

ls -l /dev/kvm
crw-rw 1 root qemu 10, 232 Jun 12 11:51 /dev/kvm

And nailed it up with:

cat /etc/udev/rules.d/99-local-permissions.rules
# Make kvm available to qemu
KERNEL=="kvm", GROUP="qemu", MODE="0660"

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

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



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



Bug#615969: linux-base: Tracking a moderate number of conenctions permanently kills network

2011-03-01 Thread Alex Bennee
Package: linux-base
Version: 2.6.32-30
Severity: important
Tags: upstream


Starting up rtorrent on a number of torrents causes my VPS to loose network
connectivity. Although conntrack only reports around 250 connections the kernel
oops and the network will not respond any further. I can shell onto the machine 
via
terminal but the only way to restore network connectivity so far is a reboot.

Just before I loose connectivity I saw the following memory state:

Slab Info
nf_conntrack_expect  0  0168   241 : tunables000 : 
slabdata  0  0  0
nf_conntrack_c14c6a24262289240   171 : tunables000 
: slabdata 17 17  0
Number of connections
252
Memory
MemFree:9100 kB
HighFree:300 kB
LowFree:8800 kB
SwapFree:1759612 kB
HugePages_Free:0

The kernel shows a number of oops:

Mar  1 10:01:45 socrates kernel: [ 1107.984836] swapper: page allocation 
failure. order:0, mode:0x20
Mar  1 10:01:45 socrates kernel: [ 1107.984846] Pid: 0, comm: swapper Not 
tainted 2.6.32-5-686 #1
Mar  1 10:01:45 socrates kernel: [ 1107.984848] Call Trace:
Mar  1 10:01:45 socrates kernel: [ 1107.984879]  [] ? 
__alloc_pages_nodemask+0x484/0x4d9
Mar  1 10:01:45 socrates kernel: [ 1107.984895]  [] ? 
try_fill_recv+0x72/0x117 [virtio_net]
Mar  1 10:01:45 socrates kernel: [ 1107.984900]  [] ? 
virtnet_poll+0x45b/0x4d1 [virtio_net]
Mar  1 10:01:45 socrates kernel: [ 1107.984914]  [] ? 
hrtimer_get_next_event+0x8c/0xa0
Mar  1 10:01:45 socrates kernel: [ 1107.984934]  [] ? 
net_rx_action+0x96/0x194
Mar  1 10:01:45 socrates kernel: [ 1107.984947]  [] ? 
__do_softirq+0xaa/0x151
Mar  1 10:01:45 socrates kernel: [ 1107.984951]  [] ? 
do_softirq+0x31/0x3c
Mar  1 10:01:45 socrates kernel: [ 1107.984954]  [] ? 
irq_exit+0x26/0x58
Mar  1 10:01:45 socrates kernel: [ 1107.984965]  [] ? do_IRQ+0x78/0x89
Mar  1 10:01:45 socrates kernel: [ 1107.984969]  [] ? 
common_interrupt+0x30/0x38
Mar  1 10:01:45 socrates kernel: [ 1107.984980]  [] ? 
native_safe_halt+0x2/0x3
Mar  1 10:01:45 socrates kernel: [ 1107.984985]  [] ? 
default_idle+0x3c/0x5a
Mar  1 10:01:45 socrates kernel: [ 1107.984988]  [] ? 
cpu_idle+0x89/0xa5
Mar  1 10:01:45 socrates kernel: [ 1107.984999]  [] ? 
start_kernel+0x318/0x31d
Mar  1 10:01:45 socrates kernel: [ 1107.985001] Mem-Info:
Mar  1 10:01:45 socrates kernel: [ 1107.985006] DMA per-cpu:
Mar  1 10:01:45 socrates kernel: [ 1107.985009] CPU0: hi:0, btch:   1 
usd:   0
Mar  1 10:01:45 socrates kernel: [ 1107.985011] Normal per-cpu:
Mar  1 10:01:45 socrates kernel: [ 1107.985013] CPU0: hi:  186, btch:  31 
usd: 184
Mar  1 10:01:45 socrates kernel: [ 1107.985015] HighMem per-cpu:
Mar  1 10:01:45 socrates kernel: [ 1107.985017] CPU0: hi:   18, btch:   3 
usd:  17
Mar  1 10:01:45 socrates kernel: [ 1107.985023] active_anon:14275 
inactive_anon:24343 isolated_anon:0
Mar  1 10:01:45 socrates kernel: [ 1107.985024]  active_file:98037 
inactive_file:97736 isolated_file:0
Mar  1 10:01:45 socrates kernel: [ 1107.985026]  unevictable:0 dirty:24157 
writeback:9 unstable:0
Mar  1 10:01:45 socrates kernel: [ 1107.985027]  free:1323 
slab_reclaimable:2077 slab_unreclaimable:1271
Mar  1 10:01:45 socrates kernel: [ 1107.985029]  mapped:73828 shmem:3 
pagetables:574 bounce:0
Mar  1 10:01:45 socrates kernel: [ 1107.985036] DMA free:3460kB min:64kB 
low:80kB high:96kB active_anon:864kB inactive_anon:1588kB active_file:4812kB 
inactive_file:4744kB unevictable:0kB isolated(anon):0kB isolated(file):0kB 
present:15868kB mlocked:0kB dirty:16kB writeback:0kB mapped:132kB shmem:0kB 
slab_reclaimable:12kB slab_unreclaimable:60kB kernel_stack:0kB pagetables:0kB 
unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Mar  1 10:01:45 socrates kernel: [ 1107.985044] lowmem_reserve[]: 0 861 936 936
Mar  1 10:01:45 socrates kernel: [ 1107.985053] Normal free:1384kB min:3720kB 
low:4648kB high:5580kB active_anon:45276kB inactive_anon:83068kB 
active_file:361948kB inactive_file:360812kB unevictable:0kB isolated(anon):0kB 
isolated(file):0kB present:881880kB mlocked:0kB dirty:91924kB writeback:32kB 
mapped:279348kB shmem:0kB slab_reclaimable:8296kB slab_unreclaimable:5024kB 
kernel_stack:928kB pagetables:1264kB unstable:0kB bounce:0kB writeback_tmp:0kB 
pages_scanned:2681 all_unreclaimable? no
Mar  1 10:01:45 socrates kernel: [ 1107.985060] lowmem_reserve[]: 0 0 603 603
Mar  1 10:01:45 socrates kernel: [ 1107.985069] HighMem free:448kB min:128kB 
low:208kB high:288kB active_anon:10960kB inactive_anon:12716kB 
active_file:25388kB inactive_file:25388kB unevictable:0kB isolated(anon):0kB 
isolated(file):0kB present:77212kB mlocked:0kB dirty:4688kB writeback:4kB 
mapped:15832kB shmem:12kB slab_reclaimable:0kB slab_unreclaimable:0kB 
kernel_stack:0kB pagetables:1032kB unstable:0kB bounce:0kB writeback_tmp:0kB 
pages_scanned:0 all_unreclaimable? no
Mar  1 10:01:45 socrates kernel: [ 1107.985076] lowmem_reserve[]: 0 0 0 0

Bug#577996: xorg: Screen occasionaly fails to unblank after resuming from suspend

2010-04-15 Thread Alex Bennee
Package: xorg
Version: 1:7.5+5
Severity: important
Tags: sid

Since a recent update to sid (in the last 2 weeks) resume from suspend has
become unreliable. Although the machine appears to resume OK I'm unable to
unlock X as the screen is blank. I've been unable to switch to console mode
(possibly due to X screensaver having locked out).



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

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

Versions of packages xorg depends on:
ii  libgl1-mesa-dri   7.7.1-1A free implementation of the OpenG
ii  libgl1-mesa-glx [libgl1]  7.7.1-1A free implementation of the OpenG
ii  libglu1-mesa  7.7.1-1The OpenGL utility library (GLU)
ii  lxterminal [x-terminal-emulat 0.1.7-1desktop independent vte-based term
ii  rxvt-unicode-ml [x-terminal-e 9.07-1 multi-lingual terminal emulator wi
ii  x11-apps  7.5+5  X applications
ii  x11-session-utils 7.5+1  X session utilities
ii  x11-utils 7.5+3  X11 utilities
ii  x11-xfs-utils 7.4+1  X font server utilities
ii  x11-xkb-utils 7.5+2  X11 XKB utilities
ii  x11-xserver-utils 7.5+1+b1   X server utilities
ii  xauth 1:1.0.4-1  X authentication utility
ii  xfce4-terminal [x-terminal-em 0.4.3-1Xfce terminal emulator
ii  xfonts-100dpi 1:1.0.1100 dpi fonts for X
ii  xfonts-75dpi  1:1.0.175 dpi fonts for X
ii  xfonts-base   1:1.0.1standard fonts for X
ii  xfonts-scalable   1:1.0.1-1  scalable fonts for X
ii  xfonts-utils  1:7.5+2X Window System font utility progr
ii  xinit 1.2.0-1X server initialisation tool
ii  xkb-data  1.8-1  X Keyboard Extension (XKB) configu
ii  xorg-docs-core1:1.5-1Core documentation for the X.org X
ii  xserver-xorg  1:7.5+5the X.Org X server
ii  xterm [x-terminal-emulator]   256-1  X terminal emulator

xorg recommends no packages.

Versions of packages xorg suggests:
pn  xorg-docs  (no description available)

-- 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#569134: xorg: Display will "hang" with a solid colour screen, only fixed by a suspend/resume cycle.

2010-02-10 Thread Alex Bennee
Package: xorg
Version: 1:7.5+3
Severity: important

Since the upgrade to the current xorg binaries my display has been suffering 
from multiple flickers and jitters. Occasionally this eventually ends up with 
the display going completely blank. I'm unable to switch to console mode at 
this point (or if I have I can't tell by the state of the screen).

However the system will hapilly suspend itself and when coming back out of 
suspend will return to a nicely rendered X screen saver which I can then return 
to a normal X session with.

I'm running Debian Testing on a Samsung NC10 Netbook with Intel 945 graphics.


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

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xorg depends on:
ii  libgl1-mesa-dri   7.6.1-1A free implementation of the OpenG
ii  libgl1-mesa-glx [libgl1]  7.6.1-1A free implementation of the OpenG
ii  libglu1-mesa  7.6.1-1The OpenGL utility library (GLU)
ii  lxterminal [x-terminal-emulat 0.1.6-1desktop independent vte-based term
ii  rxvt-unicode-ml [x-terminal-e 9.06-3 multi-lingual terminal emulator wi
ii  x11-apps  7.5+1  X applications
ii  x11-session-utils 7.5+1  X session utilities
ii  x11-utils 7.5+1+b1   X11 utilities
ii  x11-xfs-utils 7.4+1  X font server utilities
ii  x11-xkb-utils 7.5+1  X11 XKB utilities
ii  x11-xserver-utils 7.5+1+b1   X server utilities
ii  xauth 1:1.0.4-1  X authentication utility
ii  xfce4-terminal [x-terminal-em 0.4.3-1Xfce terminal emulator
ii  xfonts-100dpi 1:1.0.1100 dpi fonts for X
ii  xfonts-75dpi  1:1.0.175 dpi fonts for X
ii  xfonts-base   1:1.0.1standard fonts for X
ii  xfonts-scalable   1:1.0.1-1  scalable fonts for X
ii  xfonts-utils  1:7.5+2X Window System font utility progr
ii  xinit 1.2.0-1X server initialisation tool
ii  xkb-data  1.7-2  X Keyboard Extension (XKB) configu
ii  xorg-docs-core1:1.5-1Core documentation for the X.org X
ii  xserver-xorg  1:7.5+3the X.Org X server
ii  xterm [x-terminal-emulator]   253-1  X terminal emulator

xorg recommends no packages.

Versions of packages xorg suggests:
pn  xorg-docs  (no description available)

-- no debconf information

X.Org X Server 1.7.4
Release Date: 2010-01-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-trunk-686 i686 Debian
Current Operating System: Linux trent 2.6.32-trunk-686 #1 SMP Sun Jan 10 
06:32:16 UTC 2010 i686
Kernel command line: BOOT_IMAGE=//vmlinuz-2.6.32-trunk-686 
root=UUID=5ea0587f-bec8-47ba-a953-acf91c37656b ro root=/dev/sda6 ro
Build Date: 20 January 2010  10:52:55PM
xorg-server 2:1.7.4-2 (bgog...@debian.org) 
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb  8 07:32:11 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(==) No device specified for screen "Default Screen".
Using the first device section listed.
(**) |   |-->Device "Configured Video Device"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
(II) Loader magic: 0x81e7680
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:0:2:0) 8086:27ae:14

Bug#549333: libapt's AR File parsing gets confused by filenames terminated with "/"

2009-10-02 Thread Alex Bennee
Package: apt
Version: 0.7.20.2+lenny1
Severity: normal

libapt's AR File implementation gets confused by file names which are
terminated with "/" (which is sysv feature allowing spaces in file
names). The result is hand rolling a .deb file with "ar" generates
packages which are installable with dpkg but not GDebi (as it uses
libapt).

http://sourceware.org/ml/binutils/2009-10/msg00063.html

-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (/etc/apt/sources.list present, but not submitted) --


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

Kernel: Linux 2.6.30.4 (PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring   2009.01.31  GnuPG archive keys of the Debian a
ii  libc62.7-18  GNU C Library: Shared libraries
ii  libgcc1  1:4.3.2-1.1 GCC support library
ii  libstdc++6   4.3.2-1.1   The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc(no description available)
ii  aptitude  0.4.11.11-1~lenny1 terminal-based package manager
ii  bzip2 1.0.5-1high-quality block-sorting file co
ii  dpkg-dev  1.14.25Debian package development tools
ii  lzma  4.43-14Compression method of 7z format in
pn  python-apt (no description available)

-- 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#520947: spamassassin: Still failing on current stable

2009-08-06 Thread Alex Bennee
Package: spamassassin
Version: 3.2.5-2
Followup-For: Bug #520947

I think I'm seeing the same failure in the current stable release. The
line numbers have changed but it looks like the same failure mode of a
broken pipe.



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

Kernel: Linux 2.6.30.4 (PREEMPT)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ANSI_X3.4-1968) (ignored: LC_ALL 
set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages spamassassin depends on:
ii  libdigest-sha1-perl   2.11-2+b1  NIST SHA-1 message digest algorith
ii  libhtml-parser-perl   3.56-1+b1  A collection of modules that parse
ii  libnet-dns-perl   0.63-2 Perform DNS queries from a Perl sc
ii  libsocket6-perl   0.20-1 Perl extensions for IPv6
ii  libsys-hostname-long-perl 1.4-2  Figure out the long (fully-qualifi
ii  libwww-perl   5.813-1WWW client/server library for Perl
ii  perl  5.10.0-19  Larry Wall's Practical Extraction 
ii  perl-modules [libarchive-tar- 5.10.0-19  Core Perl modules

Versions of packages spamassassin recommends:
ii  gcc   4:4.3.2-2  The GNU C compiler
ii  gnupg 1.4.9-3+lenny1 GNU privacy guard - a free PGP rep
ii  libc6-dev 2.7-18 GNU C Library: Development Librari
pn  libio-socket-inet6-perl(no description available)
pn  libmail-spf-perl   (no description available)
pn  libsys-syslog-perl (no description available)
ii  make  3.81-5 The GNU version of the "make" util
pn  re2c   (no description available)
ii  spamc 3.2.5-2Client for SpamAssassin spam filte

Versions of packages spamassassin suggests:
ii  libcompress-zlib-perl 2.012-1Perl module for creation and manip
ii  libdbi-perl   1.605-1Perl5 database interface by Tim Bu
pn  libio-socket-ssl-perl  (no description available)
pn  libmail-dkim-perl  (no description available)
pn  libnet-ident-perl  (no description available)
pn  pyzor  (no description available)
pn  razor  (no description available)

-- 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#327188: [Gtk-gnutella-devel]Re: Bug#327188: #327188: gtk-gnutella: "Bitzi Metadata" menu item has no (visible) effect

2005-09-11 Thread Alex Bennee
On Sun, 2005-09-11 at 11:26 +0200, Christian Biere wrote:
> Johan Walles wrote:
> > In my case, the Metadata column wasn't visible.  When I added that 
> > column, the Bitzi Metadata menu option works as you describe.
>  
> > So while the Bitzi menu item actually does seem to work, there is a 
> > usability problem if you have the Metadata column hidden.  How about 
> > popping up a warning if somebody does Bitzi with the Metadata column 
> > hidden?
> 
> IMNSHO, pop-ups if at all should only be used as a last resort. They
> are very annoying, mess with the focus and the wait-for-user-input
> scheme is rather ugly for this kind of application.

Agreed.

> The "solution" is much simpler. If the "metadata" column is invisible
> it'll be added (and resized to some minimum width). However, I'm not
> happy with the current way this data is shown because it's far too
> much (some data is actually suppressed) to fit into a column. A
> dialog or whatever would probably be nicer. It should be available
> from all panes anyway.

Or perhaps some icons? A lot of the data could be reduced to a simple
red/amber/green icon with the metadata extra's like media details
reserved for the floating dialog box.

--
Alex, homepage: http://www.bennee.com/~alex/
Give me a Plumber's friend the size of the Pittsburgh dome, and a place
to stand, and I will drain the world. t



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]