Draft
Conversation
2a6a9ba to
4a9fa9d
Compare
- /services and /remote are mounted with nfs - ~/remote is bind mounted to the remote home directory in /remote on login with pam_mount ocf.nfs: - new ocf.nfs.mountRemote - fix incorrect "lib.mkIf cfg.mountHome" -> "lib.mkIf cfg.mountServices" for filesystems."/services"
4a9fa9d to
9edff5c
Compare
This was referenced Apr 10, 2026
Closed
7199556 to
ee2b952
Compare
- tmpfs will be mounted on /home and each users home directory, and unmounted on logout so that data is cleared immediately instead of on reboot. - stuff related to home directories moved to an ocf nix module
ee2b952 to
b25bbfd
Compare
- `ocf.nfs.mountHome` and `ocf.nfs.mountRemote` have been combined into `ocf.nfs.mount`: the public_html symlink in our users' homes expects `/services` to exist, so combining makes more sense. - `ocf.nfs.asRemote`: change mount location of nfs homes to `/remote` (for hosts that have their own /home such as desktops). - add ocf.nfs.cache, ocf.nfs.kerberos, ocf.nfs.softerr
b25bbfd to
47a26af
Compare
branch 'tmpfs-home-per-login' (config to mount a tmpfs for each users' home directory on login) contains a script that copies /etc/skel to a newly mounted tmpfs home on login via pam_exec. this script will be modified to also set up ~/remote when remote home directories are mounted at /remote with nfs.
47a26af to
210f71d
Compare
Member
Author
|
this is almost done: need to test latest commit, clean things up |
Member
Author
|
ill squash the fixup commits before merging |
abizer
reviewed
Apr 15, 2026
| ;; | ||
| close_session) | ||
| # unmount everything under the users home dir | ||
| # FIXME: handle cases where user leaves the mountpoint busy |
abizer
reviewed
Apr 15, 2026
| # bind mount ~/remote to nfs | ||
| echo "ocf-mount-remote: bind mounting $remote_source/ to $remote_dest." | ||
| mkdir -p "$remote_dest" | ||
| mount -o bind "$remote_source" "$remote_dest" |
Member
There was a problem hiding this comment.
also probably want to not follow symlinks
Member
There was a problem hiding this comment.
ie mount public_html on its own instead of accessing it via symlink
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.