[Bug 1394081] Re: Add manual options for administrators

2014-11-21 Thread HeinMueck
Uuh, Thomas - did not know  I am stepping on your toe here. Pardon!

So, your hints where quite helpful as I did not notice the file being
updated was the one in /run/resolvconf.

My situation is this:
- 4 Racks of boxes with 1 to 3 networks each
- network 1 is static, the other 2 dhcp
- resolver configuration depends on the existance of networks
- had to take care of this, so I generate the resolv.conf from a package - no 
link anymore
- once you ifdown/ifup one of the dhcp interfaces, the resolv.conf got 
overwritten

It was bug #1385010 you led me to that caused this.

As this might help others, here is my workaround.
- create /etc/dhcp/dhclient-enter-hooks.d/000nomk_resolv_conf whith these few 
lines:

if [ -x /sbin/resolvconf ]  [ ! -L /etc/resolv.conf ]; then
make_resolv_conf() { : ; }
fi

For me its okay, as I need to run this from a package and make sure that
once updates to official packages are installed my resolv.conf will not
be overwritten. This is not a solution.

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

Title:
  Add manual options for administrators

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

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


[Bug 1394081] Re: Add manual options for administrators

2014-11-20 Thread HeinMueck
Thomas,

what you describe as the proper way will not work at all - take a look
at /etc/network/if-up.d/000resolvconf. It only checks if
/sbin/resolvconf exists and if it is executable. As it does not check
for resolv.conf being a symlink it will never stop if it is not. If it
is supposed to be like you said, than this is definitly a bug. I am
trying to do this on a bunch of servers and it hits me painfully.

/etc/resolvconf/update.d/libc for instance checks if resolv.conf is a
symlink and gives a warning or not - you can configure if the warning
should pop up, but not tell it to stop doing its thing :)) What the
heck?

bug #1385010 was a very good hint - he convinced me that just checking
the link existance is too focused on resolvconf. It needs to be a system
variable, that is respected by all packages that have the ability to
rewrite resolv.conf.

export UPDATE_RESOLVCONF=no in /etc/environment is the big hammer. Where
else could we have it? resolvconf manual in /etc/network/interfaces?

done.

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

Title:
  Add manual options for administrators

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

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


[Bug 1394081] [NEW] Add manual options for administrators

2014-11-18 Thread HeinMueck
Public bug reported:


Currently - trusty LTS - there is no way to turn off the regeneration of 
/etc/resolv.conf that would survive a package upgrade. 

- you cannot remove resolvconf as it is needed by minimal
- you cannot disable-upgrades as this flag is removed by reboots
- if you disable the resolvconf job in upstart package upgrade will reset the 
disable-upgrade flags
- if you hack the scripts - it will only last until the next upgrade

There are two ways to ensure that admins willing to turn it off can do
so:

First solution: add a run=no to /etc/default/resolvconf and bail out if
it is set.

The second solution is more subtile. In /etc/network/if-
up.d/000resolvconf you will find this line:

[ -x /sbin/resolvconf ] || exit 0

While in /etc/dhcp/dhclient-enter-hooks.d/resolvconf it says

if [ -x /sbin/resolvconf ]  [ -L /etc/resolv.conf ]; then

Way more clever! So if you do not want to implement the default option,
why not check if its a link all the way? So at least a conf gets not
overwritten once the admin wrote his own.

** Affects: resolvconf (Ubuntu)
 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/1394081

Title:
  Add manual options for administrators

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

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


[Bug 843892] Re: Repeatable kernel oops on container delete

2011-10-07 Thread HeinMueck
Found it - looked into main instead of universe. Surprise surprise :)
Its working for me, although once I saw a reboot instead of a crash. But
I was not able to reproduce that. Anyone else?

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

Title:
  Repeatable kernel oops on container delete

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

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


[Bug 843892] Re: Repeatable kernel oops on container delete

2011-10-05 Thread HeinMueck
What should be the version of the proposed kernel? I see linux-
image-2.6.38-9-generic in natty-proposed packages, whereas in natty I
see linux-image-2.6.38-10-generic. Are you sure its available?

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

Title:
  Repeatable kernel oops on container delete

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

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


[Bug 843892] Re: Repeatable kernel oops on container delete

2011-10-05 Thread HeinMueck
K, packages don't seem to contain it, but at least when I upgrade I get
2.6.38-11.50. Is that the kernel that should be tested?

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

Title:
  Repeatable kernel oops on container delete

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

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


[Bug 790863] Re: Unable to start lxc container after update to 2.6.32-32

2011-10-01 Thread HeinMueck
** Attachment removed: .etc.asound.conf.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/790863/+attachment/2149515/+files/.etc.asound.conf.txt

** Attachment removed: AlsaDevices.txt
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/790863/+attachment/2149516/+files/AlsaDevices.txt

** Description changed:

- 
- Starting a container with 2.6.32-32 leads to the errors below, container will 
not start:
+ Starting a container with 2.6.32-32 leads to the errors below, container
+ will not start:
  
  lxc-start 1306854843.605 ERRORlxc_namespace - failed to 
clone(0x6c02): Invalid argument
  lxc-start 1306854843.605 ERRORlxc_start - Bad file descriptor - failed to 
fork into a new namespace
  
  When booting 2.6.32-31 again the container works fine.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: linux-image-2.6.32-31-generic-pae 2.6.32-31.61
  Regression: Yes
  Reproducible: Yes
  ProcVersionSignature: Ubuntu 2.6.32-31.61-generic-pae 2.6.32.32+drm33.14
  Uname: Linux 2.6.32-31-generic-pae i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
  Architecture: i386
- AudioDevicesInUse:
-  USERPID ACCESS COMMAND
-  /dev/snd/controlC0:  cperz  4000 F pulseaudio
- CRDA: Error: [Errno 2] No such file or directory
- Card0.Amixer.info:
-  Card hw:0 'Intel'/'HDA Intel at 0xf822 irq 17'
-Mixer name : 'Analog Devices AD1984'
-Components : 'HDA:11d41984,17aa20d6,00100400'
-Controls  : 30
-Simple ctrls  : 19
- Card1.Amixer.info:
-  Card hw:1 'Glass'/'Guillemot Corporation Deluxe Optical Glass at 
usb-:00:1a.7-4.3, high speed'
-Mixer name : 'USB Mixer'
-Components : 'USB06f8:300d'
-Controls  : 2
-Simple ctrls  : 1
- Card1.Amixer.values:
-  Simple mixer control 'Mic',0
-Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
-Capture channels: Mono
-Limits: Capture 0 - 13
-Mono: Capture 0 [0%] [18.00dB] [on]
- Card29.Amixer.info:
-  Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 
7MHT25WW-1.03'
-Mixer name : 'ThinkPad EC 7MHT25WW-1.03'
-Components : ''
-Controls  : 1
-Simple ctrls  : 1
- Card29.Amixer.values:
-  Simple mixer control 'Console',0
-Capabilities: pswitch pswitch-joined penum
-Playback channels: Mono
-Mono: Playback [on]
- Date: Tue May 31 21:39:01 2011
- MachineType: LENOVO 7673K4G
- PccardctlIdent:
-  Socket 0:
-no product info available
- PccardctlStatus:
-  Socket 0:
-no card
- ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-31-generic-pae root=/dev/sda3 ro 
ipv6.disable=1 splash quiet
- ProcEnviron:
-  PATH=(custom, user)
-  LANG=en_US.utf8
-  SHELL=/bin/bash
- RelatedPackageVersions: linux-firmware 1.34.7
- SourcePackage: linux
- WpaSupplicantLog:
-  
- dmi.bios.date: 10/09/2009
- dmi.bios.vendor: LENOVO
- dmi.bios.version: 7NETC1WW (2.21 )
- dmi.board.name: 7673K4G
- 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:bvr7NETC1WW(2.21):bd10/09/2009:svnLENOVO:pn7673K4G:pvrThinkPadX61:rvnLENOVO:rn7673K4G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
- dmi.product.name: 7673K4G
- dmi.product.version: ThinkPad X61
+ 
  dmi.sys.vendor: LENOVO

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

Title:
  Unable to start lxc container after update to 2.6.32-32

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

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


[Bug 790863] Re: Unable to start lxc container after update to 2.6.32-32

2011-10-01 Thread HeinMueck
Is there a way to find out if the existance of this bug report leads to
anything? Has it been noticed, considered, discussed, rejected?
Anything? If its not being done, someone should close this bug and
explain it.

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

Title:
  Unable to start lxc container after update to 2.6.32-32

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

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


[Bug 790863] [NEW] Unable to start lxc container after update to 2.6.32-32

2011-05-31 Thread HeinMueck
Public bug reported:


Starting a container with 2.6.32-32 leads to the errors below, container will 
not start:

lxc-start 1306854843.605 ERRORlxc_namespace - failed to clone(0x6c02): 
Invalid argument
lxc-start 1306854843.605 ERRORlxc_start - Bad file descriptor - failed to 
fork into a new namespace

When booting 2.6.32-31 again the container works fine.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-31-generic-pae 2.6.32-31.61
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-31.61-generic-pae 2.6.32.32+drm33.14
Uname: Linux 2.6.32-31-generic-pae i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  cperz  4000 F pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf822 irq 17'
   Mixer name   : 'Analog Devices AD1984'
   Components   : 'HDA:11d41984,17aa20d6,00100400'
   Controls  : 30
   Simple ctrls  : 19
Card1.Amixer.info:
 Card hw:1 'Glass'/'Guillemot Corporation Deluxe Optical Glass at 
usb-:00:1a.7-4.3, high speed'
   Mixer name   : 'USB Mixer'
   Components   : 'USB06f8:300d'
   Controls  : 2
   Simple ctrls  : 1
Card1.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 13
   Mono: Capture 0 [0%] [18.00dB] [on]
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 
7MHT25WW-1.03'
   Mixer name   : 'ThinkPad EC 7MHT25WW-1.03'
   Components   : ''
   Controls  : 1
   Simple ctrls  : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Tue May 31 21:39:01 2011
MachineType: LENOVO 7673K4G
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-31-generic-pae root=/dev/sda3 ro 
ipv6.disable=1 splash quiet
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.7
SourcePackage: linux
WpaSupplicantLog:
 
dmi.bios.date: 10/09/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC1WW (2.21 )
dmi.board.name: 7673K4G
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:bvr7NETC1WW(2.21):bd10/09/2009:svnLENOVO:pn7673K4G:pvrThinkPadX61:rvnLENOVO:rn7673K4G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7673K4G
dmi.product.version: ThinkPad X61
dmi.sys.vendor: LENOVO

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


** Tags: apport-bug i386 kconfig lucid needs-upstream-testing regression-release

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

Title:
  Unable to start lxc container after update to 2.6.32-32

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


[Bug 790863] Re: Unable to start lxc container after update to 2.6.32-32

2011-05-31 Thread HeinMueck
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/790863

Title:
  Unable to start lxc container after update to 2.6.32-32

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


[Bug 486790] Re: openvas-server is missing openvas-nvt-sync script

2010-01-05 Thread HeinMueck

Its just that openvas-plugins is missing at all. 

http://wald.intevation.org/frs/download.php/588/openvas-
plugins-1.0.7.tar.gz has the tarball and it contains all files to build
a debian package called openvas-plugins. You can download and build it
yourself, but for some reason it seems that it did not make it into the
distros. Strange, but maybe there is a reason we do not know yet :))

-- 
openvas-server is missing openvas-nvt-sync script
https://bugs.launchpad.net/bugs/486790
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