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

2021-11-25 Thread Edgar Pettijohn
t it won't sigabort and maybe you can find where the problem is easier. Edgar On 11/25/21 4:55 AM, Luke Small wrote: I ran ktrace. Kdump said the last thing it did was try to load /usr/libexec/ld.so To main(), before the unveil pledge is dropped, I added: if (unveil("

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
r complete successfully? Maybe try: # tar -C / -xzphf comp70.tgz || echo "somethings broken" You may have run out of disk space or something similar and just didn't notice. Thats my best guess. Edgar Stop in /usr/src/usr.sbin/httpd Restoring original sourc

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
r rates. Maybe 9600 will do it. Edgar

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

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
do things? > I just ran into this myself. I'm guessing the packages are built with a newer library. So I'm running sysupgrade again to see if they get installed. I'll repost if that indeed solves my issue. edgar

Re: Not possible to sysupgrade via snapshots right now?

2021-05-11 Thread Edgar Pettijohn
ds Robert This is similar to how pkg_* requires -Dsnap from time to time. I've just trained myself to always use the flags so as not to let the software have to decide for me. Edgar

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

2021-03-31 Thread Edgar Pettijohn
t applicable to most of the base code. > > I was wrong then. My apologies. Still, it's worth giving a look at the events page. I have learnt a lot about OpenBSD going through all presentations and papers, despite understanding only 0.1% of the technical details. -- Ottavio Caruso I often use the source for identd as a template. It's a fairly simple daemon. So it's easy to gut it and rework it to fit your needs. Edgar

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

Re: Default partitions allocate only 1GB to /

2021-02-27 Thread Edgar Pettijohn
f) > /dev/sda1 on /: 956 bytes (missing 86470 blocks) > /dev/sd1h on /usr/local: 4513435 bytes > ``` > > Later it gives different byte counts for both values. > doas du -xh / should help you locate whats going on. Edgar

Re: Default partitions allocate only 1GB to /

2021-02-27 Thread Edgar Pettijohn
to write to a usb stick and instead wrote to a file in /dev. Thats the only way I've ever had this problem. Edgar

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 I

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
` the process exits and the words User defined signal 1 are written to the terminal. What am I doing wrong? Thanks! Edgar #include #include #include #include #include #include int main(int argc, char** argv) { int kq; struct kevent ev[2]; if ((kq = kqueue())

Re: httpd, PHP7.4, phpIPAM, MariaDB

2021-02-09 Thread Edgar Pettijohn
ocs/ipam/index.php(29): User->__construct() > #6 {main} > thrown in /htdocs/ipam/functions/classes/class.PDO.php on line 159 > > Im able to log into the database with the desired user running > # mysql -u phpipam -p > > my config.php is set > $db['host'] = '

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
uirks-3.440 signed on 2021-01-22T19:53:09Z Can't find transfer Can't find files Can't find with Can't find FTP, Can't find HTTP, Can't find HTTPS, Can't find etc. Edgar > > Even calling pkg_info(1) with doas(1) yields the same > behaviour: > >

Re: help needed with httpd.conf and rewrite directive

2021-01-06 Thread Edgar Pettijohn
on /sendy/l/ { > rewrite ^/sendy/l/([a-zA-Z0-9/]+)$ /sendy/l.php?i=$1 last; > } I'm not an expert, but I would try: location match "^/sendy/l/([%w\/]+)$" { request rewrite "/sendy/l.php?i=$1" } good luck Edgar

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
tras-python and how can I use it? > -- > Best regards > Maksim Rodin > Your best bet is to git clone the repository and search for the tables, etc you are interested in. If there is a manual simply `mandoc file | less`. Unfortunantly there aren't manuals for all of the `extras`. Good luck, Edgar

Re: Malloc options

2020-11-12 Thread edgar
itive (from the manual, "Unless otherwise noted uppercase means on, lowercase means off.") Luckily it's a typo in the email. However, I don't recall reading that. Must have skimmed past it. Thanks, Edgar

Re: Malloc options

2020-11-11 Thread edgar
k good to > me so what would be the best? I'm going to go with "S" unless otherwise > instructed. > Thanks, > Edgar A long time ago A existed, not it is the default: if an inconsistency is detected, malloc aborts. While developing and for "sensitive&

Malloc options

2020-11-11 Thread edgar
I'm trying to compile a program that is using a MALLOC_OPTIONS of "A" which doesn't exist. Reading the manual all of the options look good to me so what would be the best? I'm going to go with "S" unless otherwise instructed. Thanks, Edgar

Re: Are relayd and httpd my future buddy?

