On 12/10/25 12:12 PM, pgnd wrote:
its deps
[Unit]
Description=Automounts filesystems on demand
After=network.target ypbind.service sssd.service
network-online.target remote-fs.target rpc-statd.service rpcbind.service
Wants=network-online.target rpc-statd.service rpcbind.service
are a good starting point
( that said, i've added 'sleep xx' to units more than once !)
I am not sure if it's relevant here but I remember getting in trouble
because I modified /lib/systemd and it was overwritten by an update. It
turns out that overrides need to go in /etc/systemd. There's a systemctl
way of doing it:
systemd cat Automounts prints the current setting
systemd edit Automounts allows to change it by creating
/etc/systemd/system/Automount.service.d/override.conf
BTW, overriding is tricky---some properties are overwritten and some are
appended to. I think "After" does append-to, and in some cases when
starting from a blank slate is called for, you need Entry=' ' followed
by Entry="newcontent" but other times you have to override the entire
config file ('systemctl edit --full ???)
It was not clear to me how it works---I gave up trying to understand it
fully for now, so this is just a note to watch for it if it becomes
important in the future.
Can someone recommed a good writeup of this topic?
------------------------------------------------------------------------
--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue