[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't sign packages on kFreeBSD because gpg wants /dev/tty



Aurelien Jarno scrisse:

> > It worked well until gpg starts to sign the .dsc and .changes. gpg
> > wants to open /dev/tty which does not work.
> > I think this problem is known ...
> 
> 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.

> Aurelien

Ciao, Luca

-- 
 .''`.  ** Debian GNU/Linux **  | Luca Bruno
: :'  :   The Universal O.S.    | lucab (AT) debian.org
`. `'`  			| GPG Key ID: 3BFB9FB3
  `-     http://www.debian.org 	| Debian GNU/Linux Developer

Attachment: pgpMfEoO2fjfp.pgp
Description: PGP signature


Reply to: