<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 28, 2023 at 12:46 AM Tony Rodriguez <<a href="mailto:unixpro1970@gmail.com">unixpro1970@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10/27/23 07:06, Lennart Poettering wrote:<br>
> On Do, 26.10.23 19:03, Tony Rodriguez (<a href="mailto:unixpro1970@gmail.com" target="_blank">unixpro1970@gmail.com</a>) wrote:<br>
><br>
>> Experiencing this same issue with iSCSI and systemd-239 for RH8/Rocky8 and<br>
>> RH9/Rocky9 system-252. Nothing was done on my end to create this issue. In<br>
>> other words, no custom mount/unit files or services, just your typical ISO<br>
>> install and rpm updates.<br>
>><br>
>> An ordering cycle occurs, when "_netdev" is specified within /etc/fstab for<br>
>> systemd. This happens with systemd-239-14 and systemd-239-18 using iSCSI<br>
>> based file systems. Seems others are experiencing this as well (see link<br>
>> below). I can also confirm this happens with systemd-252 (RH9/Rocky9)l.<br>
>> Especially if "_netdev" is used with either "/var" or "/usr" iSCSI based<br>
>> devices/file systems. The system may not boot, may not mount file systems,<br>
>> may not start services/unit files, and the system becomes slow during system<br>
>> boot.<br>
>><br>
>> Does anyone know of a fix/patch and root cause for this?<br>
>><br>
>> Please see this link:<br>
>> <a href="https://issues.redhat.com/browse/RHEL-12987?jql=project%20%3D%20RHEL%20AND%20affectedVersion%20%3D%20rhel-9.2.0%20AND%20text%20~%20%22iscsi%22" rel="noreferrer" target="_blank">https://issues.redhat.com/browse/RHEL-12987?jql=project%20%3D%20RHEL%20AND%20affectedVersion%20%3D%20rhel-9.2.0%20AND%20text%20~%20%22iscsi%22</a><br>
>><br>
>> # cat /etc/fstab<br>
>> [...<br>
<br>
1) Lennart's recommendation of removing "/tmp" within /etc/fstab and <br>
using tmpfs for "/tmp" appears to stop the dependency issue for <br>
systemd-239 for systemd-252. However, RH8 and RH9 don't support <br>
systemd-networkd, I am wondering how this can be overcome if removing <br>
"/tmp" and using "tmpfs" aren't options? Would I have to modify various <br>
services and targets? What would I need to add or remove within services <br>
and targets to avoid these dependencies?<br></blockquote><div><br></div><div>everything on the system depends on /tmp having behaviour and semantics of a local filesystem. it is literally part of ABI if you wish. it is hardcoded everywhere</div><div>it must "be there" always and until the last minute.</div><div>Don't do that then ! it is not only systemd..</div><div><br></div><div>What is exactly your problem ? you cannot commit a little ram to tmpfs ? </div></div></div>