Lurker News

Comments (239) 44 threads

Earlier comments
whalesalad1 reply#
Is this named after the one and only boxxy?!
notamy2 replies#
No! I just thought it was a cute name ("put things in a box"), and it wasn't a common repo name on GitHub.
sosodev4 replies#
You might be surprised how many of us were obsessed with Boxxy lol.
warent2 replies#
YUP, she was the OG camgirl, sadly got all the worst parts of the gross attention / fame without any of the perks/money that Belle Delphine gets now

Continue this thread — 2 replies

notamy#
I remember it quite well! Just not my particular cup of tea.
ravenstine#
Glad someone still remembers the e-drama of yore. I wasn't obsessed with Boxxy, but that's a name that reminds me of the glory days of the internet.
trallnag#
I actually think it was just you obsessing over her unironically
jamal-kumar1 reply#
https://www.youtube.com/watch?v=Yavx9yxTrsw

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

Izkata1 reply#
They're not the only one, I've never even heard of her before.

Continue this thread — 1 reply

oneplane1 reply#
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'?
notamy3 replies#
Only in the latter case; I didn't want to assume how people want things done, and implicitly magical tools break more often than not in my experience.

You may also be able to tell I don't have a lot of AWS experience (:

bheadmaster2 replies#
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.

Boxxy seems good enough for userspace.

notamy9 replies#
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.

Continue this thread — 9 replies

oneplane#
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!
blueblob#
If I were to try to do this without symlinks, maybe I'd try mount
iamdamian1 reply#
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)?

notamy1 reply#
> 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.

TechBro86151 reply#
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.

notamy#
Yes, absolutely! Good points to be aware of; I should find a way to add some warnings about this to the README.

(earlier less-relevant comment was deleted)

inamberclad1 reply#
Yep, have an old Java application that wants to put calibration data for a vector network analyzer right in my home directory. This is a perfect tool.
iuafhiuah#
Another solution might be to override the root user directory like:

_JAVA_OPTIONS="-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/programName" programName

Load more comments