Problem with /dev/tty (was: Can't sign packages on kFreeBSD)
Those of you who have gpg working ... what do the commands below
output on your system? Is it the same?
Luca Bruno <firstname.lastname@example.org> wrote:
> Aurelien Jarno scrisse:
> > I don't think so. Do you have an idea why you don't have /dev/tty? If
> > devfs is mounted, this file should exists.
> I've just encountered the same behaviour. gpg needs /dev/tty but returns
> "No such device or address" and a quick `ls -la | grep tty` doesn't
> show it. devfs is mounted on /dev as Markus showed. But then:
> `mknod /dev/tty c 5 0`
> mknod: 'dev/tty': File exists
> `ls -l /dev/tty`
> crw-rw-rw- 1 root root 0, 12 17 feb 18:06 /dev/tty
> `file /dev/tty`
> /dev/tty: character special (0/12)
> But, ehm again:
> `cat /dev/tty`
> cat: /dev/tty: No such device or address
> `echo foo > /dev/tty`
> -bash: /dev/tty: No such device or address
> I really don't know what to say, other than on linux it's (5/0) instead
> of (0/12).
> This is a quite fresh qemu installation. I can give you access to this
> one, either directly providing the image or via ssh.