Skip to content

Old versions of fuse have read-only config file #2387

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

Closed
afbjorklund opened this issue Jun 3, 2024 · 1 comment · Fixed by #2466
Closed

Old versions of fuse have read-only config file #2387

afbjorklund opened this issue Jun 3, 2024 · 1 comment · Fixed by #2466

Comments

@afbjorklund
Copy link
Member

afbjorklund commented Jun 3, 2024

Description

This causes the probe to loop on startup, even though everything is fine.

INFO[0011] [hostagent] Waiting for the essential requirement 4 of 4: "/etc/fuse.conf (/etc/fuse3.conf) to contain \"user_allow_other\"" 
INFO[0051] [hostagent] Waiting for the essential requirement 4 of 4: "/etc/fuse.conf (/etc/fuse3.conf) to contain \"user_allow_other\"" 
INFO[0091] [hostagent] Waiting for the essential requirement 4 of 4: "/etc/fuse.conf (/etc/fuse3.conf) to contain \"user_allow_other\"" 

-rw-r----- 1 root fuse 297 Jun 3 15:31 /etc/fuse.conf

Seen with Ubuntu 15.04, but only when enabling the mounts (with sshfs)


The default was changed in Ubuntu 20.04 (fuse 2.9.3-5)

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733312

The workaround was to disable the mounts (for k8s v1.0.0)

mounts: []
@afbjorklund
Copy link
Member Author

i.e. suggested change is to use 'sudo grep`, when checking for the config

pkg/cidata/cidata.TEMPLATE.d/boot/35-setup-packages.sh: if ! grep -q "^user_allow_other" "${fuse_conf}"; then

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 a pull request may close this issue.

1 participant