-
Notifications
You must be signed in to change notification settings - Fork 199
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
Error in /etc/systemd/system/kubelet.service.d (put_read) Is a directory #548
Comments
Hello, Can you show your file before the change please? |
hi,
Environment:
|
Augeas gets confused about file system paths here, and thinks One way to work around this would be to change the definition of the filter to exclude
If that works, we'd need to figure out what other patterns usually denote directories and exclude them too (seems |
We used to get confused when writing back systemd changes and tried to write a whole *.d or *.wants directory as one file, which would fail. By explicitly not matching them, we make sure that we write to the files in those directories, not the directories themselves. Fixes hercules-team#548
I've just put up a PR that seems to fix this issue in my testing. |
We used to get confused when writing back systemd changes and tried to write a whole *.d or *.wants directory as one file, which would fail. By explicitly not matching them, we make sure that we write to the files in those directories, not the directories themselves. Fixes hercules-team#548
Thanks! |
hi,
I try to use augtool to modify
/etc/systemd/system/kubelet.service.d/10-kubeadm.conf
, but found an error. Here is what I did/etc/systemd/system/kubelet.service.d/10-kubeadm.conf
cannot be updated.The text was updated successfully, but these errors were encountered: