Re: Canonical way to upgrade an existing nfsroot?

2016-09-07 Thread Steffen Grunewald
On Tue, 2016-09-06 at 17:17:44 +0200, Thomas Lange wrote: > > On Tue, 6 Sep 2016 17:13:34 +0200, Steffen Grunewald > > said: > > > I found that you have created a backport for jessie but don't > distribute that via > > jessie/koeln? > > You might tweak the dracut.maintscript

NIC1 not set in /usr/lib/fai/subroutines

2016-09-07 Thread Steffen Grunewald
I'm getting a warning from FAI 5.1.2 for jessie, when running "sysinfo": /usr/lib/fai/subroutines: line 813: /sys/class/net//address: No such file or directory It turns out that $NIC1 doesn't get set. Since everything else still works, this isn't alarming, but annoying. - S

Re: Canonical way to upgrade an existing nfsroot?

2016-09-07 Thread Thomas Lange
> On Wed, 7 Sep 2016 10:10:20 +0200, Steffen Grunewald > said: > Identical in what sense? The content is identical, only the version numers are different. > Also, one may want to add [trusted=yes] to the fai-project.org apt line... (is this already in > the manual?) No. T

Re: NIC1 not set in /usr/lib/fai/subroutines

2016-09-07 Thread Thomas Lange
> On Wed, 7 Sep 2016 10:22:28 +0200, Steffen Grunewald > said: > I'm getting a warning from FAI 5.1.2 for jessie, when running "sysinfo": > /usr/lib/fai/subroutines: line 813: /sys/class/net//address: No such file or directory > It turns out that $NIC1 doesn't get set.

Re: NIC1 not set in /usr/lib/fai/subroutines

2016-09-07 Thread Steffen Grunewald
On Wed, 2016-09-07 at 11:15:29 +0200, Thomas Lange wrote: > > On Wed, 7 Sep 2016 10:22:28 +0200, Steffen Grunewald > > said: > > > I'm getting a warning from FAI 5.1.2 for jessie, when running "sysinfo": > > /usr/lib/fai/subroutines: line 813: /sys/class/net//address: No such >

Re: NIC1 not set in /usr/lib/fai/subroutines

2016-09-07 Thread Thomas Lange
> On Wed, 7 Sep 2016 12:48:16 +0200, Steffen Grunewald > said: > I tracked this down a bit. "ip route" returns a single line OK, I've added some code to catch this scenario. > I'm currently running a stretch-based sysinfo on the same machine, same result > (of course) but

Re: NIC1 not set in /usr/lib/fai/subroutines

2016-09-07 Thread Alexander Thomas
On Wed, Sep 7, 2016 at 1:32 PM, Thomas Lange wrote: >> On Wed, 7 Sep 2016 12:48:16 +0200, Steffen Grunewald >> said: > > > I tracked this down a bit. "ip route" returns a single line > OK, I've added some code to catch this scenario. > > > > I'm currently running a stretch-based

Re: dracut error

2016-09-07 Thread Thomas Lange
> On Fri, 19 Aug 2016 13:38:30 +0300, "Hannu T. Pysäys" > said: > fai.log:/sbin/dracut: line 600: cd: /lib/modules: No such file or directory > It looks for me that in my config/scripts/CENTOS/30-mkinitrd tries to do > both CentOS 7 and CentOS 6 ails-commands (at least I ge

Re: FAI Centos7 with Raid

2016-09-07 Thread Thomas Lange
> On Tue, 23 Aug 2016 14:55:20 +0300, Jorma Tolonen > said: > Installation goes through but when rebooting the new server the raid device seems not to start (Device with UUID not found). > During the installation the raid seems to be installed and started properly. check if you

Re: stretch and grub on LVM

2016-09-07 Thread Thomas Lange
I can confirm this problem on jessie (did not tested stretch yet). Before trying to fix it for stretch, I like to understand what should happen, and why the GRUB_PC/10-setup script does not work in this situation. In my test BOOT_DEVICE was aslso set to /dev/vg1/root and BOOT_PARTITION was not set

Re: stretch and grub on LVM

2016-09-07 Thread Sven Schumacher
Hi Thomas, shouldn't grub be installed in the mbr of the used harddrives (e.g. /dev/sda and /dev/sdb) of the lvm, if / is on lvm-volumes? IMHO the grub.cfg etc should be in /boot/grub (so no problem while /boot has its own partition - /boot inside the lvm-Volume might be inaccessable for grub)