2020-10-31 Thread edgar
https://www.amazon.com/Relayd-Httpd-Mastery-Book-11-ebook/dp/B07171352M Good book. Edgar On Oct 31, 2020 11:45 AM, Brian Brombacher wrote: > On Oct 30, 2020, at 6:32 PM, Lars Bonnesen wrote: > > I have been using a combination of Apache, mod_proxy and letsencrypt to s

Re: strange SMTP interaction with mail.openbsd.org ?

2020-09-06 Thread edgar
On Sep 6, 2020 4:24 PM, Leen Besselink wrote: Hi, Recently we've set up a Postfix mailserver with TLS (valid Let's Encrypt certificate). So I was checking the logs and I saw mail.openbsd.org connected and disconnected but strange enough did not deliver any mail: Sep 6 21:47:13 m

perl hex possible bug

2020-07-21 Thread Edgar Pettijohn
_?[0-9a-fA-F])*\z/ However, I get the following output: (newlines added for clarity) laptop$ perl -e 'print hex '0xAf';' 373 laptop$ perl -e 'print hex 'aF';' 175 I'm guessing there is a bug here but not sure if its software or documentation. Thanks, Edgar

Re: dhcpd synchronization: leases recovery after downtime

2020-07-18 Thread edgar
down. 1. scully gets up and asks on multicast: "My last lease was created on date d, what's up since that date?" 2. mulder answers: "Here is the leases created since d: ..." Thanks. Guy Not sure how to integrate it properly but this sounds like a job for ifstated(8). Edgar

Re: Article OpenBSD: Not Free Not Fuctional and Definetly Not Secure and BSD, the truth blog

2020-05-28 Thread edgar
On May 28, 2020 11:42 AM, Marc Espie wrote: On Thu, May 28, 2020 at 01:16:59AM -0300, Quantum Robin wrote: > Hi, > > While surfing on the Google to learn more about OpenBSD, I encountered this > one: "OpenBSD: Not Free Not Fuctional and Definetly Not Secure ( > https://aboutthebsds.

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
) is executed by getty(8) which is started by init(8). So you would likely have to make changes to one or more of them. But I could be wrong. Edgar

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: loading DBD-Pg under base httpd, works but it's wrong way

2020-05-02 Thread edgar
Real programmers don't document. If it was hard to write, it should be hard to understand. You might also take a look at the fastcgi server that comes with kcgi. Its been awhile since I used it but it has a few more features than slowcgi. Plus its written by kristaps@ so it's high quality. Good luck. Edgar

Re: UNIX crash course

2020-04-21 Thread Edgar Pettijohn
vices is "the present state of the art" for > a starting point? > The source code would be the best place to look. I know I've learned a lot reading the code and manual pages. Not knowing your skill level, but I often start with usr.sbin/identd/identd.c as a good skeleton. Ed

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: What is the difference between these anchor rules

2020-03-16 Thread edgar
/https services" { anchor proto tcp to port { http https } { pass in $hots2 tag intlans-to-intlans } } Is hots2 a typo in the mail or the conf also? Or maybe it's not a typo. Edgar I have tried inserting “quick” keyword in second rule, but nothing … Maybe am I doing some

Re: pthread_mutexattr_setpshared and Apache Guacamole remote desktop gateway

2020-03-05 Thread Edgar Pettijohn
t; Have you tried searching the ports tree patch files for mention of the function. You may find a real world example of a workaround. Edgar > DETAILS: > I wanted to see if Apache Guacamole would compile on OpenBSD to server > as a remote desktop gateway. > > It hasn't been

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
b0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > > -- > Address is valid for this mailing list only, please do not reply > to it direcly, but to the list. > I've used a couple of hp printers in the past and I always had to use hpcups. It is possible that I gave up too early. Edgar

Re: 550 Invalid recipient domain

