Re: Status of openbsd/macppc port?

2018-08-17 Thread Solene Rapenne
Mark Cave-Ayland wrote: > On 17/08/18 13:55, Solene Rapenne wrote: > > > I'm using the macppc port since 6.1 to -current and apart failing > > harware I don't have any issue while playing Doom or rebuilind ports :) > > Hmmm. 6.1 is the latest version that I can

Re: Status of openbsd/macppc port?

2018-08-17 Thread Solene Rapenne
Mark Cave-Ayland wrote: > On 17/08/18 13:37, Solene Rapenne wrote: > > Mark Cave-Ayland wrote: > >> Hi all, > >> > >> I was just wondering what is the current state of the openbsd/macppc > >> port? As part of my recent work on qemu-system-ppc I now h

Re: Status of openbsd/macppc port?

2018-08-17 Thread Solene Rapenne
Mark Cave-Ayland wrote: > Hi all, > > I was just wondering what is the current state of the openbsd/macppc > port? As part of my recent work on qemu-system-ppc I now have a patch > that can boot OpenBSD macppc under the New World (-M mac99,via=pmu) > machine but I'm seeing quite a bit of

Re: iostat: add "sp" column for CP_SPIN

2018-09-05 Thread Solene Rapenne
Naoki Fukaumi wrote: > hi tech@, > > new cpu state, CP_SPIN, was added, > https://marc.info/?l=openbsd-cvs=152630109526317=2 > > but there is no column for it in the header of iostat, > > $ iostat > tty sd0 cpu > tin tout KB/t t/s MB/s us ni sy in id >0

Re: iostat: add "sp" column for CP_SPIN

2018-09-05 Thread Solene Rapenne
Solene Rapenne wrote: > Naoki Fukaumi wrote: > > hi tech@, > > > > new cpu state, CP_SPIN, was added, > > https://marc.info/?l=openbsd-cvs=152630109526317=2 > > > > but there is no column for it in the header of iostat, > > > > $ iostat >

Re: iostat: add "sp" column for CP_SPIN

2018-09-04 Thread Solene Rapenne
Stuart Henderson wrote: > On 2018/09/04 14:22, Solene Rapenne wrote: > > About munin I'm trying to get a diff accepted upstream to fix cpu plugin and > > talk about this with kirby@. The cpu plugin uses sysctl kern.cp_time. While > > it's not related, I prefer to announce it

Re: iostat: add "sp" column for CP_SPIN

2018-09-04 Thread Solene Rapenne
Stuart Henderson wrote: > On 2018/09/04 12:07, Solene Rapenne wrote: > > Naoki Fukaumi wrote: > > > hi tech@, > > > > > > new cpu state, CP_SPIN, was added, > > > https://marc.info/?l=openbsd-cvs=152630109526317=2 > > > >

Re: faq16: clarify ownership management

2018-10-30 Thread Solene Rapenne
Klemens Nanni wrote: > "system" is ambigious, see `owner id` in vm.conf(5). > > OK? > > Index: faq16.html > === > RCS file: /cvs/www/faq/faq16.html,v > retrieving revision 1.2 > diff -u -p -r1.2 faq16.html > --- faq16.html

/bin/df align inode output

2018-10-25 Thread Solene Rapenne
the following diff makes df printing aligned inode informations. before patch solene@t480 /usr/src/bin/df $ df -ik Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/sd2a 102887813786283957414%2227 153675 1% / /dev/sd2l

Re: iostat: add "sp" column for CP_SPIN

2018-09-04 Thread Solene Rapenne
Naoki Fukaumi wrote: > hi tech@, > > new cpu state, CP_SPIN, was added, > https://marc.info/?l=openbsd-cvs=152630109526317=2 > > but there is no column for it in the header of iostat, > > $ iostat > tty sd0 cpu > tin tout KB/t t/s MB/s us ni sy in id >0

Re: make build as root fails when SUDO=doas

2018-12-11 Thread Solene Rapenne
Marc Espie wrote: > On Mon, Dec 10, 2018 at 01:33:49PM +0100, Solene Rapenne wrote: > > hi > > > > I have SUDO=doas in /etc/mk.conf for ports, this is preventing a `make > > build` > > in /usr/src as root if /etc/doas.conf doesn't have a line "permit nop

Re: undocumented nfs mount option "intr"

2018-12-21 Thread Solene Rapenne
Otto Moerbeek wrote: > On Thu, Dec 20, 2018 at 09:31:45AM +0100, Landry Breuil wrote: > > > On Thu, Dec 20, 2018 at 09:26:33AM +0100, Solene Rapenne wrote: > > > Hi > > > > > > fstab(5) has an example for a nfs mountpoint using the "intr"

