| Summary: | chmod: cannot access '/var/run/bind/run': No such file or directory in lsb-sdk images | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Stoicescu Cornel <corneliux.stoicescu> |
| Component: | core | Assignee: | Chen Qi <Qi.Chen> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | liezhi.yang, meta.mr.watcher, meta.watcher, Qi.Chen, yi.zhao |
| Version: | 1.4 | ||
| Target Milestone: | 1.5 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Stoicescu Cornel
2013-04-29 12:16:54 UTC
We use /var/run/named directory now instead of /var/run/bind/run. I'll send out a patch to fix this. diff --git a/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch b/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch index 6fea70e..2785c6a 100644 --- a/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch +++ b/meta/recipes-connectivity/bind/bind-9.8.1/conf.patch @@ -270,8 +270,8 @@ diff -urN bind-9.3.1.orig/init.d bind-9.3.1/init.d + # dirs under /var/run can go away on reboots. + mkdir -p /var/run/named + mkdir -p /var/cache/bind -+ chmod 775 /var/run/bind/run -+ chown root:bind /var/run/bind/run >/dev/null 2>&1 || true ++ chmod 775 /var/run/named ++ chown root:bind /var/run/named >/dev/null 2>&1 || true + + if [ ! -x /usr/sbin/named ]; then + echo "named binary missing - not starting" merged into poky/master: 25e90a44b6870953021b485eee738ebb2ff04977 http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a32c05f691ef5620516b2f84452fb5129e16bb14 Verified in master:676fd3f394a0c0576b63c77ed2184bf5f42c29b6 Please note this bug was posted on the already separated from master dylan branch. Merging this in master does not fix it in dylan branch. As per bug handling procedure, I will reopen on 1.4.1 when and if necessary. |