Re: Put non-NULL pledge abort in the man page

2021-11-25 Thread Edgar Pettijohn
There seems to be a lot of pledge calls in your program. A quick glance through the source tree and the only program I could find with more is smtpd. I also didn't see anywhere you were calling pledge with a non null execpromises. You could also try adding the `error' promise so that it won't

Re: Put non-NULL pledge abort in the man page

2021-11-24 Thread Edgar Pettijohn
On 11/24/21 11:50 AM, Luke Small wrote: I tried calling pledge with a non-NULL execpromise and noticed that it was killed. That’d be convenient if that behavior was noted in the man page!-- -Luke You want to look at the "exec" portion of the manual. execpromises are for setting up pledge fo

Re: make: don't know how to make /usr/lib/crt0.o (prerequisite of: httpd)

2021-10-31 Thread Edgar Pettijohn
On 10/31/21 2:23 PM, Kent Watsen wrote: The “httpd-plus” [1] patch installs just find when a fresh 7.0 install selects packages "base", "bsd", "bsd.rd", "bsd.mp", “comp”, and “man”. However, when a fresh 7.0 install selects all the same packages except “comp”, and then subsequently adds the

Re: amd64/SHA256.sig: 404 Not Found

2021-10-09 Thread Edgar Pettijohn
On 10/9/21 12:43 PM, franci...@posteo.de wrote: Hi Folks, just trying to sysupgrade as usual, but I get the 404 on amd/SHA256.sig test with url from https://man.openbsd.org/installurl.5 doesn't improve the situation. # sysupgrade Fetching from https://cdn.openbsd.org/pub/OpenBSD/7.1/amd64/ sys

Re: USB-to-Serial

2021-10-03 Thread Edgar Pettijohn
On 10/3/21 10:07 AM, David Anthony wrote: Hello, I'm attempting to use cu to connect to an EdgeRouter PoE device. I am in the dialer group. I am running the following command in an Xterm window: $ cu -l cuaU0 -s 115200 The following command appears to succeed, but (mostly) gibberish is r

Re: How to use macros in acme-client.conf?

2021-07-26 Thread Edgar Pettijohn
On 7/26/21 5:20 AM, Omar Polo wrote: Alexis writes: Stuart Henderson writes: In gmane.os.openbsd.misc, you wrote: I'm trying to use macros in my acme-client.conf, but it seems I cannot get the syntax right. In addition to that, even when I try the example from the acme-client.conf(5): a

Re: Who is responsible for ports.su? (admittedly a non-canon resource)

2021-06-13 Thread Edgar Pettijohn
On 6/13/21 4:18 PM, ropers wrote: Sorry to disturb, but does anyone know how to contact whoever is responsible for ports.su? An email address would be great, though I'm not sure if it's okay to post that on-list. Perhaps it's okay to send that off-list? Thank you, Ian edgar@edgar-ThinkPad-T

Re: Packages/libraries in disarray after sysupgrade

2021-05-13 Thread Edgar Pettijohn
On Thu, May 13, 2021 at 07:50:35PM -0500, Edgar Pettijohn wrote: > On Thu, May 13, 2021 at 10:47:11PM +, tetrahe...@danwin1210.me wrote: > > After upgrading 6.8->6.9 (stable, not current) using sysupgrade, I am > > finding it not possible to install packages via pkg_add >

Re: Packages/libraries in disarray after sysupgrade

2021-05-13 Thread Edgar Pettijohn
On Thu, May 13, 2021 at 10:47:11PM +, tetrahe...@danwin1210.me wrote: > After upgrading 6.8->6.9 (stable, not current) using sysupgrade, I am > finding it not possible to install packages via pkg_add > > When I try to install something, I get a series of errors like " dependency library name>:

Re: Not possible to sysupgrade via snapshots right now?

2021-05-11 Thread Edgar Pettijohn
On May 11, 2021 3:42 AM, Robert Klein wrote: On Sun, 9 May 2021 07:47:32 -0700 Scott Vanderbilt wrote: > On 5/9/2021 4:04 AM, Stuart Henderson wrote: > > On 2021-05-08, Scott Vanderbilt wrote: > >> Apologies if this is a question to which there is an obvious > >> answer, but I cou

Re: Documentation on OpenBSD's 3-process privsep model?

2021-03-31 Thread Edgar Pettijohn
On Mar 31, 2021 3:02 AM, Ottavio Caruso wrote: On 31/03/2021 04:46, Marc Espie wrote: > On Tue, Mar 23, 2021 at 09:41:06AM +, Ottavio Caruso wrote: >> On 23/03/2021 05:53, misopolemiac wrote: >>> I'd appreciate some pointers to documentation or minimal examples of >>> the 3-proces

Re: Auto-mounting removable disks

2021-03-22 Thread Edgar Pettijohn
hotplugd(8) can probably do what you want. Edgar On Mar 22, 2021 7:43 PM, tetrahe...@danwin1210.me wrote: I have a removable disk that I want to auto-mount. However, it may not always be present. If I put an entry in fstab for it, will the system be able to cope even if the disk is not

Re: Default partitions allocate only 1GB to /

