Bug 55659 - AD takeover is throwing the following: gencache_init: Failed to create directory: /root/.cache/samba - Permission denied
AD takeover is throwing the following: gencache_init: Failed to create direc...
Status: NEW
Product: UCS
Classification: Unclassified
Component: AD Takeover
UCS 5.0
amd64 All
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-02-06 05:24 CET by Telirand
Modified: 2023-02-06 05:24 CET (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telirand 2023-02-06 05:24:19 CET
On a recent takeover test, I happened to be looking at  the takeover logs.

and saw teh following:

2023-02-06 11:59:36,250 gencache_init: Failed to create directory: /root/.cache/samba - Permission denied

this was a bug reported recently on samba, that was possibly fixed feb 2022

is Univention perhaps doing something in userspace related to "administrator" vrs "root", that causes this.

and does it even matter?

2023-02-06 11:59:33,225 06.02.23 11:59:33.225  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-551
2023-02-06 11:59:33,227 06.02.23 11:59:33.227  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-552
2023-02-06 11:59:33,233 06.02.23 11:59:33.232  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-554
2023-02-06 11:59:33,234 06.02.23 11:59:33.234  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-555
2023-02-06 11:59:33,236 06.02.23 11:59:33.236  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-556
2023-02-06 11:59:33,240 06.02.23 11:59:33.239  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-557
2023-02-06 11:59:33,243 06.02.23 11:59:33.242  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-558
2023-02-06 11:59:33,245 06.02.23 11:59:33.245  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-559
2023-02-06 11:59:33,250 06.02.23 11:59:33.250  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-560
2023-02-06 11:59:33,260 06.02.23 11:59:33.255  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-561
2023-02-06 11:59:33,265 06.02.23 11:59:33.265  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-562
2023-02-06 11:59:33,269 06.02.23 11:59:33.269  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-568
2023-02-06 11:59:33,271 06.02.23 11:59:33.271  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-569
2023-02-06 11:59:33,273 06.02.23 11:59:33.273  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-573
2023-02-06 11:59:33,277 06.02.23 11:59:33.277  LISTENER    ( PROCESS ) : samba4-idmap: added entry for S-1-5-32-574
2023-02-06 11:59:33,279 06.02.23 11:59:33.278  LISTENER    ( PROCESS ) : samba4-idmap: modifying entry for S-1-5-21-1054434277-4207674981-198073344-1101
2023-02-06 11:59:33,282 06.02.23 11:59:33.282  LISTENER    ( PROCESS ) : samba4-idmap: modifying entry for S-1-5-21-1054434277-4207674981-198073344-1102
2023-02-06 11:59:36,250 gencache_init: Failed to create directory: /root/.cache/samba - Permission denied
2023-02-06 11:59:36,356 Calling: /etc/init.d/nscd start
2023-02-06 11:59:36,523 Starting nscd (via systemctl): nscd.service.
2023-02-06 11:59:36,523 Calling: univention-config-registry set univention/ad/takeover/ad/server/ip=172.18.0.238
2023-02-06 11:59:37,543 Create univention/ad/takeover/ad/server/ip
2023-02-06 11:59:39,410 Calling: univention-config-registry set nameserver1=172.18.0.200
2023-02-06 11:59:39,782 Setting nameserver1
2023-02-06 11:59:39,782 File: /etc/resolv.conf