Re: Correct shebang for Python 3

2016-10-22 Thread Eugene Yunak
On 23 October 2016 at 03:01, john slee wrote: > Meta: this "how do I manage multiple Pythons?" thing has come up a couple > of times lately; are people interested in a FAQ section? > > On 23 October 2016 at 03:54, Eugene Yunak wrote: >> I'd set the

Re: OpenBSD Only BSD Install Image Booting on MS Surface Pro 3

2016-10-22 Thread Fred
On 10/23/16 01:23, David Clark wrote: Just thought you might like to know that OpenBSD is currently the only BSD whose Live CD or USB Image I have been able to boot on my Microsoft Surface Pro 3. Not NetBSD, FreeBSD, or DragonFlyBSD. Not ready to install yet, but if I do, I'll send you stats

OpenBSD Only BSD Install Image Booting on MS Surface Pro 3

2016-10-22 Thread David Clark
Just thought you might like to know that OpenBSD is currently the only BSD whose Live CD or USB Image I have been able to boot on my Microsoft Surface Pro 3. Not NetBSD, FreeBSD, or DragonFlyBSD. Not ready to install yet, but if I do, I'll send you stats post installation. David

Re: Correct shebang for Python 3

2016-10-22 Thread john slee
Meta: this "how do I manage multiple Pythons?" thing has come up a couple of times lately; are people interested in a FAQ section? On 23 October 2016 at 03:54, Eugene Yunak wrote: > I'd set the shebang to `/usr/bin/env python3`, or `/usr/bin/env python` if you > do not care

Re: Full disk encryption by auto install

2016-10-22 Thread Tito Mari Francis H . Escaño
I'm sorry but I already reached the 2014 thread of the misc archives and have not found any discussion of this. Not sure we have the same definition of "recently" in this case :) Maybe Dekker or somebody can share the thread subject and I'll go from there. Otherwise, I'm open to further advise on

Ripping CDs and DVDs

2016-10-22 Thread Vijay Sankar
Hi, In preparation for my retirement in 2050, I am setting up a media server for all my DVDs and CDs. For ripping CD's, I was planning to use abcde as follows: abcde -q high -o mp3 For DVD's, I was thinking of stuff (thanks to Christian "naddy" Weisberger) like mplayer -dumpstream -dumpfile

Re: security(8) doesn't know about mailbox locks

2016-10-22 Thread Ingo Schwarze
Hi, Philippe Meunier wrote on Fri, Oct 21, 2016 at 12:35:46PM -0400: > When cron runs /etc/daily, that script runs df and netstat and the > output is sent by email to root. On my system, emails to root are > forwarded to local user meunier using /root/.forward. The forwarding > itself

Re: How to analyse excessive PF states?

2016-10-22 Thread Peter N. M. Hansteen
On 10/22/16 18:12, Federico Giannici wrote: > We have a firewall with OpenBSD 6.0 amd64 that handles about 1.5 Gbps of > traffic. > > I noticed that from a few weeks the number of states is increased from > around 250.000 to almost 2 millions (no change in PF config)! > > At the same time the

Re: Correct shebang for Python 3

2016-10-22 Thread Eugene Yunak
On 22 October 2016 at 18:04, Ovidiu M wrote: > Hi everyone, > > I wrote a script which may end up as part of a package on various > Linux and BSD flavors, and I have hit the problem of getting the > shebang working everywhere. You might know that Python is installed in >

How to analyse excessive PF states?

2016-10-22 Thread Federico Giannici
We have a firewall with OpenBSD 6.0 amd64 that handles about 1.5 Gbps of traffic. I noticed that from a few weeks the number of states is increased from around 250.000 to almost 2 millions (no change in PF config)! At the same time the firewall started loosing a few packets (around 1-2%,

Re: 2 files, same name, same dir

2016-10-22 Thread Kamil Cholewiński
On Sat, 22 Oct 2016, Nick Holland wrote: > (and it wouldn't surprise me if Linux "saves" you from this error, and > it would just make me hate it all the more) No need to kick the poor penguin... > $ uname > Linux > $ mkdir /tmp/test > $ cd $_ > $ touch "pi.c" > $

Re: 2 files, same name, same dir

2016-10-22 Thread Alan Corey
I can probably blame it on the Joe editor, which leaves trailing spaces on lines in files too. I wrote a program once to strip them off, probably doesn't bother anybody else. When you save a file it prompts with a (previous) filename with the cursor at the end, bumping the spacebar then would do

Re: 2 files, same name, same dir

2016-10-22 Thread Nick Holland
On 10/22/16 11:26, Alan Corey wrote: > Bingo, a trailing space. I would have thought that would get trimmed > off somehow. I don't normally put spaces in filenames, I must have > fat-fingered something. But I see no reason to keep trailing spaces. um. Unix. File names can have almost any

Re: 2 files, same name, same dir

2016-10-22 Thread Alan Corey
Bingo, a trailing space. I would have thought that would get trimmed off somehow. I don't normally put spaces in filenames, I must have fat-fingered something. But I see no reason to keep trailing spaces. -rw-r--r-- 1 alan wheel25549 Oct 22 10:55 pi.c\$ -rw-r--r-- 1 root wheel25152

Re: 2 files, same name, same dir

2016-10-22 Thread Otto Moerbeek
On Sat, Oct 22, 2016 at 11:08:47AM -0400, Alan Corey wrote: > This is in 5.7 but I don't understand how it could happen (and I never > noticed it before). Two files in the same directory with the same > name, different owners. Last night I was noticing that my edits to my > program sometimes

Re: 2 files, same name, same dir

2016-10-22 Thread Jeremie Courreges-Anglas
Alan Corey writes: > This is in 5.7 Boo. > but I don't understand how it could happen (and I never > noticed it before). Two files in the same directory with the same > name, different owners. Last night I was noticing that my edits to my > program sometimes weren't

2 files, same name, same dir

2016-10-22 Thread Alan Corey
This is in 5.7 but I don't understand how it could happen (and I never noticed it before). Two files in the same directory with the same name, different owners. Last night I was noticing that my edits to my program sometimes weren't taking effect, this seems to be why. Ideas? I can delete the

Correct shebang for Python 3

2016-10-22 Thread Ovidiu M
Hi everyone, I wrote a script which may end up as part of a package on various Linux and BSD flavors, and I have hit the problem of getting the shebang working everywhere. You might know that Python is installed in different locations, with the binary having different names (for example python

Re: ntpd terminates after a few seconds of running

2016-10-22 Thread Andreas Kusalananda Kähäri
On Thu, Oct 20, 2016 at 03:46:42PM +0200, Andreas Kusalananda Kähäri wrote: > On Thu, Oct 20, 2016 at 02:44:56PM +0200, Rafael Zalamena wrote: > > On Thu, Oct 20, 2016 at 02:18:27PM +0200, Andreas Kusalananda K?h?ri wrote: > > > Hi, > > > > > > Running -current on amd64, I noticed that the ntpd

Re: OpenBSD 6-stable vmd

2016-10-22 Thread R0me0 ***
Hey Peter , Thank you for the advice, I'll get current Cheers dude ! (: 2016-10-22 6:44 GMT-02:00 Peter Hessler : > This isn't expected to work at all. That is why it was disabled. > You'll need to upgrade the Hypervisor to -current, or to 6.1 when it is > released. > >

Re: OpenBSD 6-stable vmd

2016-10-22 Thread Peter Hessler
This isn't expected to work at all. That is why it was disabled. You'll need to upgrade the Hypervisor to -current, or to 6.1 when it is released. On 2016 Oct 22 (Sat) at 00:06:08 -0200 (-0200), R0me0 *** wrote: :Hello misc. : :For testing purposes : :I compiled kernel with vmd support. :

Re: log monitoring recommendations?

2016-10-22 Thread Timo Myyrä
Patrick Dohman writes: > Any opinions/ideas regarding log monitoring. > Preferably something with definable actions. > Hoping to test/obtain a fail2ban equivalent for BSD > > The following utilities were located in openports.se > hatchet > logsentry > logsurfer >