2021-02-27 Thread Edgar Pettijohn
On Sat, Feb 27, 2021 at 11:21:45PM +, tetrahe...@danwin1210.me wrote: > On Sat, Feb 27, 2021 at 08:27:07PM +, James Cook wrote: > > Something's strange about your setup. The installer normally creates a > > separate partition for /usr and maybe /usr/local. If you're using > > pkg_add, then

Re: Default partitions allocate only 1GB to /

2021-02-27 Thread Edgar Pettijohn
On Sat, Feb 27, 2021 at 03:32:44PM +, tetrahe...@danwin1210.me wrote: > When installing OpenBSD, the default partition layout only allocates 1GB to > / ... most of the disk space is allocated to /home. > > Once you start installing packages, / quickly grows beyond 1GB, and it looks > like even

Re: spamd vs IPv6

2021-02-22 Thread Edgar Pettijohn
On Mon, Feb 22, 2021 at 06:28:29PM +, Nick Guenther wrote: > February 22, 2021 1:22 PM, "Edgar Pettijohn" wrote: > > > Have you tried starting spamd with '-l ::1' to alter its address to bind > > to? > > I hadn't! But it's no help: >

Re: spamd vs IPv6

2021-02-22 Thread Edgar Pettijohn
Have you tried starting spamd with '-l ::1' to alter its address to bind to? Edgar On Feb 22, 2021 10:11 AM, Nick Guenther wrote: July 1, 2020 7:34 AM, "Harald Dunkel" wrote: > Hi folks, > > spamd(8) still mentions 127.0.0.1, but no indication of IPv6 support. > Looking on Goog

Re: using kevent to catch signals

2021-02-19 Thread Edgar Pettijohn
On Fri, Feb 19, 2021 at 06:49:45AM +0100, Sebastien Marie wrote: > On Thu, Feb 18, 2021 at 10:23:05PM -0600, Edgar Pettijohn wrote: > > I'm having trouble using kevent(2) to catch signals. Below is a sample > > program. It should catch SIGHUP and SIGUSR1 and just print it out

using kevent to catch signals

2021-02-18 Thread Edgar Pettijohn
I'm having trouble using kevent(2) to catch signals. Below is a sample program. It should catch SIGHUP and SIGUSR1 and just print it out. Instead when i send the process sighup with `kill -SIGHUP $PID` it exits and the word Hangup is writtin to the terminal. If I use `kill -SIGUSR1 $PID` the proces

Re: httpd, PHP7.4, phpIPAM, MariaDB

2021-02-09 Thread Edgar Pettijohn
On Tue, Feb 09, 2021 at 05:30:52PM -0600, Jesse Barton wrote: > Hey OpenBSD Community, > > I am working on getting phpIPAM setup on a OpenBSD system but so far i'm > running into an issue with connecting the php site to the database. > > I used parts of these documentation pages to get everything

Re: OpenSMTPD is not sending e-mail.

2021-01-28 Thread Edgar Pettijohn
On Thu, Jan 28, 2021 at 08:41:46PM +0100, Radek wrote: > Hi, > a few days ago all my boxes using the same ISP stopped to send me emails from > local users and daemons (daily outputs and any other cronjob reports) to > @gmail.com. > I have tried to send email to a few not_gmail mailboxes - the sa

Re: relay email from users to per-user smtp servers

2021-01-24 Thread Edgar Pettijohn
You may want to look at table(5) specifically the credentials section. Not sure how ugly it would get with multiple relay rules, but I think it should be possible. However, I think it would just be easier to teach your mua to do it for you. Edgar

Re: pkg_info(1) manpage issue

2021-01-24 Thread Edgar Pettijohn
On Sun, Jan 24, 2021 at 09:35:46PM +0100, Andrew Easton wrote: > Hello everyone, > > it appears that there may be a way to misinterpret > the man page for pkg_info(1) in the state of > commit 0b249e2164be2385bc6a5e82814435649b2b06e0 > Date: Sun Jan 24 10:21:43 2021 + > on the github openbsd

Re: help needed with httpd.conf and rewrite directive

2021-01-06 Thread Edgar Pettijohn
On Wed, Jan 06, 2021 at 02:12:40PM -0800, Kevin wrote: > Hey gang, > > I'm trying to setup some rewrites in httpd that are needed to make some > software we just purchased work. > > The vendor's official docs only support nginx and apache, and I'm having a > helluva time understanding how to make

Re: OpenSMTPD-extras manual

2020-12-20 Thread Edgar Pettijohn
gh socketmap. > > But again no clear manual entry makes it useless. > No hint in the manual how to configure this type > of table access > > > 20.12.2020 01:34, Ingo Schwarze ??: > > Hi Maksim & Edgar, > > > > Edgar Pettijohn wrote on Sa

Re: OpenSMTPD-extras manual

2020-12-19 Thread Edgar Pettijohn
On Sat, Dec 19, 2020 at 08:02:19PM +0300, ?? wrote: > Hello. > Where can I find any manuals and examples regarding OpenSMTPD-extras? > Which table types are supported and do not have status "experimental" > like ldap tables? > E.g. what is opensmtpd-extras-python and how can I

Re: OpenSMTPD-extras manual

2020-12-19 Thread Edgar Pettijohn
On Sat, Dec 19, 2020 at 08:02:19PM +0300, ?? wrote: > Hello. > Where can I find any manuals and examples regarding OpenSMTPD-extras? > Which table types are supported and do not have status "experimental" > like ldap tables? > E.g. what is opensmtpd-extras-python and how can I

perl hex possible bug

2020-07-21 Thread Edgar Pettijohn
I was playing around with the hex function in perl. So naturally I started with: perldoc -f hex Which showed me a few examples namely the following: print hex '0xAf'; # prints '175' print hex 'aF'; # same $valid_input =~ /\A(?:0?[xX])?(?:_?[0-9a-fA-F])*\z/ However, I g

Re: Howto change login mechanism on OpenBSD

2020-05-20 Thread Edgar Pettijohn
On Wed, May 20, 2020 at 09:50:17PM +, Kevin Chadwick wrote: > On May 20, 2020 9:31:19 PM UTC, Edgar Pettijohn > wrote: > >On Wed, May 20, 2020 at 08:48:20PM +0200, Valdrin MUJA wrote: > >> Hi Misc, > >> > >> I have an interactive shell program which

Re: Howto change login mechanism on OpenBSD

2020-05-20 Thread Edgar Pettijohn
On Wed, May 20, 2020 at 08:48:20PM +0200, Valdrin MUJA wrote: > Hi Misc, > > I have an interactive shell program which has an authentication section and I > want to login via my program. How can I do that? > > Actually I want to run this program instead of /bin/ksh. I changed the root's > shell

Re: rc.d: Webserver is removing daemonization - now what?

2020-05-03 Thread Edgar Pettijohn
On Sun, May 03, 2020 at 04:53:42PM +0200, Marcus MERIGHI wrote: > chad.hoo...@protonmail.com (Chad Hoolie), 2020.05.03 (Sun) 15:43 (CEST): > > So the folks over at my webserver is removing its daemonization > > feature, telling its users to use systemd/upstart/a process supervisor > > instead. > >

Re: UNIX crash course

2020-04-21 Thread Edgar Pettijohn
On Tue, Apr 21, 2020 at 09:17:50PM +0300, Pekka Niiranen wrote: > Hello Sirs, > > That is very comprehensive list of books, but I have > not found any concise example of "OpenBSD development environment". > There are KNF settings for vim and emacs in github but not much more. > > OpenBSD is in co

Re: strncasecmp

2020-04-11 Thread Edgar Pettijohn
On 4/11/20 8:47 PM, Stuart Longland wrote: On 12/4/20 11:39 am, zeurk...@volny.cz wrote: "Stuart Longland" wrote: On 11/4/20 2:30 am, zeurk...@volny.cz wrote: https://doomwiki.org/wiki/Absurd texture name in error message No, what I wrote is: 'https://doomwiki.org/wiki/Absurd texture nam

Re: pthread_mutexattr_setpshared and Apache Guacamole remote desktop gateway

2020-03-05 Thread Edgar Pettijohn
On Mar 5, 2020 10:15 AM, Steve Williams wrote: > > Hi, > > Should this be on ports@?  I'm not working on a port... > > TL;DR: > Does anyone have any recommendations on how to work around not having > pthread_mutexattr_setpshared in the OpenBSD pthreads library? > Have you tried searching the p

Re: PPTP NAT passthrough

2020-02-26 Thread Edgar Pettijohn
This appears to be actively maintained. https://sourceforge.net/projects/pptpclient/ On 02/25/20 12:15, Szél Gábor wrote: Dear @misc Our customer need more parallel outgoing PPTP session. I know PPTP is no security VPN, but our client not have any options. (our customer remote partner accept

Re: [*EXT*] Re USB printer?

2020-02-17 Thread Edgar Pettijohn
On Feb 17, 2020 11:47 AM, Claus Assmann wrote: > > I got a > HP DeskJet 2630 > printer and connected it via usb > I tried to use it "directly", i.e., /etc/printcap: > usb:lp=/dev/ulpt0:sd=/var/spool/output/usb:sf:sh:tr=^D: > as mentioned in the original mail > > but this results in an "output e

Re: 550 Invalid recipient domain

2020-02-03 Thread Edgar Pettijohn
On 02/03/20 16:33, Anne Wainwright wrote: Hi, OK, maybe this query should be for another mailing list. Getting mail to my BSD 6.4 server has been an issue. I have Postfix running. The mail is fetched by fetchmail. As far as I know both .fetchmailrc and /etc/aliases are correct. But the 550

Re: wpa_supplicant error

2020-02-02 Thread Edgar Pettijohn
Try without wpa_supplicant /etc/hostname.iwm0 nwid yournwid wpakey yourwpakey dhcp sh /etc/netstart On Feb 2, 2020 3:42 PM, Charlie Burnett wrote: > > Hey @misc, > I've used OpenBSD on my desktop and server for a while, however they both > have an Ethernet connection. I recently got my hands on

Re: How to hide my server's IP?

2020-02-02 Thread Edgar Pettijohn
On Feb 2, 2020 3:24 PM, Arthur Wayside wrote: > > Hello. > > Say I run a websapp inside a chroot and someone manages to hack it and gain > shell access. Or just don't put it in the chroot. Can I then somehow hide my server's IP from the likes of ifconfig? > > Thanks! > > Artur. > > Sent with

