Linux sandbox and the -i option
Is anyone else having issues with the
% sandbox -i [path]
not working? What happens is the context is incorrectly done.
%ls -Zd /tmp/.sandbox_home_[whatever] gives unconfined_u:object_r:sandbox_file_t:s0:cxx,cyyy . BUT
%ls -Z [path] is
gives unconfined_u:object_r:mozilla_home_t:s0 [path]
This causes all sorts of read/write issues.
I guess I can write a script to do the
chcon, but that is a bit painful and you have to hunt for the correct sandbox directory (not optimal at all).
Any suggestions?
Signature · 1 line
William Chimiak
Quoted 12 lines · Bill
Is anyone else having issues with the
% sandbox -i [path]
not working? What happens is the context is incorrectly done.%ls -Zd /tmp/.sandbox_home_[whatever] gives unconfined_u:object_r:sandbox_file_t:s0:cxx,cyyy . BUT
%ls -Z [path] is
gives unconfined_u:object_r:mozilla_home_t:s0 [path]
Quoted 7 lines
This causes all sorts of read/write issues.
I guess I can write a script to do the
chcon, but that is a bit painful and you have to hunt for the correct sandbox directory (not optimal at all).Any suggestions?
I think this is really a question for the fedora selinux list and/or a redhat bugzilla, but regardless, you need to provide more information (e.g. distro version, package version, etc).
Quoted 19 lines · Stephen Smalley
Quoted 18 lines · Bill
Is anyone else having issues with the
% sandbox -i [path]
not working? What happens is the context is incorrectly done.%ls -Zd /tmp/.sandbox_home_[whatever] gives unconfined_u:object_r:sandbox_file_t:s0:cxx,cyyy . BUT
%ls -Z [path] is
gives unconfined_u:object_r:mozilla_home_t:s0 [path]This causes all sorts of read/write issues.
I guess I can write a script to do the
chcon, but that is a bit painful and you have to hunt for the correct sandbox directory (not optimal at all).
Quoted 5 lines
Quoted 1 line
Any suggestions?
I think this is really a question for the fedora selinux list and/or a redhat bugzilla, but regardless, you need to provide more information (e.g. distro version, package version, etc).
Yes, could you please ask on [email protected] with package details?
Thank you.
Quoted 8 lines
_______________________________________________
Selinux mailing list
[email protected]
To unsubscribe, send email to [email protected]. To get help, send an email containing "help" to [email protected].
Signature · 3 lines
Miroslav Grepl Senior Software Engineer, SELinux Solutions Red Hat, Inc.