dnsmasq ujail fs problem

e9hack e9hack at gmail.com
Fri Jul 30 04:28:17 PDT 2021


Hi,

I'm using dnsmasq together with ujail. Since some time, I got an error message in the log:

Fri Jul 30 13:05:10 2021 kern.warn kernel: [ 3149.592061] ext4 filesystem being remounted at /tmp/ujail-NOnHik/tmp/dhcp.leases supports timestamps until 2038 (0x7fffffff)
Fri Jul 30 13:05:10 2021 user.err : jail: creat(/tmp/ujail-NOnHik/tmp/hosts/dhcp) failed: Read-only file system
Fri Jul 30 13:05:10 2021 kern.warn kernel: [ 3149.631741] ext4 filesystem being remounted at /tmp/ujail-NOnHik/var/run/dnsmasq supports timestamps until 2038 (0x7fffffff)
Fri Jul 30 13:05:10 2021 kern.warn kernel: [ 3149.668281] ext4 filesystem being remounted at /tmp/ujail-NOnHik/var/run/ubus/ubus.sock supports timestamps until 2038 (0x7fffffff)

The file /tmp/hosts/dhcp does exist and since dhcp does work, this file is used by dnsmasq.

This are the procd_add_jail_mount and procd_add_jail_mount_rw commands:

Fri Jul 30 13:05:07 2021 user.notice [DNSMASQ:19539]: procd_add_jail_mount /var/etc/dnsmasq.conf /etc/dnsmasq.conf /etc/config/dhcp.dnsmasq /usr/share/dnsmasq/trust-anchors.conf /usr/share/dnsmasq/dhcpbogushostname.conf /usr/share/dnsmasq/rfc6761.conf /tmp/hosts/dhcp /etc/passwd /etc/group /etc/TZ /dev/null /dev/urandom /tmp/dnsmasq.d   /etc/hosts /etc/ethers /sbin/hotplug-call  /usr/lib/dnsmasq/dhcp-script.sh /tmp/hosts/
Fri Jul 30 13:05:07 2021 user.notice [DNSMASQ:19539]: procd_add_jail_mount_rw /var/run/dnsmasq/ /tmp/dhcp.leases

Any idea what triggers the error?

Regards,
Hartmut





More information about the openwrt-devel mailing list