On 2026/11/22 16:11, Ian McWilliam wrote:
> Hi,
> 
> 8.0-stable behaves the same as 8.0-current.
> 
> Works without /var/run/samba 

"Works without /var/run/samba" doesn't mean "does not try to use
/var/run/samba if it exists"

>     So Samba’s own smbclient doesn’t complain about a missing /var/run/samba

Samba's own smbclient doesn't use unveil

>                         On Mon, Nov 09, 2026 at 05:47:57PM +0100, Benjamin 
> Stürz wrote:
> 
>                             thanks for the port, but the unveil() rules are 
> too strict.
>                             It needs at least /var/run/samba to work 
> correctly.

Running under ktrace and showing kdump around the attempts to access
/var/run/samba might be useful...



>                             After writing an LD_PRELOAD shim that bypasses 
> the unveil() calls,
>                             mounting works. Otherwise susmb fails on OpenBSD 
> 8.0 with:
> 
>                             directory_create_or_exist: mkdir failed on 
> directory /var/run/
>                             samba: No such
>                             file or directory
>                             directory_create_or_exist: mkdir failed on 
> directory /var/run/
>                             samba: No such
>                             file or directory
>                             Connection failed: Invalid argument
> 
> 
>                             Kind Regards,
>                             Benjamin Stürz
> 
>                             On 2/21/26 5:28 PM, Pascal Stumpf wrote:
> 
>                                 susmb lets you mount SMB/CIFS shares via 
> FUSE, in the vein of
>                                 the
>                                 Map Network Drive functionality in Windows.
> 
> 
>                                 This is a fork of usmb, most notably adding 
> privdrop and unveil
>                                 (2), and
>                                 getting rid of the XML config file.  Patches 
> from sysutils/usmb
>                                 have
>                                 also been incorporated.
> 
> 
> 
> 
>                         -- 
>                         Kind regards,
>                         Hiltjo
> 
> 
> 
> 

Reply via email to