Page MenuHomeFreeBSD

asomers (Alan Somers)
User

Projects

User Details

User Since
May 9 2014, 11:04 PM (629 w, 3 d)

Recent Activity

Fri, May 29

asomers added a comment to D57326: fts: Correct description of fts_set.
In D57326#1313561, @des wrote:
In D57326#1313547, @des wrote:

Why?

options was never correct, it has always been instr. I assume whoever first wrote the page copy-pasted fts_children() and forgot to adjust options to instr.

Crucially, functions that take an options argument accept multiple value bitwise-or'ed together, while fts_set() accepts only one value at a time.

The prototype at the top of the man page documents the argument as being named "options". And the header file does not contradict that. So "options" is definitely the name of the argument, and change e030e4e73fe7 was correct. Whether it _should_ be named that is a different question. I would not describe this change of yours as a reversion.

I just explained to you that the prototype at the top of the page is incorrect. The header does not name the argument. The code names the argument instr and always has; options was never a reasonable name for this argument.

Fri, May 29, 3:43 PM
asomers added a comment to D57326: fts: Correct description of fts_set.
In D57326#1313547, @des wrote:

Why?

options was never correct, it has always been instr. I assume whoever first wrote the page copy-pasted fts_children() and forgot to adjust options to instr.

Crucially, functions that take an options argument accept multiple value bitwise-or'ed together, while fts_set() accepts only one value at a time.

Fri, May 29, 2:48 PM
asomers added a comment to D57326: fts: Correct description of fts_set.

Why?

Fri, May 29, 2:26 PM
asomers accepted D57319: bsdinstall: script: Fix scripted DISTRIBUTIONS.
Fri, May 29, 2:03 AM
asomers abandoned D57318: bsdinstall.8: note that installerscript variables must be exported.

Hmm, I was about to submit a change that:

--- a/usr.sbin/bsdinstall/scripts/script
+++ b/usr.sbin/bsdinstall/scripts/script
@@ -50,6 +50,7 @@ f_include $BSDCFG_SHARE/variable.subr
 ############################################################ GLOBALS

 : ${TMPDIR:="/tmp"}
+: ${DISTRIBUTIONS=""}; export DISTRIBUTIONS

 #
 # Strings that should be moved to an i18n file and loaded with f_include_lang()

In my opinion is a "better" fix.

Fri, May 29, 1:31 AM
asomers requested review of D57318: bsdinstall.8: note that installerscript variables must be exported.
Fri, May 29, 1:24 AM
asomers added a comment to D56717: bsdinstall: do pkgbase installations with the "script" command.

Sorry for not testing this thoroughly, I just realized that in order for DISTRIBUTIONS to work, the variable must be exported (see inline). Otherwise the user should "manually" export it. If this is going to be the case, then the manual page should be updated to include export DISTRIBUTIONS in the example.

Fri, May 29, 1:21 AM

Thu, May 28

asomers added a reverting change for rGd1ca01059d5d: padlock(4)/nehemiah: move i386-only entropy source to MD files: rG71ec93ff69f0: padlock: Restore padlock_rng to the amd64 build.
Thu, May 28, 2:14 PM
asomers added a reverting change for rG88a53301e198: padlock.4: only install on i386: rG71ec93ff69f0: padlock: Restore padlock_rng to the amd64 build.
Thu, May 28, 2:14 PM
asomers committed rG71ec93ff69f0: padlock: Restore padlock_rng to the amd64 build (authored by asomers).
padlock: Restore padlock_rng to the amd64 build
Thu, May 28, 2:13 PM
asomers added a reverting change for D53309: padlock(4)/nehemiah: move i386-only entropy source to MD files: rG71ec93ff69f0: padlock: Restore padlock_rng to the amd64 build.
Thu, May 28, 2:13 PM

Wed, May 27

