-
Notifications
You must be signed in to change notification settings - Fork 570
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
rsync-download_only: private-bin is broken #5692
Comments
Works for me on Artix: $ firejail --quiet --profile=rsync-download_only /usr/bin/rsync --version |
grep version
rsync version 3.2.7 protocol version 31
$ firejail --ignore='include rsync.local' --ignore='include globals.local' \
--profile=rsync-download_only /usr/bin/rsync --version | grep version
rsync version 3.2.7 protocol version 31
+1
By the way, you can probably keep the |
No problem; I'd suggest temporarily installing and testing with the non-git |
Hello, is this still an issue? Are you sure that it's not due to modifications in globals.local, etc? |
Yes, the issue still shows for me. I've made absolutely sure to temporarily move my *.local files out of the way while testing. It works when I use |
$ pacman -Qlq rsync | grep bin
/usr/bin/
/usr/bin/rrsync
/usr/bin/rsync
/usr/bin/rsync-ssl Does it work with just the following?
Are you using a wrapper script (such as in ~/bin) for rsync? Or something that rsync might call, like ssh? |
I was aware of /usr/bin/rrsync and /usr/bin/rsync-ssl while re-checking this issue. But no, adding Re-checked for wrappers, but again, nothing there either. |
Today I found my first ever use case for rsync-download_only.profile. But
private-bin rsync
is broken on my Arch Linux box (running firejail from git):Obviously
ignore private-bin
fixes this. But I can't explain whyprivate-bin rsync
reports an error. Testing other apps using private-bin confirm it seems to work as expected. I'll do some more digging but I don't think Arch Linux does anything out of the ordinary packaging rsync compared to other distro's. If anyone can check this on a different distribution that would be helpful. @rusty-snake As you contributed this, can you double-check if private-bin works for you on Fedora please (if that's still your main distro)?[Side note] foo.local refers to rsync.local although the hardening comment uses rsync-download_only.local - which can be easily fixed
firejail/etc/profile-m-z/rsync-download_only.profile
Line 6 in 854e54f
firejail/etc/profile-m-z/rsync-download_only.profile
Line 25 in 854e54f
The text was updated successfully, but these errors were encountered: