<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 28-08-19 10:46, Reindl Harald wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ef29e1a7-54d6-eda1-1694-2b47adc5e74d@thelounge.net">
<pre class="moz-quote-pre" wrap="">
Am 28.08.19 um 09:33 schrieb Ulrich Windl:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">systemd in SLES 12 is causing endless frustration here:
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
a good start for a discussion as always :-)
just the topic "/etc/fstab obsolete?" alone makes one puke given that
/etc/fstab is mentioned dozens of times in the manuals and yes you get
generated units for years now, but hey who needs to read any manual when
he can also write useless posts with "causing endless frustration here"
and "That is why I hate systemd"
CTRL+F "fstab" here:
<a class="moz-txt-link-freetext" href="https://www.freedesktop.org/software/systemd/man/systemd.mount.html">https://www.freedesktop.org/software/systemd/man/systemd.mount.html</a>
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Yesterday I was migrating some filesystems to a new device (multipath, MD-RAID, LVM, filesystem, mountpoints, etc.), updating /etc/fstab and other files as needed.
After migration was successful, I also cleaned up the now obsolete resources (multipath, MD-RAID, filesystem, mountpoints, etc.)
Everything looked OK...
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
"looked ok"
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">But some time later the application was stopped, as the new filesystems were unmounted by systemd (even though active processes were using it) WITHOUT giving a reason for "Stopped target Local File Systems" in syslog. Instead systemd tried to mount the filesystems that had been removed from /etc/fstab!
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
in other words your poor univesity either can not afford testing systems
or competent sysadmins using them and RTFM or why do you go ahead on
production servers with a procedere obviously no tested before?
any sane sysadmin (especially when he admits that he is new to the
system) has testing setups and in times of virtualizatioin there is no
longer any excuse
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">It seems systemd does not like root to unmount a filesystem that is still present in /etc/fstab.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
no, it just don't like when you edit config, doing steps manually and
don't issue "daemon-reload"
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">So I tried to "start local filesystems" after realizing the problem this morning. Then disaster (named "systemd") strikes back:
It tried to mount the old filesystems that do no longer exist (and are no longer present in /etc/fstab), resulting in a "dependency failed", and in turn it transitioned a fully running server from multi-user mode to emergency mode, shutting down all services, network, etc.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
the from the old fstab generated units where partially still there
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">That is why I hate systemd!
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
believe it: systemd hates you too
honestly, after all that threads in the past months i would recommend
your employer to replace you with someone with better reading
comprehence and some solid education you obviously don't have for the
SLES your are supposed to maintain
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">I did a "daemon-reload" in the emergency shell, and then I was able to start the default target again.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">if you only would have done it in the production system after mangle
/etc/fstab
_______________________________________________
systemd-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a></pre>
</blockquote>
<p>Unnecessary use of shaming and hurting words. Although the
intention was good, systemd is - in my view - overly complex. And
yes, when starting with it, one should read the manuals at least
once, as a matter of preparation. But I also understand that one
can get lost in the jungle called systemd.</p>
<p>So, don't pass judgment if you have only a portion of the
information. Rather, start asking questions to get the full
picture. I hate the self righteous posture of some people, just
because they <b><i>think</i></b> they know it all/better.<br>
</p>
<p>--- Frans.<br>
</p>
</body>
</html>