asomers closed D57277: filesystems/py-libzfs: 2.0.0.
Wed, May 27, 5:45 PM
asomers committed R11:ab895c97828b: filesystems/py-libzfs: 2.0.0 (authored by asomers).
filesystems/py-libzfs: 2.0.0
Wed, May 27, 5:45 PM
asomers requested review of D57277: filesystems/py-libzfs: 2.0.0.
Wed, May 27, 4:50 PM
asomers added a comment to D57247: virtio-scsi: handle device capacity change event.

Not really a domain expert, either, am I. Can you give me a clue about how to test this? I can use virtio-scsi with bhyve. But how does one tell bhyve to tell the guest that the storage capacity has changed?

Wed, May 27, 3:30 PM
asomers updated subscribers of D55362: Add libxo flags to fstat and fuser.

Add js, who's taken an interest in libxo.

Wed, May 27, 3:27 PM
asomers requested changes to D55362: Add libxo flags to fstat and fuser.

I haven't tested this yet, but it looks like a good start. My main questions are why you use manual space padding in some places instead of a field width specifier, and why fuser still includes so many " if (xo_get_style(NULL) == XO_STYLE_TEXT)" expressions.

Wed, May 27, 3:27 PM

Tue, May 26

asomers added a reverting change for rGd1ca01059d5d: padlock(4)/nehemiah: move i386-only entropy source to MD files: rG14b8531c4ccb: padlock: Restore padlock_rng to the amd64 build.
Tue, May 26, 9:50 PM
asomers closed D57215: padlock: Restore padlock_rng to the amd64 build.
Tue, May 26, 9:50 PM
asomers added a reverting change for D53309: padlock(4)/nehemiah: move i386-only entropy source to MD files: rG14b8531c4ccb: padlock: Restore padlock_rng to the amd64 build.
Tue, May 26, 9:50 PM
asomers added a reverting change for rG88a53301e198: padlock.4: only install on i386: rG14b8531c4ccb: padlock: Restore padlock_rng to the amd64 build.
Tue, May 26, 9:50 PM
asomers committed rG14b8531c4ccb: padlock: Restore padlock_rng to the amd64 build (authored by asomers).
padlock: Restore padlock_rng to the amd64 build
Tue, May 26, 9:49 PM

Sun, May 24

asomers added a reverting change for rGd1ca01059d5d: padlock(4)/nehemiah: move i386-only entropy source to MD files: D57215: padlock: Restore padlock_rng to the amd64 build.
Sun, May 24, 3:34 AM
asomers added a reverting change for rG88a53301e198: padlock.4: only install on i386: D57215: padlock: Restore padlock_rng to the amd64 build.
Sun, May 24, 3:34 AM
asomers requested review of D57215: padlock: Restore padlock_rng to the amd64 build.
Sun, May 24, 3:34 AM
asomers added a reverting change for D53309: padlock(4)/nehemiah: move i386-only entropy source to MD files: D57215: padlock: Restore padlock_rng to the amd64 build.
Sun, May 24, 3:34 AM

Fri, May 22

asomers committed rGe624417db8a1: lib/libc/tests/gen: add fts_children() tests (authored by Jitendra Bhati <bhatijitendra2022@gmail.com>).
lib/libc/tests/gen: add fts_children() tests
Fri, May 22, 5:44 PM
asomers committed rG113c262b2ad1: lib/libc/tests/gen: add fts_open() error and edge case tests (authored by Jitendra Bhati <bhatijitendra2022@gmail.com>).
lib/libc/tests/gen: add fts_open() error and edge case tests
Fri, May 22, 5:40 PM
asomers committed rGe030e4e73fe7: lib/libc/gen/fts.3: use 'options' consistently in fts_set() description (authored by Jitendra Bhati <bhatijitendra2022@gmail.com>).
lib/libc/gen/fts.3: use 'options' consistently in fts_set() description
Fri, May 22, 5:22 PM

Wed, May 20

asomers committed rG57fb48f8e2fc: linuxulator: fix SO_PEERCRED emulation after 1d24638d3e8 (authored by asomers).
linuxulator: fix SO_PEERCRED emulation after 1d24638d3e8
Wed, May 20, 1:47 AM
asomers committed rG5642fd4b1e44: ping: fix listing test cases when scapy is not installed (authored by asomers).
ping: fix listing test cases when scapy is not installed
Wed, May 20, 1:29 AM

Sun, May 17

asomers committed rG4cee16d471d4: linuxulator: fix SO_PEERCRED emulation after 1d24638d3e8 (authored by asomers).
linuxulator: fix SO_PEERCRED emulation after 1d24638d3e8
Sun, May 17, 12:51 PM
asomers closed D57032: linuxulator: fix SO_PEERCRED emulation after 1d24638d3e8.
Sun, May 17, 12:50 PM

Sat, May 16

asomers requested review of D57032: linuxulator: fix SO_PEERCRED emulation after 1d24638d3e8.
Sat, May 16, 6:09 PM

Wed, May 13

asomers committed rG1f5869130f6e: bsdinstall: do pkgbase installations with the "script" command (authored by asomers).
bsdinstall: do pkgbase installations with the "script" command
Wed, May 13, 7:32 PM
asomers committed rG89a0148521ae: Make "make update-packages" idempotent (authored by asomers).
Make "make update-packages" idempotent
Wed, May 13, 7:25 PM
asomers committed rG3298d82ea340: Fix LOCAL_PEERCRED in 32-bit compat mode (authored by asomers).
Fix LOCAL_PEERCRED in 32-bit compat mode
Wed, May 13, 5:23 PM

Tue, May 12

asomers closed D56717: bsdinstall: do pkgbase installations with the "script" command.
Tue, May 12, 2:14 PM
asomers committed rGdc14ae4217a0: bsdinstall: do pkgbase installations with the "script" command (authored by asomers).
bsdinstall: do pkgbase installations with the "script" command
Tue, May 12, 2:14 PM
asomers added inline comments to D56717: bsdinstall: do pkgbase installations with the "script" command.
Tue, May 12, 2:07 PM

Mon, May 11

asomers added a comment to D56717: bsdinstall: do pkgbase installations with the "script" command.

@emaste I went with option B since there isn't a 1:1 mapping between COMPONENTS and DISTRIBUTIONS. @jlduran the current Lua code doesn't make it possible to install both base and non-base packages using the same variable. It could maybe happen in the future, but not for now. And it's not the way that the interactive installer works. So an installerconfig that installs non-base packages still needs to look something like this:

export COMPONENTS="base debug lib32"
...
#! /bin/sh
...
/usr/sbin/pkg install -y sysutils/py-salt
Mon, May 11, 8:42 PM
asomers updated the diff for D56717: bsdinstall: do pkgbase installations with the "script" command.
  • Man page changes requested by @ziaee
  • Eliminate the METHOD variable
Mon, May 11, 8:38 PM
asomers closed D56692: Record that ZFS removed libuutil just prior to 1600005 Use "(not changed) syntax rather than try to shove two gitrefs into a single cell..
Mon, May 11, 3:18 PM
asomers committed R9:37d9d8b85ab3: Record that ZFS removed libuutil just prior to 1600005 (authored by asomers).
Record that ZFS removed libuutil just prior to 1600005
Mon, May 11, 3:18 PM

Fri, May 8

asomers added a comment to D56848: filesystems/pjdfstest: new port.

I don't like the idea of adding a user to the ports tree unless we're REALLY sure that we need it, because the user has to stay there for pretty much forever. So I took a longer harder look at the tests today, and I think we can remove the third user without sacrificing coverage. I'm going to take the issue up upstream. I'll settle it there before merging this PR.

Fri, May 8, 10:37 PM
asomers added a comment to D56848: filesystems/pjdfstest: new port.

Yes, unless you have a better idea for a third builtin user that it can use.

We have the tests builtin user, maybe it is appropriate.

