You have no idea how much of a thing this was? People either loved her or got irrationally angry if she was ever brought up to the point of committing federal crimes
AWS an interesting example considering it's also a default search path for the SDK so anything using an AWS SDK is going to check for ~/.aws/config; does boxxy apply the rules to anything run in a shell, or only if 'run by boxxy'?
Would be cool if there was a tool that could detect that configured path was attempted to be opened, and redirect the open() syscall to the real path... But that would most likely require kernel support.
I actually attempted using ptrace to rewrite syscalls first! It was... horribly painful, and didn't work anywhere near as well as the bind-mount version.
I suppose that is indeed more trouble than it's worth. As for applications that might behave like AWS and their SDK; I think that if someone uses boxxy they would probably also remember to do the same thing for other stuff that uses aws under the hood, so overall a win either way!
This seems like a great idea, thank you for sharing.
Are you aware of any notable caveats to using Boxxy, given the mount-based implementation? E.g., will this continue to work if you sync ~/ with other machines (rsync, FTP, SyncThing)?
> This seems like a great idea, thank you for sharing.
Thanks :D > Are you aware of any notable caveats to using Boxxy, given the mount-based implementation? System configuration to allow mount namespaces, tools might have to understand recursive paths, it's tested for my use-cases. > E.g., will this continue to work if you sync ~/ with other machines (rsync, FTP, SyncThing)? I haven't tried it! Would love to see what happens as that's unfortunately not a use-case I have.
In my experience doing weird things with mountpoints, there is almost always some bug that happens on reboot of the system. For example, if your mounts aren't in /etc/fstab, they simply won't be restored.
And if you have a script that sets them up manually, then make sure that script runs on boot after any mounts it implicitly depends on.
Also note that any scripts with config stored in these mountpoints (which seems to be the point of the tool) will not be able to run until the mountpoints are up. That seems like an obvious observation, but it's easy to fall into a trap where one of your scripts installed with this tool is called in a setup script that runs on boot of your machine.
Comments (239) 44 threads
Earlier commentsContinue this thread — 2 replies
You have no idea how much of a thing this was?
People either loved her or got irrationally angry if she was ever brought up to the point of committing federal crimes
Continue this thread — 1 reply
You may also be able to tell I don't have a lot of AWS experience (:
Boxxy seems good enough for userspace.
Continue this thread — 9 replies
http://ordiluc.net/fs/libetc/
Are you aware of any notable caveats to using Boxxy, given the mount-based implementation? E.g., will this continue to work if you sync ~/ with other machines (rsync, FTP, SyncThing)?
Thanks :D
> Are you aware of any notable caveats to using Boxxy, given the mount-based implementation?
System configuration to allow mount namespaces, tools might have to understand recursive paths, it's tested for my use-cases.
> E.g., will this continue to work if you sync ~/ with other machines (rsync, FTP, SyncThing)?
I haven't tried it! Would love to see what happens as that's unfortunately not a use-case I have.
Also note that any scripts with config stored in these mountpoints (which seems to be the point of the tool) will not be able to run until the mountpoints are up. That seems like an obvious observation, but it's easy to fall into a trap where one of your scripts installed with this tool is called in a setup script that runs on boot of your machine.
(earlier less-relevant comment was deleted)
_JAVA_OPTIONS="-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/programName" programName
All comments shown.
Couldn't load more comments. Check your connection and try again.