CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2024/05/05 02:16:45 Modified files: usr.sbin/rcctl : rcctl.8 Log message: Document "ls rogue" exit status.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2024/01/17 01:26:06 Modified files: etc/rc.d : rc.subr Log message: Zap trailing space. from Kirill Miazine, thanks.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2023/12/13 10:50:23 Modified files: usr.sbin/syspatch: syspatch.sh Log message: Match what reorder_kernel is doing and use kern.osversion to find out whether we are running an MP kernel or not. based on a reworked submission from kris at devtty dot one via deraadt@ input and ok robert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2023/11/11 06:27:24 Modified files: share/man/man5 : gnome-module.5 Log message: We do not define VERSION anymore.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2023/11/11 05:32:34 Modified files: share/man/man5 : gnome-module.5 Log message: Add DIST_TUPLE support documentation.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2023/11/11 05:27:00 Modified files: share/man/man5 : gnome-module.5 Log message: Mention that this module also supports meson(1).
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2023/11/10 12:46:52 Modified files: share/man/man5 : bsd.port.mk.5 Log message: Mention gnome in DIST_TUPLE.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2023/07/13 07:54:28 Modified files: usr.sbin/rcctl : rcctl.sh Log message: Check input before trying to disable a non-existing daemon to prevent parsing bogus characters and outputing hell on the console. based on an initial submission from Anthony Coulter, thanks!
Re: CVS: cvs.openbsd.org: src
On Wed, Apr 26, 2023 at 12:52:45AM -0600, Greg Steuck wrote: > CVSROOT: /cvs > Module name: src > Changes by: gne...@cvs.openbsd.org 2023/04/26 00:52:45 > > Modified files: > lib/libc/hidden: syslog.h > sys/sys: syslog.h > > Log message: > Declare sendsyslog to match its man page > > This simplifies syzkaller revival after the removal of __syscall. > > OK bluhm, millert, deraadt This broke (at least): www/e2guardian www/dansguardian /usr/include/syslog.h:207:30: error: unknown type name 'size_t'; did you mean '__size_t'? -- Antoine
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2023/04/24 05:54:29 Modified files: share/man/man5 : gnome-module.5 port-modules.5 Log message: gtk-update-icon-cache moved from being a gtk+3 subpackage to a gtk+4 one.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2023/04/16 01:16:58 Modified files: etc: changelist Log message: Add /etc/mixerctl.conf to changelist(5). ok deraadt@ kn@ semarie@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2023/03/05 11:55:34 Modified files: usr.bin/locale : locale.1 Log message: Actually, LANG only set the default. from guenther@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2023/03/05 03:11:29 Modified files: usr.bin/locale : locale.1 Log message: Values for categories that are not set in the environment or that are overriden by LANG or LC_ALL are displayed between double quotes. wording by guenther@ ok kn@ jmc@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2023/03/01 10:27:45 Modified files: usr.sbin/rcctl : rcctl.8 Log message: Bogus full stop.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/11/06 02:12:03 Modified files: usr.sbin/ntpd : ntpd.8 Log message: typo: wlll -> will
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/10/22 04:34:56 Modified files: share/man/man8 : rc.subr.8 Log message: Fix markup ("Ar" -> "Va" ). from Raf Czlonka, thanks
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/10/19 15:04:45 Modified files: etc/rc.d : rc.subr Log message: Drop support for $rcexec; people should now use the rc_exec function. prodded by jsg@
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: ajacou...@cvs.openbsd.org 2022/10/01 08:17:02 Modified files: . : 72.html Log message: Add configtest for rc.d / rcctl.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/09/08 07:17:30 Modified files: etc/rc.d : rc.subr Log message: _rc_quirks is only called by _rc_parse_conf, so just merge the two. ok robert@ sthen@ kn@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/09/04 00:57:13 Modified files: etc/rc.d : iked Log message: Fix regression in previous commit. Moving the configuration check to its own configtest function means rc_pre exit code will now be that of the && list (sasyncd_flags). Just do what isakmpd does and return 0. from lucas at sexy dot is, thanks!
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/09/02 16:11:57 Modified files: etc/rc.d : rc.subr share/man/man8 : rc.d.8 rc.subr.8 Log message: Make rc_configtest behave like rc_pre and rc_post; i.e. don't define a default function (each rc.d script is supposed to define its own if wanted). This way, we can filter out the "configtest" action depending on whether the function exists or not. Adapt documentation. tweak/ok kn@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/09/01 01:25:32 Modified files: etc/rc.d : rc.subr share/man/man8 : rc.d.8 usr.sbin/rcctl : rcctl.sh Log message: Add a new action: "configtest", to check configuration syntax of the daemon. A few adjustments will be done in the next days (like disabling this action if there's no specific rc_configtest function defined). e.g. /etc/rc.d/sshd configtest rcctl configtest sshd idea from naddy@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/08/29 13:37:32 Modified files: etc/rc.d : rc.subr Log message: When using logger(1), also log the message to standard error so we don't have to check syslog when running in debug mode (`-d').
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/08/29 13:14:25 Modified files: etc/rc.d : bgpd httpd iked nfsd relayd sshd vmd Log message: Use rc_configtest.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/08/29 13:14:02 Modified files: etc/rc.d : rc.subr share/man/man8 : rc.subr.8 Log message: Introduce the rc_configtest() function. By default it just returns "0" but can be overriden by rc.d scripts to check that the daemon configuration is valid when running "start", "reload" and "restart".
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/07/13 07:36:12 Modified files: usr.sbin/rcctl : rcctl.8 Log message: Fix apmd_flags example.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/05/27 06:27:39 Modified files: share/man/man8 : rc.subr.8 Log message: Normalise markup. from Raf Czlonka
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/05/26 05:27:04 Modified files: etc/rc.d : amd rc.subr usr.sbin/rcctl : rcctl.8 rcctl.sh share/man/man8 : rc.d.8 rc.subr.8 Log message: Introduce a new daemon_execdir variable for changing to a specified directory before running rc_rcexec. Based on an proposal from openbsd.tech at aisha.cc ok robert@ abieber@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/05/21 08:11:39 Modified files: share/man/man8 : rc.subr.8 Log message: Document rc_exec.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/05/21 06:42:21 Modified files: etc/rc.d : amd bgpd httpd iked iscsid nsd relayd spamd vmd Log message: ${rcexec} -> rc_exec
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: ajacou...@cvs.openbsd.org 2022/05/21 05:27:15 Modified files: faq: current.html Log message: Mention deprecation of ${rcexec} in rc.d scripts.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/05/21 04:50:09 Modified files: etc/rc.d : rc.subr Log message: Replace the $rcexec variable by an rc_exec function. It is much cleaner to the eyes and makes more sense from a functionnal point of view. This will allow to extend rc_exec with other functionnalities (like upcoming rc_startdir). Bonus point: daemon_logger will now work with manually crafted rc_start functions. This will require a mechanical change from ${rcexec} to rc_exec in rc.d scripts. ports will be fixed right after this commit but we will keep compatibility to give a chance to people to fix their custom scripts. positive tests from a few ok robert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/05/21 04:10:45 Modified files: etc/rc.d : unbound Log message: No need for true(1).
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/05/17 01:02:40 Modified files: etc/rc.d : unbound Log message: Simplify unbound rc.d script. input/ok sthen@ halex@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/04/12 08:54:32 Modified files: share/man/man5 : gnome-module.5 Log message: Make this more readable. Document gi-docgen which is coming to gnome.port.mk soon.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/04/01 04:13:35 Modified files: usr.sbin/rcctl : rcctl.8 Log message: Add missing command in description. from Matthew Martin
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2022/02/12 17:02:17 Modified files: etc/mtree : 4.4BSD.dist Log message: Add /usr/local/share/examples/login.conf.d to the default hierarchy. ok sthen@ espie@ deraadt@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/12/30 01:14:29 Modified files: share/man/man8 : rc.subr.8 Log message: Sync rcexec with reality.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/18 02:51:30 Modified files: share/man/man5 : gnome-module.5 Log message: Move example from "goo" to @tag.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/15 05:56:11 Modified files: etc/rc.d : rc.subr Log message: Tidy up; no change.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/14 02:31:44 Modified files: etc/rc.d : rc.subr Log message: Improve and simplify timer handling in "stop" and "reload". Rename _rc_wait to _rc_wait_for_start since only "start" uses this now (to handle rc_bg daemons). In any situation, none of these actions should be able to hang boot or shutdown. We should now be able to manage most corner cases out there ("most" because it's unreasonable to assume we can cope with all the non-default rc_{start,stop,reload} crazyness). Several tests have been made and no obvious regression has been found. But that doesn't mean there isn't; if some behavior changed for the worst, talk to me. ok robert@ sthen@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/12 08:40:20 Modified files: etc/etc.amd64 : login.conf etc/etc.arm64 : login.conf etc/etc.i386 : login.conf etc/etc.riscv64: login.conf etc/etc.sparc64: login.conf Log message: Bump maxproc-cur to 512 for the pbuild user. This will prevent recurring failures in bulks ('cannot fork'). ok tb@ sthen@ deraadt@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/12 01:47:02 Modified files: etc/rc.d : rc.subr Log message: Consistency in test; no behavior change.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/12 01:44:05 Modified files: etc/rc.d : rc.subr Log message: Set SECONDS to 0 in _rc_wait. While this is not strictly required, it's a failsafe and more fair to daemon_timeout as we will effectively wait for the start/stop/reload sequence instead of the duration of the rc.d script itself.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/12 01:38:02 Modified files: etc/rc.d : rc.subr Log message: Simplify _rc_exit.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/11 05:23:15 Modified files: share/man/man8 : rc.subr.8 Log message: Tweak rc_stop and rc_reload description by mentioning their corresponding _signal variable. Fix a warning from 'mandoc -T lint' while here.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/11 05:08:36 Modified files: etc/rc.d : rc.subr Log message: Run "_rc_wait stop" _before_ stopping the daemon and not after... This doesn't change the default behavior but fixes rc.d scripts with a home made rc_stop() function that can block and potentially hangs halt/reboot forever. ok robert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/11 03:37:36 Modified files: etc/rc.d : rc.subr Log message: Return 0 in case we reach KILL; this allows "restart" to work as expected in this situation. reported by and ok robert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/08 03:10:50 Modified files: etc/rc.d : rc.subr Log message: rc_reload_signal & rc_stop_signal are not rc.conf(8) variables; they're only for rc.d scripts.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/07 01:31:24 Modified files: etc/rc.d : rc.subr Log message: Speed up _rc_wait: only sleep 1/2 second between rc_check tries and make sure we have at least 1s for SIGTERM to do its job.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/07 01:26:12 Modified files: etc/rc.d : rc.subr Log message: Use built-in SECONDS instead of hand roller timer. with a tweak from kn@ ok sthen@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/06 07:33:10 Modified files: etc/rc.d : rc.subr Log message: Always run _rc_rm_runfile when process is sent a SIGKILL or rc_post fails (at this point the process has been terminated).
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/06 05:02:53 Modified files: etc/rc.d : rc.subr Log message: Drop uneeded sleep.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/11/06 04:38:04 Modified files: etc/rc.d : rc.subr share/man/man8 : rc.subr.8 Log message: Allow passing a different signal than SIGTERM in the default rc_stop() function. This will allow to simplify some rc.d script that cook there own function to gracefully stop a process (e.g. web servers). There are other use cases as well. And do the same for rc_reload because it's cheap and can also simplify a handful of rc.d scripts. Behave like shutdown and if the process is still not down after daemon_timeout (configurable; default to 30s), then send a SIGKILL. While here, factorise pkill invocations into a _rc_sendsig() function that can potentially be used by rc.d scripts instead of cooking pkill lines; this will benefit from the configured routing table etc. tested & ok robert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/10/31 11:58:28 Modified files: share/man/man8 : rc.subr.8 Log message: Make it more visible that not only rc_reload() can be disabled.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/10/31 11:46:23 Modified files: etc/rc.d : rc.subr Log message: Shuffle things around to have FUNCS_ONLY higher in the script so consummers source only what they really needs. Only expose the following which are used by /etc/rc, netstart and rcctl: _rc_parse_conf _rc_check_name _rc_err _rc_do _rc_quirk ok sthen@
CVS: cvs.openbsd.org: devel
CVSROOT:/cvs Module name:devel Changes by: ajacou...@cvs.openbsd.org 2021/09/01 07:49:45 Log message: Import py3-schema-0.7.4 schema is a library for validating Python data structures, such as those obtained from config-files, forms, external services or command-line parsing, converted from JSON/YAML (or something else) to Python data-types. ok jasper@ Status: Vendor Tag: ajacoutot Release Tags: ajacoutot_20210901 N devel/py-schema/Makefile cvs: ERROR: cannot write file /cvs/devel/py-schema/Makefile,v: No such file or directory N devel/py-schema/distinfo cvs: ERROR: cannot write file /cvs/devel/py-schema/distinfo,v: No such file or directory cvs: ERROR: cannot mkdir /cvs/devel/py-schema/pkg -- not added: No such file or directory No conflicts created by this import
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/02/27 02:28:05 Modified files: etc/rc.d : rc.subr usr.sbin/rcctl : rcctl.sh rcctl.8 share/man/man8 : rc.d.8 rc.subr.8 Log message: Add logger(1) support for daemons that are logging to stdout/stderr (mostly from the go ecosystem). Properly handle failing daemon startup now that we have pipefail. To take advantage of this new feature, just add foo_logger=facility to the daemon rc.d(8) script or in rc.conf.local(8) or use rcctl: rcctl set foo logger daemon.info tweak for checking flags in rcctl(8) from martijn@ "this looks pretty good" deraadt@ ok sthen@
Re: CVS: cvs.openbsd.org: src
I think copyrights are wrong. — Antoine > On 25 Feb 2021, at 10:13, Marc Espie wrote: > > CVSROOT:/cvs > Module name:src > Changes by:es...@cvs.openbsd.org2021/02/25 02:13:18 > > Modified files: >share/man/man5 : Makefile port-modules.5 > Added files: >share/man/man5 : cargo-module.5 gnome-module.5 go-module.5 > python-module.5 qmake-module.5 > > Log message: > split off the large module documentations, so that port-modules is less of > a monster. > > okay sthen@ >
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2021/02/17 23:17:36 Modified files: usr.sbin/rcctl : rcctl.sh Log message: Only pick up files matching alphanumeric and underscore characters under /etc/rc.d. This prevents issues with editor backup files (foo~) or other bogus files. ok sthen@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2020/12/07 14:19:28 Modified files: usr.sbin/syspatch: syspatch.8 syspatch.sh Log message: When asking to install patches and none are available, return 2. man page and inputs from schwarze@ ok sthen@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2020/09/13 05:29:52 Modified files: etc: Makefile Log message: Install /etc/examples/login_ldap.conf with proper mode and ownership. tweak from deraadt@ ok martijn@ tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2020/09/13 04:03:46 Modified files: etc: Makefile changelist etc/mtree : special Log message: Install login_ldap.conf and register it into changelist and mtree/special. ok tb@ (who had the same diff) & deraadt@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2020/07/25 06:14:16 Modified files: usr.sbin/pkg_add/OpenBSD: PkgCreate.pm Log message: More DESC -> DESCR; spotted by espie@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2020/07/25 06:08:17 Modified files: usr.sbin/pkg_add/OpenBSD: PkgCreate.pm Log message: tyop: DESC -> DESCR ok landry@ robert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2020/07/18 08:08:07 Modified files: usr.sbin/syspatch: syspatch.sh Log message: set -/+o pipefail around the magic loop in ls_missing() so that we can properly error out if ftp(1) or tar(1) fails; this happened to swarte@ a few months (something to do with /home on NFS without -maproot IIRC). Check that the signature file is at least 3 lines long (meaning that it contains at least 1 syspatch) before entering the magic loop otherwise `grep -q' will abort the script due to pipefail. While here, revove a useless use of sort(1).
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2020/07/04 12:30:46 Modified files: usr.sbin/syspatch: syspatch.sh usr.sbin/sysupgrade: sysupgrade.sh Log message: Our old ksh(1) bug where eval()uating a || compound list would terminate the shell has been fixed by benno@; remove workaround. ok naddy@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2020/07/04 08:08:27 Modified files: usr.sbin/syspatch: syspatch.sh Log message: Small XXX.
Re: CVS: cvs.openbsd.org: src
On Wed, Jun 10, 2020 at 03:06:09PM -0600, Todd C. Miller wrote: > CVSROOT: /cvs > Module name: src > Changes by: mill...@cvs.openbsd.org 2020/06/10 15:06:09 > > Modified files: > usr.bin/awk: FIXES awk.h lib.c main.c proto.h > > Log message: > Update awk to June 5, 2020 version. Not sure which part of the awk update broke it, but security/libgpg-error fails to build: In file included from code-from-errno.c:29: ./code-from-errno.h:23:3: error: use of undeclared identifier 'GPG_ERR_G_ERR_EPERM' GPG_ERR_G_ERR_EPERM, ^ ./code-from-errno.h:24:3: error: use of undeclared identifier 'GPG_ERR_G_ERR_ENOENT'; did you mean 'GPG_ERR_ENOENT'? GPG_ERR_G_ERR_ENOENT, ^~~~ GPG_ERR_ENOENT code-from-errno.h is generated by the build system with awk. -- Antoine
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2020/05/16 06:36:01 Modified files: usr.sbin/syspatch: syspatch.sh Log message: Simplify: _BSDMP was only used once.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2020/04/29 09:38:31 Modified files: etc/rc.d : rc.subr Log message: Sort variables and fix a comment. No functional change.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2020/02/22 11:58:13 Modified files: etc/rc.d : rc.subr Log message: Do not run _rc_parse_conf of /var/run/rc.d/foobar on "start". This is needed in case a foobar fails to start but still returns 0. Changing its flags (in rc.conf.local) would then get ignored because of this cache (which is around to handle stop/check/reload on flags changes). claudio@ reported this issue when struggling with prometheus several weeks ago
Re: CVS: cvs.openbsd.org: src
On Wed, Jan 22, 2020 at 06:14:51AM -0700, Stuart Henderson wrote: > CVSROOT: /cvs > Module name: src > Changes by: st...@cvs.openbsd.org 2020/01/22 06:14:51 > > Modified files: > etc/rc.d : sshd > > Log message: > update pexp in rc.d/sshd to match the new setproctitle ('sshd: [listener] > 1 of 10-100 startups'). "makes sense" deraadt@ > > Beware if you have multiple sshd processes (e.g. on different ports) and > want to restart/stop just one - with the current proctitle there's no way > to distinguish between these so rc.d/rcctl will match all of them. Oh :-( Can we put the previous information back alongside the new one? -- Antoine
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/12/10 10:11:06 Modified files: usr.sbin/syspatch: syspatch.sh Log message: Just output a generic error message: "Unsupported filesystem, aborting" for mfs, nfs and co.
Re: CVS: cvs.openbsd.org: src
On Tue, Dec 10, 2019 at 10:11:06AM -0700, Antoine Jacoutot wrote: > CVSROOT: /cvs > Module name: src > Changes by: ajacou...@cvs.openbsd.org 2019/12/10 10:11:06 > > Modified files: > usr.sbin/syspatch: syspatch.sh > > Log message: > Just output a generic error message: > "Unsupported filesystem, aborting" > for mfs, nfs and co. was ok robert@ tb@ -- Antoine
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/12/01 03:30:37 Modified files: usr.sbin/sysupgrade: sysupgrade.sh Log message: Simplify sets directory check and creation (/home/_syspatch). It can now be a symlink. ok naddy@ solene@ kn@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/11/10 07:12:22 Modified files: usr.sbin/syspatch: syspatch.sh Log message: Drop non existent vars.
Re: CVS: cvs.openbsd.org: src
On Fri, Nov 08, 2019 at 11:31:56AM +1000, David Gwynne wrote: > > > > On 6 Nov 2019, at 22:16, Antoine Jacoutot wrote: > > > > On Mon, Nov 04, 2019 at 04:52:28PM -0700, David Gwynne wrote: > >> CVSROOT: /cvs > >> Module name: src > >> Changes by:d...@cvs.openbsd.org2019/11/04 16:52:28 > >> > >> Modified files: > >>sys/conf : files > >>sys/netinet: in.h in_proto.c ip_gre.h > >> Removed files: > >>sys/net: if_mobileip.c if_mobileip.h > >> > >> Log message: > >> remove mobileip(4) > >> > >> noone seems to use it, and we should not encourage people to use > >> it by having it available. it's been disabled for most of the last > >> release and noones asked for it in 6.6, so i'm taking that as an > >> ok for this removal. > > > > That broke the shells/nsh port. > > looks like naddy handled the fallout? Indeed.
Re: CVS: cvs.openbsd.org: src
On Mon, Nov 04, 2019 at 04:52:28PM -0700, David Gwynne wrote: > CVSROOT: /cvs > Module name: src > Changes by: d...@cvs.openbsd.org2019/11/04 16:52:28 > > Modified files: > sys/conf : files > sys/netinet: in.h in_proto.c ip_gre.h > Removed files: > sys/net: if_mobileip.c if_mobileip.h > > Log message: > remove mobileip(4) > > noone seems to use it, and we should not encourage people to use > it by having it available. it's been disabled for most of the last > release and noones asked for it in 6.6, so i'm taking that as an > ok for this removal. That broke the shells/nsh port. >>> Building on exopi-4 under shells/nsh BDEPENDS = [databases/sqlite3] DIST = [shells/nsh:nsh-1.0.20170819-23f1338b.tar.gz] FULLPKGNAME = nsh-1.0.20170819p0 RDEPENDS = [databases/sqlite3] (Junk lock obtained for exopi-4 at 1573038885.26) >>> Running depends in shells/nsh at 1573038885.33 /usr/sbin/pkg_add -aI -Drepair sqlite3-3.29.0 was: /usr/sbin/pkg_add -aI -Drepair sqlite3-3.29.0 /usr/sbin/pkg_add -aI -Drepair sqlite3-3.29.0 >>> Running show-prepare-results in shells/nsh at 1573038886.83 ===> shells/nsh ===> nsh-1.0.20170819p0 depends on: sqlite3-* -> sqlite3-3.29.0 ===> Verifying specs: c curses edit sqlite3 ===> found c.96.0 curses.14.0 edit.5.2 sqlite3.37.7 sqlite3-3.29.0 (Junk lock released for exopi-4 at 1573038887.53) distfiles size=130272 >>> Running build in shells/nsh at 1573038887.61 ===> shells/nsh ===> Checking files for nsh-1.0.20170819p0 `/exopi-cvs/ports/distfiles/nsh-1.0.20170819-23f1338b.tar.gz' is up to date. >> (SHA256) nsh-1.0.20170819-23f1338b.tar.gz: OK ===> Extracting for nsh-1.0.20170819p0 ===> Patching for nsh-1.0.20170819p0 ===> Applying OpenBSD patch patch-MANUAL Hmm... Looks like a unified diff to me... The text leading up to this was: -- |$OpenBSD: patch-MANUAL,v 1.1 2017/07/10 20:10:36 sthen Exp $ | |Index: MANUAL |--- MANUAL.orig |+++ MANUAL -- Patching file MANUAL using Plan A... Hunk #1 succeeded at 128. Hunk #2 succeeded at 143. done ===> Applying OpenBSD patch patch-stats_c Hmm... Looks like a unified diff to me... The text leading up to this was: -- |$OpenBSD: patch-stats_c,v 1.9 2017/11/27 22:03:24 sthen Exp $ | |Index: stats.c |--- stats.c.orig |+++ stats.c -- Patching file stats.c using Plan A... Hunk #1 succeeded at 484. Hunk #2 succeeded at 528. Hunk #3 succeeded at 691. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for nsh-1.0.20170819p0 ===> Configuring for nsh-1.0.20170819p0 ===> Building for nsh-1.0.20170819p0 cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c arp.c sh /exopi-obj/pobj/nsh-1.0.20170819/nsh-23f1338bc463170bbf583096468c47248cfa548e/compile.sh cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c compile.c cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c main.c cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c genget.c cc -O2 -pipe -Wmissing-prototypes -Wformat -Wall -Wpointer-arith -Wbad-function-cast -I/usr/local/include -MD -MP -I/usr/local/include -c commands.c commands.c:457:44: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] char *argv[] = { PKILL, "-9", "-t", line, '\0' }; ^~~~ commands.c:1679:36: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] char *argv[] = { x->cmd, x->arg, '\0' }; ^~~~ commands.c:1726:35: warning: size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination [-Wstrlcpy-strlcat-size] strlcpy(saveline, line, sizeof(line)); ~~~^ commands.c:1726:28: note: change size argument to be the size of the destination strlcpy(saveline, line, sizeof(line)); ^~~~ sizeof(saveline) commands.c:1882:43: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] char *argv[] = { SAVESCRIPT, NSHRC_TEMP, '\0' };
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/10/26 02:37:24 Modified files: usr.sbin/syspatch: syspatch.sh Log message: Wrap long lines.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/10/25 05:14:31 Modified files: usr.sbin/syspatch: syspatch.sh Log message: Retracted a bit too much.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/10/20 03:10:43 Modified files: usr.sbin/syspatch: syspatch.sh usr.sbin/sysupgrade: sysupgrade.sh Log message: Tweak and sync comment.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/10/14 00:58:53 Modified files: usr.sbin/sysupgrade: sysupgrade.sh Log message: unpriv(): propagate error code to the caller instead of failing hard. This will allow reacting on failure. ok florian@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/10/14 00:56:54 Modified files: usr.sbin/syspatch: syspatch.sh Log message: Better error message when we fail to fetch SHA256.sig. Add "syspatch:" to every error message so we know where it comes from. req. by deraddt@ ok deraadt@ tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/09/28 11:30:07 Modified files: usr.sbin/syspatch: syspatch.sh usr.sbin/sysupgrade: sysupgrade.sh usr.sbin/sysmerge: sysmerge.sh libexec/reorder_kernel: reorder_kernel.sh usr.bin/cpp: cpp.sh usr.bin/diff3 : diff3.ksh usr.sbin/adduser: rmgroup.sh Log message: Add where missing and harmonize PATH to be _PATH_DEFPATH (without local nor X11R6). Suggested by tb@ ok deraadt@ tb@ millert@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/09/22 02:38:57 Modified files: distrib/miniroot: install.sub Log message: Add code to handle future sysupgrade(8) change where the tool will be responsible for creating auto_upgrade.conf. No behavior change intended. While here, add missing `-x' to usage(). tested by and ok florian@, ok deraadt@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/09/08 07:30:46 Modified files: usr.sbin/sysmerge: sysmerge.sh Log message: Have sm_install() use install -F (fsync).
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/09/07 04:02:19 Modified files: etc/rc.d : rc.subr Log message: Remove dependency on basename(1). prodded by deraadt@ ok kn@ deraadt@ tb@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/08/25 09:50:21 Modified files: etc: unbound.conf Log message: space -> tabs ok deraadt@ kn@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/07/07 05:11:22 Modified files: usr.sbin/syspatch: syspatch.sh Log message: Tell user to look at manually running /usr/libexec/reorder_kernel in case it fails at the end of the syspatch run. Because a kernel syspatch was installed, a user could think the kernel was updated accordingly; which is not the case if reorder_kernel fails.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/06/15 10:54:19 Modified files: usr.sbin/syspatch: syspatch.8 Log message: "If any sets are missing, patches are skipped accordingly." wording help and ok jmc@
CVS: cvs.openbsd.org: www
CVSROOT:/cvs Module name:www Changes by: ajacou...@cvs.openbsd.org 2019/05/18 12:54:31 Modified files: . : events.html Added files: papers : bsdcan2019-syspatch.pdf Log message: Add my BSDCan 2019 syspatch slides.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/05/14 08:27:49 Modified files: distrib/miniroot: install.sub usr.sbin/sysupgrade: sysupgrade.sh Log message: Revert my recent sysupgrade changes; it broke unattended upgrades for espie@. Need to look deeper.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/05/12 20:26:42 Modified files: distrib/miniroot: install.sub Log message: Fix usage() (missing '-x'). Adapt to recent sysupgrade(8) change ok florian@ kmos@ kn@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/05/12 20:25:16 Modified files: usr.sbin/sysupgrade: sysupgrade.sh Log message: Use the same heuristic as the installer to find a proper prefetch area for the sets instead of hardcoding /home. This leads the way to a knob for manually choosing a sets directory if we want that. Create /auto_upgrade.conf that will get picked up by the installer for the unattended upgrade mode. Similar inputs from naddy@ and kn@ ok florian@ kmos@ kn@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/05/05 04:34:01 Modified files: usr.sbin/syspatch: syspatch.sh Log message: For "unpriv -f file", chown file back to root once the command finishes, like install.sub and sysupgrade(8) do.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/05/05 04:24:00 Modified files: usr.sbin/syspatch: syspatch.sh Log message: Initialise variable.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/05/05 04:22:57 Modified files: usr.sbin/syspatch: syspatch.sh Log message: Change variable name.
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/05/04 05:53:40 Modified files: usr.sbin/sysupgrade: sysupgrade.sh Log message: Require root to run (still allow access to usage). ok naddy@ florian@
CVS: cvs.openbsd.org: src
CVSROOT:/cvs Module name:src Changes by: ajacou...@cvs.openbsd.org 2019/05/02 02:35:10 Modified files: etc/etc.amd64 : login.conf Log message: pbuild class: bump datasize and maxproc; these should be sufficient for running a ports bulk without bumping anything else (matches what's on amd64.ports and exopi) ok sthen@ phessler@ espie@ naddy@