aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pulsar-client-cpp
diff options
context:
space:
mode:
authorChristian Kohlschütter <christian@kohlschutter.com>2022-10-04 02:21:01 +0000
committerChristian Kohlschütter <christian@kohlschutter.com>2022-10-04 02:21:01 +0000
commitaea2aa69733578f5742aa1e9ee00b9872b0033dc (patch)
treea17b2725215561f901c3cc946137031861ebc4d3 /testing/pulsar-client-cpp
parentb4ab4d0fb05002f4375ca4b9890f07f30f31f0f4 (diff)
downloadaports-master.tar.gz
aports-master.tar.bz2
aports-master.tar.xz
main/busybox: Fix resolv.conf update in udhcpc default.scriptHEADmaster
udhcpc updates /etc/resolv.conf by default (unless disabled by setting "RESOLV_CONF=no" in /etc/udhcpc/udhcpc.conf). The update is performed in the default script by writing to a temporary resolv.conf file, which is then moved to /etc/resolv.conf via "mv". That "mv" operation may become interactive, prompting "mv: overwrite '/etc/resolv.conf'?", for example when /etc/resolv.conf is marked immutable (chattr +i) Since udhcpc is usually called during unattended boot, this may block the device. Change "mv" to "mv -f", which will not block (but may still fail to update the file when /etc/resolv.conf is immutable). Signed-off-by: Christian Kohlschütter <christian@kohlschutter.com>
Diffstat (limited to 'testing/pulsar-client-cpp')
0 files changed, 0 insertions, 0 deletions