[Bug 1903906] [NEW] package roundcube-core 1.4.3+dfsg.1-1 failed to install/upgrade: installed roundcube-core package post-installation script subprocess returned error exit status 10

2020-11-11 Thread Daniel Eiteneuer
Public bug reported:

During Ubuntu upgrade from 18.04 to 20.04 I was asked how to configure
the roundcube database (mysql/sql lite). I canceled the assistant, since
the mysql database has already been configured and running. Some seconds
later during the update the error occured.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: roundcube-core 1.4.3+dfsg.1-1
ProcVersionSignature: Ubuntu 4.15.0-123.126-generic 4.15.18
Uname: Linux 4.15.0-123-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.11
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Nov 11 20:17:34 2020
ErrorMessage: installed roundcube-core package post-installation script 
subprocess returned error exit status 10
PackageArchitecture: all
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 
3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt  2.0.2ubuntu0.1
SourcePackage: roundcube
Title: package roundcube-core 1.4.3+dfsg.1-1 failed to install/upgrade: 
installed roundcube-core package post-installation script subprocess returned 
error exit status 10
UpgradeStatus: Upgraded to focal on 2020-11-11 (0 days ago)

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


** Tags: amd64 apport-package focal

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

Title:
  package roundcube-core 1.4.3+dfsg.1-1 failed to install/upgrade:
  installed roundcube-core package post-installation script subprocess
  returned error exit status 10

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

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

[Bug 1596223] [NEW] NTFS-3g mounting by usbmount does not work

2016-06-25 Thread Daniel Eiteneuer
Public bug reported:

I've a problem with usbmount having mounted an usb drive with ntfs.
I'm using Ubuntu 16.04 (4.4.0-24-generic) and usbmount version 0.0.22.

Comparing to the default configuration, I added the the options ntfs and 
fuseblk to FILESYSTEMS in /etc/usbmount/usbmount.conf, so now it looks like:
FILESYSTEMS="ntfs fuseblk vfat ext2 ext3 ext4 hfsplus"

When plugging in an usb drive with a ntfs partition on the usb drive, it is 
mounted via the command (have used usbmount debug and syslog to get the mount 
command):
mount -tntfs -osync,noexec,nodev,noatime,nodiratime /dev/sdb1 /media/usb0
That command is perfectly okay. But access to the mount point is not possible:
ls -lah /media
ls: cannot access '/media/usb0': Transport endpoint is not connected
total 36K
drwxr-xr-x 10 root root 4.0K Jun 25 20:29 .
drwxr-xr-x 23 root root 4.0K Jun 25 21:06 ..
lrwxrwxrwx  1 root root4 Jun 25 20:29 usb -> usb0
d?  ? ??   ?? usb0
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb1
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb2
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb3
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb4
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb5
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb6
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb7

And listing ntfs processes with
ps ax|grep ntfs
results in:
 1961 pts/1S+ 0:00 grep --color=auto ntfs

After unmounting the usb drive andrun the above mount command as root, "ps 
ax|grep ntfs" lists as follows:
 1969 ?Ss 0:00 /sbin/mount.ntfs-3g /dev/sdb1 /media/usb0 -o 
rw,sync,noexec,nodev,noatime,nodiratime
 1973 pts/1S+ 0:00 grep --color=auto ntfs

Now access to the usb drive is possible:
ls -lah /media
total 40K
drwxr-xr-x 10 root root 4.0K Jun 25 20:29 .
drwxr-xr-x 23 root root 4.0K Jun 25 21:06 ..
lrwxrwxrwx  1 root root4 Jun 25 20:29 usb -> usb0
drwxrwxrwx  1 root root 4.0K Jun 24 16:11 usb0
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb1
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb2
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb3
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb4
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb5
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb6
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb7

So mounting the drive manually perfectly works, using usbmount does not,
although the same mount was used. Why?

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


** Tags: mount ntfs udev usb

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

Title:
  NTFS-3g mounting by usbmount does not work

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

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


[Bug 1504068] Re: nsupdate results in error: update failed: NOTIMP

2015-10-25 Thread Daniel Eiteneuer
Public AND Private keys needed to be readable by nsupdate and nsupdate musst be 
used like this (at least for me):
/usr/bin/nsupdate -k /etc/bind/Kupdate_key.+157+10019.private
> server localhost
> zone domain
> update add new.domain 300 A 1.2.3.4
> send

Now it works.
Thanks.

** Changed in: bind9 (Ubuntu)
   Status: Incomplete => Invalid

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

Title:
  nsupdate results in error: update failed: NOTIMP

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

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


[Bug 1504068] Re: nsupdate results in error: update failed: NOTIMP

2015-10-25 Thread Daniel Eiteneuer
Public AND Private keys needed to be readable by nsupdate and nsupdate musst be 
used like this (at least for me):
/usr/bin/nsupdate -k /etc/bind/Kupdate_key.+157+10019.private
> server localhost
> zone domain
> update add new.domain 300 A 1.2.3.4
> send

Now it works.
Thanks.

** Changed in: bind9 (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in Ubuntu.
https://bugs.launchpad.net/bugs/1504068

Title:
  nsupdate results in error: update failed: NOTIMP

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

-- 
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 1504068] [NEW] nsupdate results in error: update failed: NOTIMP

2015-10-08 Thread Daniel Eiteneuer
Public bug reported:

Hello!
I would like to update my BIND configuration from the command line, but I just 
get the error:

/usr/bin/nsupdate -k /etc/bind/Kupdate_key.+157+10019.private
> update add new.domain 300 A 1.2.3.4
> send
; TSIG error with server: expected a TSIG or SIG(0)
update failed: NOTIMP

The BIND log keeps empty upon this command.
Does NOTIMP mean NOT IMPLEMENTED?

I created a TSIG key with:
dnssec-keygen -a HMAC-MD5 -b 512 -n HOST update_key
I added these lines to named.conf.local:

key dyndns {
algorithm HMAC-MD5;
secret "mysecret";
};

zone "subdomain.domain.com.zone" IN {
type master;
file "/etc/bind/subdomain.domain.com.zone";
allow-update { key dyndns; };
};

I extracted the string for mysecret from Kupdate_key.+157+10019.private.

I'm using Ubuntu 14.04.3 (kernel 3.19.0-30-generic) and bind 9.9.5 (version 
1:9.9.5.dfsg-3ubuntu0.5).
Does anbody know, why this does not work?

Regards
Nuesel

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


** Tags: notimp nsupdate tsig

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in Ubuntu.
https://bugs.launchpad.net/bugs/1504068

Title:
  nsupdate results in error: update failed: NOTIMP

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

-- 
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 1504068] [NEW] nsupdate results in error: update failed: NOTIMP

2015-10-08 Thread Daniel Eiteneuer
Public bug reported:

Hello!
I would like to update my BIND configuration from the command line, but I just 
get the error:

/usr/bin/nsupdate -k /etc/bind/Kupdate_key.+157+10019.private
> update add new.domain 300 A 1.2.3.4
> send
; TSIG error with server: expected a TSIG or SIG(0)
update failed: NOTIMP

The BIND log keeps empty upon this command.
Does NOTIMP mean NOT IMPLEMENTED?

I created a TSIG key with:
dnssec-keygen -a HMAC-MD5 -b 512 -n HOST update_key
I added these lines to named.conf.local:

key dyndns {
algorithm HMAC-MD5;
secret "mysecret";
};

zone "subdomain.domain.com.zone" IN {
type master;
file "/etc/bind/subdomain.domain.com.zone";
allow-update { key dyndns; };
};

I extracted the string for mysecret from Kupdate_key.+157+10019.private.

