phillxnet
(Philip Guyton)
February 12, 2024, 4:00pm
16
5.0.8-0
Released in testing channel updates on 12th Feburary 2024
3rd Stable Release Candidate (RC3)
Thanks to @Mark93 , @Warbucks , @DrHolzer , @Tex1954 , @McFaul for some excellent reporting, diagnostic, & confirmation efforts here on the forum with the venerable @Flox & @Hooverdan . We have here a specific fix for an SMB export regression introduced in 5.0.6-0 and persisted in 5.0.7-0 testing channel releases. The fix rolls in a more centralised approach to managing our environmental variables under Poetry; the root cause of the issue indicated: lack of universal access to a required environmental variable associated with our new-in-5.0.6-0 dedicated secrets management.
We also have an unburdening of our prior excessive use of rpm’s %posttrans scriptlet. We had rather over-stretched its intended use I think. Hence the adoption of a new rockstor-build.service to more easily surface issues associated with our build.sh script: in-turn associated with a number of update failures experienced in this and the last testing phases. Future such issues should now be easier to identify and resolve on testing instances. There has also been an improvement in our debug content of the now well appreciated poetry-install.txt file!
For all those involved in the current SMB export investigations: please also note the following ongoing (open) issue:
opened 03:49PM - 08 Feb 24 UTC
During the development of "(t) Samba shares not accessible - 5.0.6-0 & 5.0.7-0 #… 2794" #2797 a similarly located failure has been observed. A reproducer system has yet to be reported based on a rockstor install. Post the above fix we hope to investigate if this same issue exists in freshly created installers as we are now in release candidate testing phase.
## Client
CLI openSUSE 15.5: hostname: philip-mg
```
smbclient --version
Version 4.17.12-git.455.b299ac1e60150500.3.20.1SUSE-oS15.0-x86_64
```
```
smbclient //192.168.2.160/test_share01 -U radmin --password=pass
tree connect failed: NT_STATUS_ACCESS_DENIED
```
This same client successfully connects to rockstor installer derived instances (15.3 & 15.4)
## Server
JeOS/MinimalVM derived rockstor development instances openSUSE 15.5 & Tumbleweed
### 15.5
```
smbd --version
Version 4.17.12-git.455.b299ac1e60150500.3.20.1SUSE-oS15.0-x86_64
```
> tail -f /var/log/samba/log.philip-mg
```
[2024/02/08 15:39:12.160224, 3] ../../lib/util/access.c:374(allow_access)
Allowed connection from 192.168.2.172 (192.168.2.172)
[2024/02/08 15:39:12.160366, 3] ../../source3/smbd/smb2_service.c:611(make_connection_snum)
make_connection_snum: Connect path is '/tmp' for service [IPC$]
[2024/02/08 15:39:12.160459, 3] ../../source3/smbd/vfs.c:115(vfs_init_default)
Initialising default vfs hooks
[2024/02/08 15:39:12.160493, 3] ../../source3/smbd/vfs.c:141(vfs_init_custom)
Initialising custom vfs hooks from [/[Default VFS]/]
[2024/02/08 15:39:12.160735, 3] ../../source3/smbd/smb2_service.c:840(make_connection_snum)
philip-mg (ipv4:192.168.2.172:50344) signed connect to service IPC$ initially as user radmin (uid=1001, gid=100) (pid 30576)
[2024/02/08 15:39:12.161231, 3] ../../source3/smbd/msdfs.c:1144(get_referred_path)
get_referred_path: |test_share01| in dfs path \192.168.2.199\test_share01 is not a dfs root.
[2024/02/08 15:39:12.161284, 3] ../../source3/smbd/smb2_server.c:3963(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_NOT_FOUND] || at ../../source3/smbd/smb2_ioctl.c:353
[2024/02/08 15:39:12.161867, 3] ../../source3/smbd/smb2_service.c:937(close_cnum)
philip-mg (ipv4:192.168.2.172:50344) closed connection to service IPC$
[2024/02/08 15:39:12.162461, 3] ../../lib/util/access.c:374(allow_access)
Allowed connection from 192.168.2.172 (192.168.2.172)
[2024/02/08 15:39:12.162551, 3] ../../source3/smbd/smb2_service.c:611(make_connection_snum)
make_connection_snum: Connect path is '/mnt2/test_share01' for service [test_share01]
[2024/02/08 15:39:12.162621, 3] ../../source3/smbd/vfs.c:115(vfs_init_default)
Initialising default vfs hooks
[2024/02/08 15:39:12.162663, 3] ../../source3/smbd/vfs.c:141(vfs_init_custom)
Initialising custom vfs hooks from [/[Default VFS]/]
[2024/02/08 15:39:12.179161, 1] ../../source3/smbd/smb2_service.c:706(make_connection_snum)
root preexec gave 83 - failing connection
[2024/02/08 15:39:12.179389, 3] ../../source3/smbd/smb2_server.c:3963(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_ACCESS_DENIED] || at ../../source3/smbd/smb2_tcon.c:151
[2024/02/08 15:39:12.180075, 3] ../../source3/smbd/smb2_server.c:3963(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_NETWORK_NAME_DELETED] || at ../../source3/smbd/smb2_server.c:3253
[2024/02/08 15:39:12.181053, 3] ../../source3/smbd/server_exit.c:230(exit_server_common)
Server exit (NT_STATUS_END_OF_FILE)
```
> [2024/02/08 15:39:12.179161, 1] ../../source3/smbd/smb2_service.c:706(make_connection_snum)
root preexec gave 83 - failing connection
### Tumblweed
```
smbd --version
Version 4.19.4-git.339.acf1ccaa020SUSE-oS16.9-x86_64
```
> tail -f /var/log/samba/log.philip-mg
```
[2024/02/08 15:27:24.735344, 3] ../../lib/util/access.c:372(allow_access)
Allowed connection from 192.168.2.172 (192.168.2.172)
[2024/02/08 15:27:24.735475, 3] ../../source3/smbd/smb2_service.c:584(make_connection_snum)
make_connection_snum: Connect path is '/tmp' for service [IPC$]
[2024/02/08 15:27:24.735539, 3] ../../source3/smbd/vfs.c:115(vfs_init_default)
Initialising default vfs hooks
[2024/02/08 15:27:24.735574, 3] ../../source3/smbd/vfs.c:141(vfs_init_custom)
Initialising custom vfs hooks from [/[Default VFS]/]
[2024/02/08 15:27:24.736394, 3] ../../source3/smbd/msdfs.c:984(get_referred_path)
get_referred_path: |test_share01| in dfs path \192.168.2.160\test_share01 is not a dfs root.
[2024/02/08 15:27:24.736444, 3] ../../source3/smbd/smb2_server.c:4031(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_NOT_FOUND] || at ../../source3/smbd/smb2_ioctl.c:353
[2024/02/08 15:27:24.737667, 3] ../../lib/util/access.c:372(allow_access)
Allowed connection from 192.168.2.172 (192.168.2.172)
[2024/02/08 15:27:24.737756, 3] ../../source3/smbd/smb2_service.c:584(make_connection_snum)
make_connection_snum: Connect path is '/mnt2/test_share01' for service [test_share01]
[2024/02/08 15:27:24.737800, 3] ../../source3/smbd/vfs.c:115(vfs_init_default)
Initialising default vfs hooks
[2024/02/08 15:27:24.737819, 3] ../../source3/smbd/vfs.c:141(vfs_init_custom)
Initialising custom vfs hooks from [/[Default VFS]/]
[2024/02/08 15:27:24.742239, 1] ../../source3/smbd/smb2_service.c:679(make_connection_snum)
make_connection_snum: root preexec gave 83 - failing connection
[2024/02/08 15:27:24.742376, 3] ../../source3/smbd/smb2_server.c:4031(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_ACCESS_DENIED] || at ../../source3/smbd/smb2_tcon.c:151
[2024/02/08 15:27:24.742994, 3] ../../source3/smbd/smb2_server.c:4031(smbd_smb2_request_error_ex)
smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_NETWORK_NAME_DELETED] || at ../../source3/smbd/smb2_server.c:3322
[2024/02/08 15:27:24.743925, 3] ../../source3/smbd/server_exit.c:229(exit_server_common)
Server exit (NT_STATUS_END_OF_FILE)
```
> [2024/02/08 15:27:24.742239, 1] ../../source3/smbd/smb2_service.c:679(make_connection_snum)
make_connection_snum: root preexec gave 83 - failing connection
What’s Changed
Test away and report rapidly as we work against the forces of kipple.
3 Likes