> On Sun, 30 Nov 2014 22:22:59 +0000 (UTC), William Unruh wrote:
>
>> As I said, I tried
>> systemctl disable tmp.mount
>
> Sorry about that, I need to go back through speed reading 101.
>
> All I was trying to suggest is, you do not usually remove files in
> systemd directories.
As below, you remove links.
>
>> Since you apparently know systemd,
>
> Not really, I know just enough to be dangerous to myself.
>
>> what exactly is systemd disable tmp.mount supposed to do. It clearly
>> is supposed to change some file or files to let systemd know not to
>> user tmp.mount next time.
>> But what exactly are the files
>> that are changed, and what are the changes to those files?
>
> Nothing is changed in files.
>
> The enable/disable commands create/delete links.
Ahha.
I renamed it back to tmp.mount I run
systemctl enable tmp.mount
and I get an error message which says tmp.mount has no [Install}
secion.
I do find a link in systemd/system/local-fs.target.wants/tmp.mount
but it seems that it is impossible to disable this without manually
erasing that tmp.mount link.
If I do
systemctl disable tmp.mount
it give no error message or anything (even journalctl only give that
"Reload" message) but
it does NOT erase that link probably again because it has no idea where
that link is because it has no [Install].
Actually none of the .mount files have any [Install] section.
Is tmp.mount a Mageia addition, or is it part of systemd? If it is part
of Mageia addition, it seems that either they forgot to put an
[Install] stanza into the file, or they decided that noone should ever
want a real tmp/ directory.
From the lack in any of the .mount files, it seems it is systemd that is
acting like a petty dictator.