I'm using Ubuntu 14.04.3 (kernel 3.19.0-30-generic) and bind 9.9.5 (version 
1:9.9.5.dfsg-3ubuntu0.5).
Does anbody know, why this does not work?

Regards
Nuesel

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


** Tags: notimp nsupdate tsig

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

Title:
  nsupdate results in error: update failed: NOTIMP

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

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


[Bug 1315260] Re: Spamassassin: sa-learn fails in cronjob

2014-05-22 Thread Daniel Eiteneuer
In the meantime, I've got several e-mails indicating problems during
some cron jobs:

mail subject: Cron amavis@gruenbaer test -e /usr/sbin/amavisd-new-cronjob  
/usr/sbin/amavisd-new-cronjob sa-sync
refcnt: fd -1  0

mail subject: Cron amavis@gruenbaer test -e /usr/sbin/amavisd-new-cronjob  
/usr/sbin/amavisd-new-cronjob sa-sync
rules: failed to run header tests, skipping some: 
__alarm__ignore__(39/::Plugin::Check::run_eval_tests/1097)

mail subject: Cron amavis@gruenbaer test -e /usr/sbin/amavisd-new-cronjob  
/usr/sbin/amavisd-new-cronjob sa-sync
rules: failed to compile Mail::SpamAssassin::Plugin::Check::_body_tests_0_1, 
skipping:
(__alarm__ignore__(1/::PerMsgStatus::check/1414))

I would be happy, if someone can give someone can give me a hint, why amavis 
fails in cron jobs?
I upgraded the system from an Ubuntu 12.04 installation. Maybe this has 
something to do with the problem?

Regards
Nuesel

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to spamassassin in Ubuntu.
https://bugs.launchpad.net/bugs/1315260

Title:
  Spamassassin: sa-learn fails in cronjob

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

-- 
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 1315260] Re: Spamassassin: sa-learn fails in cronjob

2014-05-22 Thread Daniel Eiteneuer
In the meantime, I've got several e-mails indicating problems during
some cron jobs:

mail subject: Cron amavis@gruenbaer test -e /usr/sbin/amavisd-new-cronjob  
/usr/sbin/amavisd-new-cronjob sa-sync
refcnt: fd -1  0

mail subject: Cron amavis@gruenbaer test -e /usr/sbin/amavisd-new-cronjob  
/usr/sbin/amavisd-new-cronjob sa-sync
rules: failed to run header tests, skipping some: 
__alarm__ignore__(39/::Plugin::Check::run_eval_tests/1097)

mail subject: Cron amavis@gruenbaer test -e /usr/sbin/amavisd-new-cronjob  
/usr/sbin/amavisd-new-cronjob sa-sync
rules: failed to compile Mail::SpamAssassin::Plugin::Check::_body_tests_0_1, 
skipping:
(__alarm__ignore__(1/::PerMsgStatus::check/1414))

I would be happy, if someone can give someone can give me a hint, why amavis 
fails in cron jobs?
I upgraded the system from an Ubuntu 12.04 installation. Maybe this has 
something to do with the problem?

Regards
Nuesel

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

Title:
  Spamassassin: sa-learn fails in cronjob

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

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


[Bug 1315260] [NEW] Spamassassin: sa-learn fails in cronjob

2014-05-02 Thread Daniel Eiteneuer
Public bug reported:

Running
su amavis -c '/usr/bin/sa-learn -D --ham /tmp/learn_mail'
in a cronjob leads to the output being sent via mail (see text file). 
Spamassassin complains about a problem on loading plug-ins such like:
plugin: failed to parse plugin (from @INC): Can't locate 
Mail/SpamAssassin/Plugin/SpamCop.pm:   Keine Berechtigung at (eval 33) line 1.
Note:  Keine Berechtigung is German and means something like no 
authorization. But the perl file exists and everyone can read it:
-rw-r--r-- 1 root root 8578 Feb  7 09:36 
/usr/share/perl5/Mail/SpamAssassin/Plugin/SpamCop.pm
The same for all other plug-ins.
Running the command as mentioned above manually from the shell as user root 
works perfectly, no errors.
I'm using spamassassin version 3.4.0-1ubuntu1 and perl version 5.18.2-2ubuntu1 
on Ubuntu 14.04.

Maybe there is relation to:
https://bugzilla.redhat.com/show_bug.cgi?id=1008415
?? Don't know.

Regards
Nuesel

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

** Attachment added: mail_content.txt
   
https://bugs.launchpad.net/bugs/1315260/+attachment/4102938/+files/mail_content.txt

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to spamassassin in Ubuntu.
https://bugs.launchpad.net/bugs/1315260

Title:
  Spamassassin: sa-learn fails in cronjob

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

-- 
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 1315260] [NEW] Spamassassin: sa-learn fails in cronjob

2014-05-02 Thread Daniel Eiteneuer
Public bug reported:

Running
su amavis -c '/usr/bin/sa-learn -D --ham /tmp/learn_mail'
in a cronjob leads to the output being sent via mail (see text file). 
Spamassassin complains about a problem on loading plug-ins such like:
plugin: failed to parse plugin (from @INC): Can't locate 
Mail/SpamAssassin/Plugin/SpamCop.pm:   Keine Berechtigung at (eval 33) line 1.
Note:  Keine Berechtigung is German and means something like no 
authorization. But the perl file exists and everyone can read it:
-rw-r--r-- 1 root root 8578 Feb  7 09:36 
/usr/share/perl5/Mail/SpamAssassin/Plugin/SpamCop.pm
The same for all other plug-ins.
Running the command as mentioned above manually from the shell as user root 
works perfectly, no errors.
I'm using spamassassin version 3.4.0-1ubuntu1 and perl version 5.18.2-2ubuntu1 
on Ubuntu 14.04.

Maybe there is relation to:
https://bugzilla.redhat.com/show_bug.cgi?id=1008415
?? Don't know.

Regards
Nuesel

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

** Attachment added: mail_content.txt
   
https://bugs.launchpad.net/bugs/1315260/+attachment/4102938/+files/mail_content.txt

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

Title:
  Spamassassin: sa-learn fails in cronjob

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

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


[Bug 1091579] Re: Networking when starting kvm in commandline

2012-12-20 Thread Daniel Eiteneuer
Hello,
yes, indicating the script locations works like a charm.

Thanks for the explanation.

Regards
Daniel

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1091579

Title:
  Networking when starting kvm in commandline

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

-- 
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 1091579] Re: Networking when starting kvm in commandline

2012-12-20 Thread Daniel Eiteneuer
Hello,
yes, indicating the script locations works like a charm.

Thanks for the explanation.

Regards
Daniel

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

Title:
  Networking when starting kvm in commandline

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

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


[Bug 1091579] [NEW] Networking when starting kvm in commandline

2012-12-18 Thread Daniel Eiteneuer
Public bug reported:

Hello,
I started a virtual machine on the command line in Ubuntu 12.10 64bit via:
sudo qemu-system-x86_64 -m 2048 -enable-kvm -cpu core2duo -usb -device 
usb-tablet,id=input0 -vga std -vnc 0.0.0.0:10 -net nic -net tap -drive 
file=/vmachine.qcow2

Instead of starting the machine, I got an error:
/etc/kvm/kvm-ifup: could not launch network script
qemu-system-x86_64: -net tap: Device 'tap' could not be initialized

In any case I can understand, that the script cannot be launched since it 
doesn't exist.
I found a blog, containing a script, that shows some solution for the problem.
http://www.sjvs.nl/?p=147
But this does not work. Probably the script is truncated somehow (no brackets 
are closed in the for loop).

I created a bridge as described in
https://help.ubuntu.com/community/KVM/Networking
Thus I installed libcap2-bin and bridge-utils and I changed my 
/etc/network/interfaces to

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.115.15
network 192.168.115.0
netmask 255.255.255.0
broadcast 192.168.115.255
gateway 192.168.115.254
dns-nameservers 192.168.115.10
dns-search sirah.int
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0

I executed
sudo setcap cap_net_admin=ei /usr/bin/qemu-system-x86_64
and edited /etc/security/capability.conf.

The kvm command mentioned above worked on Ubuntu 12.04 with the same 
adjustments. There the machine started and it was bridged to my network.
At the moment I'm using kvm version 1:84+dfsg-0ubuntu16+1.2.0+noroms+0ubuntu2.

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

** Description changed:

  Hello,
  I started a virtual machine on the command line in Ubuntu 12.10 64bit via:
  sudo qemu-system-x86_64 -m 2048 -enable-kvm -cpu core2duo -usb -device 
usb-tablet,id=input0 -vga std -vnc 0.0.0.0:10 -net nic -net tap -drive 
file=/vmachine.qcow2
  
  Instead of starting the machine, I got an error:
  /etc/kvm/kvm-ifup: could not launch network script
  qemu-system-x86_64: -net tap: Device 'tap' could not be initialized
  
  In any case I can understand, that the script cannot be launched since it 
doesn't exist.
- I found a blog, containing a script, that shows some solution for the 
problem. But this does not work. Probably the script is truncated somehow (no 
brackets are closed in the for loop).
+ I found a blog, containing a script, that shows some solution for the problem.
+ http://www.sjvs.nl/?p=147
+ But this does not work. Probably the script is truncated somehow (no brackets 
are closed in the for loop).
  
  I created a bridge as described in
  https://help.ubuntu.com/community/KVM/Networking
  Thus I installed libcap2-bin and bridge-utils and I changed my 
/etc/network/interfaces to
  
  auto lo
  iface lo inet loopback
  auto eth0
  iface eth0 inet manual
  auto br0
  iface br0 inet static
- address 192.168.115.15
- network 192.168.115.0
- netmask 255.255.255.0
- broadcast 192.168.115.255
- gateway 192.168.115.254
- dns-nameservers 192.168.115.10
- dns-search sirah.int
- bridge_ports eth0
- bridge_stp off
- bridge_fd 0
- bridge_maxwait 0
+ address 192.168.115.15
+ network 192.168.115.0
+ netmask 255.255.255.0
+ broadcast 192.168.115.255
+ gateway 192.168.115.254
+ dns-nameservers 192.168.115.10
+ dns-search sirah.int
+ bridge_ports eth0
+ bridge_stp off
+ bridge_fd 0
+ bridge_maxwait 0
  
  I executed
  sudo setcap cap_net_admin=ei /usr/bin/qemu-system-x86_64
  and edited /etc/security/capability.conf.
  
  The kvm command mentioned above worked on Ubuntu 12.04 with the same 
adjustments. There the machine started and it was bridged to my network.
  At the moment I'm using kvm version 1:84+dfsg-0ubuntu16+1.2.0+noroms+0ubuntu2.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1091579

Title:
  Networking when starting kvm in commandline

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

-- 
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 1091579] Re: Networking when starting kvm in commandline

2012-12-18 Thread Daniel Eiteneuer
Hallo again,
I fogot to mention that the bridging works using libvirt.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1091579

Title:
  Networking when starting kvm in commandline

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

-- 
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 1091579] [NEW] Networking when starting kvm in commandline

2012-12-18 Thread Daniel Eiteneuer
Public bug reported:

Hello,
I started a virtual machine on the command line in Ubuntu 12.10 64bit via:
sudo qemu-system-x86_64 -m 2048 -enable-kvm -cpu core2duo -usb -device 
usb-tablet,id=input0 -vga std -vnc 0.0.0.0:10 -net nic -net tap -drive 
file=/vmachine.qcow2

Instead of starting the machine, I got an error:
/etc/kvm/kvm-ifup: could not launch network script
qemu-system-x86_64: -net tap: Device 'tap' could not be initialized

In any case I can understand, that the script cannot be launched since it 
doesn't exist.
I found a blog, containing a script, that shows some solution for the problem.
http://www.sjvs.nl/?p=147
But this does not work. Probably the script is truncated somehow (no brackets 
are closed in the for loop).

I created a bridge as described in
https://help.ubuntu.com/community/KVM/Networking
Thus I installed libcap2-bin and bridge-utils and I changed my 
/etc/network/interfaces to

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address 192.168.115.15
network 192.168.115.0
netmask 255.255.255.0
broadcast 192.168.115.255
gateway 192.168.115.254
dns-nameservers 192.168.115.10
dns-search sirah.int
bridge_ports eth0
bridge_stp off
bridge_fd 0
bridge_maxwait 0

I executed
sudo setcap cap_net_admin=ei /usr/bin/qemu-system-x86_64
and edited /etc/security/capability.conf.

The kvm command mentioned above worked on Ubuntu 12.04 with the same 
adjustments. There the machine started and it was bridged to my network.
At the moment I'm using kvm version 1:84+dfsg-0ubuntu16+1.2.0+noroms+0ubuntu2.

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

** Description changed:

  Hello,
  I started a virtual machine on the command line in Ubuntu 12.10 64bit via:
  sudo qemu-system-x86_64 -m 2048 -enable-kvm -cpu core2duo -usb -device 
usb-tablet,id=input0 -vga std -vnc 0.0.0.0:10 -net nic -net tap -drive 
file=/vmachine.qcow2
  
  Instead of starting the machine, I got an error:
  /etc/kvm/kvm-ifup: could not launch network script
  qemu-system-x86_64: -net tap: Device 'tap' could not be initialized
  
  In any case I can understand, that the script cannot be launched since it 
doesn't exist.
- I found a blog, containing a script, that shows some solution for the 
problem. But this does not work. Probably the script is truncated somehow (no 
brackets are closed in the for loop).
+ I found a blog, containing a script, that shows some solution for the problem.
+ http://www.sjvs.nl/?p=147
+ But this does not work. Probably the script is truncated somehow (no brackets 
are closed in the for loop).
  
  I created a bridge as described in
  https://help.ubuntu.com/community/KVM/Networking
  Thus I installed libcap2-bin and bridge-utils and I changed my 
/etc/network/interfaces to
  
  auto lo
  iface lo inet loopback
  auto eth0
  iface eth0 inet manual
  auto br0
  iface br0 inet static
- address 192.168.115.15
- network 192.168.115.0
- netmask 255.255.255.0
- broadcast 192.168.115.255
- gateway 192.168.115.254
- dns-nameservers 192.168.115.10
- dns-search sirah.int
- bridge_ports eth0
- bridge_stp off
- bridge_fd 0
- bridge_maxwait 0
+ address 192.168.115.15
+ network 192.168.115.0
+ netmask 255.255.255.0
+ broadcast 192.168.115.255
+ gateway 192.168.115.254
+ dns-nameservers 192.168.115.10
+ dns-search sirah.int
+ bridge_ports eth0
+ bridge_stp off
+ bridge_fd 0
+ bridge_maxwait 0
  
  I executed
  sudo setcap cap_net_admin=ei /usr/bin/qemu-system-x86_64
  and edited /etc/security/capability.conf.
  
  The kvm command mentioned above worked on Ubuntu 12.04 with the same 
adjustments. There the machine started and it was bridged to my network.
  At the moment I'm using kvm version 1:84+dfsg-0ubuntu16+1.2.0+noroms+0ubuntu2.

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

Title:
  Networking when starting kvm in commandline

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

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

[Bug 1091579] Re: Networking when starting kvm in commandline

2012-12-18 Thread Daniel Eiteneuer
Hallo again,
I fogot to mention that the bridging works using libvirt.

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

Title:
  Networking when starting kvm in commandline

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

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