Bug#858418: Subject:

2017-07-05 Thread Nicolas Courtel

Hello,

Upstream openvswitch team have provided a patch for this problem :

https://github.com/openvswitch/ovs/commit/15af3d44c65eb3cd724378ce1b30c51aa87f4f69#diff-830968569b50f87c82e22a0042a7f760

This patch adresses both Debian packages openvswitch-switch and 
ovn-central; for openvswitch-switch you only need the following change, 
that I have just successfully tested.



--- /etc/init.d/openvswitch-switch~ 2016-09-30 17:27:55.0 +0200
+++ /etc/init.d/openvswitch-switch  2017-07-05 10:59:23.942880725 +0200
@@ -28,6 +28,7 @@
 (test -x /usr/sbin/ovs-vswitchd && test -x /usr/sbin/ovsdb-server) || 
exit 0


 _SYSTEMCTL_SKIP_REDIRECT=yes
+SYSTEMCTL_SKIP_REDIRECT=yes

 . /usr/share/openvswitch/scripts/ovs-lib
 test -e /etc/default/openvswitch-switch && . 
/etc/default/openvswitch-switch


--
Nicolas



Bug#699279: fai-client: Client always reboots after booting in sysinfo mode

2013-01-29 Thread Nicolas Courtel
Package: fai-client
Version: 4.0.5
Severity: normal

At the end of FAI network boot, subroutine task_faiend waits for keypress only 
if $LOGDIR/error.log file exists (line 514 of /usr/lib/fai/subroutines).
As there is no such file in sysinfo mode, the host reboots all the time.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fai-client depends on:
ii  file 5.11-2
ii  iproute  20120521-3
ii  libapt-pkg-perl  0.1.26+b1
ii  perl 5.14.2-16

Versions of packages fai-client recommends:
ii  debconf-utils  1.5.49
ii  libgraph-perl  1:0.91-1

Versions of packages fai-client suggests:
pn  logtail  

-- 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#688790: rsnapshot: WARNING prefix missing in some warning messages

2012-09-25 Thread Nicolas Courtel
Package: rsnapshot
Version: 1.3.1-3
Severity: minor
Tags: patch

Some warnings are logged using the print_warn function, which in turns should
call log_warn for the message to be saved in the log file.
However, print_warn calls log_msg instead, so the WARNING prefix that would be
added by log_warn is missing in the log file.

Fixing this is quite easy:

--- rsnapshot.~1~   2011-07-09 16:39:45.0 +0200
+++ rsnapshot   2012-09-25 11:55:41.0 +0200
@@ -2032,7 +2032,7 @@
}

# write to log
-   log_msg($str, $level);
+   log_warn($str, $level);
 }

 # accepts string, and level



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages rsnapshot depends on:
ii  liblchown-perl  1.01-1+b2
ii  logrotate   3.8.1-4
ii  perl5.14.2-13
ii  rsync   3.0.9-3

Versions of packages rsnapshot recommends:
ii  openssh-client [ssh-client]  1:6.0p1-3

rsnapshot suggests no packages.

-- Configuration Files:
/etc/cron.d/rsnapshot changed [not included]


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



Bug#675454: pvm fails on amd64 when path is longer than 8 characters

2012-06-01 Thread Nicolas Courtel

Le 01/06/2012 18:19, Samuel Thibault a écrit :

Steinar H. Gunderson, le Fri 01 Jun 2012 17:23:28 +0200, a écrit :

On Fri, Jun 01, 2012 at 12:32:22PM +0200, Nicolas Courtel wrote:

If the command run by pvm is more than 8 characters long, it can't be started,
the error message received by the client is the following:
Fatal error: exception Failure("PvmNoFile")

This bug has been introduced by Debian patch 22-fix_FTBFS4hurd.patch; after
rebuilding the pvm package without this patch pvm works again as expected on
64-bits architecture.

Cc-ing Svante Signell, who made this patch in the first place,
and Samuel Thibault, who (0-day!) NMUed with it.

Guys, do you want to have a look?

Oops, one change was indeed missing, I wonder how my tests managed to go
through. Here is a fixed patch.

Nicolas, could you test it?

Samuel


The new patch is ok for me, thanks for the quick fix

--
Nicolas



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



Bug#675454: pvm fails on amd64 when path is longer than 8 characters

2012-06-01 Thread Nicolas Courtel
Package: pvm
Version: 3.4.6-1
Severity: normal

If the command run by pvm is more than 8 characters long, it can't be started,
the error message received by the client is the following:
Fatal error: exception Failure("PvmNoFile")

This bug has been introduced by Debian patch 22-fix_FTBFS4hurd.patch; after
rebuilding the pvm package without this patch pvm works again as expected on
64-bits architecture.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages pvm depends on:
ii  libc62.13-32
ii  openssh-client [rsh-client]  1:5.9p1-5
ii  rsh-client   0.17-15

pvm recommends no packages.

pvm suggests no packages.

-- 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#524880: INTERNAL ERROR in setup-storage: convert_unit

2009-04-24 Thread Nicolas Courtel

Michael Tautschnig a écrit :

Package: fai-client
Version: 3.2.18
Severity: normal





[...]

  

Hello,

First installation with fai 3.2.18, setup-storage fails on a disk config that 
seems valid, as it works on the same host with fai 3.2.16.

Following is the debug-enabled fai.log.




[...]

  

Finding all volume groups
Finding volume group "vg0"
Creating directory "/etc/lvm/archive"
Archiving volume group "vg0" metadata (seqno 1).
Creating directory "/etc/lvm/backup"
Creating volume group backup "/etc/lvm/backup/vg0" (seqno 1).
Finding all volume groups
Finding volume group "vg0"
Use of uninitialized value in concatenation (.) or string at 
/usr/share/fai/setup-storage//Volumes.pm line 310.
Use of uninitialized value in concatenation (.) or string at 
/usr/share/fai/setup-storage//Volumes.pm line 310.
INTERNAL ERROR in setup-storage:
convert_unit 



[...]

Sorry for the late reply; this error seems quite odd - could you help a bit in
debugging this?

Could you please re-start an install and once it aborts as shown above, please
run

- vgdisplay
- perl -w vol.pl (script is attached)

  


I tried again on the same host this morning, and it's working juste 
fine. Although the problem has occured several times on tuesday, event I 
after rebuilding the nfsroot it doesn't show up any more today. I have 
upgraded to 3.2.19, but it shouldn't make any difference I guess.


The new log is the following:
[...]
   Finding all volume groups
   Finding volume group "vg0"
   Creating directory "/etc/lvm/archive"
   Archiving volume group "vg0" metadata (seqno 7).
   Creating directory "/etc/lvm/backup"
   Creating volume group backup "/etc/lvm/backup/vg0" (seqno 7).
   Finding all volume groups
   Finding volume group "vg0"
   Finding all volume groups
   Finding volume group "vg0"
   Finding all volume groups
   Finding volume group "vg0"
(CMD) mdadm --detail --scan --verbose -c partitions 1> /tmp/c5viBeTkqP 
2> /tmp/yoHClj71aW

[...]

Does the seqno value, 7 instead of 1, has any importance ?

--
Nicolas


Bug#524880: INTERNAL ERROR in setup-storage: convert_unit

2009-04-22 Thread Nicolas Courtel

Michael Tautschnig a écrit :

Sorry for the late reply; this error seems quite odd - could you help a bit in
debugging this?

Could you please re-start an install and once it aborts as shown above, please
run

- vgdisplay
- perl -w vol.pl (script is attached)

and send the output?


  
  
Well, I'm afraid I can't reproduce it now, as I don't have the host  
which failed any more, and setup-storage is desperately successful on  
another host :-) .



Is that one using LVM as well?

  
Yes, I installed it the same way (Windows XP on the entire drive + 
Partition Magic to shrink it) and used the same disk config file.


--
Nicolas


Bug#524880: INTERNAL ERROR in setup-storage: convert_unit

2009-04-22 Thread Nicolas Courtel



Sorry for the late reply; this error seems quite odd - could you help a bit in
debugging this?

Could you please re-start an install and once it aborts as shown above, please
run

- vgdisplay
- perl -w vol.pl (script is attached)

and send the output?


  
Well, I'm afraid I can't reproduce it now, as I don't have the host 
which failed any more, and setup-storage is desperately successful on 
another host :-) .
I should be able to get the host back in a couple of days, though, and 
run the two scripts.


--
Nicolas




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



Bug#524880: INTERNAL ERROR in setup-storage: convert_unit

2009-04-20 Thread Nicolas Courtel
Package: fai-client
Version: 3.2.18
Severity: normal



-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages fai-client depends on:
ii  file   4.26-1Determines file type using "magic"
ii  libapt-pkg-perl0.1.22+b1 Perl interface to libapt-pkg
ii  liblinux-lvm-perl  0.14-1module to access LVM status inform
ii  libparse-recdescent-perl   1.95.1+dfsg-3 generates recursive-descent parser
ii  net-tools  1.60-22   The NET-3 networking toolkit
ii  perl   5.10.0-19 Larry Wall's Practical Extraction 

Versions of packages fai-client recommends:
ii  cfengine2 2.2.8-1Tool for configuring and maintaini
ii  debconf-utils 1.5.24 debconf utilities

Versions of packages fai-client suggests:
pn  cryptsetup (no description available)
ii  dmsetup  2:1.02.27-4 The Linux Kernel Device Mapper use
pn  ntfsprogs  (no description available)

-- no debconf information
Hello,

First installation with fai 3.2.18, setup-storage fails on a disk config that 
seems valid, as it works on the same host with fai 3.2.16.

Following is the debug-enabled fai.log.

-- 
Nicolas

 -
   Fully Automatic Installation  -  FAI

   FAI 3.2.18, 20 Apr 2009  Copyright (c) 1999-2009
   Thomas Lange  
 -

Calling task_confdir
Kernel currently running: Linux 2.6.26-2-486 i686 GNU/Linux
Kernel parameters: initrd=initrd.img-2.6.26-2-486 ip=dhcp root=/dev/nfs 
nfsroot=/srv/fai/lenny/nfsroot-i386 boot=live FAI_FLAGS=verbose,sshd,reboot 
FAI_ACTION=install BOOT_IMAGE=vmlinuz-2.6.26-2-486 
Reading /tmp/fai/boot.log
FAI_FLAGS: verbose sshd reboot
Can't connect to monserver on venar port 4711. Monitoring disabled.
Configuration space venar:/srv/fai/lenny/config mounted to /var/lib/fai/config
Calling task_setup
FAI_FLAGS: verbose sshd reboot
rdate: Could not connect socket: Connection refused
20 Apr 14:08:35 ntpdate[2533]: step time server 10.192.32.48 offset 0.039273 sec
Calling task_defclass
/usr/bin/fai-class: Defining classes.
Executing /var/lib/fai/config/class/10-base-classes.
10-base-classes  OK.
Executing /var/lib/fai/config/class/12-processor.
12-processor OK.
Executing /var/lib/fai/config/class/20-hwdetect.source.
loading kernel module usbkbd
loading kernel module ide-disk
loading kernel module ide-cd
loading kernel module ohci-hcd
loading kernel module usbhid
loading kernel module usbmouse
loading kernel module ide-generic
loading kernel module mptspi
loading kernel module ata_piix
loading kernel module dm-mod
loading kernel module md-mod
loading kernel module aes
loading kernel module dm-crypt
20-hwdetect.source   OK.
Executing /var/lib/fai/config/class/50-host-classes.
50-host-classes  OK.
List of all classes:  DEFAULT LINUX I386 I686 FAIBASE NFORCE_590 ALSA BOOT MBR 
GRUB NETWORK NTP NIS NFS DEVTOOLS XORG XCLIENTS GNOME KDE OFFICE TEX GAMES 
FRENCH OCSNG TINA bibop LAST
Calling task_defvar
Executing FAIBASE.var
++ FAI_ALLOW_UNSIGNED=1
++ CONSOLEFONT=
++ KEYMAP=us-latin1
++ UTC=yes
++ TIMEZONE=Europe/Paris
++ ROOTPW='$1$s.S8LD8/$DtiUW5UH0B.y5zLrZPALo1'
++ MODULESLIST='usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse'
++ STOP_ON_ERROR=700
++ USE_SETUP_STORAGE=1
++ debug=1
Executing NFORCE_590.var
++ moduleslist='sata_sil24 ohci1394 forcedeth snd-hda-intel sata_nv amd74xx'
Executing FRENCH.var
++ KEYMAP=fr-latin9
Loading keymap(s) fr-latin9 ...done.
Calling task_action
FAI_ACTION: install
Performing FAI installation. All data may be overwritten!

Calling task_install
Calling task_partition
Partitioning local harddisks using setup-storage
Starting setup-storage 1.0.4
disklist was: sda
Using config file: /var/lib/fai/config/disk_config/bibop
Input was:
disk_config sda  preserve_always:1 bootable:2

primary -  0-   -
primary /boot512ext3rw
logical -  25000-   -   -

disk_config lvm
vg vg0 sda5
vg0-swapswap2048swapsw
vg0-root/   1024ext3rw
vg0-var /var2048ext3rw
vg0-usr /usr6144ext3rw
vg0-home/export/home6144ext3rw
vg0-projet  /export/projet  6144ext3rw
(CMD) parted -s /dev/sda unit TiB print 1> /tmp/jHBEycAozt 2> /tmp/q4OwbNzCqG
Executing: parted -s /dev/sda unit TiB print
(STDOUT) Model: ATA Maxtor 6B300S0 (scsi)
(STDOUT) Disk /dev/sda: 0.27TiB
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: m