Re: openssl(1) not error exiting on full file system

2017-08-11 Thread Craig Skinner
Ping: On Tue, 11 Apr 2017 11:28:38 +0100 Craig Skinner wrote: > Hi again, > > On 2017-04-10 Mon 14:31 PM |, Craig Skinner wrote: > > On Mon, 10 Apr 2017 12:46:03 +0100 Craig Skinner wrote: > > > $ openssl enc -bf -salt \ > > > -pass file:/etc/myname -in /bsd \ > > > -out

Re: openssl(1) not error exiting on full file system

2017-04-11 Thread Ingo Schwarze
Hi Theo, Theo de Raadt wrote on Tue, Apr 11, 2017 at 08:13:24AM -0600: > Sure.. or, make some comments about it being highly non-portable. > It isn't even really a BSD'ism. The idea is a flop. I wonder if > it was an attempt to pull a VMS idea. Here is a stronger version. I like that even

Re: openssl(1) not error exiting on full file system

2017-04-11 Thread Franco Fichtner
> On 11. Apr 2017, at 4:09 PM, Ingo Schwarze wrote: > > Index: sysexits.3 > === > RCS file: /cvs/src/share/man/man3/sysexits.3,v > retrieving revision 1.12 > diff -u -r1.12 sysexits.3 > --- sysexits.330

Re: openssl(1) not error exiting on full file system

2017-04-11 Thread Theo de Raadt
Sure.. or, make some comments about it being highly non-portable. It isn't even really a BSD'ism. The idea is a flop. I wonder if it was an attempt to pull a VMS idea. > I'd like to make that plainer. It isn't the first time people > waste time reading sysexits(3) and arguing about it. > >

Re: openssl(1) not error exiting on full file system

2017-04-11 Thread Ingo Schwarze
Hi, Theo de Raadt wrote on Tue, Apr 11, 2017 at 07:08:30AM -0600: > sysexits.h is a thing that came from sendmail, and only a few things > use it. Further use isn't encouraged. I'd like to make that plainer. It isn't the first time people waste time reading sysexits(3) and arguing about it.

Re: openssl(1) not error exiting on full file system

2017-04-11 Thread Theo de Raadt
> On 2017-04-10 Mon 14:31 PM |, Craig Skinner wrote: > > On Mon, 10 Apr 2017 12:46:03 +0100 Craig Skinner wrote: > > > $ openssl enc -bf -salt \ > > > -pass file:/etc/myname -in /bsd \ > > > -out /altroot/tmp/bsd.crypto > > > > > > /altroot: write failed, file system is

Re: openssl(1) not error exiting on full file system

2017-04-11 Thread Craig Skinner
Hi again, On 2017-04-10 Mon 14:31 PM |, Craig Skinner wrote: > On Mon, 10 Apr 2017 12:46:03 +0100 Craig Skinner wrote: > > $ openssl enc -bf -salt \ > > -pass file:/etc/myname -in /bsd \ > > -out /altroot/tmp/bsd.crypto > > > > /altroot: write failed, file system is

Re: openssl(1) not error exiting on full file system

2017-04-10 Thread Craig Skinner
On Mon, 10 Apr 2017 12:46:03 +0100 Craig Skinner wrote: > $ openssl enc -bf -salt \ > -pass file:/etc/myname -in /bsd \ > -out /altroot/tmp/bsd.crypto > > /altroot: write failed, file system is full > $ print $? > 0 Whoops;- I forgot to mention

openssl(1) not error exiting on full file system

2017-04-10 Thread Craig Skinner
Hello, When encrypting a file with openssl(1), it exits cleanly when there is not enough disk space: $ df /altroot Filesystem SizeUsed Avail Capacity Mounted on /dev/wd1a 100M 52.5M 42.7M55%/altroot $ while cp /bsd