Re: pkg_add: signify broken pipe when running from script

2016-11-22 Thread Marc Espie
On Mon, Nov 21, 2016 at 06:26:39PM +0100, Patrik Lundin wrote: > On Sun, Nov 20, 2016 at 12:09:23PM +0100, lvdd wrote: > > > > thank you Patrik. I just wanted to report that this solved the > > problem I am having with this since 1.5 months as well. Please read > > http://marc.info/?l=openbsd-misc

Re: pkg_add: signify broken pipe when running from script

2016-11-21 Thread Patrik Lundin
On Sun, Nov 20, 2016 at 12:09:23PM +0100, lvdd wrote: > > thank you Patrik. I just wanted to report that this solved the > problem I am having with this since 1.5 months as well. Please read > http://marc.info/?l=openbsd-misc&m=147544336719598&w=2 for details. > > I know this is not a final solut

Re: pkg_add: signify broken pipe when running from script

2016-11-20 Thread lvdd
Hi, On Sat, 19 Nov 2016 19:58:59 +0100 Patrik Lundin wrote: > On Sat, Nov 19, 2016 at 06:27:16PM +0100, Marc Espie wrote: > > Wondering if your script isn't passing some weird signal handling > > (such as ignoring some signals) through. > > > > Seems like you are on to something :). > > Som

Re: pkg_add: signify broken pipe when running from script

2016-11-19 Thread Patrik Lundin
On Sat, Nov 19, 2016 at 06:27:16PM +0100, Marc Espie wrote: > Wondering if your script isn't passing some weird signal handling (such as > ignoring some signals) through. > Seems like you are on to something :). Some googling led me here: https://blog.nelhage.com/2010/02/a-very-subtle-bug/ It t

Re: pkg_add: signify broken pipe when running from script

2016-11-19 Thread Marc Espie
Wondering if your script isn't passing some weird signal handling (such as ignoring some signals) through. I've had a few reports related to signify broken pipes, but I haven't been able to reproduce anything, so I'm not quite up to debugging problems I can't see...

Re: pkg_add: signify broken pipe when running from script

2016-11-19 Thread Patrik Lundin
On Sat, Nov 19, 2016 at 03:55:07PM +0100, Patrik Lundin wrote: > Hello, > > I have noticed that pkg_add will behave differently when being executed > from a script when compared to running it manually on the command line. > I forgot to mention that all the testing is done on a fresh -current mac