Fri, May 8, 4:10 PM
asomers closed D56872: Make "make update-packages" idempotent.
Fri, May 8, 3:19 PM
asomers committed rGbd1e789b8452: Make "make update-packages" idempotent (authored by asomers).
Make "make update-packages" idempotent
Fri, May 8, 3:19 PM
asomers added a comment to D56872: Make "make update-packages" idempotent.

LGTM, but is it worth adding an echo in the case that PKG_VERSION didn't change so that we always emit some message here?

Something like

.if defined(PKG_VERSION_FROM_DIR)
    .if ${PKG_VERSION} != ${PKG_VERSION_FROM}
        @echo "==> Package version ${PKG_VERSION} unchanged, keeping old package set"
    .else
        ...
     .endif
.endif

Or actually, avoiding more indentation, changing the existing else case to

.elif defined(PKG_VERSION_FROM_DIR)
    @echo version not changed
.else
    @echo bootstrapping repository, not checking...
.endif
Fri, May 8, 3:16 PM
asomers added inline comments to D56717: bsdinstall: do pkgbase installations with the "script" command.
Fri, May 8, 2:49 AM
asomers updated the diff for D56717: bsdinstall: do pkgbase installations with the "script" command.
  • For non-interactive installations, default COMPONENTS to "base
Fri, May 8, 2:48 AM
asomers added a comment to D56872: Make "make update-packages" idempotent.

@brd this is what I was talking about when I complained about errors running "make update-packages".

Fri, May 8, 2:42 AM

Thu, May 7

asomers committed rG1d24638d3e88: Fix LOCAL_PEERCRED in 32-bit compat mode (authored by asomers).
Fix LOCAL_PEERCRED in 32-bit compat mode
Thu, May 7, 9:07 PM
asomers closed D56675: Fix LOCAL_PEERCRED in 32-bit compat mode.
Thu, May 7, 9:07 PM
asomers updated the diff for D56717: bsdinstall: do pkgbase installations with the "script" command.
  • Remove "pkgbase" from user-facing documentation.
Thu, May 7, 8:41 PM
asomers added inline comments to D56717: bsdinstall: do pkgbase installations with the "script" command.
Thu, May 7, 8:34 PM
asomers added a comment to D56717: bsdinstall: do pkgbase installations with the "script" command.

Actually @emaste we can't do what I just suggested, because either packages or distsets might need to be fetched over the network. It's valid for neither to be on the installation media. So if you don't like the PKGBASE=no variable, then the best proposal I can come up with is:

  • If COMPONENTS is set in /etc/installerconfig, use packages
  • If DISTRIBUTIONS is set, use distsets
  • If both are set, error
  • If neither is set, use packages with the default COMPONENTS.
Thu, May 7, 8:28 PM
asomers requested review of D56872: Make "make update-packages" idempotent.
Thu, May 7, 6:20 PM
asomers added a comment to D56848: filesystems/pjdfstest: new port.

Do you still want the port to add a pjdfstest user?

Thu, May 7, 3:43 PM
asomers added inline comments to D56605: tests: Add better pjdfstest integration.
Thu, May 7, 3:42 PM
asomers requested changes to D56605: tests: Add better pjdfstest integration.
Thu, May 7, 2:45 PM
asomers added a comment to D56848: filesystems/pjdfstest: new port.

Yes, I saw the portlint output. I've fixed the comment and the blank line, but for some reason arcanist can't update the diff. Regarding DISTFILES, I prefer to download from CRATESIO instead of from Github. Though admittedly, I don't have a very good reason for doing that. And as long as the port is set to download from CRATESIO, I can't figure out how to get rid of setting DISTFILES. It's what all of the other ports seem to do. Do you think it's important enough to switch the download to Github?

Thu, May 7, 2:55 AM

Wed, May 6

asomers added a comment to D56848: filesystems/pjdfstest: new port.

I don't know why, but arcanist is struggling to update this port. But I've noted your whitespace observation and I will be sure to commit it correctly.

Wed, May 6, 2:57 PM
asomers added a comment to D56848: filesystems/pjdfstest: new port.

I don't think we need to worry about pjdfstest/pjdfstest-rs name collisions. In addition to the fact that there's never been a pjdfstest port, the sh-based pjdfstest isn't even very amenable to system-wide installation. That's why nobody's ever created a port before.

Wed, May 6, 2:47 PM
asomers requested review of D56848: filesystems/pjdfstest: new port.
Wed, May 6, 2:29 PM

Tue, May 5

asomers added a comment to D56717: bsdinstall: do pkgbase installations with the "script" command.

So if you want a distset installation, you must specify DISTRIBUTIONS=... and PKGBASE=no in the installerconfig. Otherwise, you must specify COMPONENTS=... .

Could we not do

  1. If COMPONENTS is set and packages are on the install media, use packages
  2. If DISTRIBUTIONS is set and dist sets are on the install media, use dist sets
  3. Error
Tue, May 5, 10:31 PM

May 3 2026

asomers added inline comments to D56759: ping: use CLOCK_REALTIME for ICMP Originate Timestamp.
May 3 2026, 6:36 PM

May 2 2026

asomers committed R11:0fd0fef7ac39: finance/p5-Finance-Quote: 1.68 (authored by asomers).
finance/p5-Finance-Quote: 1.68
May 2 2026, 4:24 PM
asomers committed rG3e845b109056: ping: fix listing test cases when scapy is not installed (authored by asomers).
ping: fix listing test cases when scapy is not installed
May 2 2026, 3:21 PM
asomers closed D56765: ping: fix listing test cases when scapy is not installed.
May 2 2026, 3:21 PM
asomers accepted D56759: ping: use CLOCK_REALTIME for ICMP Originate Timestamp.

Thanks for fixing this. You should ask re@ if they want it in 15.1.

May 2 2026, 3:07 AM
asomers added inline comments to D56759: ping: use CLOCK_REALTIME for ICMP Originate Timestamp.
May 2 2026, 2:19 AM

May 1 2026

asomers added a comment to D56759: ping: use CLOCK_REALTIME for ICMP Originate Timestamp.

See also D56765

May 1 2026, 11:11 PM
asomers updated the diff for D56765: ping: fix listing test cases when scapy is not installed.
  • Fixup: sooth pep8
May 1 2026, 11:11 PM
asomers requested review of D56765: ping: fix listing test cases when scapy is not installed.
May 1 2026, 11:10 PM
asomers added a comment to D56759: ping: use CLOCK_REALTIME for ICMP Originate Timestamp.

Thanks for catching this. Would it be possible to add an ATF test to catch the problem?

May 1 2026, 8:00 PM

Apr 30 2026

asomers added a comment to D56717: bsdinstall: do pkgbase installations with the "script" command.

Should this not do the same as 9134ed157388f3e34374322a5de06449a031f1ec?

It's not the same thing. That older revision changed the default interactive installation to pkgbase. What my change is is for the non-interactive installations. That is, the installations that the CD will do if you put an /etc/installerconfig file on the CD.

My point is, that commit made the default depend on what's on the installation media. Should this change not do the same, rather than make it always pkgbase?

Apr 30 2026, 5:53 PM
asomers added a comment to D56717: bsdinstall: do pkgbase installations with the "script" command.

We're trying to avoid making pkgbase a proper user facing noun

Apr 30 2026, 5:44 PM
asomers committed rGf82b68169b4c: CTL: add ATF tests for REPORT SUPPORTED OPCODES (authored by asomers).
CTL: add ATF tests for REPORT SUPPORTED OPCODES
Apr 30 2026, 5:25 PM

Apr 29 2026

asomers added a comment to D56717: bsdinstall: do pkgbase installations with the "script" command.

Should this not do the same as 9134ed157388f3e34374322a5de06449a031f1ec?

Apr 29 2026, 8:38 PM
asomers requested review of D56717: bsdinstall: do pkgbase installations with the "script" command.
Apr 29 2026, 7:50 PM
asomers closed D56713: sysutils/iocage: fix "make test".
Apr 29 2026, 6:33 PM
asomers committed R11:df89129c22ca: sysutils/iocage: fix "make test" (authored by asomers).
sysutils/iocage: fix "make test"
Apr 29 2026, 6:33 PM
asomers added a comment to D56713: sysutils/iocage: fix "make test".

Note that @grembo , while AFK, indicated his approval to me over email.

Apr 29 2026, 6:28 PM
asomers requested review of D56713: sysutils/iocage: fix "make test".
Apr 29 2026, 4:53 PM

Apr 28 2026

asomers added a comment to D56675: Fix LOCAL_PEERCRED in 32-bit compat mode.

LGTM, feel free to give other reviewers some time.

Apr 28 2026, 6:13 PM
asomers updated the diff for D56675: Fix LOCAL_PEERCRED in 32-bit compat mode.
  • Respond to emaste's style comment.
Apr 28 2026, 6:08 PM
asomers abandoned D54151: security/vuxml: Document version range of recent Python vuln entries.

This was independently fixed by @vishwin in cfbc3c7b9000a58bf0dd99b109b2e638b8a9add5 .

Apr 28 2026, 2:16 PM
asomers added a comment to D56692: Record that ZFS removed libuutil just prior to 1600005 Use "(not changed) syntax rather than try to shove two gitrefs into a single cell..

Now the revision shows two ways to solve the problem:

Apr 28 2026, 2:14 PM
asomers updated the diff for D56692: Record that ZFS removed libuutil just prior to 1600005 Use "(not changed) syntax rather than try to shove two gitrefs into a single cell..
  • Merge the two gitrefs into a single cell
Apr 28 2026, 2:11 PM
asomers added a comment to D56692: Record that ZFS removed libuutil just prior to 1600005 Use "(not changed) syntax rather than try to shove two gitrefs into a single cell..

This is D54342 rebased.

Apr 28 2026, 2:11 PM
asomers requested review of D56692: Record that ZFS removed libuutil just prior to 1600005 Use "(not changed) syntax rather than try to shove two gitrefs into a single cell..
Apr 28 2026, 2:10 PM
asomers abandoned D54342: Note that __FreeBSD_version 1600005 also includes a ZFS change.

Sorry: I rebased in between the first and second revisions. I'll abandon and recreate the revision.

Apr 28 2026, 2:07 PM
asomers updated the diff for D54342: Note that __FreeBSD_version 1600005 also includes a ZFS change.
  • Merge the two gitrefs into a single cell
Apr 28 2026, 2:06 PM
asomers updated the diff for D54342: Note that __FreeBSD_version 1600005 also includes a ZFS change.
  • Split the ZFS libuutil change into its own row in the table
Apr 28 2026, 1:58 PM

Apr 27 2026

asomers requested review of D56675: Fix LOCAL_PEERCRED in 32-bit compat mode.
Apr 27 2026, 11:50 PM
asomers committed rG43e7448343dd: fusefs: better handling for low-memory conditions (authored by asomers).
fusefs: better handling for low-memory conditions
Apr 27 2026, 7:42 PM
asomers committed rGfac95c74d23d: pdfork.2: correct pdrfork's HISTORY section (authored by asomers).
pdfork.2: correct pdrfork's HISTORY section
Apr 27 2026, 7:38 PM
asomers added a comment to D56605: tests: Add better pjdfstest integration.

Yes, the plan is that this will replace the sh-based implementation. So I don't want to completely rename it. Or I suppose we could just retire the sh-based implementation, and call this one "pjdfstest2" or something.
Also, while this diff LGTM, you shouldn't commit it just yet, until we resolve all of the issues you opened on Github. That's because some of those might change the config file format.

Apr 27 2026, 1:52 PM

Apr 24 2026

asomers accepted D56628: ctl_ioctl_frontend: Reject out-of-range initiator IDs.

Good catch. Is this something that can be triggered with libcam?

Apr 24 2026, 8:53 PM