Re: Second Redis instance?

2024-02-06 Thread Louis Brauer
> Giving opportunity to use /usr/local/etc/redis-FOO.conf
> /usr/local/etc/redis-BAR.conf respectively, as separate instances.
>
> How can I do the same under OpenBSD 7.4?

You could just copy the /etc/rc.d/redis file to /etc/rc.d/redis2 and modify the 
daemon_flags settings in it to use a separate config file.

Then 
- rcctl enable redis2 
- rcctl start redis2

I just tried that and it seems to work.

Louis



Re: OT: Against one more IT convention to defend "proprietary stuff"

2024-02-02 Thread Louis Brauer
> what do you think?

I think that this is a mailing list about OpenBSD, not US politics. But I may 
be mistaken.

Louis



Re: Power usage in Dell XPS 17

2024-01-30 Thread Louis Brauer
> * I've tried using `apm -A`, `apm -L`, and `obsdfreqd` but any 
> improvement seems small.

Did you stop and disable apmd when using obsdfreqd? That did the trick for me.

Louis



htop install fails on -current

2024-01-28 Thread Louis Brauer
I've just installed 7.4-current on an ARM64 machine and tried to pkg_add the 
"htop" package. It fails and this is the output of pkg_add:

# pkg_add htop
quirks-7.0:updatedb-0p0: ok
quirks-7.0 signed on 2024-01-21T11:57:22Z
quirks-7.0: ok
htop-3.2.2:bzip2-1.0.8p0: ok
htop-3.2.2:pcre2-10.37p1: ok
htop-3.2.2:libiconv-1.17: ok
Can't install gettext-runtime-0.22.4 because of libraries
|library c++.9.0 not found
| /usr/lib/libc++.so.10.0 (system): bad major
|library c++abi.6.0 not found
| /usr/lib/libc++abi.so.7.0 (system): bad major
Direct dependencies for gettext-runtime-0.22.4 resolve to libiconv-1.17
Full dependency tree is libiconv-1.17
htop-3.2.2:libffi-3.4.4p0: ok
htop-3.2.2:sqlite3-3.44.2: ok
htop-3.2.2:xz-5.4.5: ok
Can't install python-3.10.13p0: can't resolve gettext-runtime-0.22.4
Can't install glib2-2.78.3: can't resolve 
python-3.10.13p0,gettext-runtime-0.22.4
Can't install desktop-file-utils-0.27: can't resolve glib2-2.78.3
Can't install htop-3.2.2: can't resolve desktop-file-utils-0.27
Couldn't install desktop-file-utils-0.27 gettext-runtime-0.22.4 glib2-2.78.3 
htop-3.2.2 python-3.10.13p0

It works fine on -stable. Since I do not have much experience with -current or 
the package system, I'm not sure if that is a bug in the -current tree or if 
there is anything I missed?

Any advice would be much appreciated.

- Louis