Re: How to hide my server's IP?

2020-02-02 Thread Edgar Pettijohn
On Feb 2, 2020 3:24 PM, Arthur Wayside wrote: > > Hello. > > Say I run a websapp inside a chroot and someone manages to hack it and gain > shell access. Can I then somehow hide my server's IP from the likes of > ifconfig? > > Thanks! > > Artur. > > Sent with [ProtonMail](https://protonmail.com

Re: From nginx to openbsd httpd

2020-01-16 Thread Edgar Pettijohn
On Jan 16, 2020 9:27 AM, Michael Hekeler wrote: > > > > > Hello, > > > > I use poudriere pkg builder on FreeBSD and I use nginx to get poudriere web > > status interface. > > > > I'm looking for a less complex httpd server and obhttpd seems to be right > > choice. I have installed obhttpd

Re: Syspatch

2020-01-16 Thread Edgar Pettijohn
On Jan 16, 2020 8:09 AM, Christer Solskogen wrote: > > On Thu, Jan 16, 2020 at 1:45 PM Jan Betlach wrote: > > > > > Any ideas what is wrong? Might as well be a pebkac I am unaware of… > > > > > Clock out of sync? I have seen this a few times and it was always my system clock out of whack. Mi

Re: OpenBSD's extremely poor network/disk performance?

2020-01-07 Thread Edgar Pettijohn
On Jan 7, 2020 9:18 AM, Joe Greco wrote: > > On Tue, Jan 07, 2020 at 02:47:02PM +, cho...@jtan.com wrote: > > Hamd writes: > > > It's 2020 and it's -still- sad to see OpenBSD -still- has the > > > ... lists full of the uninteresting type of wine and that their > > > twitterings -still- don't

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-02 Thread Edgar Pettijohn
On 2020-01-02 16:52, Marc Chantreux wrote: You have something like 3 lines of perl to play with ;) is there a todo list somewhere ? find /usr/src -name '*.pm' | xargs grep XXX Shows some promising results. Edgar regards marc

Re: sending mail from wordpress

2020-01-02 Thread Edgar Pettijohn
On Jan 2, 2020 7:21 AM, Jiri B wrote: > > https://wordpress.org/plugins/post-smtp/ > This looks promising. Thanks, Edgar > j. > > On Thu, Jan 2, 2020 at 1:44 PM Stuart Henderson wrote: > > > On 2020-01-02, Edgar Pettijohn wrote: > > > I'm

Re: sending mail from wordpress

2020-01-02 Thread Edgar Pettijohn
On Jan 2, 2020 6:27 AM, Stuart Henderson wrote: > > On 2020-01-02, Edgar Pettijohn wrote: > > I'm having trouble getting mail to go through wordpress. > > Confogure it to send by SMTP instead. (I don't use wordpress and can't > help tell you exactly how, b

sending mail from wordpress

2020-01-01 Thread Edgar Pettijohn
I'm having trouble getting mail to go through wordpress. I have femail installed as /var/www/usr/sbin/sendmail. In /etc/php-7.1.ini I have: sendmail_path = "/usr/sbin/sendmail -f ed...@pettijohn-web.com" I can: echo "HI" | chroot /var/www /usr/sbin/sendmail -f ed...@pettijohn-web.com testad

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-30 Thread Edgar Pettijohn
On 2019-12-30 18:07, ansim...@tutanota.com wrote: Hi, I'd like to bring up the following suggestion: Would it be desirable for the OpenBSD project to replace Perl with Lua in the base system? A smaller base afforded to by Lua will reduce the attack surface and complexity of the OpenBSD projec

Re: The OpenBSD talk at 36c3

2019-12-30 Thread Edgar Pettijohn
On Dec 30, 2019 5:31 AM, Kevin Chadwick wrote: > > > > I liked the presentation.  An excerpt from https://isopenbsdsecu.re/about/: > >> This website was done because studying mitigations is fun, not to get > >> involved in a huge flamewars or endless bike-shedding on mailing lists. > > It is no

Re: Re-organising partitions without re-installation

2019-12-23 Thread Edgar Pettijohn
On Dec 23, 2019 4:42 PM, rgci...@disroot.org wrote: > > December 24, 2019 4:42 AM, "Dumitru Moldovan" wrote: > > > On Sun, Dec 22, 2019 at 10:56:20AM +1000, Stuart Longland wrote: > > > >> So, a few years ago now, I deployed a router VM with OpenBSD 6.1 AMD64. > >> Later that got updated to 6.2

Re: What do you use to generate invoices on OpenBSD?

2019-12-22 Thread Edgar Pettijohn
I don't, but I wonder if there is a WordPress or similar way to do it. That way you have a searchable database plus you can just pull it up on your browser and print it out. Just a thought. Edgar On Dec 22, 2019 4:14 AM, cho...@jtan.com wrote: > > Mikolaj Kucharski writes: > > Hi, > > > > Do you

Re: Installing OpenBSD -current snapshots

2019-11-28 Thread Edgar Pettijohn
On Nov 28, 2019 2:15 AM, Bruno Flueckiger wrote: > > On 27.11., Clay Daniels wrote: > > I have successfully installed OpenBSD 6.6 release and would like to give > > the Current Snapshots a try. I went to a mirror, and to: > > > > Index of /pub/OpenBSD/snapshots/amd64/ > > > > I saw install66.fs

Re: Installing OpenBSD -current snapshots

2019-11-27 Thread Edgar Pettijohn
On Wed, Nov 27, 2019 at 08:05:30PM -0600, Clay Daniels wrote: > I have successfully installed OpenBSD 6.6 release and would like to give > the Current Snapshots a try. I went to a mirror, and to: > > Index of /pub/OpenBSD/snapshots/amd64/ > > I saw install66.fs (probably for usb memstick) and ins

Re: Starting redis fails with 'Bus error (core dumped)'

2019-11-17 Thread Edgar Pettijohn
On Nov 17, 2019 3:21 PM, Consus wrote: > > On 22:05 Sun 17 Nov, Unicorn wrote: > > On Sun, 2019-11-17 at 23:22 +0300, Consus wrote: > > > On 16:25 Sun 17 Nov, Unicorn wrote: > > > > After installing redis (and rspamd), before having modified any > > > > part of > > > > redis, starting redis with

Re: Best Practices for growing disk partitions on a server

2019-11-17 Thread Edgar Pettijohn
On Nov 17, 2019 2:35 PM, Lev Lazinskiy wrote: > > Hi folks, > > I am new to openBSD, so forgive me if I am missing something obvious. > > I recently installed openBSD on a server using the auto-partition layout > during installation and am quickly starting to run out of disk space. > > I have

Re: auto_upgrade.conf et al man pages or documentation?

2019-10-17 Thread Edgar Pettijohn
On Thu, Oct 17, 2019 at 03:15:16PM -0700, Chris Bennett wrote: > On Fri, Oct 18, 2019 at 10:56:07AM +1300, Shane Lazarus wrote: > > > > So, I just ran sysupgrade with no options to see what would happen. > > > > Unsurprisingly, it proceeded to install ALL of the sets, without bothering > > to pro

Re: Can minecraft run on OpenBSD i386 with less than 2Gb Ram ?

2019-10-05 Thread Edgar Pettijohn
On Oct 5, 2019 8:02 AM, Solene Rapenne wrote: > > On Sat, Oct 05, 2019 at 12:20:09PM +0100, Tom Smyth wrote: > > Hi all, > > My 5 year old son as a laptop .. Running OpenBSD 6.5 stable and im trying > > to > > I figured current would be a little tricky for him :) ... > > I have tried to get mine

Re: OpenSMTPD filters and "Masquerading"

2019-10-04 Thread Edgar Pettijohn
Search the opensmtpd mailing list archives. I believe someone posted an awk script that does this or at least something similar. Good luck, Edgar On Oct 4, 2019 3:08 AM, Jon Arlund wrote: > > Hi misc, > I was delighted to see the inclusion of OpenSMTPD filters in the latest > snapshot. > Knowi

ugen0 chatter on xconsole

2019-09-29 Thread Edgar Pettijohn
I'm guessing someone is working on some ugen code or something similar. Not sure exactly when it started, but around 6.4-6.5 my xconsole never told me much of anything. Starting about 2 weeks ago on current it won't shut up about ugen0 detached ... If this information would be useful to anyone

Re: Desktop full text search

2019-09-18 Thread Edgar Pettijohn
On Sep 18, 2019 10:37 AM, Oriol Demaria wrote: > > So finding some code between large amounts of repos can be tricky. I > don't use Gnome or KDE so I was wondering what do people use for this. > Been looking at the ports and I see Xapian and others. Any advice on a > nice setup? > > Regards,

plackup and httpd

2019-09-16 Thread Edgar Pettijohn
Not sure if I'm just dense, but it took awhile to figure this out. So I'm just posting here to help out the next person that needs to know and happens upon this in the archives. doas plackup -s FCGI --listen /var/www/run/psgi.sock myapp.psgi #/etc/httpd.conf location "/*" { fastcgi soc

man.openbsd.org/table.5

2019-09-08 Thread Edgar Pettijohn
Not sure if its just me or not, but I was looking at the table(5) manual online and sections look odd. Particularly `Mailaddr tables' and `Addrname tables'. Thanks, Edgar

Re: ldapd hangs/stalls

2019-08-28 Thread Edgar Pettijohn
On Aug 28, 2019 5:39 PM, Allan Streib wrote: > > Allan Streib writes: > > > I see that fstat -u _ldapd always ends at FD 119 when the hang occurs: > > > > [...] > > _ldapd   ldapd  42641  117* internet stream tcp 0x0 172.29.202.69:389 > > <-- 172.29.200.108:47864 > > _ldapd   ldapd  42

Re: What is you motivational to use OpenBSD

2019-08-28 Thread Edgar Pettijohn
It's easy to upgrade. I'm never worried that upgrading will break something. As far as BSD's go it's the easiest to get a desktop going. Since x is in base you just have to do a few pkg_add's. And those packages will be built the way you expect 9 out of 10 times. Edgar On Aug 28, 2019 3:37 PM,

