[Bug 1955851] Re: [s390x] DEP8 authenticated smb test failure
Launchpad Bug Tracker
1955851 at bugs.launchpad.net
Fri Jan 21 16:04:39 UTC 2022
This bug was fixed in the package autofs - 5.1.8-1ubuntu1
---------------
autofs (5.1.8-1ubuntu1) jammy; urgency=medium
* Fix authenticated cifs mount failure caught by DEP8 (LP: #1955851):
- d/t/smb-mount: fix setting the password of the smb test user
- d/p/fix-loop-under-run-in-cache_get_offset_parent.patch: fix crash
on s390x
-- Andreas Hasenack <andreas at canonical.com> Thu, 20 Jan 2022 15:16:09
-0300
** Changed in: autofs (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1955851
Title:
[s390x] DEP8 authenticated smb test failure
Status in autofs package in Ubuntu:
Fix Released
Status in samba package in Ubuntu:
In Progress
Bug description:
The DEP8 authenticated cifs test is currently failing. The reason is
an incorrect (but that seemed to work previously) smb user creation:
echo "${password}\n${password}" | smbpasswd -s -a ${username}
This is missing an "-e" at least, so that \n is correctly interpreted:
echo -e "${password}\n${password}" | smbpasswd -s -a ${username}
I'm at a loss to explain why only s390x was/is affected. In fact, I
reproduced the test failure in a plain amd64 VM.
I also don't understand why in the failed s390x logs the smb user was
created, apparently:
Setting samba password for the smbtest2765 user
+ echo Setting samba password for the smbtest2765 user
+ smbpasswd -s -a smbtest2765
+ echo 2765\n2765
Added user smbtest2765.
When I reproduced it in both a s390x vm, and amd64, I got:
+ echo 'Setting samba password for the smbtest24990 user'
Setting samba password for the smbtest24990 user
+ smbpasswd -s -a smbtest24990
+ echo '24990\n24990'
Unable to get new password.
Anyway, the bug seems obvious, and also affects the samba DEP8 tests
(which, also for unknown reasons, haven't failed (yet?)).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1955851/+subscriptions
More information about the foundations-bugs
mailing list