2020-02-03 Thread Edgar Pettijohn
s = static: YOURUSERNAME:YOURPASSWORD smtp_sasl_security_options = noanonymous smtp_tls_security_level = encrypt relayhost = [YOURISPSERVER]:587 Edgar

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
r. > > Sent with [ProtonMail](https://protonmail.com) Secure Email. Seems like they would already know this. However, you could: # chmod go-x /sbin/ifconfig Assuming they don't have root that should do it. Edgar

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
at, I just lacked the time to do a deep dive on > it to figure out what was (hopefully!) configured wrong.  Probably > something with ia32cap or whatever the libressl equivalent is. > > ... JG I believe it has something to do with actually zeroing out memory before freeing it. Which seems l

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
orrect it should see that sendmail_path is defined and use sendmail instead of mail(). Any help is appreciated. Thanks, Edgar

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

2019-12-30 Thread Edgar Pettijohn
eful for system administration tasks. Which I believe is likely the reason for Perl's inclusion. Edgar

Re: The OpenBSD talk at 36c3

2019-12-30 Thread Edgar Pettijohn
app engine for the less serious but easily scalable > web services! > Even on points where they showed OpenBSD as being late to the game they always finished first. I researched Linux seccomp awhile back. It is a mess to use compared to a couple of lines of pledge/unveil. Much better long term to get it right so it's useable. Edgar

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: > &g

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
nstallation it can't seem to find the directory regardless of what I have tried. Edgar

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
's a fresh install probably be easier to just reinstall and size partitions how you need them. Edgar

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

2019-10-17 Thread Edgar Pettijohn
would consider to be sane defaults. > > I bet they are sane for the developers. > > If someone would be so kind as to point me in the right direction for how > > to prevent sysupgrade from being unsane, it would be much appreciated. > > You would have to define unsane, but `sysupgrade -n' would be a first step. Edgar

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

2019-10-05 Thread Edgar Pettijohn
e, but there are lots of mods to fill thoses gaps IIRC. > I enjoyed minetest. He should too. My son eventually outgrew it and wanted the real deal at around 8. I don't remember if I tried to install it on OBSD or not. It currently lives on a Debian amd64 desktop where it runs pretty good. Plus there is an official .deb package which makes things easier for me. Good luck. Edgar

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 &

ugen0 chatter on xconsole

2019-09-29 Thread Edgar Pettijohn
to anyone let me know. Will gladly test any diffs, etc. dmesg porn attached. Edgar OpenBSD 6.6-beta (GENERIC.MP) #331: Sat Sep 28 18:20:42 MDT 2019 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4156157952 (3963MB) avail mem = 4017500160 (3831MB) mpat

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
t; { fastcgi socket "/run/psgi.sock" } If anyone has any advice to improve upon this please share. Thanks, Edgar

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
:ignorenologin:\ >     :requirehome@:\ >     :tc=default: > > # > # Authpf accounts get a special motd and shell > # > authpf:\ >     :welcome=/etc/motd.authpf:\ >     :shell=/usr/sbin/authpf:\ >     :tc=default: > > # > # Building ports with DPB uses raised limits > # > pbuild:\ >     :datasize-max=infinity:\ >     :datasize-cur=4096M:\ >     :maxproc-max=1024:\ >     :maxproc-cur=256:\ >     :tc=default: > > # > # Override resource limits for certain daemons started by rc.d(8) > # > bgpd:\ >     :openfiles=512:\ >     :tc=daemon: > > unbound:\ >     :openfiles=512:\ >     :tc=daemon: > > ldap:\ >     :openfiles=512:\ >     :tc=daemon: > May need to use rcctl to change it's class to ldap. Untested: rcctl set ldapd class ldap Edgar

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. Edga

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
es.o') *** Error 1 in /usr/src/usr.sbin/smtpd (:48 'all') It builds without DEBUG defined. Any suggestions? Thanks, Edgar

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
works, other it seems like > it's totally ignored. Is your laptop plugged in during the tests? Edgar > > Curious because power management seems to work fine in my T410. It > sleeps, resumes and hibernates perfectly. /var/log/messages and 'apmd > -d' don't sho

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
problem for about a week now. > Please help me if anyone know about this. > Thanks > > > > -- > Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html > Is it possibly a chroot issue? Not sure what http server you are using. Edgar

Re: OpenBSD Project

2019-07-21 Thread Edgar Pettijohn
ss of the orginizational methods used. Edgar

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
ll said package(s). > > How revolting.  That's very contrary to the spirit of Unix. > We certainly don't want to copy that.  No program should attempt > to implement its very own partial solution for every *other* task > under the sun, but instead focus on doiing its own

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
top then logged in and fixed the networking stuff. I later did a fresh install over pxe using the laptop as the ftpd server. This also worked well. I don't remember what it is but I had to disable something in the kernel for it to boot up after install. Don't judge me but mine is still running 6.2 because I'm too lazy to find it so I can upgrade. Edgar

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
undelete operation - it's not clear how to make > that efficient. > > I'm sure people can find more. > > A test version substituting a new open(2) and unlink(2) in libc would be > easy to make. > > geoff steckel > I'm thinking something like a trashcan. Where rm(1) actually just moves the files to some predetermined location then on shutdown all files older than some configureable date are actually unlinked. Edgar

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

  1   2   3   4   5   6   >