DEP8 failure with samba 4.15.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
adsys (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Tests are failing with the samba version in jammy. We want people using focal be able to upgrade to newer samba and still be compatible with adsys.
[Test Plan]
1. Ensure that DEP8 tests are passing once uploaded to proposed and ready to be migrated
[Where problems could occur]
The functionalities failing are only on tests running (DEP8 or tests during package builds), but we want to be able to run our tests with newer versions of samba on focal too without regressing existing testsuite.
--------------
The DEP8 tests of adsys started to fail[1] with my samba 4.15.5 upload.
Some hints:
<didrocks> ahasenack: it seems we can’t start our smbd local daemon to simulate Active Directory smb server
<didrocks> ahasenack: yeah, I’m puzzled because on smbd start failure, we do print stderr (not stdout though): https:/
<didrocks> https:/
<didrocks> you can see here how we start it: https:/
<didrocks> and the config template is at https:/
<ahasenack> 2022/02/24 03:13:59 Setup: smbd hasn’t started successfully
<ahasenack> that's here: https:/
<ahasenack> you wait for the port to be open?
<ahasenack> which port is that, 445/tcp?
<didrocks> we wait on the port to be opened, and this one is passed as a parameter, see the template. For the argument we pass in ad tests, once sec, looking
<didrocks> 1446
<didrocks> https:/
<didrocks> you just need to run go test . in internal/ad/
<didrocks> the failure is as the pre-test setup
tags: | added: update-excuse update-excuses |
Changed in adsys (Ubuntu): | |
status: | Triaged → In Progress |
description: | updated |
I capture calls to smbd: smbd_3503406889 /smbd.conf smbd_3503406889 /smbd.conf
PCOMM PID PPID RET ARGS
smbd 9605 9598 0 /usr/sbin/smbd -FS -s /tmp/adsys_
smbd 9699 9460 0 /usr/sbin/smbd -FS -s /tmp/adsys_
Ran them by hand: smbd_3503406889 /smbd.conf
# /usr/sbin/smbd -FS -s /tmp/adsys_
Invalid option -FS: unknown option
-F still exists, but not -S apparently. The manpage confirms -S is gone. It is mentioned in the context of -i, but -S itself is no longer there.