Re: /dev/tty problem
On 25 Dec 2015 21:10 +0100, from zekes.epost@gmail.com (Erik Svensson):
> Blir smått galen på tty som krånglar på en nyistallerad testing maskin.
>
> /etc/init.d/samba start:
> [....] Starting nmbd (via systemctl): nmbd.serviceError creating textual
> authentication agent: Error opening current controlling terminal for the
> process (`/dev/tty'): No such device or address (polkit-error-quark, 0)
> . ok
> [....] Starting smbd (via systemctl): smbd.serviceError creating textual
> authentication agent: Error opening current controlling terminal for the
> process (`/dev/tty'): No such device or address (polkit-error-quark, 0)
> . ok
> [....] Starting samba-ad-dc (via systemctl): samba-ad-dc.serviceError
> creating textual authentication agent: Error opening current controlling
> terminal for the process (`/dev/tty'): No such device or address
> (polkit-error-quark, 0)
> . ok
Jag skulle börja med att prova något i stil med:
strace /etc/init.d/samba start 2>&1 | grep -C 200 --color "textual authentication agent:"
Eventuellt med "-v" till strace för ytterligare detaljer.
Det bör kunna ge ledtrådar till vad som går fel.
--
Michael Kjörling • https://michael.kjorling.se • michael@kjorling.se
“People who think they know everything really annoy
those of us who know we don’t.” (Bjarne Stroustrup)
Reply to: