[Bug 423252] Re: NSS using LDAP on Karmic breaks 'su' and 'sudo'

2010-04-17 Thread Howard Chu
I'd be happy to write a patch for the documentation. And given all of
the problems with the design (and implementation) of libnss-ldap, I'd
say any analysis will show that libnss-ldapd is still the path of lowest
risk and greatest stability. (In particular, when used with OpenLDAP
nssov.)

-- 
NSS using LDAP on Karmic breaks 'su' and 'sudo'
https://bugs.launchpad.net/bugs/423252
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 158816] Re: auto.smb acts weird when smbfs is not installed

2010-04-17 Thread Alexandre Horst
I add this line in auto.smb to fix this behaviour. I have installed
smbfs and it worked just after this line in the script.

echo $key | grep -q '/'  exit 0

The script exit if the key has slash like hostname/share. After that I
start to mount automatically with ls /smb/hostname/.

I tried to do a ls */* in /smb/hostname with 99 shares avaiable before
that change. The autofs started to mount recursively the same 99 shares
over each share again, and again. My /smb and the mounting system got
really a mess. The strange thing is nautilus works without any problem.

-- 
auto.smb acts weird when smbfs is not installed
https://bugs.launchpad.net/bugs/158816
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 561779] Re: squid is not started on runlevel transition 1 - 2

2010-04-17 Thread Ralph Corderoy
It isn't a matter of being able to work around the problem;  an
experienced user can do that, I agree.  As I pointed out, it's that
squid not running on moving to run level 2 isn't obvious to the admin
that's just made the change.  It has to affect users before the admin
gets to know about the problem and investigate.  A bug which affects the
users of the system before the admin notices, and the admin will then
have to spend time investigating *why* squid isn't running, doesn't seem
low priority.  Working around the bug is trivial, it's the upset and
work it causes before the workaround stage is reached that's the
problem.

-- 
squid is not started on runlevel transition 1 - 2
https://bugs.launchpad.net/bugs/561779
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 561779] Re: squid is not started on runlevel transition 1 - 2

2010-04-17 Thread Ernst Kloppenburg
Runlevel changes have been an essential functionality of unix / linux
for a long time. You could use them for regular administration tasks.

Now this stopped to work. This bug is a regression.

-- 
squid is not started on runlevel transition 1 - 2
https://bugs.launchpad.net/bugs/561779
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565380] [NEW] package libvirt-bin 0.7.5-5ubuntu25 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2010-04-17 Thread Rainer Rohde
Public bug reported:

Happened during upgrading Lucid today (Apr 17).


libvirt-bin:
  Installed: 0.7.5-5ubuntu25
  Candidate: 0.7.5-5ubuntu25
  Version table:
 *** 0.7.5-5ubuntu25 0
500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: libvirt-bin 0.7.5-5ubuntu25
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: wl nvidia
Architecture: amd64
Date: Sat Apr 17 14:53:35 2010
ErrorMessage: subprocess installed post-installation script returned error exit 
status 1
InstallationMedia: Ubuntu 9.10 Karmic Koala - Release amd64 (20091027)
SourcePackage: libvirt
Title: package libvirt-bin 0.7.5-5ubuntu25 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 1

** Affects: libvirt (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package lucid

-- 
package libvirt-bin 0.7.5-5ubuntu25 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/565380
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565380] Re: package libvirt-bin 0.7.5-5ubuntu25 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2010-04-17 Thread Rainer Rohde

** Attachment added: AptOrdering.txt
   http://launchpadlibrarian.net/44588166/AptOrdering.txt

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/44588167/Dependencies.txt

** Attachment added: Df.txt
   http://launchpadlibrarian.net/44588168/Df.txt

** Attachment added: Dmesg.txt
   http://launchpadlibrarian.net/44588169/Dmesg.txt

** Attachment added: DpkgTerminalLog.gz
   http://launchpadlibrarian.net/44588170/DpkgTerminalLog.gz

-- 
package libvirt-bin 0.7.5-5ubuntu25 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/565380
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] [NEW] PHP preg_match doesn't match matching string

2010-04-17 Thread jsalvata
Public bug reported:

Binary package hint: php5

This regular expression: /^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/
matches this string: a:bbb
in Perl (5.10.0-24ubuntu4):

perl __END__
print 'a:b' =~ 
q/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/;
print \n;
__END__
1

and pcretest (libpcre3 7.8-3):

pcretest __END__
/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/
a:bbb
__END__
PCRE version 7.8 2008-09-05

  re data  0: a:bbb
data 

Not, however, in PHP (php5-common 5.2.10.dfsg.1-2ubuntu6.4):

php __END__
?= preg_match(/^(?:[^\[\]{}']+|'[^']*')+:(?:[^\[\]{}']+|'[^']*')+$/, 
a:b) ?
 
__END__
0

The bug is pretty sensible to changes in the input. Removing a couple of
bs makes it match. I don't know which aspects of the regexp cause it
to fail.

For confirmation that this is indeed a bug without having to decypher
the regexp, here's proof:

?php
$A='(?:[^\[\]{}\']+|\'[^\']*\')+';
$a= 'a';
$B=:$A;
$b= ':bbb';
print_r(preg_match(/^$A$/, $a));
print_r(preg_match(/^$B$/, $b));
print_r(preg_match(/^$A$B$/, $a$b));
print_r(\n);

This outputs 110, which is impossible since if /^$A$/ matches $a and
/^$B$/ matches $b, /^$A$B$/ should definitely match $a$b.

I tried reporting this upstream, but bugs.php.net doesn't allow
reporting bugs for versions earlier than 5.2.13.

ProblemType: Bug
Architecture: i386
Date: Sat Apr 17 19:11:27 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia wl
Package: php5-common 5.2.10.dfsg.1-2ubuntu6.4
ProcEnviron:
 LANGUAGE=ca_ES.UTF-8
 PATH=(custom, user)
 LANG=ca_ES.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
SourcePackage: php5
Uname: Linux 2.6.31-20-generic i686

** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565481] Re: PHP preg_match doesn't match matching string

2010-04-17 Thread jsalvata

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/44609087/Dependencies.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/44609088/XsessionErrors.txt

-- 
PHP preg_match doesn't match matching string
https://bugs.launchpad.net/bugs/565481
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 563084] Re: bacula-director-pgsql does not install cleanly with db-config

2010-04-17 Thread Launchpad Bug Tracker
This bug was fixed in the package dbconfig-common - 1.8.44ubuntu1

---
dbconfig-common (1.8.44ubuntu1) lucid; urgency=low

  * Fix pgsql createdb code to use template0 when encoding is specified,
patch from Sean Finney cherrypicked from debian's 1.8.46 (LP: #563084)
 -- Thierry Carrez thierry.car...@ubuntu.com   Fri, 16 Apr 2010 15:37:49 +0200

** Changed in: dbconfig-common (Ubuntu Lucid)
   Status: Fix Committed = Fix Released

-- 
bacula-director-pgsql does not install cleanly with db-config
https://bugs.launchpad.net/bugs/563084
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565380] Re: package libvirt-bin 0.7.5-5ubuntu25 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2010-04-17 Thread Jamie Strandboge
This is the error in question:
Setting up libvirt-bin (0.7.5-5ubuntu25) ...
Installing new version of config file 
/etc/apparmor.d/usr.lib.libvirt.virt-aa-helper ...
adduser: The user `tester' does not exist.
dpkg: error processing libvirt-bin (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up python-libvirt (0.7.5-5ubuntu25) ...

This must be caused by the following snippet in libvirt-bin.postinst:
# Add each admin user to the libvirtd group
for u in $(grep ^admin: /etc/group | sed -e s/^.*:// -e s/,/ /g); 
do
adduser $u libvirtd /dev/null
done

It seems you have a 'tester' user that you removed from the system, but
forgot to remove from the 'admin' group. Please adjust your /etc/group
file accordingly. Then you can run 'sudo apt-get -f install ; sudo apt-
get upgrade' to cleanup.

The postinst should probably be adjusted to have:
  adduser $u libvirtd /dev/null || true

** Changed in: libvirt (Ubuntu)
   Status: New = Triaged

** Changed in: libvirt (Ubuntu)
   Importance: Undecided = Low

** Summary changed:

- package libvirt-bin 0.7.5-5ubuntu25 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
+ postinst fails if missing user is in the admin group

-- 
postinst fails if missing user is in the admin group
https://bugs.launchpad.net/bugs/565380
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 423252] Re: NSS using LDAP on Karmic breaks 'su' and 'sudo'

2010-04-17 Thread Philipp Kaluza
Howard, I have longingly looked at libnss-ldapd for almost 4 years now, and 
absolutely agree it has a better architecture, cleaner code etc., and is a 
sensible long-term migration path. (The other possibly being sssd.)
  But multiple test migrations in my LDAP deployments always turned up some 
show-stopper problem or another. The last of these happend 3-4 months ago with 
ubuntu workstations, running an up-to-date karmic client-side (actually 
triggered by trying to work around exactly this bug).
  If the server team decides they want to try migrating for lucid, i'd be the 
first to offer help testing. But I sure don't see this happening before lucid+1.

Disclaimer: haven't tried the caching slapd with nssov yet, only nslcd,
because i need at least an incremental migration path.

-- 
NSS using LDAP on Karmic breaks 'su' and 'sudo'
https://bugs.launchpad.net/bugs/423252
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 423252] Re: NSS using LDAP on Karmic breaks 'su' and 'sudo'

2010-04-17 Thread Howard Chu
Right, given the timing for the Lucid release it's probably way too
late. I can't comment on your experience with nslcd as I have never used
its code or read it in depth. The stub library and nssov have been
pretty well tested internally in Symas; since the stub library is almost
entirely cookie-cutter code it's known to be bug-free. At the risk of
sounding like a commercial, I should note that Symas is offering
standalone packages for free evaluation (our SUUMv4 product, based on
nssov). A number of our customers have migrated successfully, it's an
easy transition.

In the meantime, for this bug, it looks like gcrypt uses its internal
secure malloc function if the app didn't set any overrides. I'm not sure
that making libldap override the secure malloc is a good idea, since
some apps may still want that secure malloc behavior. And any app that
explicitly uses gnutls or libgcrypt may get its preference silently
overridden by libldap, or vice versa.

Again, the only safe way to address this bug is by taking
libldap/nss_ldap out of the application's address space.

-- 
NSS using LDAP on Karmic breaks 'su' and 'sudo'
https://bugs.launchpad.net/bugs/423252
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 563805] Re: mount.cifs won't mount shares; set uid bit not set

2010-04-17 Thread Adrien Chauve
** Description changed:

  Binary package hint: samba
  
  In 9.10 this worked fine:
  
  dut...@vampire:~$ mount.cifs //dragon/dutchy ~/dragon/
  Password:
  
  In 10.04, i get:
  
  dut...@vampire:~$ mount.cifs //dragon/dutchy dragon/
- Password: 
+ Password:
  mount error(1): Operation not permitted
  Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
  
  Setting the set uid bit fixed the problem:
- dut...@vampire:~$ sudo chmod +s /sbin/umount.cifs
+ dut...@vampire:~$ sudo chmod +s /sbin/mount.cifs
  
  I am quite sure I didn't change this, so somewhere in the upgrade
  process 9.10 - 10.04 something went wrong.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: smbfs 2:3.4.7~dfsg-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
  Uname: Linux 2.6.32-19-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  CIFSMounts: Error: command ['mount', '|', 'grep', 'cifs'] failed with exit 
code 1: mount: only root can do that
  Date: Thu Apr 15 15:07:39 2010
  ProcEnviron:
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SambaClientRegression: Yes
  SourcePackage: samba

-- 
mount.cifs won't mount shares; set uid bit not set
https://bugs.launchpad.net/bugs/563805
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 423252] Re: NSS using LDAP on Karmic breaks 'su' and 'sudo'

2010-04-17 Thread Howard Chu
Looking at the gcrypt code, it seems this bug should be reported against
that; this whole secmem implementation (1) requires a program to be
started as root (setuid) and (2) always drops the root priv when it has
initialized its secure memory. These behaviors would certainly interfere
with any setuid programs normal behavior. Seems like a design flaw in
libgcrypt, as the docs http://www.gnupg.org/documentation/manuals/gcrypt
/Initializing-the-library.html#Initializing-the-library state that the
application is responsible for controlling this behavior. Apps that are
unaware that they are using gcrypt (because it came in implicitly
through gnutls, thru libldap, thru nss) are SOL.

-- 
NSS using LDAP on Karmic breaks 'su' and 'sudo'
https://bugs.launchpad.net/bugs/423252
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libnss-ldap in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 564842] Re: Installing winbind causes sudo to behave weird on SIGINT

2010-04-17 Thread Hernando Torque
** Description changed:

  Binary package hint: samba
  
  With winbind installed I cannot abort a sudo password request (gnome-
  terminal and VT) with a single Ctrl-C key combo. Instead the password
  prompt is shown again. Pushing either Ctrl-C a second time or the enter
  key brings me back to the prompt:
  
  t...@box:~$ sudo echo foo
  [sudo] password for test: // Ctrl-C
  [sudo] password for test: // Ctrl-C or enter key
  t...@box:~$
+ 
+ For clarification: the second password request doesn't seem to be a
+ retry - no matter what I type, as soon as I hit the enter key I'm back
+ at the prompt.
  
  I've found out that this behavior is caused by the changes made to
  /etc/pam.d/common-auth:
  
  *) common-auth without windbind:
  
  auth  [success=1 default=ignore]  pam_unix.so nullok_secure
  auth  requisite   pam_deny.so
  auth  requiredpam_permit.so
  
  *) common-auth with winbind installed:
  
  auth  [success=2 default=ignore]  pam_unix.so nullok_secure
  auth  [success=1 default=ignore]  pam_winbind.so krb5_auth 
krb5_ccache_type=FILE cached_login try_first_pass
  auth  requisite   pam_deny.so
  auth  requiredpam_permit.so
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: winbind 2:3.4.7~dfsg-1ubuntu3
  ProcVersionSignature: Ubuntu 2.6.32-21.31-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Fri Apr 16 18:50:28 2010
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  RelatedPackageVersions:
   nautilus 1:2.30.0-0ubuntu4
   gvfs 1.6.0+git20100414-0ubuntu1
  SambaClientRegression: Yes
  SourcePackage: samba

-- 
Installing winbind causes sudo to behave weird on SIGINT
https://bugs.launchpad.net/bugs/564842
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 563053] Re: Please remove Mysql 5.0 from the archive for lucid.

2010-04-17 Thread Mehdi
The bug should not be reported against Matita, but rather against mysql-
ocaml. Matita uses the C bindings of the Mysql library for OCaml. A
rebuild of matita should be enough to get rid of the dependency if
mysql-ocaml is built using the desired version.

** Package changed: matita (Ubuntu Lucid) = mysql-ocaml (Ubuntu Lucid)

-- 
Please remove Mysql 5.0 from the archive for lucid.
https://bugs.launchpad.net/bugs/563053
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565380] Re: postinst fails if missing user is in the admin group

2010-04-17 Thread Rainer Rohde
Thank you Jamie - that did it! :)

-- 
postinst fails if missing user is in the admin group
https://bugs.launchpad.net/bugs/565380
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 563053] Re: Please remove Mysql 5.0 from the archive for lucid.

2010-04-17 Thread Dave Walker
gpsdrive (2.10~pre4-6.dfsg-3ubuntu4) lucid; urgency=low

  * debian/control: Rebuild with libmysqlclient16-dev.

 -- Chuck Short zul...@ubuntu.com  Fri, 16 Apr 2010 11:31:32 -0400


** Changed in: gpsdrive (Ubuntu Lucid)
   Status: Fix Committed = Fix Released

-- 
Please remove Mysql 5.0 from the archive for lucid.
https://bugs.launchpad.net/bugs/563053
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565659] [NEW] qemu-img baseimage creation doesn't warn for image being smaller

2010-04-17 Thread Muelli
Public bug reported:

Binary package hint: qemu-kvm

$ qemu-img create -b ../base-dont-touch.img  new.img 10G

should really raise a warning if  ../base-dont-touch.img is smaller than 10GB 
because QEmu apparently does not handle that fact. At least my guest OS didn't 
boot at all.
Creating an Image of the same resulted in a successful boot though.

In fact, If QEmu doesn't handle a differnent size, even a bigger one, I
don't see why qemu-img create -b ... should take a size argument at all.
But then again, I don't know whether QEmu handles images backed by a
smaller base image.

In any case: The command line tool is very misleading.  Right now it
reads:

$ qemu-img 
qemu-img version 0.11.0, Copyright (c) 2004-2008 Fabrice Bellard
usage: qemu-img command [command options]
QEMU disk image utility

Command syntax:
  check [-f fmt] filename
  create [-F fmt] [-b base_image] [-f fmt] [-o options] filename [size]
  commit [-f fmt] filename
  convert [-c] [-f fmt] [-O output_fmt] [-o options] [-B output_base_image] 
filename [filename2 [...]] output_filename
  info [-f fmt] filename
  snapshot [-l | -a snapshot | -c snapshot | -d snapshot] filename

Command parameters:
  'filename' is a disk image filename
  'base_image' is the read-only disk image which is used as base for a copy on
write image; the copy on write image only stores the modified data
  'output_base_image' forces the output image to be created as a copy on write
image of the specified base image; 'output_base_image' should have the same
content as the input's base image, however the path, image format, etc may
differ
  'fmt' is the disk image format. It is guessed automatically in most cases
  'size' is the disk image size in kilobytes. Optional suffixes
'M' (megabyte, 1024 * 1024) and 'G' (gigabyte, 1024 * 1024 * 1024) are
supported any 'k' or 'K' is ignored
  'output_filename' is the destination disk image filename
  'output_fmt' is the destination format
  'options' is a comma separated list of format specific options in a
name=value format. Use -o ? for an overview of the options supported by the
used format
  '-c' indicates that target image must be compressed (qcow format only)
  '-h' with or without a command shows this help and lists the supported formats

Parameters to snapshot subcommand:
  'snapshot' is the name of the snapshot to create, apply or delete
  '-a' applies a snapshot (revert disk to saved state)
  '-c' creates a snapshot
  '-d' deletes a snapshot
  '-l' lists all snapshots in the given image

Supported formats: cow qcow vmdk cloop dmg bochs vpc vvfat qcow2
parallels nbd host_cdrom host_floppy host_device raw tftp ftps ftp https
http


and it doesn't mention the size problem at all. Even creation work without a 
single warning.

ProblemType: Bug
Architecture: amd64
Date: Sat Apr 17 18:17:28 2010
DistroRelease: Ubuntu 9.10
KvmCmdLine:
 UIDPID  PPID  CSZ   RSS PSR STIME TTY  TIME CMD
 muelli   26589 26588 13 175490 505084 0 17:41 pts/15   00:04:50 kvm -m 512 
-monitor stdio -S -hda elster.img -smb /tmp/ -snapshot
MachineType: LENOVO 766636G
Package: kvm 1:84+dfsg-0ubuntu16+0.12.3+noroms+0ubuntu6
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: root=/dev/mapper/cryptroot 
source=UUID=9c3d5596-27c6-4fd5-bfcd-fa8eef6f1230 ro vdso32=0 quiet splash  
crashkernel=384M-2G:64M,2G-:128M
ProcVersionSignature: Ubuntu 2.6.32-21.31-generic 2.6.32.11+drm33.2
SourcePackage: qemu-kvm
Uname: Linux 2.6.32-21-generic x86_64
dmi.bios.date: 03/12/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC0WW (2.20 )
dmi.board.name: 766636G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: 
dmi:bvnLENOVO:bvr7NETC0WW(2.20):bd03/12/2009:svnLENOVO:pn766636G:pvrThinkPadX61:rvnLENOVO:rn766636G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 766636G
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO

** Affects: qemu-kvm (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug

-- 
qemu-img baseimage creation doesn't warn for image being smaller
https://bugs.launchpad.net/bugs/565659
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565659] Re: qemu-img baseimage creation doesn't warn for image being smaller

2010-04-17 Thread Muelli

** Attachment added: BootDmesg.txt
   http://launchpadlibrarian.net/44622926/BootDmesg.txt

** Attachment added: CurrentDmesg.txt
   http://launchpadlibrarian.net/44622927/CurrentDmesg.txt

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/44622928/Dependencies.txt

** Attachment added: Lspci.txt
   http://launchpadlibrarian.net/44622929/Lspci.txt

** Attachment added: Lsusb.txt
   http://launchpadlibrarian.net/44622930/Lsusb.txt

** Attachment added: ProcCpuinfo.txt
   http://launchpadlibrarian.net/44622931/ProcCpuinfo.txt

** Attachment added: ProcEnviron.txt
   http://launchpadlibrarian.net/44622932/ProcEnviron.txt

** Attachment added: ProcInterrupts.txt
   http://launchpadlibrarian.net/44622933/ProcInterrupts.txt

** Attachment added: ProcModules.txt
   http://launchpadlibrarian.net/44622934/ProcModules.txt

** Attachment added: RelatedPackageVersions.txt
   http://launchpadlibrarian.net/44622935/RelatedPackageVersions.txt

** Attachment added: UdevDb.txt
   http://launchpadlibrarian.net/44622936/UdevDb.txt

** Attachment added: UdevLog.txt
   http://launchpadlibrarian.net/44622937/UdevLog.txt

** Attachment added: XsessionErrors.txt
   http://launchpadlibrarian.net/44622938/XsessionErrors.txt

-- 
qemu-img baseimage creation doesn't warn for image being smaller
https://bugs.launchpad.net/bugs/565659
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565691] [NEW] virt-aa-helper denied messages with lvm volumes

2010-04-17 Thread earl
Public bug reported:

Binary package: libvirt-bin 0.7.5-5ubuntu25

Along the lines of the similar issue with eucalyptus disks:

virt-aa-helper checks disks to see if they have a backing store. The
AppArmor profile for virt-aa-helper doesn't take into account paths of
lvm volumes (/dev/mapper/*), so kern.log contains a bunch of non-fatal,
but confusing denied messages:

kernel: [84488.601042] type=1503 audit(1271551329.109:25):
operation=open pid=32613 parent=27119 profile=/usr/lib/libvirt/virt-
aa-helper requested_mask=r:: denied_mask=r:: fsuid=0 ouid=0
name=/dev/mapper/vg0-vm.example.com

** Affects: libvirt (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apparmor

** Description changed:

  Binary package: libvirt-bin 0.7.5-5ubuntu25
  
  Along the lines of the similar issue with eucalyptus disks:
  
  virt-aa-helper checks disks to see if they have a backing store. The
  AppArmor profile for virt-aa-helper doesn't take into account paths of
  lvm volumes (/dev/mapper/*), so kern.log contains a bunch of non-fatal,
  but confusing denied messages:
  
  kernel: [84488.601042] type=1503 audit(1271551329.109:25):
  operation=open pid=32613 parent=27119 profile=/usr/lib/libvirt/virt-
  aa-helper requested_mask=r:: denied_mask=r:: fsuid=0 ouid=0
- name=/dev/mapper/vg0-vm.test.at
+ name=/dev/mapper/vg0-vm.example.com

-- 
virt-aa-helper denied messages with lvm volumes
https://bugs.launchpad.net/bugs/565691
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 565771] [NEW] Please stop disabling the VMware ESX driver

2010-04-17 Thread Richard Laager
Public bug reported:

libvirt ships with a limited but functional ESX driver. Ubuntu (and
Debian) disable this with --without-esx in debian/rules. I can't think
of any reason for Ubuntu to do this. Simply change it to --with-esx
instead so people who are interested can use that driver.

** Affects: libvirt (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Please stop disabling the VMware ESX driver
https://bugs.launchpad.net/bugs/565771
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs