Skip to contentSkip to conversation

: Binary copied in RFS but with wrong permission

scarthgap [email protected] 1 participant 1 message Jul 31, 2024

lore
Share & tools
lore
#0 lore raw

Hi All ,

I am creating an core-image-minimal for am3505 custom yocto BSP. I have added few packages like example curl ,sudo ,tcpdump The compilation went fine , but i see different error with binary

a) /etc/sudo.conf is owned by uid 5001, should be 0

root:~# sudo -v
sudo: /etc/sudo.conf is owned by uid 5001, should be 0
sudo: /etc/sudo.conf is owned by uid 5001, should be 0
sudo: /etc/sudoers is owned by uid 5001, should be 0
sudo: error initializing audit plugin sudoers_audit

b) The futex facility returned an unexpected error code.

root:~# curl -v
The futex facility returned an unexpected error code.
Aborted
root:~# tcpdump -v
[ 1064.376617] davinci_emac davinci_emac.0 eth0: entered promiscuous mode
tcpdump: listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
The futex facility returned an unexpected error code.[ 1064.517639] davinci_emac davinci_emac.0 eth0: left promiscuous mode
Aborted

=> This futex error i am observing with few other binaries .

I am not adding any custom append or any other changes as of now The binaries are added from their respective standard recipe.

Can senior member please point to probable cause in yocto as this was default package being added in image.

Thanks ,
Ashish