Re: dmesg hangs 7.4

2024-03-09 Thread Tobias Fiebig
Might be MTU? Can you try what happens with `find /` ?

If it freezes then, too:

On both machines:

ping -s 1252 -D $remote_IP

if it works, increase by half the way to 1472, try if it still works:

ping -s 1362 -D $remote_IP

etc.

If it does not work, you half the distance to the previously working
one, e.g.:

ping -s 1362 -D $remote_IP << works

ping -s 1417 -D $remote_IP << does not work

then next:

ping -s 1390 -D $remote_IP

If you use IPv6, you need to decrease the starting/end value by 20 and
use ping6, i.e., as min 1232 and as max 1452; If the hosts cannot reach
each other directly (NAT), it depends on the path which addr to use;
Would need traceroutes between the hosts then.

The assumption would be that you do have an MTU issue on-path there,
which is not correctly signaled. This only hits as soon as the packets
get a size larger than the MTU, e.g., when typing dmesg (or find /).

With best regards,
Tobias

On Sat, 2024-03-09 at 16:07 +, Laura Smith wrote:
> Hi
> 
> I've got a fresh install of 7.4 on a new box and am seeing a very
> weird problem.
> 
> If I enter "dmesg" I get a few lines of output and then it hangs and
> my ssh connection gets dropped.  I ran syspatch, rebooted and the
> problem persists.  
> 
> Example:
> 
> # dmesg
> MX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-
> CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2
> ,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,R
> DTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SM
> EP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,
> WAITPKG,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_A
> LL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,TAA_NO,MISC_PKG_CT,ENERGY_FILT,DOITM
> ,SBDR_SSDP_N,FBSDP_NO,PSDP_NO,RRSBA,OVERCLOCK,XSAVEOPT,XSAVEC,XGETBV1
> ,XSAVES
> cpu19: 32KB 64b/line 8-way D-cache, 64KB 64b/line 8-way I-cache, 2MB
> 64b/line 16-way L2 cache, 30MB 64b/line 12-way L3 cache
> cpu19: smt 0, core 35, package 0
> cpu20 at mainbus0: apid 72 (application processor)
> cpu20: 12th Gen Intel(R) Core(TM) i9-12900TE, 3392.18 MHz, 06-97-02,
> patch 0025
> Timeout, server 10.1.2.3 not responding.



Re: browser titlebar doesn't support emoji

2024-03-09 Thread Dan


Thnx again for the more replies..

Страхиња Радић  wrote:

> On 24/03/08 11:37PM, Dan wrote:
> > * depending on one general font for text, often a
> > monospaced one, they will have no luck to display emoji anyway.
> 
> No, this depends on fontconfig[1] configuration.
> 
> [1]:
> https://fontconfig.pages.freedesktop.org/fontconfig/fontconfig-user.html

Sorry for the honesty..given it a look, I found things and conf syntax a
little bit odd..or maybe its me I'm not so sharp at this time. However,
I'm almost happy with what the thread produced for now. Hopefully
someone will reasoning about this stuff and conceive a better way to
plasm an emoji flag in the titlebars for users..




Re: No packages found for 7.5 snapshot on arm64

2024-03-09 Thread Thomas Frohwein
On Sat, Mar 09, 2024 at 02:27:36PM +0500, ofthecentury wrote:
> I had a similar problem this week, for amd64.
> The 'packages/amd64' folder on the OpenBSD
> mirrors for 7.5 snapshot is also empty. So I
> just manually set PKG_PATH to 7.4 packages
> folder for the time being.

This will likely break things. You would be effectively mixing an
almost-7.5 base with 7.4 packages. The solution is to point at the
snapshots packages directory, which is what -Dsnap does for you.

> On Sat, Mar 9, 2024 at 2:15 PM Dmitry Matveyev  wrote:
> >
> > Hi,
> >
> > I was running an OpenBSD with this description of the iso: OpenBSD
> > 7.4-current 2023-11-03 (arm64). A week ago I started getting an error
> > trying to install any package:
> >
> > # pkg_add -Uvi colorls
> > Update candidates: quirks-7.12 -> quirks-7.12
> > Update candidates: updatedb-0p0 -> updatedb-0p0
> > quirks-7.12 signed on 2024-03-05T14:52:30Z
> > Can't install colorls-7.4 because of libraries
> > |library c.99.0 not found
> > | /usr/lib/libc.so.98.0 (system): bad major
> > Couldn't install colorls-7.4
> >
> > Here I have an older version whereas the package requires a newer
> > version.
> >
> > I've read that it might be due to using -current and that I need to
> > upgrade my system to the latest snapshot. I have run sysupgrade and now
> > uname says that I'm on OpenBSD 7.5 GENERIC.MP#128 arm64. And now I can't
> > install anything at all because pkg_add complains that it can't find a
> > directory https://ftp.hostserver.de/pub/OpenBSD/7.5/packages/aarch64/. I
> > have checked several mirrors at https://www.openbsd.org/ftp.html and
> > they indeed don't have any packages under 7.5.
> >
> > How do I fix this?
> >
> 



Re: dmesg hangs 7.4

2024-03-09 Thread Stuart Henderson
Can you get dmesg out by another means (most likely, write to a usb stick)?

Any difference if you install a snapshot?

Anything special with the network setup?

Anything odd in dmesg on the box you're ssh'ing *from*?

On 2024-03-09, Laura Smith  wrote:
> Hi
>
> I've got a fresh install of 7.4 on a new box and am seeing a very weird 
> problem.
>
> If I enter "dmesg" I get a few lines of output and then it hangs and my ssh 
> connection gets dropped.  I ran syspatch, rebooted and the problem persists.  
>
> Example:
>
> # dmesg
> MX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,WAITPKG,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,TAA_NO,MISC_PKG_CT,ENERGY_FILT,DOITM,SBDR_SSDP_N,FBSDP_NO,PSDP_NO,RRSBA,OVERCLOCK,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu19: 32KB 64b/line 8-way D-cache, 64KB 64b/line 8-way I-cache, 2MB 64b/line 
> 16-way L2 cache, 30MB 64b/line 12-way L3 cache
> cpu19: smt 0, core 35, package 0
> cpu20 at mainbus0: apid 72 (application processor)
> cpu20: 12th Gen Intel(R) Core(TM) i9-12900TE, 3392.18 MHz, 06-97-02, patch 
> 0025
> Timeout, server 10.1.2.3 not responding.
>
>


-- 
Please keep replies on the mailing list.



Re: Cannot add gd

2024-03-09 Thread Amarendra Godbole
On Sat, Mar 9, 2024 at 12:45 AM Stuart Henderson
 wrote:
>
> On 2024-03-09, Sebastien Marie  wrote:
> > Amarendra Godbole  writes:
> >
> >> I ran into this error today, while adding package gd on amd64 7.4 
> >> release...
> >>
> >> # pkg_add gd
> >> quirks-6.160 signed on 2024-03-06T19:04:54Z
> >> Can't install gd-2.3.3 because of libraries
> >> |library fontconfig.13.1 not found
> >> | not found anywhere
> >> |library freetype.30.3 not found
> >> | not found anywhere
> >> Direct dependencies for gd-2.3.3 resolve to tiff-4.5.1 png-1.6.39
> >> libwebp-1.3.1pl0 jpeg-2.1.5.1v0 libiconv-1.17
> >> Full dependency tree is tiff-4.5.1 xz-5.4.4 png-1.6.39 libiconv-1.17
> >> jpeg-2.1.5.1v0 zstd-1.5.5 giflib-5.2.1 libwebp-1.3.1pl0 lz4-1.9.4
> >> Couldn't install gd-2.3.3
> >> #
> >>
> >> This worked a week ago when installing on a similar setup, though I am
> >> not sure what has changed. The fontconfig and freetype requirement
> >> seems not listed in the subsequent direct and full dependency tree. Am
> >> I missing something obvious?
> >
> > did you installed xbase74 set ?
>
> I bet this is the problem.
>
> See https://www.openbsd.org/faq/faq15.html#PkgInstall:
> "Sometimes you may encounter an error like the one in the following
> example" ... #1 under "There are several things to check"
[...]

Thank you everyone! Yes, that is the problem... this time around I
skipped installing X sets, and forgot about it. Should have paid
careful attention to the FAQ.

-Amarendra



Re: dmesg hangs 7.4

2024-03-09 Thread Laura Smith


Same thing, it hangs :

# cat /dev/urandom | openssl enc -base64 -out foo 
^C
# ls -lah foo
1.5G Mar  9 17:17 foo
# cat foo

Bunch of text, then hang, then dropped "Timeout, server not responding."



Sent with Proton Mail secure email.

On Saturday, 9 March 2024 at 16:55, Mihai Popescu  wrote:

> Just curious, what happens when you do:
> # cat 



Re: browser titlebar doesn't support emoji

2024-03-09 Thread Страхиња Радић
On 24/03/08 11:37PM, Dan wrote:
> * depending on one general font for text, often a
> monospaced one, they will have no luck to display emoji anyway.

No, this depends on fontconfig[1] configuration.

[1]: https://fontconfig.pages.freedesktop.org/fontconfig/fontconfig-user.html



Re: No packages found for 7.5 snapshot on arm64

2024-03-09 Thread ofthecentury
Got it, thanks. But I didn't realize you have to run
'pkg_add -u -D snap' to upgrade all packages
after you upgrade with 'sysupgrade -s'.

On Sat, Mar 9, 2024 at 6:40 PM Thomas Frohwein  wrote:
>
> On Sat, Mar 09, 2024 at 02:27:36PM +0500, ofthecentury wrote:
> > I had a similar problem this week, for amd64.
> > The 'packages/amd64' folder on the OpenBSD
> > mirrors for 7.5 snapshot is also empty. So I
> > just manually set PKG_PATH to 7.4 packages
> > folder for the time being.
>
> This will likely break things. You would be effectively mixing an
> almost-7.5 base with 7.4 packages. The solution is to point at the
> snapshots packages directory, which is what -Dsnap does for you.
>
> > On Sat, Mar 9, 2024 at 2:15 PM Dmitry Matveyev  wrote:
> > >
> > > Hi,
> > >
> > > I was running an OpenBSD with this description of the iso: OpenBSD
> > > 7.4-current 2023-11-03 (arm64). A week ago I started getting an error
> > > trying to install any package:
> > >
> > > # pkg_add -Uvi colorls
> > > Update candidates: quirks-7.12 -> quirks-7.12
> > > Update candidates: updatedb-0p0 -> updatedb-0p0
> > > quirks-7.12 signed on 2024-03-05T14:52:30Z
> > > Can't install colorls-7.4 because of libraries
> > > |library c.99.0 not found
> > > | /usr/lib/libc.so.98.0 (system): bad major
> > > Couldn't install colorls-7.4
> > >
> > > Here I have an older version whereas the package requires a newer
> > > version.
> > >
> > > I've read that it might be due to using -current and that I need to
> > > upgrade my system to the latest snapshot. I have run sysupgrade and now
> > > uname says that I'm on OpenBSD 7.5 GENERIC.MP#128 arm64. And now I can't
> > > install anything at all because pkg_add complains that it can't find a
> > > directory https://ftp.hostserver.de/pub/OpenBSD/7.5/packages/aarch64/. I
> > > have checked several mirrors at https://www.openbsd.org/ftp.html and
> > > they indeed don't have any packages under 7.5.
> > >
> > > How do I fix this?
> > >
> >



Re: dmesg hangs 7.4

2024-03-09 Thread Laura Smith
Nice idea Tobias, but I forgot to mention both machines are on the same LAN, 
and the LAN is operating with standard MTU, no jumbos.




Sent with Proton Mail secure email.

On Saturday, 9 March 2024 at 17:02, Tobias Fiebig 
 wrote:

> Might be MTU? Can you try what happens with `find /` ?
> 
> If it freezes then, too:
> 
> On both machines:
> 
> ping -s 1252 -D $remote_IP
> 
> if it works, increase by half the way to 1472, try if it still works:
> 
> ping -s 1362 -D $remote_IP
> 
> etc.
> 
> If it does not work, you half the distance to the previously working
> one, e.g.:
> 
> ping -s 1362 -D $remote_IP << works
> 
> ping -s 1417 -D $remote_IP << does not work
> 
> then next:
> 
> ping -s 1390 -D $remote_IP
> 
> If you use IPv6, you need to decrease the starting/end value by 20 and
> use ping6, i.e., as min 1232 and as max 1452; If the hosts cannot reach
> each other directly (NAT), it depends on the path which addr to use;
> Would need traceroutes between the hosts then.
> 
> The assumption would be that you do have an MTU issue on-path there,
> which is not correctly signaled. This only hits as soon as the packets
> get a size larger than the MTU, e.g., when typing dmesg (or find /).
> 
> With best regards,
> Tobias
> 
> On Sat, 2024-03-09 at 16:07 +, Laura Smith wrote:
> 
> > Hi
> > 
> > I've got a fresh install of 7.4 on a new box and am seeing a very
> > weird problem.
> > 
> > If I enter "dmesg" I get a few lines of output and then it hangs and
> > my ssh connection gets dropped. I ran syspatch, rebooted and the
> > problem persists.
> > 
> > Example:
> > 
> > # dmesg
> > MX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-
> > CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2
> > ,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,R
> > DTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SM
> > EP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,
> > WAITPKG,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_A
> > LL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,TAA_NO,MISC_PKG_CT,ENERGY_FILT,DOITM
> > ,SBDR_SSDP_N,FBSDP_NO,PSDP_NO,RRSBA,OVERCLOCK,XSAVEOPT,XSAVEC,XGETBV1
> > ,XSAVES
> > cpu19: 32KB 64b/line 8-way D-cache, 64KB 64b/line 8-way I-cache, 2MB
> > 64b/line 16-way L2 cache, 30MB 64b/line 12-way L3 cache
> > cpu19: smt 0, core 35, package 0
> > cpu20 at mainbus0: apid 72 (application processor)
> > cpu20: 12th Gen Intel(R) Core(TM) i9-12900TE, 3392.18 MHz, 06-97-02,
> > patch 0025
> > Timeout, server 10.1.2.3 not responding.



Re: dmesg hangs 7.4

2024-03-09 Thread Mihai Popescu
Just curious, what happens when you do:
# cat 



Re: dmesg hangs 7.4

2024-03-09 Thread Peter J. Philipp



On 3/9/24 17:07, Laura Smith wrote:

Hi

I've got a fresh install of 7.4 on a new box and am seeing a very weird problem.

If I enter "dmesg" I get a few lines of output and then it hangs and my ssh 
connection gets dropped.  I ran syspatch, rebooted and the problem persists.

Example:

# dmesg
MX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,WAITPKG,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,TAA_NO,MISC_PKG_CT,ENERGY_FILT,DOITM,SBDR_SSDP_N,FBSDP_NO,PSDP_NO,RRSBA,OVERCLOCK,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu19: 32KB 64b/line 8-way D-cache, 64KB 64b/line 8-way I-cache, 2MB 64b/line 
16-way L2 cache, 30MB 64b/line 12-way L3 cache
cpu19: smt 0, core 35, package 0
cpu20 at mainbus0: apid 72 (application processor)
cpu20: 12th Gen Intel(R) Core(TM) i9-12900TE, 3392.18 MHz, 06-97-02, patch 
0025
Timeout, server 10.1.2.3 not responding.


Hi,

I don't know if it's relevant but I have a VPS at openbsd.amsterdam that 
seems to have similar behaviour.  I can type top, or any command like ps 
and it will hang a bit before continuing.  There is a mode in SSH to 
enable keepalives, perhaps play with that?  As per my vps, I have 
mentioned it to the admin of the vps (Mischa) and he made me some vps's 
to compare, however I'm leaving that service next month so there is 
really no need.  I had suspected perhaps a drive failure on the RAID but 
Mischa had replaced the drive on that server (I think it has 12 cores or 
something) and it shouldn't be that, but I dunno (shrug).  Do you 
perhaps use vmm on your 2x cpu machine?


Best Regards,

-pjp

--
Over thirty years experience on UNIX-like Operating Systems starting with QNX.



Re: 'xset' not authorized

2024-03-09 Thread ofthecentury
For the droves who have/will have the same question:
You can disable DPMS by tweaking the Xorg config
out. First, get the monitor identifier from your
/var/log/Xorg.0.log. Then, add a dpms.conf file to
/usr/X11R6/share/X11/xorg.conf.d/ with this:
Section "Monitor"
Identifier "LVDS0"  [insert your monitor identifier]
Option "DPMS" "false"
EndSection
Kill xenodm and launch xenodm again.
Confirm by running 'xset q' that DPMS is disabled.
Laptop screen will not shut off on you again.


On Sat, Mar 9, 2024 at 9:33 AM ofthecentury  wrote:
>
> I cannot turn off dpms so my screen doesn't shut
> off after 10 mins (screensaver off already).
> When running 'xset s off -dpms' I am getting an
> error: 'Authorization required, but no
> authorization protocol specified.'
> I tried running xhost si:localuser:root, but xhost
> gets the same error.
> (OpenBSD 7.5, Xfce4 and xfce4-terminal).



dmesg hangs 7.4

2024-03-09 Thread Laura Smith
Hi

I've got a fresh install of 7.4 on a new box and am seeing a very weird problem.

If I enter "dmesg" I get a few lines of output and then it hangs and my ssh 
connection gets dropped.  I ran syspatch, rebooted and the problem persists.  

Example:

# dmesg
MX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,PT,SHA,UMIP,PKU,WAITPKG,PKS,MD_CLEAR,IBT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,TAA_NO,MISC_PKG_CT,ENERGY_FILT,DOITM,SBDR_SSDP_N,FBSDP_NO,PSDP_NO,RRSBA,OVERCLOCK,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu19: 32KB 64b/line 8-way D-cache, 64KB 64b/line 8-way I-cache, 2MB 64b/line 
16-way L2 cache, 30MB 64b/line 12-way L3 cache
cpu19: smt 0, core 35, package 0
cpu20 at mainbus0: apid 72 (application processor)
cpu20: 12th Gen Intel(R) Core(TM) i9-12900TE, 3392.18 MHz, 06-97-02, patch 
0025
Timeout, server 10.1.2.3 not responding.



Re: Would any OpenBSD developer in the NYC metro area like free equipment?

2024-03-09 Thread Ahmed Khanzada
Yes, that would be great. I forgot about that group! Maybe I'll attend
their event next month to see if I can hawk the equipment.

Pat McEvoy  writes:

>> On Feb 24, 2024, at 14:44, Nowarez Market  wrote:
>> 
>> 
>> Apart the tagged speach about the OpenBSD devices offload..
>> What is the matter to live in NYC when in Italy, Bologna is already all 
>> american?
>> Come here, dude.. ;)
>> 
>>> I want to offload a bunch of OpenBSD devices that I have before my baby 
>>> arrives so that I can free up a room for her. :)
>>> 
>>> My wife and I live a carless lifestyle, so I was hoping to find a developer 
>>> in the NYC metro area
>> 
>>> N0\/\/@r€Z
>>> --
>>>/\/\@rk€T
>
> Would you mind if we post this to talk@ NYCBUG?
> Seems like a good place to find OpenBSD focused people. 
>> 



Re: 'xset' not authorized

2024-03-09 Thread Stuart Henderson
On 2024-03-09, ofthecentury  wrote:
> For the droves who have/will have the same question:
> You can disable DPMS by tweaking the Xorg config
> out. First, get the monitor identifier from your
> /var/log/Xorg.0.log. Then, add a dpms.conf file to
> /usr/X11R6/share/X11/xorg.conf.d/ with this:
> Section "Monitor"
> Identifier "LVDS0"  [insert your monitor identifier]
> Option "DPMS" "false"
> EndSection
> Kill xenodm and launch xenodm again.
> Confirm by running 'xset q' that DPMS is disabled.
> Laptop screen will not shut off on you again.

"xset -dpms" and "xset s off" work fine for me..




ldapd(8), SASL/PLAIN authentication and {i,mac}OS

2024-03-09 Thread Manuel Kuklinski
Hi!

I'm running out of search terms and ideas how to solve this: I'm trying
to create an addressbook in LDAP to be able to ditch CardDAV. So far, it
is working, i.e. I can search and access a dummy user via "Directory
Utility.app".

But as soon as I try to use "Contacts.app" and iOS, I'm confronted with
problems:

o Contacts.app doesn't seem to send the entered password, whereas
Directory Utility.app is authenticating properly.

I can provide necessary debug logs via ldapd -dvv, if necessary. I'm
contemplating about filing a bug report via apple.com, since openldap,
provided via base macOS is working fine.

Google yields some results, that I'm not the first to stumble upon
this...

o iOS seems to try to authenticate via SASL/PLAIN, as far as I can
observe via the debug log. Since the default behaviour seems to be to
"authenticate users via simple binds", it fails. I can also provide a
log, if necessary.

Now my questions: are there users out there that have a similiar setup,
especially with {i,mac}OS?

If yes: I'd be happy about config snippets...

If no: how can I achieve SASL/PLAIN authentication with ldapd(8)?

The manpage is not exactly informative about this - or it's just me,
since I'm tired and feeling dizzy from all this "LDAP'ing".

Best wishes.



Re: 'xset' not authorized

2024-03-09 Thread ofthecentury
Maybe the issue is running it in XFCE from an xfce4-terminal.

On Sun, Mar 10, 2024 at 5:22 AM Stuart Henderson
 wrote:
>
> On 2024-03-09, ofthecentury  wrote:
> > For the droves who have/will have the same question:
> > You can disable DPMS by tweaking the Xorg config
> > out. First, get the monitor identifier from your
> > /var/log/Xorg.0.log. Then, add a dpms.conf file to
> > /usr/X11R6/share/X11/xorg.conf.d/ with this:
> > Section "Monitor"
> > Identifier "LVDS0"  [insert your monitor identifier]
> > Option "DPMS" "false"
> > EndSection
> > Kill xenodm and launch xenodm again.
> > Confirm by running 'xset q' that DPMS is disabled.
> > Laptop screen will not shut off on you again.
>
> "xset -dpms" and "xset s off" work fine for me..
>
>



Re: Cannot add gd

2024-03-09 Thread Stuart Henderson
On 2024-03-09, Sebastien Marie  wrote:
> Amarendra Godbole  writes:
>
>> I ran into this error today, while adding package gd on amd64 7.4 release...
>>
>> # pkg_add gd
>> quirks-6.160 signed on 2024-03-06T19:04:54Z
>> Can't install gd-2.3.3 because of libraries
>> |library fontconfig.13.1 not found
>> | not found anywhere
>> |library freetype.30.3 not found
>> | not found anywhere
>> Direct dependencies for gd-2.3.3 resolve to tiff-4.5.1 png-1.6.39
>> libwebp-1.3.1pl0 jpeg-2.1.5.1v0 libiconv-1.17
>> Full dependency tree is tiff-4.5.1 xz-5.4.4 png-1.6.39 libiconv-1.17
>> jpeg-2.1.5.1v0 zstd-1.5.5 giflib-5.2.1 libwebp-1.3.1pl0 lz4-1.9.4
>> Couldn't install gd-2.3.3
>> #
>>
>> This worked a week ago when installing on a similar setup, though I am
>> not sure what has changed. The fontconfig and freetype requirement
>> seems not listed in the subsequent direct and full dependency tree. Am
>> I missing something obvious?
>
> did you installed xbase74 set ?

