# Core 199 - bug in network / edit hosts?

**URL:** <https://community.ipfire.org/t/core-199-bug-in-network-edit-hosts/15479>\
**Category:** Network\
**Created:** [12 February 2026 19:28 UTC](https://community.ipfire.org/t/core-199-bug-in-network-edit-hosts/15479 "2026-02-12T19:28:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![firecherry](https://community.ipfire.org/user_avatar/community.ipfire.org/firecherry/32/16597_2.png) [@firecherry](https://community.ipfire.org/u/firecherry)\
**Post date:** [12 February 2026 19:28 UTC](https://community.ipfire.org/t/core-199-bug-in-network-edit-hosts/15479/1 "2026-02-12T19:28:29Z")

</div>

Gentlemen,

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

> **[Edit Hosts](https://www.ipfire.org/docs/configuration/network/hosts)**

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

---

<div class="post-metadata">

**Author:** ![bbitsch](https://community.ipfire.org/user_avatar/community.ipfire.org/bbitsch/32/7420_2.png) [@bbitsch](https://community.ipfire.org/u/bbitsch)\
**Post date:** [12 February 2026 21:11 UTC](https://community.ipfire.org/t/core-199-bug-in-network-edit-hosts/15479/2 "2026-02-12T21:11:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![firecherry](https://community.ipfire.org/user_avatar/community.ipfire.org/firecherry/32/16597_2.png) [@firecherry](https://community.ipfire.org/u/firecherry)\
**Post date:** [12 February 2026 22:08 UTC](https://community.ipfire.org/t/core-199-bug-in-network-edit-hosts/15479/3 "2026-02-12T22:08:50Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![pscar13](https://community.ipfire.org/user_avatar/community.ipfire.org/pscar13/32/16558_2.png) [@pscar13](https://community.ipfire.org/u/pscar13)\
**Post date:** [12 February 2026 22:32 UTC](https://community.ipfire.org/t/core-199-bug-in-network-edit-hosts/15479/4 "2026-02-12T22:32:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![bonnietwin](https://community.ipfire.org/user_avatar/community.ipfire.org/bonnietwin/32/12350_2.png) [@bonnietwin](https://community.ipfire.org/u/bonnietwin)\
**Post date:** [12 February 2026 22:49 UTC](https://community.ipfire.org/t/core-199-bug-in-network-edit-hosts/15479/5 "2026-02-12T22:49:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![firecherry](https://community.ipfire.org/user_avatar/community.ipfire.org/firecherry/32/16597_2.png) [@firecherry](https://community.ipfire.org/u/firecherry)\
**Post date:** [16 February 2026 19:01 UTC](https://community.ipfire.org/t/core-199-bug-in-network-edit-hosts/15479/6 "2026-02-16T19:01:00Z")

</div>

`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.

---

<div class="post-metadata">

**Author:** ![pscar13](https://community.ipfire.org/user_avatar/community.ipfire.org/pscar13/32/16558_2.png) [@pscar13](https://community.ipfire.org/u/pscar13)\
**Post date:** [16 February 2026 20:50 UTC](https://community.ipfire.org/t/core-199-bug-in-network-edit-hosts/15479/7 "2026-02-16T20:50:35Z")

</div>

> [@firecherry](#):
>
> “hosts datafile error at /srv/web/ipfire/cgi-bin/hosts.cgi line 166”

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

```auto
[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

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

```
