{"action":"opened","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/35114","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/35114/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/35114/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/35114/events","html_url":"https://github.com/NixOS/nixpkgs/issues/35114","id":298086737,"number":35114,"title":"firehol 3.1.5: any command results in error message","user":{"login":"xeji","id":36407913,"avatar_url":"https://avatars2.githubusercontent.com/u/36407913?v=4","gravatar_id":"","url":"https://api.github.com/users/xeji","html_url":"https://github.com/xeji","followers_url":"https://api.github.com/users/xeji/followers","following_url":"https://api.github.com/users/xeji/following{/other_user}","gists_url":"https://api.github.com/users/xeji/gists{/gist_id}","starred_url":"https://api.github.com/users/xeji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeji/subscriptions","organizations_url":"https://api.github.com/users/xeji/orgs","repos_url":"https://api.github.com/users/xeji/repos","events_url":"https://api.github.com/users/xeji/events{/privacy}","received_events_url":"https://api.github.com/users/xeji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-18T13:58:08Z","updated_at":"2018-02-18T13:58:08Z","closed_at":null,"author_association":"NONE","body":"## Issue description\r\n\r\nThe `firehol` firewall program in package firehol is unusable, always exits with an error message (see steps to reproduce).\r\n\r\nCause: On startup, `firehol` tries to create the config file `${pkgs.firehol}/etc/firehol/firehol-defaults.conf` and fails since the nix store is read-only.\r\n\r\nHow to fix: Make `firehol` look for config files in `/etc/firehol` rather than `${pkgs.firehol}/etc/firehol`. This makes sense anyway since a fixed bundled firewall config would not be useful.\r\n\r\nI already implemented the fix. PR follows after testing.\r\n\r\n### Steps to reproduce\r\n\r\n1. install firehol with `onlyQOS=false` to enable the firehol program (the firehol package doesn't install the firehol program by default -  doesn't make sense to me, but that's a separate issue)\r\n```\r\n# nix-env -i -f '<nixpkgs>' -E 'f: (f {}).firehol.override {onlyQOS=false;}'\r\n```\r\n\r\n2. running _any_ firehol command results in this error message:\r\n```\r\n# firehol start\r\n/root/.nix-profile/bin/firehol: line 1410: /nix/store/qc7zdhd0rs0cb0yhaam54rdjrz55zmhz-firehol-3.1.5/etc/firehol/firehol-defaults.conf: Read-only file system\r\n```\r\n\r\n\r\n## Technical details\r\n\r\n - system: `\"x86_64-linux\"`\r\n - host os: `Linux 4.9.81, NixOS, 18.03pre127921.9b25b9347d9 (Impala)`\r\n - multi-user?: `yes`\r\n - sandbox: `no`\r\n - version: `nix-env (Nix) 1.11.16`\r\n - channels(root): `\"nixos-18.03pre127921.9b25b9347d9\"`\r\n - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`\r\n"}}
{"actor":{"display_login":"xeji"}}