I need to get Kea (DHCP server) running automatically at startup in my Yocto-based project. The Yocto recipe already includes an init.d script to start Kea automatically, however Kea requires a directory /var/run/kea to exist in order to run, so the startup script fails. Since directories under /var/run do not persist, this directory needs to be created at each startup. How can I accomplish this?
Create kea runtime directory at startup in Yocto image
15 views Asked by Dane At
1
There are 1 answers
Related Questions in LINUX
- Is there some way to use printf to print a horizontal list of decrementing hex digits in NASM assembly on Linux
- Why does Hugo generate different taxonomy-related HTML on different OS's?
- Writes in io_uring do not advance the file offset
- Why `set -o pipefail` gives different output even though the pipe is not failing
- what really controls the permissions: UID or eUID?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Docker container unable to make HTTPS requests to external API
- Whow to use callback_query_handler in Python 3.10
- Create kea runtime directory at startup in Yocto image
- Problem on CPU scheduling algorithms in OS
- How to copy files into the singularity sandbox?
- Android kernel error: undefined reference to `get_hw_version_platform'
- Is there a need for BPF Linux namespace?
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
Related Questions in YOCTO
- Create kea runtime directory at startup in Yocto image
- Bitbaking recipe doesn't install DEPENDS
- How do I make a container image from an SD card image?
- Yocto kernel patch fails with git am
- Yocto Kirkstone Bitbake Recipe using Python3 TOML for python3-fastapi
- Confusion with thumb instructions while compiling recipe for cortexm4 CPU
- How to make Yocto place all target RPMs for a specific package group to a separate directory?
- bitbake package-index not creating repomd.xml
- yocto IMAGE_POSTPROCESS_COMMAND
- Yocto Build edk2 recipe giving error in Ubuntu: 20.04.6 LTS
- How to have per MACHINE kernel configuration in Yocto?
- tar.gz image archive created via bitbake differs from archive created manually
- yocto bitbake 'python3 setup.py bdist_wheel ' execution failed
- Yocto conflicting error while building rootfs
- Starting a firmware on imx7d m4 core with bootaux, on u-boot, fail when using TCM memory but not when using DDR memory
Related Questions in BITBAKE
- Create kea runtime directory at startup in Yocto image
- Bitbaking recipe doesn't install DEPENDS
- Confusion with thumb instructions while compiling recipe for cortexm4 CPU
- bitbake package-index not creating repomd.xml
- How to have per MACHINE kernel configuration in Yocto?
- tar.gz image archive created via bitbake differs from archive created manually
- yocto bitbake 'python3 setup.py bdist_wheel ' execution failed
- How to resolve Yocto build error for Glib-2.0 for Qt?
- Change recipe variable (e.g. EXTRA_OECMAKE) inside a bitbake task
- How to set SRCREV for git tag in Yocto?
- Adding custom recipe to core-image-sato reports ERROR: Task do_populate_sdk in core-image-sato.bb rdepends upon nonexistant task do_package_write_rpm
- Yocto do_package_write_rpm failed with exit code '1' while building with bitbake
- Gitlab diskspace monitor error while building yocto
- Yocto adding local tarball path to recipe problem
- Yocto / Bitbake : How to recover after a build crash
Related Questions in INIT.D
- Create kea runtime directory at startup in Yocto image
- Yocto init hangs on Banana Pi: How to debug?
- MySQL service not found
- What's the standard way to setup a debian package to be run as a service?
- Close starting service after opkg package install
- Monit / init.d for Elixir/Phoenix and Spinx/searchd on Ubuntu
- Failed to stop Apache Spark Master or Slave using Systemd
- How to convert systemv startup scripts to systemd services?
- Gradle still downloads dependencies already available in local repo
- how to autorun a shell script after boot - OpenWRT
- Why doesn't my process start at boot? (OpenWrt)
- How to autostart a C application for OpenWrt?
- Log output from service in /var/log/<service-name> (sysvinit)
- Authenticate a local Spring Boot service with Google Cloud
- Disable system logs for Spring Boot app running as Linux init.d service
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I just needed to add
mkdir -p /var/run/keato thekea-dhcp4-serverscript underinit.d. (I had already tried this but forgot to set execute permission onkea-dhcp4-serverin my .bbappend).