undocumented nfs mount option "intr"

2018-12-20 Thread Solene Rapenne
Hi fstab(5) has an example for a nfs mountpoint using the "intr" option. That option isn't documented in mount(8) or mount_nfs(8) and in fact, I've not been able to find it anywhere. What is it doing?

[patch] sh.1 getopts inaccurate

2018-11-28 Thread Solene Rapenne
hi I'm not familiar with getopts, first time I use it and the man page was confusing. It says "a colon following an option indicates it may take an argument". I understand this as: if I use the string "s:" then I can use "-s" or "-s something" as it **may** take an argument. But if you use "s:",

make build as root fails when SUDO=doas

2018-12-10 Thread Solene Rapenne
hi I have SUDO=doas in /etc/mk.conf for ports, this is preventing a `make build` in /usr/src as root if /etc/doas.conf doesn't have a line "permit nopass root as root". This fails when using "doas" in regress/usr/bin/ssh/ doas: Operation not permitted *** Error 1 in regress/usr.bin/ssh

add explanations of vmctl send command in vmctl.8

2018-09-19 Thread Solene Rapenne
This diff explains a little more about the send commands. send pauses the VM and send its memory + the start parameters. It's not obvious when you don't know vmctl. Index: vmctl.8 === RCS file: /cvs/src/usr.sbin/vmctl/vmctl.8,v

Re: add explanations of vmctl send command in vmctl.8

2018-09-19 Thread Solene Rapenne
Solene Rapenne wrote: > This diff explains a little more about the send commands. > send pauses the VM and send its memory + the start parameters. > new diff with some changes, also thx bentley@ for telling me sentences should start on a newline in mdoc. Index

Re: dynamic RTS threshold in 11n mode

2019-02-27 Thread Solene Rapenne
On Tue, Feb 26, 2019 at 03:33:23PM +0100, Stefan Sperling wrote: > On Tue, Feb 26, 2019 at 03:04:35PM +0100, Stefan Sperling wrote: > > This diff makes the RTS threshold dynamic in 11n mode. > > I am looking for tests with iwn(4), iwm(4), and athn(4) drivers. > > > > When there's a lot of

Re: rework iwm(4) Tx rate selection

2019-02-20 Thread Solene Rapenne
On Wed, Feb 20, 2019 at 04:04:13PM +0100, Stefan Sperling wrote: > iwm(4) has been using a firmware-based approach to retrying failed > Tx attempts with successively lower data rates. This is suboptimal > for our kernel's Tx rate selection algorithms, which are called > MiRA (for 11n) and AMRR

Re: CRYPTO CONTAINER

2019-02-11 Thread Solene Rapenne
On Mon, Feb 11, 2019 at 12:39:52PM +0100, Oleg Pahl wrote: > Hi All, > > Linux has one tool CRYPTSETUP. > > With this tool I can prepare one container, then open it put > some private data and close. > > I know that our OpenBSD is also Crypto Paranoid OS. > > Any idea how can I do the same

Re: [PATCH] [www] cvsync.html - use class="cmdbox"

2019-04-17 Thread Solene Rapenne
On Wed, Apr 17, 2019 at 09:55:26PM +0100, Raf Czlonka wrote: > Hi all, > > Similar to other pages[0][1], use class="cmdbox", add prompt character > where appropriate, and remove superfluous indentation while there. > > [0] https://www.openbsd.org/anoncvs.html > [1]

Re: [PATCH] [www] cvsync.html - use class="cmdbox"

2019-04-18 Thread Solene Rapenne
On Thu, Apr 18, 2019 at 07:31:45AM +0200, Theo Buehler wrote: > On Wed, Apr 17, 2019 at 11:41:18PM +0100, Raf Czlonka wrote: > > On Wed, Apr 17, 2019 at 10:53:54PM BST, Theo Buehler wrote: > > > On Wed, Apr 17, 2019 at 11:34:56PM +0200, Solene Rapenne wrote: > > > >

Re: scheduler small changes

2019-05-16 Thread Solene Rapenne
On Wed, May 15, 2019 at 09:05:32AM -0500, Amit Kulkarni wrote: > Hi, > > This effort is heavily based on top of Gregor's and Michal's diffs. Tried to > incorporate feedback given by different people to them in 2011/2016. Split > the new code in a ifdef, so people can do a straight comparison,

Re: Pump my sched: fewer SCHED_LOCK() & kill p_priority

2019-06-03 Thread Solene Rapenne
On Sat, Jun 01, 2019 at 06:55:20PM -0300, Martin Pieuchot wrote: > Diff below exists mainly for documentation and test purposes. If > you're not interested about how to break the scheduler internals in > pieces, don't read further and go straight to testing! I'm running it since a few hours. -

Re: [PATCH] [www] faq/pf/pools.html - simplify loadbalancing section

2019-05-07 Thread Solene Rapenne
On Mon, May 06, 2019 at 10:47:39PM +0200, Thomas Huber wrote: > Hi tech@, > > after struggeling a while to setup a load-balancer, I´ve finaly managed it. > At least not as I originally had in mind but it works. > > During this kind of learning process I read the faq quite often and over >

Re: tmux: cannot select pane after prefix-b q

2019-05-07 Thread Solene Rapenne
On Tue, May 07, 2019 at 11:55:51AM +0100, Nicholas Marriott wrote: > Hi > > You have the right idea general idea of the problem. display-panes > blocks the queue until it is finished, so the key press isn't processed > until then, which is too late. > > But your change defeats the purpose, the

Re: httpd: avoid opening log files on "no log"

2019-05-02 Thread Solene Rapenne
On Thu, May 02, 2019 at 10:36:29PM +0200, Klemens Nanni wrote: > httpd(8) still creates/opens log files with `no log' in httpd.conf(5): > > [no] log [option] > Set the specified logging options. Logging is enabled by default > using the standard access and error

Re: sync acme-client.conf.5 with the example about LE API url

2019-07-04 Thread Solene Rapenne
On Thu, Jul 04, 2019 at 10:52:50PM +0200, Sebastian Benoit wrote: > Solene Rapenne(sol...@perso.pw) on 2019.07.04 06:56:44 +0200: > > The example uses acme-v02.api.letsencrypt.org while acme-client.conf(5) > > still uses v01. > > ups. > > ok benno@ > thanks! I rep

anoncvs.html: tell reader to use -d if updating first time from tgz

2019-06-28 Thread Solene Rapenne
Hi in anoncvs.html, if the user choose to use tgz sources instead of a checkout, the update examples won't work because no cvs server will be set without passing -d parameter to the cvs command. Not sure about the wording, if a good english speaker can word it better, go on :) Index:

Re: anoncvs.html: tell reader to use -d if updating first time from tgz

2019-06-28 Thread Solene Rapenne
On Fri, Jun 28, 2019 at 01:19:30PM +0200, Solene Rapenne wrote: > Hi > > in anoncvs.html, if the user choose to use tgz sources instead of a > checkout, the update examples won't work because no cvs server will be > set without passing -d parameter to the cvs command. >

add caveats section in newfs about endianess

2019-08-19 Thread Solene Rapenne
This diff had a section about endianess of newfs. This is not written anywhere that ffs is dependent of endianess. Related bug report https://marc.info/?l=openbsd-bugs=150242795204995=2 Index: newfs.8 === RCS file:

Re: add caveats section in newfs about endianess

2019-08-28 Thread Solene Rapenne
> Or, you could explain this more as an attribute of the filesystem: > > FFS filesystems are byte-order dependent, and thus not portable to > systems with a different endianness. > > (two n in endianness) > > what about this text in mount_ffs(8) where it makes more sense? Index: mount_ffs.8

Re: FAQ: aarch64 stable packages

2019-08-25 Thread Solene Rapenne
On Sun, Aug 25, 2019 at 09:09:58PM +0200, Alessandro Gallo wrote: > Hi, > > Looks like stable packages for aarch64 are now available (?): > > https://ftp.openbsd.org/pub/OpenBSD/6.5/packages-stable/aarch64 > > The following diff updates the relevant section of the FAQ: > > Index: faq10.html >

/etc/examples/sysctl.conf wrong Xref + key lacking information

2019-09-10 Thread Solene Rapenne
Hi I looked at /etc/examples/sysctl.conf on an amd64 system and found 2 things: - file refers to sysctl(3) and sysctl(8). sysctl(3) doesn't exists but sysctl(2) exists, I think we want a 2 Index: sysctl.conf === RCS file:

apmd C getopt flag unused?

2019-08-07 Thread Solene Rapenne
I found case 'C' in getopt in amd which is not documented and seems to be an alias for -A. Ok for removing? Index: apmd.c === RCS file: /data/cvs/src/usr.sbin/apmd/apmd.c,v retrieving revision 1.84 diff -u -p -r1.84 apmd.c ---

Re: apmd C getopt flag unused?

2019-08-07 Thread Solene Rapenne
On Wed, Aug 07, 2019 at 12:40:03PM +0200, Claudio Jeker wrote: > On Wed, Aug 07, 2019 at 12:33:58PM +0200, Solene Rapenne wrote: > > I found case 'C' in getopt in amd which is not documented and seems to > > be an alias for -A. > > > > Ok for removing? > > Please

Re: apmd C getopt flag unused?

2019-08-07 Thread Solene Rapenne
On Wed, Aug 07, 2019 at 12:33:58PM +0200, Solene Rapenne wrote: > I found case 'C' in getopt in amd which is not documented and seems to > be an alias for -A. > > Ok for removing? > > Index: apmd.c > === >

Re: taking kernel config into consideration when reorder

2019-07-18 Thread Solene Rapenne
On Thu, Jul 18, 2019 at 07:15:50PM +0300, Gregory Edigarov wrote: > Hello, > > Just tired a of rebooting into UKC a bit. > > diff --git a/libexec/reorder_kernel/reorder_kernel.sh > b/libexec/reorder_kernel/reorder_kernel.sh > index ecd8d8fc563..7354350505a 100644 > ---

systat is not flushing output

2019-07-19 Thread Solene Rapenne
I wanted to use systat -b -d 10 iostat 1 | something to parse output in real time but it was not possible, systat doesn't flush output. otto@ suggested this change, I tried it and it works. This flush output at the end of writing a page in raw mode (-B or -b flags). ok? Index: engine.c

sync acme-client.conf.5 with the example about LE API url

2019-07-03 Thread Solene Rapenne
The example uses acme-v02.api.letsencrypt.org while acme-client.conf(5) still uses v01. Index: acme-client.conf.5 === RCS file: /data/cvs/src/usr.sbin/acme-client/acme-client.conf.5,v retrieving revision 1.20 diff -u -p -r1.20

Re: _pbuild user to have priority=5

2019-11-01 Thread Solene Rapenne
On Fri, Nov 01, 2019 at 10:06:48PM -, Christian Weisgerber wrote: > On 2019-10-31, Solene Rapenne wrote: > > > I suggest adding a priority=5 to _pbuild user. > > Is this the right place? Or should dpb do this? > > -- > Christian "naddy" W

Re: _pbuild user to have priority=5

2019-11-02 Thread Solene Rapenne
On Sat, Nov 02, 2019 at 01:18:53PM +, Stuart Henderson wrote: > On 2019/11/01 19:16, Theo de Raadt wrote: > > Ted Unangst wrote: > > > > > Theo de Raadt wrote: > > > > What about all the other users who aren't in staff? > > > > > > > > I think the approach is right. Push non-interactive

mg(1) tell make-backup-files is on by default

2019-11-08 Thread Solene Rapenne
Someone on reddit had issue with this config file, there was no backup file, in file directory or in ~/.mg.d make-backup-files backup-to-home-directory in fact, having "make-backup-files" disables backups. I've looked at the mg logic for backup files and I could sort that the default

upgrade66.html missing acme-client.conf staging api url change

2019-11-08 Thread Solene Rapenne
The staging api changed too. I know people who did not update that url, it's not especially obvious because the old url doesn't contain v01. ok ? Index: upgrade66.html === RCS file: /data/cvs/www/faq/upgrade66.html,v retrieving

_pbuild user to have priority=5

2019-10-31 Thread Solene Rapenne
I suggest adding a priority=5 to _pbuild user. I tried on a macppc, a core 2 duo laptop and i7 laptop. It helped a lot the macppc and core2 to stay responsive on ssh or being barely usable while building. On the i7, the benefits are less. At best this allows firefox to stay responsive on bloated

Re: sysupgrade: Allow to use another directory for the sets

2019-11-20 Thread Solene Rapenne
On Wed, Nov 20, 2019 at 10:55:28AM +0100, Renaud Allard wrote: > Hi Solene, > > On 11/20/19 10:46 AM, Solene Rapenne wrote: > > wouldn't be easier for people using non standard locations to write a > > small wrapper script like this (not tested, written in the mai

Re: sysupgrade: Allow to use another directory for the sets

2019-11-20 Thread Solene Rapenne
On Tue, Nov 12, 2019 at 07:02:56PM +0100, Renaud Allard wrote: > > > On 12/11/2019 08:29, Theo de Raadt wrote: > > > > Renaud, please test it for me like this: > > > > sysupgrade -d / > > > > This interface is dangerously incorrect. > > > > What about this one? > Index: sysupgrade.8

Re: sysupgrade: Allow to use another directory for the sets

2019-11-20 Thread Solene Rapenne
On Wed, Nov 20, 2019 at 10:37:02AM +0100, Raimo Niskanen wrote: > On Tue, Nov 19, 2019 at 09:00:33AM +, Stuart Henderson wrote: > > On 2019/11/18 14:45, Raimo Niskanen wrote: > > > On Mon, Nov 18, 2019 at 01:23:27PM +0100, Renaud Allard wrote: > > > > > > > > > > > > On 11/18/19 10:08 AM,

Re: _pbuild user to have priority=5

2019-11-14 Thread Solene Rapenne
On Wed, Nov 06, 2019 at 02:38:52PM +0100, Marc Espie wrote: > On Sat, Nov 02, 2019 at 02:35:28PM +0100, Solene Rapenne wrote: > > On Sat, Nov 02, 2019 at 01:18:53PM +, Stuart Henderson wrote: > > > On 2019/11/01 19:16, Theo de Raadt wrote: > > > > Ted Unangst wro

bump smtpd version?

2020-01-30 Thread Solene Rapenne
on https://opensmtpd.org/ the OpenBSD version file says 6.6.2 while we currently have 6.6.1 in CVS. Should we bump to 6.6.2? Index: smtpd.h === RCS file: /data/cvs/src/usr.sbin/smtpd/smtpd.h,v retrieving revision 1.650 diff -u -p

Re: [PATCH] make cwm parse /etc/ssh/ssh_known_hosts (global known hosts) as well as user's known_hosts

2020-02-12 Thread Solene Rapenne
On Wed, Feb 12, 2020 at 07:15:36PM +0100, Franz Bettag wrote: > Dear OpenBSD folks, > > appended you will find a patch allowing cwm to also parse the contents > of /etc/ssh/ssh_known_hosts and thus extend the ssh menu. > > the diff was taken against the latest source on the github xenocara repo.

Re: [UPDATE] xterm 351

2019-12-24 Thread Solene Rapenne
Le Mon, 23 Dec 2019 17:34:10 +0100, Matthieu Herrb a écrit : > Hi, > > the diff below (also available as https://xenocara.org/xterm-351.diff) > updates xterm to version 351 (from current version 344 in xenocara). > > For a detailed change log see >

Re: Audio over hdmi

2020-04-25 Thread Solene Rapenne
Le Sat, 25 Apr 2020 11:36:12 +0200, Damien Couderc a écrit : > Hi, > > I decided to take a look at what was missing to make audio over hdmi > working on OpenBSD. > > After enabling AZALIA_DEBUG in the kernel config I commented the code > that disables HDMI codecs like the following : > > >

resolv.conf(5) says options inet6 does nothing

2020-04-23 Thread Solene Rapenne
Is there a reason to keep this part in resolv.conf(5) about an option doing nothing? > options inet6 > Enables support for IPv6-only applications, by setting RES_USE_INET6 > in _res.options (see res_init(3)). On OpenBSD this option does > nothing. If we can remove it, here is the diff. Index:

Re: iwn/athn/wpi: fix CCMP replay check with HW crypto

2020-05-15 Thread Solene Rapenne
Le Fri, 15 May 2020 11:02:46 +0200, Stefan Sperling a écrit : > On Fri, May 08, 2020 at 10:53:30AM +0200, Stefan Sperling wrote: > > So the diff below contains just the reordering fix for drivers using > > hardware acceleration for WPA. > > Is there anybody who wants to OK this? > > To

Re: userland clock_gettime proof of concept

2020-05-14 Thread Solene Rapenne
Le Wed, 13 May 2020 17:03:01 +0300, Paul Irofti a écrit : > Hi, > > By far one of the most popular and frequently used system calls is > clock_gettime(2). As a result the cost of kernel-userland transitions > out weight the actual work, thus I am proposing we make the data > available directly

Re: RFC: kern.video.record

2020-09-19 Thread Solene Rapenne
On Sun, 13 Sep 2020 09:23:36 +0100 Laurence Tratt : > Since I recently opened my big fat mouth and suggested that > "kern.video.record" (analogous to kern.audio.record) might be a good idea, I > decided to put together a quick prototype (heavily based on the > kern.audio.record code). This at

sysupgrade change to allow installing from url

2020-05-25 Thread Solene Rapenne
Hi, I don't know if this will be accepted but I propose to add a -u [url] parameter to use older snapshots from an archive server for example. I wanted to add an optional parameter to -s at first but in case of sysupgrade -s [installurl] the install url would have been mistaken by this. If you

Re: Avoid offline cpu in automatic frequency scheduling

2020-05-28 Thread Solene Rapenne
On Thu, 28 May 2020 16:29:19 +0200 Solene Rapenne : > so, this diff skip offline cpus in the loop (robert@ gave me the big > clue to use cpu_is_online in the loop) apologies, it was claudio@ but robert@ helped too.

Re: Avoid offline cpu in automatic frequency scheduling

2020-05-28 Thread Solene Rapenne
On Thu, 28 May 2020 11:43:07 -0400 Bryan Steele : > On Thu, May 28, 2020 at 04:29:19PM +0200, Solene Rapenne wrote: > > the macro CPU_INFO_FOREACH loop over every CPU but the frequency > > algorithm will raise frequency if one cpu usage goes over a > > threshold but also if

Avoid offline cpu in automatic frequency scheduling

2020-05-28 Thread Solene Rapenne
the macro CPU_INFO_FOREACH loop over every CPU but the frequency algorithm will raise frequency if one cpu usage goes over a threshold but also if the sum of cpu usage goes over another threshold. In the current case, if you have offline cpu (because of hw.smt=0), the total will still sum all the

Re: patch: httpd(8) use LOG_FTP for transfers, like $DEITY intended

2020-10-26 Thread Solene Rapenne
On Mon, 26 Oct 2020 17:32:41 +0100 : > #?patch > # > # This patch corrects the logging of transfers, of OpenBSD's httpd(8), > # to xferlog, where it belongs. > # > # A simple patch to a waaay overcomplicated bit of software (with insane > # defaults to boot; security anyone?). > # > #

add a section exit status in syspatch.8

2020-07-21 Thread Solene Rapenne
this diff adds an EXIT STATUS section to syspatch man page. syspatch exit with 1 on errors and 2 if syspatch updates itself. If syspatch does nothing (because no syspatch) or install syspatches successfully, the exit status is 0 in both case. Should we emphase on this? I guess « Did syspatch

Re: [PATCH]: Add a check for upgrade feature to sysupgrade(8)

2020-08-03 Thread Solene Rapenne
On Mon, 3 Aug 2020 13:28:38 +0200 Emil Engler : > ## Abstract > This patch adds an argument to sysupgrade(8) which makes it possible > to check if an upgrade is available, similar to "syspatch -c". > This works both, for snapshots and releases. > > ## Usage > Add "-c" to sysupgrade. > If the

current.html: i586 requirement for i386 architecture

2020-08-07 Thread Solene Rapenne
Now that i386 platform requires i586 CPU, I guess we should mention it in current.html (the page i386.html should be updated accordingly at 6.8 release) Index: current.html === RCS file: /home/reposync/www/faq/current.html,v

Re: UPgrading pkg to 6.7 missed a package

2020-07-13 Thread Solene Rapenne
On Mon, 13 Jul 2020 15:39:39 -0400 sven falempin : > Readers, > > pkg_add -u > failed to upgrade > > p5-DBD-MariaDB-1.2 > to > p5-DBD-MariaDB-1.21p0 > > p5-DBD-MariaDB-1.2 is previous released so maybe it is too old and my fault > , but it is > odd that pkg_add -u p5-DBD-MariaDB does nothing

Re: ssh-keygen(1): -a is missing in SYNOPSIS and small wording change

2020-07-13 Thread Solene Rapenne
On Thu, 25 Jun 2020 18:02:23 +0100 Jason McIntyre : > On Thu, Jun 25, 2020 at 06:40:36PM +0200, Solene Rapenne wrote: > > I found that ssh-keygen(1) missed mention of -a flag in SYNOPSIS. > > > > i think this got accidently removed in -r1.184: > > remove sin

Re: fsck_ffs: faster with lots of cylinder groups

2020-07-12 Thread Solene Rapenne
On Sun, 12 Jul 2020 09:13:47 +0200 Otto Moerbeek : > On Mon, Jun 29, 2020 at 02:30:41PM +0200, Otto Moerbeek wrote: > > > On Sun, Jun 21, 2020 at 03:35:21PM +0200, Otto Moerbeek wrote: > > > > > Hi, > > > > > > both phase 1 and phase 5 need cylinder group metadata. This diff > > > keeps the

improve pkg_add bandwidth usage with some mirrors

2020-06-17 Thread Solene Rapenne
I propose a small diff for pkg_add when using http/https mirrors. Don't wait 30 seconds for the ftp process to stop when closing file handler, send SIGHUP immediately after closing the file handler. Running pkg_add -u neovim (already installed and up to date) I got those results of bandwidth

Re: Destructive Install Process (fdisk)

2020-06-25 Thread Solene Rapenne
On Thu, 25 Jun 2020 19:27:22 -0400 David Blevins : > OpenBSD Community, > > I've been experimenting with the OpenBSD 6.7 install process (though > this "issue" is likely present in earlier version) and have noticed > that the fdisk program in the installation program will destructively > edit

ssh-keygen(1): -a is missing in SYNOPSIS and small wording change

2020-06-25 Thread Solene Rapenne
I found that ssh-keygen(1) missed mention of -a flag in SYNOPSIS. The following patch adds mention to [-a rounds] with default (no flag), -p, -c, -K and -A All the functions triggered by these flags use the rounds variable defined with -a parameter (default 0) I also propose a small wording

Re: improve pkg_add bandwidth usage with some mirrors

2020-06-19 Thread Solene Rapenne
On Fri, 19 Jun 2020 14:42:54 +0200 Theo Buehler : > On Fri, Jun 19, 2020 at 11:42:44AM -, Christian Weisgerber wrote: > [...] > [...] > [...] > > Yes, jsing wanted to take a closer look. I will commit the diff > tonight UTC unless I hear an objection (I have an ok beck). > I

Re: syspatch exit state

2020-12-07 Thread Solene Rapenne
On Mon, 7 Dec 2020 13:39:30 +0100 Antoine Jacoutot : > Index: syspatch.8 > === > RCS file: /cvs/src/usr.sbin/syspatch/syspatch.8,v > retrieving revision 1.21 > diff -u -p -r1.21 syspatch.8 > --- syspatch.825 Jul 2020

Re: clean /dev from /etc/daily ?

2020-11-23 Thread Solene Rapenne
On Mon, 23 Nov 2020 14:46:29 + Stuart Henderson : > On 2020/11/23 09:31, Bryan Steele wrote: > > On Mon, Nov 23, 2020 at 03:25:34PM +0100, Otto Moerbeek wrote: > > > tOn Mon, Nov 23, 2020 at 01:53:01PM +0100, Solene Rapenne wrote: > > > > > > > A co

clean /dev from /etc/daily ?

2020-11-23 Thread Solene Rapenne
A common mistake when using dd is to create a file in /dev which fills up the space of / and may stay silent until / gets filled up by something else that will fail. Would it be OK to add this in /etc/daily? find /dev -type f ! -name MAKEDEV -delete AFAIK /dev should have only MAKEDEV as a

acme-client(1) make -F flag use more obvious

2020-12-15 Thread Solene Rapenne
This is a small change to acme-client(1) because I find the explanation of -F flag not being obvious that you need it when you add/remove an alternative name in your domain config. Maybe wording could be better, if a native English speaker could give it a look. ok? Index: acme-client.1

Re: acme-client(1) make -F flag use more obvious

2020-12-16 Thread Solene Rapenne
On Tue, 15 Dec 2020 10:18:41 +0100 Solene Rapenne : > This is a small change to acme-client(1) because I find > the explanation of -F flag not being obvious that you > need it when you add/remove an alternative name in your > domain config. > > Maybe wording could be better, i

Re: Wireguard - VPN up after reboot

2020-12-22 Thread Solene Rapenne
On Tue, 22 Dec 2020 09:50:04 + "Salvatore Cuzzilla" : > Hi Everyone, > > I'm happily using 'Wireguard' to setup few VPNs. > I store the required configuration within /etc/hostname.wg0 & I startup the > tunnel with 'doas sh > /etc/netstart wg0'. > > Everything is working like expected. >

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Solene Rapenne
On Tue, 17 Nov 2020 17:13:49 +0100 "Peter J. Philipp" : > Hi, > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different > settings with audacity port but couldn't get this to work, so I chose the > method of last resort. Below is a patch to allow an AUDIORECDEVICE >

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Solene Rapenne
On Tue, 17 Nov 2020 18:23:55 +0100 "Peter J. Philipp" : > This is a good suggestion! Thanks! I have updated the patch. I also > appreciate Solene's offer for manpage addition, thanks! > > New diff follows... let me know if it can be done better, I won't be able > to update it until

accton(8) requires a reboot after being enabled

2020-10-30 Thread Solene Rapenne
reading accton(8) it's not clear that if you enable it you need to restart the system for accounting to be effective. Here is a change to add the explanation, but I'm not sure if the wording is correct. Index: accton.8 === RCS file:

Re: accton(8) requires a reboot after being enabled

2020-10-30 Thread Solene Rapenne
Following diff changes accton(8) behavior. If the file given as parameter doesn't exists, accton will create it. Then it will check the ownership and will make it root:wheel if it's different. I added a check to be sure it's run as root because it's has no use if not run as root. I don't often

Re: veb(4) support for vmd(8)?

2021-02-26 Thread Solene Rapenne
On Fri, 26 Feb 2021 22:50:29 +0100 Klemens Nanni : > On Sat, Feb 27, 2021 at 07:30:56AM +1000, David Gwynne wrote: > > i think this is enough to let vmd wire guests up to veb interfaces. > But please update vm.conf(5) to mention veb(4) and vport(4) in as well > SWITCH CONFIGURATION. > > OK kn

add reference to veb(4) in ifconfig.8

2021-08-18 Thread Solene Rapenne
For the create command in ifconfig, many pseudo devices are listed but the recent veb(4) is not present in the list. ok? Index: ifconfig.8 === RCS file: /home/reposync/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.373 diff -u

pf.conf(5) about queueing may be wrong

2021-08-23 Thread Solene Rapenne
pf.conf says this in QUEUEING https://man.openbsd.org/pf.conf#QUEUEING > If the referenced queue does not exist on the outgoing interface, > the default queue for that interface is used. however, with this simple config queue std on re0 bandwidth 100M queue lan parent std bandwidth 100M queue

RFC: performance oriented CPU frequency scaling

2021-09-11 Thread Solene Rapenne
hello, this is not actually a proposal for a commit but I'm playing with the frequency scaling code (that's the only part of the kernel I touched once and it's relatively simple and fun to work on). I found in some cases that using the automatic scaling mode would produce poor results because

Alternate cpu policy on battery

2021-09-25 Thread Solene Rapenne
Last time I proposed a CPU frequency scheduling change to make it more performance oriented, however this would hurt badly the battery life for nomad users. As we don't like tweaks and complicated settings, I create a new CPU frequency policy that is oriented for nomad users, it reduces

Remove deprecated variables in sysctl(2)

2021-10-05 Thread Solene Rapenne
Variables HW_PHYSMEM and HW_USERMEM were deprecated 13 years ago, maybe we can remove them from sysctl(2)? It was originally in sysctl(3) if someone want to do some history research https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/gen/Attic/sysctl.3#rev1.178 Index: sysctl.2

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-27 Thread Solene Rapenne
On Wed, 27 Oct 2021 14:32:31 +0100 Jason McIntyre : > On Wed, Oct 27, 2021 at 10:12:35AM +0100, Stuart Henderson wrote: > > On 2021/10/27 17:44, David Gwynne wrote: > > > > > > > benno@ suggested I look at vether(4) to adapt the text related to > > > > bridge(4) but I'm not sure how to

demystify vport(4) in vport(4) and ifconfigt(8)

2021-10-26 Thread Solene Rapenne
I tried to figure out how to use veb interfaces but the man page wasn't obvious in regards to the "vport" thing. It turns out it's a kind of interface that can be created with ifconfig. I think we should make this clearer. Because ifconfig(8) mentions many type of interfaces I've searched for

Re: demystify vport(4) in vport(4) and ifconfig(8)

2021-10-27 Thread Solene Rapenne
On Wed, 27 Oct 2021 07:28:32 +1000 David Gwynne : > On Tue, Oct 26, 2021 at 09:18:30PM +0200, Solene Rapenne wrote: > > I tried to figure out how to use veb interfaces but the man page > > wasn't obvious in regards to the "vport" thing. It turns out it's > &g

issue with login.conf(5) rtable and su -l user

2022-03-13 Thread Solene Rapenne
Hi, I'm playing with the new rtable feature in login.conf(5) but it seems one use case doesn't trigger the rtable change. I have an user called alice, if I ssh locally from my user to alice with ssh alice@localhost, alice has the correct routing table, if I use as root "su -l alice", then alice

Re: add -k / --keep for gzip(1)

2022-03-12 Thread Solene Rapenne
On Sat, 05 Mar 2022 19:15:02 -0700 "Todd C. Miller" : > On Sun, 06 Mar 2022 02:58:30 +0100, Jeremie Courreges-Anglas wrote: > > > I'm not sure what you mean here. Solene's diff added -k to both > > compress(1) and gzip(1) (and their uncompressor counterparts). > > Adding -k to gzip/gunzip only