Skip to content
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

rescue.conf cannot be written #336

Closed
gdha opened this issue Nov 25, 2013 · 0 comments
Closed

rescue.conf cannot be written #336

gdha opened this issue Nov 25, 2013 · 0 comments
Assignees
Labels
bug The code does not do what it is meant to do
Milestone

Comments

@gdha
Copy link
Member

gdha commented Nov 25, 2013

At the point, where usr/share/rear/rescue/NETFS/default/60_store_NETFS_variables.sh

is sourced it throws an error, complaining that $ROOTFS_DIR$CONFIG_DIR/rescue.conf cannot be written. In my case this resolves to /tmp/rear.<..whatever..>/rootfs/root/rear/etc/rear/rescue.conf
because I extracted the rear archive in /root/rear.

For me, changing 60_store_NETFS_variables.sh so that the last line says

declare -p ${!NETFS*} | sed -e 's/declare .. //' >>$ROOTFS_DIR/etc/rear/rescue.conf

mitigates the error.

Thanks,
Stefan Gundlach

@ghost ghost assigned gdha Nov 25, 2013
@gdha gdha closed this as completed in 3b4fb21 Nov 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The code does not do what it is meant to do
Projects
None yet
Development

No branches or pull requests

1 participant