Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we set the correct perms when its creates rather than later though?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot, the
dump
generator has amode
option. Let me fix that.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I'm having the same issue with netplan and used your code to set permissions. I'm still getting "Cannot call openvswitch: ovsdb-server.service is not running" . Am I doing something wrong here? are there any further steps needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lukasz0617 can you confirm that
10-lxc.yaml
has the correct permission set in the container?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First time creating new instance for a few weeks and I am NOW also seeing
with image 22.04 (unchanged apart from any automatic updating). Note that 90-lxc.yaml was a pushed file and the permissions were indeed too open - I simply
chmod 0600 /etc/netplan/90-lxc.yaml
- and thennetplan try
accepted the config without issue but still reportedThe LXD set up has been in place for a while. Doesn't seem to create any issues, but clearly not right?