-
Notifications
You must be signed in to change notification settings - Fork 135
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
"Failed to parse config" when config is in symlinked directory #378
Comments
I'm not sure what's going on here, I use the same setup and it's able to read the file. Does the same file work if you pass the real path with |
I have a temporary solution for anyone still having problems with this and it's really weird. Just copy or even hard link (but not symbolic) |
Sorry for the long delay. This feels like apparmor, do you have it enabled? Maybe it treats a symlink there as not allowed even though we have a whitelist for that path as a normal file? |
I ran into this problem. I generate Adding this to
Generating the actual file maybe is a more viable solution. 🤷 |
AppArmor support has been dropped: #426 |
Just an FYI, this problem still exists with the mako shipped with Ubuntu Linux um690 5.19.0-29-generic #30-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 4 12:14:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Compiling from source and replacing it worked |
That just means they have an older version. |
Seems like the AppArmor specific files can linger around on Ubuntu.
Reported upstream. See https://bugs.launchpad.net/ubuntu/+source/mako-notifier/+bug/1992795 |
I'm linking my dotfiles from another directory and mako doesn't seem to work with symlinked config files:
The text was updated successfully, but these errors were encountered: