Bug#788580: /dev/pts workaround

2015-07-05 Thread Mattia Rizzolo
On Sat, Jul 04, 2015 at 09:25:09PM -0700, Diane Trout wrote:
 Hi,
 
 I had one a hook script that tried to start screen when my build's failed, 
 and 
 that also failed with the no pts problem.
 
 Instead of doing the cowbuilder login as suggested by Axel Beckert I wrote a 
 D 
 hook :
 
 -- D01pty---
 #!/bin/sh
 mount -t devpts none /dev/pts
 ---end---
 
 which at least solved my problems with launching my screen hook.
 
 Given the sequencing of hooks it should also help with building.
 
 But a built in solution would be nice.

There already is: the USEDEVPTS conf option.

Please see `man 5 pbuilderrc` for a complete reference.

This bug *has been* (since it's now fixed) about the inability of USEDEVPTS to
actually mount /dev/pts in system with systemd = 220.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540 .''`.
more about me:  http://mapreri.org : :'  :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-


signature.asc
Description: Digital signature


Bug#788580: /dev/pts workaround

2015-07-04 Thread Diane Trout
Hi,

I had one a hook script that tried to start screen when my build's failed, and 
that also failed with the no pts problem.

Instead of doing the cowbuilder login as suggested by Axel Beckert I wrote a D 
hook :

-- D01pty---
#!/bin/sh
mount -t devpts none /dev/pts
---end---

which at least solved my problems with launching my screen hook.

Given the sequencing of hooks it should also help with building.

But a built in solution would be nice.

Diane


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org