Re: build with DEBUG defined

2019-08-06 Thread Edgar Pettijohn
On Aug 6, 2019 8:51 PM, Gleydson Soares wrote: > > On Tue, Aug 06, 2019 at 06:55:15PM -0500, Edgar Pettijohn wrote: > > I'm trying to build smtpd with `-g'. I tried the following: > > > > deathstar$ make -DDEBUG > > ===> smtpd > > yacc  -o

build with DEBUG defined

2019-08-06 Thread Edgar Pettijohn
I'm trying to build smtpd with `-g'. I tried the following: deathstar$ make -DDEBUG ===> smtpd yacc -o parse.c /usr/src/usr.sbin/smtpd/smtpd/../parse.y cc -O2 -pipe 1 -fstack-protector-all -I/usr/src/usr.sbin/smtpd/smtpd/.. -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -W

Re: ampd(8) -Z option

2019-08-04 Thread Edgar Pettijohn
On Aug 4, 2019 12:10 PM, Walter Alejandro Iglesias wrote: > > Hi Edgar, > > On Sun, Aug 04, 2019 at 11:43:19AM -0500, Edgar Pettijohn wrote: > > On Sun, Aug 04, 2019 at 05:33:41PM +0200, Walter Alejandro Iglesias wrote: > > > Hello, > > > > > >

Re: ampd(8) -Z option

2019-08-04 Thread Edgar Pettijohn
On Sun, Aug 04, 2019 at 05:33:41PM +0200, Walter Alejandro Iglesias wrote: > Hello, > > Since years I've been using a shell script of mine to shutdown my laptop > when battery is critical. Convenient because I made it portable among > unix-like systems. In the case of OpenBSD the script asks bat

sysupgrade

2019-07-27 Thread Edgar Pettijohn
I had been neglecting trying out sysupgrade because I didn't see how you could make what is already an easy process any easier. I was mistaken. It worked like a charm and somehow even easier than before. Thanks!! Edgar

Re: perl privilege drop

2019-07-25 Thread Edgar Pettijohn
On Jul 24, 2019 9:06 PM, Andrew Hewus Fresh wrote: > > On Sat, Jul 20, 2019 at 07:20:23PM -0500, Edgar Pettijohn wrote: > > Is there a standard OpenBSD approved method for dropping privileges in > > a perl server? Currently looking into Privileges::Drop, but since it > >

Re: makewhatis for man page changes

2019-07-24 Thread Edgar Pettijohn
man 5 man.conf Need to add /usr/local/man to your manpath. On Jul 24, 2019 11:39 AM, Jungle Boogie wrote: > > Hi All, > > Turns out I don't know everything and I need to read man pages from > time-to-time. I'm sure you're like me and also want to consult the man pages. > How do you do it on appli

Re: shell_exec() exec() and system() not working in php 5.6 openbsd 6.4

2019-07-22 Thread Edgar Pettijohn
On Jul 9, 2019 4:40 AM, mansoor wrote: > > Hi, > I am using OpenBSD 6.4 and php version 5.6, I am trying to execute shell > commands through php file using exec, shell_exec or system (tried all of > them) but none is working. > > Here is a sample code in my index.php file. > > $output = shell_e

Re: OpenBSD Project

2019-07-21 Thread Edgar Pettijohn
In OpenBSD fashion. --- email.orig Sun Jul 21 19:12:04 2019 +++ email.new Sun Jul 21 19:12:38 2019 @@ -7,7 +7,7 @@ Perhaps the reason it has worked so long is because we don't have a sentence like this, which some may consider contentious, and use as reason to pick yet another infamous fight

Re: OpenBSD Project

