mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
fc25fe80b4
UID_WRAPPER_ROOT=1 is not working properly when tests run in bash shell instead of dash. After some debugging the reason may be dash spawns a subshell to run commands, but bash calls execve instead. Traces attached as reference: /bin/sh -> dash: [2(2)/2 at 17s, 1 errors] samba.blackbox.pdbtest(nt4_dc)(nt4_dc:local) UWRAP_DEBUG(3145) - uwrap_init: Initialize uid_wrapper UWRAP_DEBUG(3145) - uwrap_init_env: uwrap_init_env UWRAP_DEBUG(3145) - uwrap_init: Enabled uid_wrapper as root (real uid=1000) UWRAP_DEBUG(3145) - uwrap_init: Successfully initialized uid_wrapper UWRAP_DEBUG(3144) - uwrap_init: Initialize uid_wrapper UWRAP_DEBUG(3144) - uwrap_init_env: uwrap_init_env UWRAP_DEBUG(3144) - uwrap_init: Enabled uid_wrapper as root (real uid=1000) UWRAP_DEBUG(3144) - uwrap_init: Successfully initialized uid_wrapper /bin/sh -> bash: [2(2)/2 at 17s, 1 errors] samba.blackbox.pdbtest(nt4_dc)(nt4_dc:local) UWRAP_DEBUG(3352) - uwrap_export_ids: uwrap_export_ids UWRAP_DEBUG(3354) - uwrap_export_ids: uwrap_export_ids UWRAP_DEBUG(3354) - uwrap_init: Initialize uid_wrapper UWRAP_DEBUG(3354) - uwrap_init_env: uwrap_init_env UWRAP_DEBUG(3354) - uwrap_init_env: Initialize ruid with 1000 UWRAP_DEBUG(3354) - uwrap_init_env: Initalize euid with 1000 UWRAP_DEBUG(3354) - uwrap_init_env: Initalize suid with 1000 UWRAP_DEBUG(3354) - uwrap_init_env: Initialize ruid with 1000 UWRAP_DEBUG(3354) - uwrap_init_env: Initalize egid with 1000 UWRAP_DEBUG(3354) - uwrap_init_env: Initalize sgid with 1000 UWRAP_DEBUG(3354) - uwrap_init_env: Initalize groups with 4,24,27,30,46,108,1000 UWRAP_DEBUG(3354) - uwrap_init: Enabled uid_wrapper as user (real uid=1000) UWRAP_DEBUG(3354) - uwrap_init: Successfully initialized uid_wrapper UWRAP_DEBUG(3353) - uwrap_export_ids: uwrap_export_ids UWRAP_DEBUG(3353) - uwrap_init: Initialize uid_wrapper UWRAP_DEBUG(3353) - uwrap_init_env: uwrap_init_env UWRAP_DEBUG(3353) - uwrap_init_env: Initialize ruid with 1000 UWRAP_DEBUG(3353) - uwrap_init_env: Initalize euid with 1000 UWRAP_DEBUG(3353) - uwrap_init_env: Initalize suid with 1000 UWRAP_DEBUG(3353) - uwrap_init_env: Initialize ruid with 1000 UWRAP_DEBUG(3353) - uwrap_init_env: Initalize egid with 1000 UWRAP_DEBUG(3353) - uwrap_init_env: Initalize sgid with 1000 UWRAP_DEBUG(3353) - uwrap_init_env: Initalize groups with 4,24,27,30,46,108,1000 UWRAP_DEBUG(3353) - uwrap_init: Enabled uid_wrapper as user (real uid=1000) UWRAP_DEBUG(3353) - uwrap_init: Successfully initialized uid_wrapper Signed-off-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> |
||
---|---|---|
.. | ||
wintest | ||
bogus.sh | ||
common_test_fns.inc | ||
common-links.sh | ||
dbcheck-links.sh | ||
dbcheck-oldrelease.sh | ||
dbcheck.sh | ||
demote-saveddb.sh | ||
dfree.sh | ||
dom_parse.sh | ||
functionalprep.sh | ||
join_ldapcmp.sh | ||
ldapcmp_restoredc.sh | ||
nsstest.sh | ||
renamedc.sh | ||
runtime-links.sh | ||
schemaupgrade.sh | ||
subunit.sh | ||
test_chgdcpass.sh | ||
test_client_etypes.sh | ||
test_export_keytab_heimdal.sh | ||
test_export_keytab_mit.sh | ||
test_kinit_heimdal.sh | ||
test_kinit_mit.sh | ||
test_kinit_trusts_heimdal.sh | ||
test_kinit_trusts_mit.sh | ||
test_kpasswd_heimdal.sh | ||
test_kpasswd_mit.sh | ||
test_ktpass.sh | ||
test_ldb_simple.sh | ||
test_ldb.sh | ||
test_net_ads_dns.sh | ||
test_net_ads.sh | ||
test_net_rpc_user.sh | ||
test_password_settings.sh | ||
test_pdbtest.sh | ||
test_pkinit_heimdal.sh | ||
test_pkinit_pac_heimdal.sh | ||
test_primary_group.sh | ||
test_samba_upgradedns.sh | ||
test_samba-tool_ntacl.sh | ||
test_trust_ntlm.sh | ||
test_trust_token.sh | ||
test_trust_user_account.sh | ||
test_trust_utils.sh | ||
test_wintest.sh | ||
tfork.sh | ||
tombstones-expunge.sh | ||
upgradeprovision-oldrelease.sh |