See https://docs.yoctoproject.org/4.0.4/migration-guides/migration-4.0.html#fetching-changes, last bullet.
On Sat, Jul 22, 2023 at 7:06 AM <[email protected]> wrote: > > Hi, experts > > I'm moving my bb recipe to kirkstone but met a problem which causing ssh > operation in bb recipe failed. after some investigation I found out that the > owner and group of the sysroots accessing in the bb recipes were all changed > to nobody. below is the shell commands run in the bb recipes and error log. > So I'm curious how this owner and group changed and how to fix it? > > check_gerrit_authentication() { > > ls -ld /* > > if ! ssh -o BatchMode=yes -p 29418 gerrit-essl2.int.net.nokia.com gerrit > version; then > > bberror "SSH connection to Gerrit failed.\n\n\ > > Please check that your public key is installed and Gerrit host is in your > known_hosts file.\n\ > > To check the connection:\n\ > > $ ssh -p 29418 gerrit-essl2.int.net.nokia.com\n" > > exit 1 > > fi > > } > > and the output : > > DEBUG: Executing shell function check_gerrit_authentication > > lrwxrwxrwx 1 nobody nobody 7 Jan 28 2020 /bin -> usr/bin > > dr-xr-xr-x 2 nobody nobody 6 Jan 28 2020 /boot > > drwxr-xr-x 5 nobody nobody 360 Jul 21 07:44 /dev > > drwxr-xr-x 1 nobody nobody 139 Jul 21 07:44 /etc > > drwxr-xr-x 1 nobody nobody 21 Jul 21 07:44 /home > > drwxr-xr-x 4 nobody nobody 33 Jul 21 07:44 /host > > lrwxrwxrwx 1 nobody nobody 7 Jan 28 2020 /lib -> usr/lib > > lrwxrwxrwx 1 nobody nobody 9 Jan 28 2020 /lib64 -> usr/lib64 > > drwx------ 2 nobody nobody 6 Apr 27 2021 /lost+found > > drwxr-xr-x 10 nobody nobody 4096 Jun 11 01:56 /make-4.3 > > -rw-r--r-- 1 nobody nobody 2317073 Jan 19 2020 /make-4.3.tar.gz > > drwxr-xr-x 2 nobody nobody 6 Jan 28 2020 /media > > drwxr-xr-x 2 nobody nobody 6 Jan 28 2020 /mnt > > drwxr-xr-x 1 nobody nobody 22 Jun 1 07:08 /opt > > dr-xr-xr-x 314 nobody nobody 0 Jul 21 07:44 /proc > > dr-xr-x--- 1 nobody nobody 58 Jun 1 07:08 /root > > drwxr-xr-x 1 nobody nobody 22 Jun 1 07:08 /run > > lrwxrwxrwx 1 nobody nobody 8 Jan 28 2020 /sbin -> usr/sbin > > drwxr-xr-x 1 nobody nobody 27 Jun 11 01:56 /scripts > > drwxr-xr-x 2 nobody nobody 6 Jan 28 2020 /srv > > dr-xr-xr-x 12 nobody nobody 0 Jul 21 08:18 /sys > > drwxrwxrwt 2 nobody nobody 40 Jul 21 07:44 /tmp > > drwxr-xr-x 1 nobody nobody 45 Apr 27 2021 /usr > > drwxr-xr-x 1 nobody nobody 30 Jun 11 01:56 /var > > -rw-r--r-- 1 nobody nobody 16 Jun 11 01:55 /VERSION > > Bad owner or permissions on /etc/ssh/ssh_config.d/50-redhat.conf^M > > ERROR: SSH connection to Gerrit failed. > > Best Regards > Yong > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60632): https://lists.yoctoproject.org/g/yocto/message/60632 Mute This Topic: https://lists.yoctoproject.org/mt/100296764/21656 Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Mute #kirkstone:https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