2019-07-21 Thread Edgar Pettijohn
> To everyone who took the time to respond, your responses were outstanding; if > only a short and sweet additional page could be added to the main OpenBSD > Project WWW site (e.g., under ???Project Team??? or ???Developers") that just > succinctly summarizes exactly what you all said. For ???s

perl privilege drop

2019-07-20 Thread Edgar Pettijohn
Is there a standard OpenBSD approved method for dropping privileges in a perl server? Currently looking into Privileges::Drop, but since it isn't in base makes me curious if there is a better way. Thanks, Edgar

Re: cd command, chdir syscall, shell behavour

2019-06-29 Thread Edgar Pettijohn
On Jun 29, 2019 5:50 PM, Ingo Schwarze wrote: > > Hi Ian, > > ropers wrote on Sat, Jun 29, 2019 at 10:40:30PM +0200: > > > This relates to a long-standing annoyance: When I do `man kill` for > > example, the manpage shown is for code that won't be what runs when I > > do `kill `. > > I suppose t

Re: crontab

2019-05-28 Thread Edgar Pettijohn
On May 28, 2019 3:14 PM, Carlos Aguilar wrote: > > Hi, > > I am having lots of problems to execute a shell script at boot time. > > My crontab is as follows; > >> > SHELL=/bin/ksh > > @reboot $HOME/bin/app-ferre > << > My shell script is as follows: > >> > #!/bin/ksh > > lua=/usr/local/b

Re: OpenBSD on Soekris net4801

2019-05-22 Thread Edgar Pettijohn
On May 22, 2019 6:05 PM, Chris Zakelj wrote: > > When I set my 4801 up years and years ago, I did it by using an IDE>CF > adapter on an old Athlon system I had hanging around rather than messing > around with virtual images, PXE booting, or the like.  The Geode processor > is roughly equivalent

Re: ffs undelete was: Re: single user question

2019-05-18 Thread Edgar Pettijohn
On May 18, 2019 4:08 AM, Solène Rapenne wrote: > > Le 2019-05-17 22:47, Edgar Pettijohn a écrit : > > On May 17, 2019 3:14 PM, gwes wrote: > >> > >> > >> > >> On 5/17/19 2:34 PM, Nathan Hartman wrote: > >> > On Fri, May 17, 2019 at

Re: ffs undelete was: Re: single user question

2019-05-17 Thread Edgar Pettijohn
On May 17, 2019 3:14 PM, gwes wrote: > > > > On 5/17/19 2:34 PM, Nathan Hartman wrote: > > On Fri, May 17, 2019 at 12:28 PM ropers wrote: > > > > > > In the history of the (Berkeley) Fast File System, has there ever been > > an attempt to implement DOS-like undelete for FFS/UFS? > > > > Maybe t

Re: i3bar not working after 6.5 upgrade

2019-05-13 Thread Edgar Pettijohn
On May 13, 2019 2:58 AM, shadrock uhuru wrote: > > > > On 5/13/19 1:35 AM, shadrock uhuru wrote: > > hi everyone > > since upgrading to 6.5 my i3bar no longer works. > > i have not changed the configuration in any way > > when i run the i3status command manually in a terminal the bar is not > >

Re: 6.5 PowerPC Packages

2019-05-09 Thread Edgar Pettijohn
On May 9, 2019 2:45 PM, Henry Bonath wrote: > > Only if said trailer is Delorean-shaped. Maybe just attach a second delorian to the first. > > On Thu, May 9, 2019 at 3:43 PM Edgar Pettijohn > wrote: > > > > > > On May 9, 2019 10:41 AM, danieljb...@icloud.c

Re: 6.5 PowerPC Packages

2019-05-09 Thread Edgar Pettijohn
On May 9, 2019 10:41 AM, danieljb...@icloud.com wrote: > > On Thu, May 09, 2019 at 08:55:40AM -0600, Theo de Raadt wrote: > > The real reason is because we're low on current for the flux capacitor, > > after shifting time for the early 6.5 release.  Not all the machines > > were able to fit into

Re: dmenu: was When will be created a great desktop experience for OpenBSD?

2019-05-07 Thread Edgar Pettijohn
On May 7, 2019 3:39 PM, Steve Litt wrote: > > On Tue, 07 May 2019 14:47:15 -0500 > Edgar Pettijohn wrote: > > > > I use dwm on everything so my desktop experience is the same > > everywhere. > > Just the man I want to talk to. > > Do you have dmenu r

Re: When will be created a great desktop experience for OpenBSD?

2019-05-07 Thread Edgar Pettijohn
On May 7, 2019 2:29 PM, Steve Litt wrote: > > On Tue, 7 May 2019 14:45:34 -0300 > Clark Block wrote: > > > Was developed the Isotop: > > > > https://www.reddit.com/r/BSD/comments/8of042/isotop_french_desktoporiented_openbsd_distro/ > > > > https://3hg.fr/Isos/isotop/ > > > > The Isotop is re

Re: Migrating smtpd from OpenBSD 6.3 to 6.4 problems

2019-04-24 Thread Edgar Pettijohn
On Apr 24, 2019 5:30 AM, Noth wrote: > > > On 24/04/2019 02:13, Edgar Pettijohn wrote: > > On Apr 23, 2019 6:35 PM, Noth wrote: > >> > >> On 23/04/2019 23:51, Edgar Pettijohn wrote: > >>> On Apr 23, 2019 2:49 PM, Noth wrote: > >>>>

Re: Migrating smtpd from OpenBSD 6.3 to 6.4 problems

2019-04-23 Thread Edgar Pettijohn
On Apr 23, 2019 6:35 PM, Noth wrote: > > > On 23/04/2019 23:51, Edgar Pettijohn wrote: > > On Apr 23, 2019 2:49 PM, Noth wrote: > >> Hi, > >> > >>    I'm trying to migrate my setups for smtpd+dovecot, and I'm about half > >> there. T

Re: Migrating smtpd from OpenBSD 6.3 to 6.4 problems

2019-04-23 Thread Edgar Pettijohn
On Apr 23, 2019 2:49 PM, Noth wrote: > > Hi, > >   I'm trying to migrate my setups for smtpd+dovecot, and I'm about half > there. The scenario is this: > > - OpenBSD client machines have smtpd set up to send the daily/weekly > mails to an address u...@example.org handled by central server also

Re: OpenBSD 6.3 syspatch

2019-04-07 Thread Edgar Pettijohn
On Apr 7, 2019 10:03 AM, Monah Baki wrote: > > Hi all, > > I am running OpenBSD 6.3 in AWS, and I want to run sysptach since > https://www.openbsd.org/errata63.html shows several patches exist. > > So on the openbsd 6.3 server I ran the following; > > uname -a displays OpenBSD ip-10-0-0-108.ec2.

Re: Infinite spin when trying to burn a CD

2019-03-26 Thread Edgar Pettijohn
On Mar 26, 2019 9:41 AM, Markus Rosjat wrote: > > Hi, > > might not to much help but > > Am 26.03.2019 um 14:57 schrieb Maurice McCarthy: > > I never looked at your dmesg earlier. These lines > > > > cd0(ahci0:2:0): Check Condition (error 0x70) on opcode 0x1e > >  SENSE KEY: Illegal Request

Re: what about security ?

2019-03-25 Thread Edgar Pettijohn
On Mar 25, 2019 7:00 PM, Flipchan wrote: > > Check out pledge > > On March 25, 2019 11:20:13 PM GMT+01:00, Cord > wrote: > >Hi, > >what security technology can I implement to securify for example script > >that connect to any website ? > >Is there any howto for chroot ? > >Thank you. > >Cord >

Re: man httpd.conf option does not mention option blocks

2019-03-11 Thread Edgar Pettijohn
On Mar 11, 2019 5:20 PM, Evan Silberman wrote: > > Jason McIntyre wrote: > > On Mon, Mar 11, 2019 at 12:29:41PM -0700, Evan Silberman wrote: > > > Jason McIntyre wrote: > > > > > > > > Index: httpd.conf.5 > > > > === > > > > RCS

Re: spamd blacklist-mode logging

2019-02-22 Thread Edgar Pettijohn
On Feb 22, 2019 5:51 PM, Geir Svalland wrote: > > Hello all. > > When running spamd in blcklist-mode, does it log it's actions anywhere? > can't find any info on it, and I'm not even sure it's working. > > /Hasse > Pretty sure it logs to /var/log/daemon Maybe start it with the -d flag to see i

Re: Best practices for validating downloaded config files in OpenBSD

2019-02-21 Thread Edgar Pettijohn
On Feb 21, 2019 6:38 AM, Tom Smyth wrote: > > Hello All , > > we have an in house shell script based deployment system for our > OpenBSD boxes in the field > this involves the boxes  pulling config files over https but Im always > concerned that if the downloaded files are incomplete or empty th

Re: 3g/4g modem access from within chroot

2019-02-08 Thread Edgar Pettijohn
On Feb 8, 2019 2:21 PM, Kihaguru Gathura wrote: > > > > > Is there a /var/www/dev/cuaU2 > > Indeed this is present. created it before as follows: > > www# mkdir /var/www/dev > www# cd /var/www/dev > www# sh /dev/MAKEDEV ttyU2 > www# ls > cuaU2 ttyU2 >

Re: Best way to fix a directory's permissions?

2019-02-08 Thread Edgar Pettijohn
On Feb 8, 2019 12:02 PM, Mike Coddington wrote: > > Last night I screwed up my /tmp directory's permissions. I fixed it by > looking at another machine's permissions and editing the directory with > chmod(1). Is there a tool in OpenBSD which would work better than this? > I'm fortunate enough to

Re: 3g/4g modem access from within chroot

2019-02-08 Thread Edgar Pettijohn
On Feb 8, 2019 9:01 AM, Kihaguru Gathura wrote: > > Hi, > > What effective way can be used to apply permission to /dev/cuaU2 to > avoid the error below. > > > www# chroot -u www /var/www cgi-bin/modem Is there a /var/www/dev/cuaU2 > Status: 200 OK > Content-type: text/html > > cu: open("/dev/c

[SOLVED] Re: apu2 em0/dhclient problems

2019-01-29 Thread Edgar Pettijohn
On Tue, Jan 29, 2019 at 12:03:23PM -0600, Edgar Pettijohn wrote: > > On Jan 29, 2019 11:01 AM, Marcus MERIGHI wrote: > > > > Hello, > > > > ed...@pettijohn-web.com (Edgar Pettijohn), 2019.01.27 (Sun) 18:44 (CET): > > > I'm trying to replace my

Re: apu2 em0/dhclient problems

2019-01-29 Thread Edgar Pettijohn
On Jan 29, 2019 11:01 AM, Marcus MERIGHI wrote: > > Hello, > > ed...@pettijohn-web.com (Edgar Pettijohn), 2019.01.27 (Sun) 18:44 (CET): > > I'm trying to replace my dieing soekris box with an apu2 dmesg below. > > However, I can't seem to get em0 to connec

Re: apu2 em0/dhclient problems

2019-01-27 Thread Edgar Pettijohn
On Sun, Jan 27, 2019 at 09:34:54PM +0100, Mikkel C. Simonsen wrote: > Den 27-01-2019 kl. 19:45 skrev trondd: > > On Sun, January 27, 2019 12:44 pm, Edgar Pettijohn wrote: > > > I'm trying to replace my dieing soekris box with an apu2 dmesg below. > > > However, I

apu2 em0/dhclient problems

2019-01-27 Thread Edgar Pettijohn
I'm trying to replace my dieing soekris box with an apu2 dmesg below. However, I can't seem to get em0 to connect to my isp. It will work when connecting to the soekris box though. So I don't think its the interface that is the problem. But everything I try seems to rule out eachother as the probl

  1   2   3   4   5   >