diff options
| author | Andreas Fenkart <extern-afe@mission-embedded.com> | 2025-04-17 15:44:40 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-19 14:36:08 -0700 |
| commit | b7ec47764087628730af1fcfb8bfeea470d81c72 (patch) | |
| tree | 60f1dae95123472a5e480ea8ba87c0333112e777 /meta-networking | |
| parent | a23f229207b320343b766534258611e8ebcda5b6 (diff) | |
| download | meta-openembedded-b7ec47764087628730af1fcfb8bfeea470d81c72.tar.gz | |
chrony: fix /sbin/nologin path in useradd cmdline
/sbin/nologin instead of /bin/nologin
Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-support/chrony/chrony_4.6.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/chrony/chrony_4.6.1.bb b/meta-networking/recipes-support/chrony/chrony_4.6.1.bb index 83dee9143b..345c29af56 100644 --- a/meta-networking/recipes-support/chrony/chrony_4.6.1.bb +++ b/meta-networking/recipes-support/chrony/chrony_4.6.1.bb | |||
| @@ -50,7 +50,7 @@ inherit update-rc.d systemd pkgconfig | |||
| 50 | # Add chronyd user if privdrop packageconfig is selected | 50 | # Add chronyd user if privdrop packageconfig is selected |
| 51 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)} | 51 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)} |
| 52 | USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '${PN}', '', d)}" | 52 | USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '${PN}', '', d)}" |
| 53 | USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /bin/nologin chronyd;', '', d)}" | 53 | USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /sbin/nologin chronyd;', '', d)}" |
| 54 | 54 | ||
| 55 | # Configuration options: | 55 | # Configuration options: |
| 56 | # - Security-related: | 56 | # - Security-related: |
