Core 199 - bug in network / edit hosts?

Gentlemen,

Yesterday I identified an forgotten host in wui network / edit hosts and clicked the dustbin as recomended here:

The wui-screen in my mozilla 140.7 turned to white and stayed white. I waited some time, but nothing happened. No menu any more. Mozilla’s reload-button didn’t bring it back.

Mozilla’s back-button brought it back, but the host was still there. I tried to deactivate this host - same white screen as before.

I tried another click on dustbin and no back or reload of browser’s page.

About 5 hours later ipfire did it’s automatic reboot last night, but the host is still there, now 18 hours after reboot.

How do I get rid of this host? Where is the host stored? It’s not in “hosts”-file

I can’t reproduce this issue.
Can you supply some more informations?

Yes, of course.

Host was in green..

“Forgotten host” means an host which is not connected to the network any more.

system is raspi 4b, 8 GB, red, green, blue.

Ipfire runs on 64 GB stick since about 6 months ore more.

Permissions should be?

I deleted a host on my Raspberry Pi 4. The screen remained white for a few seconds, then the page refreshed and the host was successfully deleted.
Check if there was an error in /var/log/messages at the time of deletion.

1 Like

If the WUI page screen went white then it would also be worth looking in

/var/log/httpd/error_log

for messages related to hosts.cgi

1 Like

cat /var/log/httpd/error_log

contains startup and shutdown of apache last night and:

“hosts datafile error at /srv/web/ipfire/cgi-bin/hosts.cgi line 166”

/var/log/messages reports firewall rules dropping traffic but nothing about deleting hosts.

I was able to reproduce this error by modifying the file’s write access /var/ipfire/main/hosts

[Mon Feb 16 21:35:01.814685 2026] [core:notice] [pid 2836:tid 2836] AH00094: Command line: '/usr/sbin/httpd'
hosts datafile error at /srv/web/ipfire/cgi-bin/hosts.cgi line 166.

There was likely an error on your hard drive (or SD card) during the modification.
Check the permissions on this file

[root@ipfire ~]# ls -al /var/ipfire/main/hosts
-rw-r--r-- 1 nobody nobody 271 Feb 13 23:23 /var/ipfire/main/hosts
1 Like