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

Improve /dev/log symbolic link setup to only create it if missing (#49) #58

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

psaavedra
Copy link
Member

This fixes cases where the symbolic link is already present in the system, such as in the latest Ubuntu images.

If /dev/log already exists, the script skips the link creation to avoid the following error message:

[9/14] Set /dev/log symbolic link to /run/systemd/journal/dev-log ...
ln: failed to create symbolic link '/dev/log': Permission denied

Issue: #49

This fixes cases where the symbolic link is already present in the
system, such as in the latest Ubuntu images.

If `/dev/log` already exists, the script skips the link creation to
avoid the following error message:

  [9/14] Set /dev/log symbolic link to /run/systemd/journal/dev-log ...
  ln: failed to create symbolic link '/dev/log': Permission denied

Issue: #49
Copy link
Member

@nikolaszimmermann nikolaszimmermann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Pablo, looks great

@nikolaszimmermann nikolaszimmermann merged commit edf80ff into main Sep 29, 2024
2 checks passed
@nikolaszimmermann nikolaszimmermann deleted the fix_issue_49 branch September 29, 2024 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants