[PR #6791] [MERGED] profiles: replace hosts.conf with host.conf in private-etc #6168

Closed
opened 2026-05-05 10:52:00 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6791
Author: @kmk3
Created: 6/25/2025
Status: Merged
Merged: 6/26/2025
Merged by: @kmk3

Base: masterHead: profiles-fix-host-conf


📝 Commits (1)

  • 1226a80 profiles: replace hosts.conf with host.conf in private-etc

📊 Changes

3 files changed (+3 additions, -3 deletions)

View changed files

📝 etc/profile-a-l/email-common.profile (+1 -1)
📝 etc/profile-m-z/mutt.profile (+1 -1)
📝 etc/profile-m-z/neomutt.profile (+1 -1)

📄 Description

hosts.conf was added in #3849 and is only used in 3 profiles, while
all other profiles use host.conf (which is documented in
host.conf(5)):

$ git grep -E 'private-etc .*,host\.conf(,|$| +#)' -- etc | wc -l
64
$ git grep -E 'private-etc .*,hosts\.conf(,|$| +#)' -- etc | wc -l
3

Considering that and as discussed with @bbhtt (the author of #3849),
hosts.conf is likely a typo of host.conf[1].

Commands used to search and replace:

$ git grep -IElz 'private-etc .*,hosts\.conf(,|$| +#)' -- etc |
  xargs -0 \
  perl -pi -e 's/(private-etc .*,)hosts\.conf(,|$| +#)/$1host.conf$2/'

Related commits:

  • a8a8e33bc ("Add whitelisting to mutt; improve geary, new profile for
    neomutt", 2020-12-28) /
    PR #3849
  • 144aee26f ("Improve whitelisting and dbus of Sylpheed and Claws-mail",
    2020-12-31) /
    PR #3849

Kind of relates to #6400.

[1] https://github.com/netblue30/firejail/pull/3849#issuecomment-3001532350


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/6791 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 6/25/2025 **Status:** ✅ Merged **Merged:** 6/26/2025 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `profiles-fix-host-conf` --- ### 📝 Commits (1) - [`1226a80`](https://github.com/netblue30/firejail/commit/1226a808df7c76ea2c296132fc69b79f0fcacde0) profiles: replace hosts.conf with host.conf in private-etc ### 📊 Changes **3 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `etc/profile-a-l/email-common.profile` (+1 -1) 📝 `etc/profile-m-z/mutt.profile` (+1 -1) 📝 `etc/profile-m-z/neomutt.profile` (+1 -1) </details> ### 📄 Description `hosts.conf` was added in #3849 and is only used in 3 profiles, while all other profiles use `host.conf` (which is documented in `host.conf(5)`): $ git grep -E 'private-etc .*,host\.conf(,|$| +#)' -- etc | wc -l 64 $ git grep -E 'private-etc .*,hosts\.conf(,|$| +#)' -- etc | wc -l 3 Considering that and as discussed with @bbhtt (the author of #3849), `hosts.conf` is likely a typo of `host.conf`[1]. Commands used to search and replace: $ git grep -IElz 'private-etc .*,hosts\.conf(,|$| +#)' -- etc | xargs -0 \ perl -pi -e 's/(private-etc .*,)hosts\.conf(,|$| +#)/$1host.conf$2/' Related commits: * a8a8e33bc ("Add whitelisting to mutt; improve geary, new profile for neomutt", 2020-12-28) / PR #3849 * 144aee26f ("Improve whitelisting and dbus of Sylpheed and Claws-mail", 2020-12-31) / PR #3849 Kind of relates to #6400. [1] https://github.com/netblue30/firejail/pull/3849#issuecomment-3001532350 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:52:00 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#6168
No description provided.