fedora-silverblue / issue-tracker

Fedora Silverblue issue tracker
https://fedoraproject.org/atomic-desktops/silverblue/
126 stars 3 forks source link

automount/autofs issues with creating mount points #414

Closed pobthebuilder closed 1 year ago

pobthebuilder commented 1 year ago

Seems like autofs/automount aren't functional on Silverblue if you need mountpoints in the root, perhaps due to the read-only root? Any way I can create the relevant mount points for Silverblue?

Slightly redacted log:

...
do_mount_autofs_indirect: failed to create autofs directory /misc
handle_mounts: mount of /misc failed!
...
do_mount_autofs_indirect: failed to create autofs directory /net
handle_mounts: mount of /net failed!
...
parse_server_string: lookup(ldap): Attempting to parse LDAP information from string "auto.users".
parse_server_string: lookup(ldap): mapname auto.users
parse_ldap_config: lookup(ldap): ldap authentication configured with the following options:
parse_ldap_config: lookup(ldap): use_tls: 0, tls_required: 0, auth_required: 1, sasl_mech: (null)
parse_ldap_config: lookup(ldap): user: (null), secret: unspecified, client principal: (null) credential cache: (null)
do_init: parse(sun): init gathered global options: (null)
read_one_map: map read not needed, so not done
do_mount_autofs_indirect: failed to create autofs directory /Network/Test
travier commented 1 year ago

This is https://github.com/coreos/rpm-ostree/issues/337. You can not "easily" create new top level directories on rpm-ostree based systems right now. Use something under /media or /var.