New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SLES12: /var/lib/empty is missing, SSHD does not start #864
Comments
It never happened for me. On all my test systems (in particular on SLE12-SP1) SSH_ROOT_PASSWORD="rear" and ssh access to the rear recovery system Do you have a non-default ssh configuration? Does in /etc/rear/local.conf something like COPY_AS_IS=( "${COPY_AS_IS[@]}" /var/lib/empty ) also fix it for you? |
we have set a custom password in local.conf: SSH_ROOT_PASSWORD="recover" besides that i used: COPY_AS_IS=( "${COPY_AS_IS[@]}" /var/lib/empty ) to fix the problem! |
@abbbi I've checked our skel tree and |
@jsmeix If you could verify on a rescue environment (any SLES I guess) that directoru |
Verified it several times and /var/lib/empty is always present in the rescue image. No need to add it to the COPY_AS_IS array |
Regarding #864 (comment) RESCUE d245:~ # ls -ld /var/lib/empty/ drwxr-xr-x 2 root root 0 Aug 17 13:49 /var/lib/empty/ |
by default on SLES12 sshd daemon does not start during recovery because
/var/lib/empty
is missing (/sbin/sshd will complain)
Simply creating the directory fixes this problem. Probably directory should be included during
mkrescue run.
The text was updated successfully, but these errors were encountered: