Skip to contentSkip to conversation

#yocto "zeus"

DISCUSSION Monsees, Steven C (US) 2 participants 4 messages Nov 12, 2020

lore
Share & tools
lore
#0 lore raw

This is probably a simple question, but since I am new to yocto there is a lot to learn...

How do I establish kernel access permissions for the "zeus" kernel so that when my application is up and running, (or an application startup script), can create read/write files for access/updating in the "/etc" and "/dev" directories ?

In the few cases I do this I am seeing unable to open errors... Note the same code appears to work correctly under "rocko"...

Thanks,
Steve

#1 lore raw
Quoted 7 lines · Steven C (US) via lists.yoctoproject.org

This is probably a simple question, but since I am new to yocto there is a lot to learn…

How do I establish kernel access permissions for the “zeus” kernel so that when my application is up and running, (or an application startup script), can create read/write files for access/updating in the ”/etc” and “/dev” directories ?

In the few cases I do this I am seeing unable to open errors…

Note the same code appears to work correctly under “rocko”…

you have to provide more context to help you more, but usually /dev is populated with devtmpfs during kernel boot. and similarly /etc is mounted early on. So access permissions could be mounting issues perhaps.

Quoted 9 lines

Thanks,

Steve

#2 lore raw

All things being equal, would you know why I might see

"NFS: bad mount option value specified: minorversion=1"

when running app under "zeus" but not under "rocko" ?

-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, November 12, 2020 1:40 PM
To: Monsees, Steven C (US) <[email protected]>; [email protected]
Subject: Re: [yocto] #yocto "zeus"

*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.

Quoted 11 lines · Steven C (US) via lists.yoctoproject.org

This is probably a simple question, but since I am new to yocto there is a lot to learn...

How do I establish kernel access permissions for the "zeus" kernel so that when my application is up and running, (or an application startup script), can create read/write files for access/updating in the "/etc" and "/dev" directories ?

In the few cases I do this I am seeing unable to open errors...

Note the same code appears to work correctly under "rocko"...

you have to provide more context to help you more, but usually /dev is populated with devtmpfs during kernel boot. and similarly /etc is mounted early on. So access permissions could be mounting issues perhaps.

Quoted 9 lines

Thanks,

Steve

#3 lore raw

are you using nfsvers= in /etc/fstab

Quoted 48 lines · Steven C (US) via lists.yoctoproject.org

All things being equal, would you know why I might see

"NFS: bad mount option value specified: minorversion=1"

when running app under "zeus" but not under "rocko" ?

-----Original Message-----
From: Khem Raj [mailto:[email protected]]
Sent: Thursday, November 12, 2020 1:40 PM
To: Monsees, Steven C (US) <[email protected]>; [email protected]
Subject: Re: [yocto] #yocto "zeus"

*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.

Quoted 11 lines · Steven C (US) via lists.yoctoproject.org

This is probably a simple question, but since I am new to yocto there is a lot to learn...

How do I establish kernel access permissions for the "zeus" kernel so that when my application is up and running, (or an application startup script), can create read/write files for access/updating in the "/etc" and "/dev" directories ?

In the few cases I do this I am seeing unable to open errors...

Note the same code appears to work correctly under "rocko"...

you have to provide more context to help you more, but usually /dev is populated with devtmpfs during kernel boot. and similarly /etc is mounted early on. So access permissions could be mounting issues perhaps.

Quoted 9 lines

Thanks,

Steve