Re: /dev/tty problem

Michael Kjörling <[email protected]>
Newsgroups gmane.linux.debian.user.swedish
Message-ID <[email protected]>
On 25 Dec 2015 21:10 +0100, from [email protected] (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 • [email protected]
                 “People who think they know everything really annoy
                 those of us who know we don’t.” (Bjarne Stroustrup)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.