#1013260 coreutils: /bin/chown very slow in conjunction with storebackup

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
Date:
2022-06-24 11:09:03 UTC
Severity:
important
#1013260#5
Date:
2022-06-20 09:08:55 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?
     Upgrading a month ago
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     apt -u dist-upgrade
   * What was the outcome of this action?
     storebackup fails to make a new backup, because each /bin/chown call takes
serveral seconds or seems to hang and take minutes to complete
   * What outcome did you expect instead?
     Working /bin/chown

in the current Debian/testing, storebackup fails to make a new backup, because
storebackup stalls during the backup process. From what I can see though ps
axuwww, storebackup stalls by calling /bin/chown, where every chown process
call takes seconds to minutes to complete.

Thank you in advance for your attention.

Sincerely,

Adrian Kiess

#1013260#10
Date:
2022-06-21 13:45:06 UTC
From:
To:
Can you duplicate this outside of storebackup?
#1013260#15
Date:
2022-06-23 01:22:26 UTC
From:
To:
Dear Michael,

yes I can reproduce this bug outside of storebackup, with the following
command — which storebackup uses:

# chown -h 0:0 /tmp/test

Sincerely,

Adrian Kiess

On Tue, 21 Jun 2022 09:45:06 -0400 Michael Stone <mstone@debian.org> wrote:

#1013260#20
Date:
2022-06-24 10:59:19 UTC
From:
To:
Hello Michael,

after a reboot and looking again at the strace output I disabled the
nmbd, smbd and winbind service which made the bug dissapear.

In summary, I installed nscd which was missing on my system and
disabled the three Samba services above, which I don't currently.

Everything now works fine again!

This also fixed my slow GDM3 login problem.

Thank you a lot!

Sincerely,

Adrian Kieß

On Tue, 21 Jun 2022 09:45:06 -0400 Michael Stone <mstone@debian.org> wrote: