The boot options: ssh, fstab and and vnc server setup work only correctly when
the standard user grml is used. In addition the fstab entries uses default
strings from target:/etc/grml/autoconfig without check.
-- 1ST. PROBLEM ------------------------------------------------------
see from boot log:
-> * Bootoption ssh found, trying to set password for user grml.
-> chpasswd: line 1 user 'grml' does not exists
-> chpasswd: error detected changes ignored
-- 2ND. PROBLEM ------------------------------------------------------
press x to start local x server
-> Running Command su grml -c grml-x
-> Unkown id: grml
X-Server does not start up, :-(
-- 3RD. PROBLEM ------------------------------------------------------
VNC Server setup uses hard coded 'grml' user -> found by code inspection
-- 4TH. ADVICE -------------------------------------------------------
fstab ownership should be configured as follows:
a.) /etc/autoconfig:$CONFIG_FSTAB_USER ( multi user system )
b.) standard user with id:1000 ( for single user system )
c.) standard user with name=grml ( for single user system )
d.) fallback to root, to avoid bad fstab
-- USED CONFIG -----------------------------------------------------
[ grml-live.local ]:
OUTPUT="/opt/develop/grml/grml-live"
CLASSES="GRMLBASE,GRML_FULL,AMD64"
DEFAULT_BOOTOPTIONS="ssh=grml-ssh-secret startx vnc=grml-vnc-secret"
USERNAME=myuser
[ ISO-Setup ]:
grml-live [0.17.3]: check your configuration (or use -F to force execution):
FAI classes: GRMLBASE,GRML_FULL,AMD64
Configuration: /etc/grml/grml-live.local
Config directory: /etc/grml/fai
main directory: /opt/develop/grml/grml-live
Chroot target: /opt/develop/grml/grml-live/grml_chroot
Build target: /opt/develop/grml/grml-live/grml_cd
ISO target: /opt/develop/grml/grml-live/grml_isos
Grml name: grml
Release name: grml rocks
Build date: 2012-01-12
Grml version: 0.0-1
Debian suite: testing
Architecture: amd64
Boot method: isolinux
Hybrid method: isohybrid
Template files: /usr/share/grml-live/templates
Boot identifier: grml-mybootid
Adding default bootoptions: "ssh=grml-ssh-secret, persistent"
Using SQUASHFS_OPTIONS -b 256k
see appended file for git-patch:
|