[FS#198] image: commit a16a8814ead80984ce4ef7bed756434119b3aafa breaks dnsmasq

LEDE Bugs lede-bugs at lists.infradead.org
Sat Oct 1 11:50:52 PDT 2016


A new Flyspray task has been opened.  Details are below. 

User who did this - arjendekorte (arjendekorte) 

Attached to Project - LEDE Project
Summary - image: commit a16a8814ead80984ce4ef7bed756434119b3aafa breaks dnsmasq
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Commit a16a8814ead80984ce4ef7bed756434119b3aafa causes dnsmasq to fail to read /etc/hosts and /etc/ethers. Message in the log mentions permissions denied. Notable observation is that permissions of /rom/etc/hosts after installation are 640, where 644 was used previously.

It also causes that when LuCI is built in a sysupgrade image to fail with

    Forbidden
    You don't have permission to access /cgi-bin/luci on this server.

Similarly as for dnsmasq, many files used by LuCI have permission 640 with this patch, most likely causing it to lack sufficient permissions to run.

Both worked fine up to this commit. Reverting 'include/image-legacy.mk' and 'include/image-legacy.mk' to the status of commit 6c1542787d135de358710254e71fe926f8676954 makes both work fine again.

This was found by running 'git bisect'. Note that .config is generated with the following command before each recompile with

    ./scripts/config/conf --defconfig=config.seed Config.in

using the attached 'config.seed' file. Using Netgear WNDR4300 for testing.

One or more files have been attached.

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=198



More information about the lede-bugs mailing list