Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsyslog not working as expected #47130

Closed
aanderse opened this issue Sep 21, 2018 · 1 comment
Closed

rsyslog not working as expected #47130

aanderse opened this issue Sep 21, 2018 · 1 comment

Comments

@aanderse
Copy link
Member

Issue description

I've enabled rsyslog on a server but I don't see any files being generated under /var/log from rsyslog. I would expect to see some output by simply enabling the service.

If I'm missing a step I would appreciate knowing what.

Steps to reproduce

Add services.rsyslogd.enable = true; to your configuration.

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

  • system: "x86_64-linux"
  • host os: Linux 4.14.70, NixOS, 18.09beta408.b853e73d528 (Jellyfish)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.1.1
  • channels(root): "nixos-18.09pre148742.945a24db1ba"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
@aanderse
Copy link
Member Author

Well after digging some more I found a great article on the Arch wiki.

Needed to add ForwardToSyslog=yes to journald.conf to get this working. I'll make a PR for this.

https://wiki.archlinux.org/index.php/rsyslog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant