Re: Bug#993821: After upgrading libc, some services are unable to restart (including systemd-resolved)

2021-09-06 Thread Michael Hudson-Doyle
On Tue, 7 Sept 2021 at 10:21, Michael Biebl  wrote:

> Am 06.09.21 um 23:45 schrieb Vincent Bernat:
>  > Package: systemd
>  > Version: 247.9-1
>  > Severity: normal
>  >
> > Hey!
> >
> > After upgrading to libc6 2.32-1, some services are unable to restart.
> > In my case, systemd-resolved, systemd-timesyncd and colord. Using
> > "systemctl daemon-reexec" fixes the issue. Unsure if there is really
> > something to be fixed but as I didn't find anything about that, a bug
> > report may help others. I suppose the problem is related to NSS.
> >
> > Sep 06 23:06:43 chocobo systemd[1]: Starting Network Time
> Synchronization...
> > Sep 06 23:06:43 chocobo systemd[236983]: systemd-timesyncd.service:
> Failed to determine user credentials: No such process
> > Sep 06 23:06:43 chocobo systemd[236983]: systemd-timesyncd.service:
> Failed at step USER spawning /lib/systemd/systemd-timesyncd: No such process
> >
> >
>
>
> @libc maintainers: any ideas what could be causing this? If this is
> triggered by a libc6 update, should this be reassigned to glibc?
>

We went through this in Ubuntu recently and decided that restarting systemd
in glibc's postinst was the safest option:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1942276

What's happening is that systemd is running with the old glibc, forks and
then does NSS things that cause the new glibc's NSS modules to load and
they don't necessarily work, leading to failures in any unit that specifies
User=. At least for Ubuntu's builds the NSS modules seem to be ABI
compatible between 2.32 and 2.33 (I didn't try 2.31 vs 2.32) but they are
definitely not between 2.33 and 2.34.

Cheers,
mwh


[Git][glibc-team/glibc][glibc-2.33] debian/testsuite-xfail-debian.mk: Update hurd tests

2021-09-06 Thread Samuel Thibault (@sthibault)


Samuel Thibault pushed to branch glibc-2.33 at GNU Libc Maintainers / glibc


Commits:
7fbd0bee by Samuel Thibault at 2021-09-07T00:39:01+02:00
debian/testsuite-xfail-debian.mk: Update hurd tests

- - - - -


1 changed file:

- debian/testsuite-xfail-debian.mk


View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/7fbd0beef2a6212f6b332962e47b4cc1d5cfeeb6

-- 
View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/7fbd0beef2a6212f6b332962e47b4cc1d5cfeeb6
You're receiving this email because of your account on salsa.debian.org.




Re: Bug#993821: After upgrading libc, some services are unable to restart (including systemd-resolved)

2021-09-06 Thread Michael Biebl

Am 06.09.21 um 23:45 schrieb Vincent Bernat:
> Package: systemd
> Version: 247.9-1
> Severity: normal
>

Hey!

After upgrading to libc6 2.32-1, some services are unable to restart.
In my case, systemd-resolved, systemd-timesyncd and colord. Using
"systemctl daemon-reexec" fixes the issue. Unsure if there is really
something to be fixed but as I didn't find anything about that, a bug
report may help others. I suppose the problem is related to NSS.

Sep 06 23:06:43 chocobo systemd[1]: Starting Network Time Synchronization...
Sep 06 23:06:43 chocobo systemd[236983]: systemd-timesyncd.service: Failed to 
determine user credentials: No such process
Sep 06 23:06:43 chocobo systemd[236983]: systemd-timesyncd.service: Failed at 
step USER spawning /lib/systemd/systemd-timesyncd: No such process





@libc maintainers: any ideas what could be causing this? If this is 
triggered by a libc6 update, should this be reassigned to glibc?




OpenPGP_signature
Description: OpenPGP digital signature


[Git][glibc-team/glibc][sid] debian/testsuite-xfail-debian.mk: Update hurd tests.

2021-09-06 Thread Samuel Thibault (@sthibault)


Samuel Thibault pushed to branch sid at GNU Libc Maintainers / glibc


Commits:
7761c4a4 by Samuel Thibault at 2021-09-06T10:40:12+02:00
debian/testsuite-xfail-debian.mk: Update hurd tests.

- - - - -


2 changed files:

- debian/changelog
- debian/testsuite-xfail-debian.mk


View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/7761c4a485573672e821840c2f7e7f2beab29ade

-- 
View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/7761c4a485573672e821840c2f7e7f2beab29ade
You're receiving this email because of your account on salsa.debian.org.




[Git][glibc-team/glibc][glibc-2.33] debian/testsuite-xfail-debian.mk: Update hurd tests

2021-09-06 Thread Samuel Thibault (@sthibault)


Samuel Thibault pushed to branch glibc-2.33 at GNU Libc Maintainers / glibc


Commits:
ddc279e8 by Samuel Thibault at 2021-09-06T09:11:11+02:00
debian/testsuite-xfail-debian.mk: Update hurd tests

- - - - -


2 changed files:

- debian/changelog
- debian/testsuite-xfail-debian.mk


View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/ddc279e8405ba5e66c227c59e292e3f18c3e4214

-- 
View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/ddc279e8405ba5e66c227c59e292e3f18c3e4214
You're receiving this email because of your account on salsa.debian.org.




[Git][glibc-team/glibc][glibc-2.32] debian/testsuite-xfail-debian.mk: Update hurd tests.

2021-09-06 Thread Samuel Thibault (@sthibault)


Samuel Thibault pushed to branch glibc-2.32 at GNU Libc Maintainers / glibc


Commits:
377b48b3 by Samuel Thibault at 2021-09-06T08:56:51+02:00
debian/testsuite-xfail-debian.mk: Update hurd tests.

- - - - -


2 changed files:

- debian/changelog
- debian/testsuite-xfail-debian.mk


View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/377b48b3e429975691152acd10e1984e29b413c1

-- 
View it on GitLab: 
https://salsa.debian.org/glibc-team/glibc/-/commit/377b48b3e429975691152acd10e1984e29b413c1
You're receiving this email because of your account on salsa.debian.org.