I bet this is the problem.

See https://www.openbsd.org/faq/faq15.html#PkgInstall:
"Sometimes you may encounter an error like the one in the following
example" ... #1 under "There are several things to check"




No packages found for 7.5 snapshot on arm64

2024-03-09 Thread Dmitry Matveyev
Hi,

I was running an OpenBSD with this description of the iso: OpenBSD
7.4-current 2023-11-03 (arm64). A week ago I started getting an error
trying to install any package:

# pkg_add -Uvi colorls
Update candidates: quirks-7.12 -> quirks-7.12
Update candidates: updatedb-0p0 -> updatedb-0p0
quirks-7.12 signed on 2024-03-05T14:52:30Z
Can't install colorls-7.4 because of libraries
|library c.99.0 not found
| /usr/lib/libc.so.98.0 (system): bad major
Couldn't install colorls-7.4

Here I have an older version whereas the package requires a newer
version.

I've read that it might be due to using -current and that I need to
upgrade my system to the latest snapshot. I have run sysupgrade and now
uname says that I'm on OpenBSD 7.5 GENERIC.MP#128 arm64. And now I can't
install anything at all because pkg_add complains that it can't find a
directory https://ftp.hostserver.de/pub/OpenBSD/7.5/packages/aarch64/. I
have checked several mirrors at https://www.openbsd.org/ftp.html and
they indeed don't have any packages under 7.5.

How do I fix this?



Re: No packages found for 7.5 snapshot on arm64

2024-03-09 Thread ofthecentury
I had a similar problem this week, for amd64.
The 'packages/amd64' folder on the OpenBSD
mirrors for 7.5 snapshot is also empty. So I
just manually set PKG_PATH to 7.4 packages
folder for the time being.

On Sat, Mar 9, 2024 at 2:15 PM Dmitry Matveyev  wrote:
>
> Hi,
>
> I was running an OpenBSD with this description of the iso: OpenBSD
> 7.4-current 2023-11-03 (arm64). A week ago I started getting an error
> trying to install any package:
>
> # pkg_add -Uvi colorls
> Update candidates: quirks-7.12 -> quirks-7.12
> Update candidates: updatedb-0p0 -> updatedb-0p0
> quirks-7.12 signed on 2024-03-05T14:52:30Z
> Can't install colorls-7.4 because of libraries
> |library c.99.0 not found
> | /usr/lib/libc.so.98.0 (system): bad major
> Couldn't install colorls-7.4
>
> Here I have an older version whereas the package requires a newer
> version.
>
> I've read that it might be due to using -current and that I need to
> upgrade my system to the latest snapshot. I have run sysupgrade and now
> uname says that I'm on OpenBSD 7.5 GENERIC.MP#128 arm64. And now I can't
> install anything at all because pkg_add complains that it can't find a
> directory https://ftp.hostserver.de/pub/OpenBSD/7.5/packages/aarch64/. I
> have checked several mirrors at https://www.openbsd.org/ftp.html and
> they indeed don't have any packages under 7.5.
>
> How do I fix this?
>



Re: No packages found for 7.5 snapshot on arm64

2024-03-09 Thread Alexis

Dmitry Matveyev  writes:

I was running an OpenBSD with this description of the iso: 
OpenBSD
7.4-current 2023-11-03 (arm64). A week ago I started getting an 
error

trying to install any package


Refer to "OpenBSD -current drops -beta tag, goes to 7.5", 
https://www.undeadly.org/cgi?action=article;sid=20240301064504:


For upgrades to work correctly, you will need to run 
sysupgrade(8) with the -s flag and upgrade your installed 
packages by running pkg_add(1) with -D snap in addition to your 
usual options



Alexis.



Re: No packages found for 7.5 snapshot on arm64

2024-03-09 Thread Peter Hessler
Yes, we are at a stage of development where snapshots look similar to a
-release.  (Note, these snapshots are not actually the release)

For now, you want to run pkg_add with -Dsnap, so "pkg_add -Dsnap -u" or
"pkg_add -Dsnap colorls".



On 2024 Mar 09 (Sat) at 12:11:51 +0300 (+0300), Dmitry Matveyev wrote:
:Hi,
:
:I was running an OpenBSD with this description of the iso: OpenBSD
:7.4-current 2023-11-03 (arm64). A week ago I started getting an error
:trying to install any package:
:
:# pkg_add -Uvi colorls
:Update candidates: quirks-7.12 -> quirks-7.12
:Update candidates: updatedb-0p0 -> updatedb-0p0
:quirks-7.12 signed on 2024-03-05T14:52:30Z
:Can't install colorls-7.4 because of libraries
:|library c.99.0 not found
:| /usr/lib/libc.so.98.0 (system): bad major
:Couldn't install colorls-7.4
:
:Here I have an older version whereas the package requires a newer
:version.
:
:I've read that it might be due to using -current and that I need to
:upgrade my system to the latest snapshot. I have run sysupgrade and now
:uname says that I'm on OpenBSD 7.5 GENERIC.MP#128 arm64. And now I can't
:install anything at all because pkg_add complains that it can't find a
:directory https://ftp.hostserver.de/pub/OpenBSD/7.5/packages/aarch64/. I
:have checked several mirrors at https://www.openbsd.org/ftp.html and
:they indeed don't have any packages under 7.5.
:
:How do I fix this?
:

-- 
"Contrary to popular belief, penguins are not the salvation of modern
technology.  Neither do they throw parties for the urban proletariat."



Re: No packages found for 7.5 snapshot on arm64

2024-03-09 Thread Dmitry Matveyev
Peter Hessler  writes:

> Yes, we are at a stage of development where snapshots look similar to a
> -release.  (Note, these snapshots are not actually the release)
>
> For now, you want to run pkg_add with -Dsnap, so "pkg_add -Dsnap -u" or
> "pkg_add -Dsnap colorls".

That worked, thank you!

And thank you Alexis for the link to the OpenBSD journal, I will watch
it more closely!



Re: No packages found for 7.5 snapshot on arm64

2024-03-09 Thread Jason Tubnor
Try -D snap

Cheers

Sent from my iPhone

> On 9 Mar 2024, at 6:31 pm, ofthecentury  wrote:
> 
> I had a similar problem this week, for amd64.
> The 'packages/amd64' folder on the OpenBSD
> mirrors for 7.5 snapshot is also empty. So I
> just manually set PKG_PATH to 7.4 packages
> folder for the time being.
> 
>> On Sat, Mar 9, 2024 at 2:15 PM Dmitry Matveyev  wrote:
>> 
>> Hi,
>> 
>> I was running an OpenBSD with this description of the iso: OpenBSD
>> 7.4-current 2023-11-03 (arm64). A week ago I started getting an error
>> trying to install any package:
>> 
>> # pkg_add -Uvi colorls
>> Update candidates: quirks-7.12 -> quirks-7.12
>> Update candidates: updatedb-0p0 -> updatedb-0p0
>> quirks-7.12 signed on 2024-03-05T14:52:30Z
>> Can't install colorls-7.4 because of libraries
>> |library c.99.0 not found
>> | /usr/lib/libc.so.98.0 (system): bad major
>> Couldn't install colorls-7.4
>> 
>> Here I have an older version whereas the package requires a newer
>> version.
>> 
>> I've read that it might be due to using -current and that I need to
>> upgrade my system to the latest snapshot. I have run sysupgrade and now
>> uname says that I'm on OpenBSD 7.5 GENERIC.MP#128 arm64. And now I can't
>> install anything at all because pkg_add complains that it can't find a
>> directory https://ftp.hostserver.de/pub/OpenBSD/7.5/packages/aarch64/. I
>> have checked several mirrors at https://www.openbsd.org/ftp.html and
>> they indeed don't have any packages under 7.5.
>> 
>> How do I fix this?
>> 
>