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

Fix "WARNING: Bad format on line 10 of /etc/fstab" after recovery #692

Merged
merged 1 commit into from Nov 13, 2015

Conversation

pavoldomin
Copy link
Contributor

After a successful recovery, during boot, warnings like

WARNING: Bad format on line 10 of /etc/fstab

are printed. The reason is, usr/share/rear/finalize/GNU/Linux/16_rename_diskbyid.sh adds extra space on every fstab line, including also the empty ones. The fsck called at boot time reports the above warning for every such line.

The patch attempts to address this (in a rather expensive way).
In the addition, a bug regarding exclusion of device-mapper devices from renaming is addressed.

@gdha gdha added the bug The code does not do what it is meant to do label Nov 13, 2015
@gdha gdha added this to the Rear v1.18 milestone Nov 13, 2015
@gdha gdha self-assigned this Nov 13, 2015
gdha added a commit that referenced this pull request Nov 13, 2015
Fix "WARNING: Bad format on line 10 of /etc/fstab" after recovery
@gdha gdha merged commit 84b5e90 into rear:master Nov 13, 2015
@pavoldomin pavoldomin deleted the extraspace branch December 8, 2015 09:37
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

Successfully merging this pull request may close these issues.

None yet

2 participants