[arch-general] Problems with shadow service
Peter Nabbefeld
peter.nabbefeld at gmx.de
Thu Dec 13 09:19:21 UTC 2018
Am 13.12.18 um 07:56 schrieb Doug Newgard via arch-general:
> On Thu, 13 Dec 2018 07:33:49 +0100
> Andy Pieters <arch-general at andypieters.me.uk> wrote:
>
>> On Wed, Dec 12, 2018 at 10:28 PM Peter Nabbefeld <peter.nabbefeld at gmx.de> wrote:
>>>
>>> Hello,
>>>
>>> because of a performance problem I've checked services and noticed this
>>> line:
>>> ● shadow.service
>>> loaded failed failed Verify integrity of password
>>> and group files
>>>
>>>
>>> So I checked this service and got this output:
>>>
>>> $ systemctl status shadow
>>> ● shadow.service - Verify integrity of password and group files
>>> Loaded: loaded (/usr/lib/systemd/system/shadow.service; static;
>>> vendor preset: disabled)
>>> Active: failed (Result: exit-code) since Wed 2018-12-12 06:59:27
>>> CET; 14h ago
>>> Process: 561 ExecStart=/bin/sh -c /usr/bin/pwck -r || r=1;
>>> /usr/bin/grpck -r && exit $r (code=exited, status=1/FAILURE)
>>> Main PID: 561 (code=exited, status=1/FAILURE)
>>>
>>> Dez 12 06:59:24 tuchola systemd[1]: Started Verify integrity of password
>>> and group files.
>>> Dez 12 06:59:26 tuchola sh[561]: Benutzer »ceph«: Verzeichnis
>>> »/run/ceph« existiert nicht.
>>> Dez 12 06:59:26 tuchola sh[561]: pwck: Keine Änderungen
>>> Dez 12 06:59:27 tuchola systemd[1]: shadow.service: Main process exited,
>>> code=exited, status=1/FAILURE
>>> Dez 12 06:59:27 tuchola systemd[1]: shadow.service: Failed with result
>>> 'exit-code'.
>>>
>>>
>>> As system seems to run without problems (other than performance), I've
>>> got two questions:
>>>
>>> 1. Do I need the shadow service? Why?
>>>
>>> 2. Why does it fail? User "ceph" is defined, but /run/ceph does not
>>> exist as its home directory - why? Seems there's a problem in the
>>> installation of ceph-libs or any or its dependants (like libvirt).
>>> Probably the user is created only if whole ceph is installed, too?
>>>
>>> Kind regards
>>>
>>> Peter
>> Create the directory /run/ceph and pwck will be happy
>>
> How well do you really expect creating a dir on tmpfs to work?
>
> Anyway, for the OP, pacman does not remove users that were created by package
> installation for security reasons. If you removed ceph, the user is left over
> for you to deal with. See https://www.archlinux.org/todo/usergroup-management/
>
> Scimmia
Okay, thank You, that'll probably fix it - just checked the ceph-package
is in my cache (though not installed, currently), so it seems I had
installed ceph at some time just for testing ...
Kind regards
Pete
More information about the arch-general
mailing list