expose role paths outside /srv/ftp.root via FTP
Bug #1891566 reported by
Paul Collins
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Mirror Charm |
Fix Released
|
High
|
Barry Price |
Bug Description
As its name suggests, vsftpd is configured to point at /srv/ftp.root, into which it chroots.
Role paths outside /srv/ftp.root (we have stuff on /srv2 and /srv3 as well) are therefore not exposed over FTP.
Due to the chrootery, symlinks won't work. Hard links to directories aren't a thing (even if they were, not across filesystems) so the only way to handle this is with bind mounts.
Probably the charm should configure these itself. Editing /etc/fstab is one way. Another is to install an init script or such to perform the mounts.
Related branches
~barryprice/ubuntu-mirror-charm/+git/ubuntu-mirror-charm:master
- Haw Loeung: Approve
- Paul Collins: Approve (lgtm)
- Barry Price: Needs Resubmitting
- Canonical IS Reviewers: Pending requested
-
Diff: 253 lines (+176/-1)3 files modifiedhooks/hooks.py (+108/-0)
tests/unit/requirements.txt (+1/-0)
tests/unit/test_charm.py (+67/-1)
description: | updated |
Changed in ubuntu-mirror-charm: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Barry Price (barryprice) |
Changed in ubuntu-mirror-charm: | |
status: | In Progress → Fix Released |
To post a comment you must log in.