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

Do not patch $TARGET_FS_ROOT/etc/mtab if symbolic link. #2048

Closed
wants to merge 1 commit into from

Conversation

gozora
Copy link
Member

@gozora gozora commented Feb 18, 2019

  1. mtab as regular file
  2. mtab as symbolic link
  • Brief description of the changes in this pull request:
    In the past when /etc/mtab was a regular file it was desirable to update disk UUIDs inside file (along with /etc/fstab)
    When /etc/mtab become symbolic link pointing to /proc/mtab resp /proc/self/mtab, we don't want to perform any replacements with sed -i (nor any other editor) because data are already up to date.

@gozora gozora added bug The code does not do what it is meant to do cleanup labels Feb 18, 2019
@gozora gozora added this to the ReaR v2.5 milestone Feb 18, 2019
@gozora gozora self-assigned this Feb 18, 2019
@gozora gozora requested review from gdha and jsmeix February 18, 2019 20:27
@jsmeix
Copy link
Member

jsmeix commented Feb 19, 2019

@gozora
I think this is obsoleted by my attempts to improve
usr/share/rear/finalize/GNU/Linux/280_migrate_uuid_tags.sh via
6b1889c
but I need to test it...

@gozora
Copy link
Member Author

gozora commented Feb 19, 2019

@jsmeix yes totally OK for me!

Closing (without merging) in favor of #2047

V.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants