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

Error message showed in nixos-container run #16639

Closed
danbst opened this issue Jul 1, 2016 · 1 comment
Closed

Error message showed in nixos-container run #16639

danbst opened this issue Jul 1, 2016 · 1 comment

Comments

@danbst
Copy link
Contributor

danbst commented Jul 1, 2016

Issue description

When I run nixos-container run ttt systemctl restart tomcat when I want to restart tomcat service, service IS restarted but some unrelated error is shown. Possibly it shouldn't

Steps to reproduce

$ sudo nixos-container create ttt --config 'services.tomcat.enable = true;'
host IP is 10.233.1.1, container IP is 10.233.1.2
these derivations will be built:
...
$ sudo nixos-container start ttt

$ sudo nixos-container run ttt systemctl restart tomcat
Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address (polkit-error-quark, 0)

## Technical details

* System: 16.03.977.1da05df (Emu)
@danbst
Copy link
Contributor Author

danbst commented Nov 24, 2016

Seems like after #18825 exact this problem is gone

@danbst danbst closed this as completed Nov 24, 2016
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