[packagekit] EULA Prompts

Patryk Zawadzki patrys at pld-linux.org
Mon Dec 3 17:59:45 PST 2007


2007/12/4, Donnie Berkholz <dberkholz at gentoo.org>:
> On 18:23 Mon 03 Dec     , Richard Hughes wrote:
> > What I want to make very clear is that we can't (and won't) support
> > scripts that just expect input on STDIN - they are just to broken to
> > workaround. If a script needs input then we should just error out and
> > Message() the user that the package needs fixing and they should report
> > it to the vendor. [We need to add this functionality to PkSpawn - anyone
> > got any ideas how to detect a script waiting on stdin?]
> Check what's reading the fd?

Just close the fd before forking? It should cause a broken pipe if you
try to read it. Or be extra nasty and pass urandom's fd as stdin ;)

-- 
Patryk Zawadzki
PLD Linux Distribution



More information about the PackageKit mailing list