I set in my distro config VIRTUAL-RUNTIME_initscripts = "" to disable initscripts to be pulled in my image, thus the volatile config described above is gone.
This is new in Scarthgap and causing conflict with systemd, it should be documented somewhere. On Tue, Jun 4, 2024 at 3:41 PM Ayoub Zaki <ayoub.z...@googlemail.com> wrote: > I added in my layer: > > recipes-core/initscripts/initscripts_%.bbappend > > > do_install:append() { > > sed -i '/.*resolv.conf*/d' ${D}${sysconfdir}/default/volatiles/00_core > } > > but this solves the problem only for my use case, I think something more > generic should be done here. > > > On Tue, Jun 4, 2024 at 3:16 PM Ayoub Zaki <ayoub.z...@googlemail.com> > wrote: > >> @alex.kana...@gmail.com it looks like a serious regression in Yocto >> project. >> I cannot provide a patch right now, since I don't understand the >> background those latest changes introduced by enforcing smylinking of >> /etc/resolv.conf even for systemd >> >> On Tue, Jun 4, 2024 at 3:11 PM Ayoub Zaki <ayoub.z...@googlemail.com> >> wrote: >> >>> No worries. thanks for checking >>> >>> On Tue, Jun 4, 2024 at 3:06 PM Zoran Stojsavljevic < >>> zoran.stojsavlje...@gmail.com> wrote: >>> >>>> U R correct, Ayoub. I missed a yocto list. >>>> >>>> My bad. :-( >>>> >>>> Regards, >>>> Zee >>>> >>>> ---------- Forwarded message --------- >>>> From: Zoran Stojsavljevic <zoran.stojsavlje...@gmail.com> >>>> Date: Tue, Jun 4, 2024 at 2:37 PM >>>> Subject: Re: [yocto] Systemd resolv.conf >>>> To: Ayoub Zaki <ayoub.z...@googlemail.com> >>>> >>>> I did not know that you were talking about a target?! >>>> >>>> You should clearly point out what target platform U R using and talk >>>> 'bout, and try to describe the problem in detail. >>>> >>>> At least I am trying not to focus on my inner self when I post, rather >>>> on the outside public view since people reading your @ are not sure >>>> what is going on and where is the problem? >>>> >>>> Zee >>>> _______ >>>> >>>> On Tue, Jun 4, 2024 at 2:16 PM Ayoub Zaki <ayoub.z...@googlemail.com> >>>> wrote: >>>> > >>>> > I don't get your point ! you are pinging from your host ! What does >>>> this have to do with the described problem ?! >>>> > >>>> > On Mon, Jun 3, 2024 at 6:09 PM Zoran Stojsavljevic < >>>> zoran.stojsavlje...@gmail.com> wrote: >>>> >> >>>> >> Interesting... >>>> >> _______ >>>> >> >>>> >> vuser@fedora40-ssd-2TB:~/projects2/yocto/yocto_test2/bbb-yocto/poky/build$ >>>> git status >>>> >> On branch scarthgap >>>> >> Your branch is up to date with 'origin/scarthgap'. >>>> >> >>>> >> Changes not staged for commit: >>>> >> (use "git add <file>..." to update what will be committed) >>>> >> (use "git restore <file>..." to discard changes in working >>>> directory) >>>> >> modified: ../meta/recipes-core/images/core-image-base.bb >>>> >> modified: ../meta/recipes-core/images/core-image-minimal.bb >>>> >> modified: >>>> >>>> ../meta/recipes-extended/cracklib/cracklib/0001-packlib.c-support-dictionary-byte-order-dependent.patch >>>> >> >>>> >> Untracked files: >>>> >> (use "git add <file>..." to include in what will be committed) >>>> >> ../meta/recipes-core/images/core-image-base.bb.genesis >>>> >> ../meta/recipes-core/images/core-image-minimal.bb.genesis >>>> >> >>>> >> no changes added to commit (use "git add" and/or "git commit -a") >>>> >> >>>> >> vuser@fedora40-ssd-2TB:~/projects2/yocto/yocto_test2/bbb-yocto/poky/build$ >>>> ping yocto.org >>>> >> PING yocto.org (217.160.0.14) 56(84) bytes of data. >>>> >> 64 bytes from 217-160-0-14.elastic-ssl.ui-r.com (217.160.0.14): >>>> icmp_seq=1 ttl=57 time=16.2 ms >>>> >> 64 bytes from 217-160-0-14.elastic-ssl.ui-r.com (217.160.0.14): >>>> icmp_seq=2 ttl=57 time=14.6 ms >>>> >> 64 bytes from 217-160-0-14.elastic-ssl.ui-r.com (217.160.0.14): >>>> icmp_seq=3 ttl=57 time=14.8 ms >>>> >> ^C >>>> >> --- yocto.org ping statistics --- >>>> >> 3 packets transmitted, 3 received, 0% packet loss, time 2002ms >>>> >> rtt min/avg/max/mdev = 14.617/15.214/16.188/0.694 ms >>>> >> >>>> >> vuser@fedora40-ssd-2TB:~/projects2/yocto/yocto_test2/bbb-yocto/poky/build$ >>>> ls -l /etc/resolv.conf >>>> >> lrwxrwxrwx. 1 root root 39 Jul 18 2022 /etc/resolv.conf -> >>>> ../run/systemd/resolve/stub-resolv.conf >>>> >> >>>> >> Zee >>>> >> _______ >>>> >> >>>> >> >>>> >> On Mon, Jun 3, 2024 at 4:52 PM Alexander Kanavin via >>>> lists.yoctoproject.org <alex.kanavin=gmail....@lists.yoctoproject.org> >>>> wrote: >>>> >>> >>>> >>> Yes please; can you send a patch for master? >>>> >>> >>>> >>> Alex >>>> >>> >>>> >>> On Mon, 3 Jun 2024 at 16:48, Ayoub Zaki via lists.yoctoproject.org >>>> >>> <ayoub.zaki=googlemail....@lists.yoctoproject.org> wrote: >>>> >>> > >>>> >>> > Hello, >>>> >>> > >>>> >>> > after upgrading to scarthgap, I noticed that the name resolution >>>> doesn't work anymore: >>>> >>> > >>>> >>> > ~ # ping yocto.org >>>> >>> > ping: bad address 'yocto.org' >>>> >>> > ~ # >>>> >>> > >>>> >>> > ~ # ping 217.160.0.14 >>>> >>> > PING 217.160.0.14 (217.160.0.14): 56 data bytes >>>> >>> > 64 bytes from 217.160.0.14: seq=0 ttl=57 time=24.174 ms >>>> >>> > 64 bytes from 217.160.0.14: seq=1 ttl=57 time=19.452 ms >>>> >>> > >>>> >>> > --- 217.160.0.14 ping statistics --- >>>> >>> > 2 packets transmitted, 2 packets received, 0% packet loss >>>> >>> > round-trip min/avg/max = 19.452/21.813/24.174 ms >>>> >>> > >>>> >>> > >>>> >>> > ~ # ls -l /etc/resolv.conf >>>> >>> > lrwxrwxrwx 1 root root 20 Mar 9 2018 >>>> /etc/resolv.conf -> /var/run/resolv.conf >>>> >>> > ~ # cat /var/run/resolv.conf >>>> >>> > cat: can't open '/var/run/resolv.conf': No such file or directory >>>> >>> > >>>> >>> > >>>> >>> > >>>> >>> > After linking manually : >>>> >>> > >>>> >>> > ~ # ln -sf /etc/resolv-conf.systemd /etc/resolv.conf >>>> >>> > ~ # >>>> >>> > ~ # >>>> >>> > ~ # ping yocto.org >>>> >>> > PING yocto.org (217.160.0.14): 56 data bytes >>>> >>> > 64 bytes from 217.160.0.14: seq=0 ttl=57 time=17.577 ms >>>> >>> > 64 bytes from 217.160.0.14: seq=1 ttl=57 time=18.716 ms >>>> >>> > ^C >>>> >>> > --- yocto.org ping statistics --- >>>> >>> > 2 packets transmitted, 2 packets received, 0% packet loss >>>> >>> > round-trip min/avg/max = 17.577/18.146/18.716 ms >>>> >>> > >>>> >>> > >>>> >>> > shouldn't be that added in the systemd recipe : >>>> >>> > >>>> >>> > >>>> https://git.yoctoproject.org/poky/tree/meta/recipes-core/systemd/systemd_255.4.bb?h=scarthgap#n352 >>>> >>> > >>>> >>> > Best regards >>>> >>> > >>>> >>> > >>>> >>> > >>>> >>> >>>> >>> >>>> >>> >>>> >>>
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63293): https://lists.yoctoproject.org/g/yocto/message/63293 Mute This Topic: https://lists.yoctoproject.org/mt/106463010/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-