A couple of questions about deploying opensuse 42.3 via FAI
Matteo Guglielmi
Matteo.Guglielmi at dalco.ch
Tue Dec 18 12:28:40 CET 2018
Dear All,
I'm currently testing an opensuse 42.3 image which I did put together
using 'mk-basefile' and some modified rinse files in /etc/rinse and
/usr/lib/rinse.
Everything works but I would like to understand two things (see error
messages at the bottom of the email):
1)
Is it possible to have dbus working when using $CHROOTCMD in FAI?
Is it a problem if dbus is not running in the chroot environment?
Do you know how dbus could be started in the chroot environment?
2)
The 'mk_zerofree_list' function defined in the 'subroutines' file is
failing when installing opensuse 42.3.
Apparently the shell being used is not bash but dash.
But, isn't FAI using the /bin/sh file of the nfsroot?
Because that /bin/sh points to /bin/bash in the nfsroot... so, which
shell (I mean which binary) is using FAI for all its functions?
Thanks everybody,
MG.
### DBUS ERROR MESSAGE ###
(153/302) Installing: Mesa-libEGL1-17.0.5-176.1.x86_64 [......done]
(154/302) Installing: libatspi0-2.20.2-8.1.x86_64 [......done]
(155/302) Installing: nfs-client-1.3.0-29.3.1.x86_64 [..........done]
Additional rpm output:
Updating /etc/sysconfig/nfs...
setting /sbin/mount.nfs to root:root 4755. (wrong permissions 0755)
Failed to connect to bus: No such file or directory
### mk_zerofree_list ERROR (/srv/fai/nfsroot/usr/lib/fai/subroutines) ###
dracut: No dracut internal kernel commandline stored in the initramfs
dracut: *** Creating image file '/boot/initrd-4.4.162-78-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-4.4.162-78-default' done ***
Output of dmraid-1.0.0.rc16-42.1.x86_64.rpm %posttrans script:
Updating /etc/sysconfig/dmraid...
Running: cantarell-fonts-0.0.24-3.1-reconfigure-fonts (cantarell-fonts, /var/adm/update-scripts)
/bin/sh: mk_zerofree_list: line 16: syntax error near unexpected token `<'
/bin/sh: mk_zerofree_list: line 16: ` done < <(df --output=source,fstype,target)'
/bin/sh: error importing function definition for `mk_zerofree_list'
done]
Calling task_configure
Executing shell: FAIBASE/10-misc
FAIBASE/10-misc OK.
Executing shell: OSUSE/10-rootpw
More information about the linux-fai
mailing list