You are not logged in.

#1 2015-06-13 14:54:06

adcdam
Member
From: Argentina
Registered: 2012-04-15
Posts: 44

Problem with shadow service

with systemctl status shadow.service i get this

● shadow.service - Verify integrity of password and group files
   Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled)
   Active: inactive (dead)


how to solve this?
thanks!!

Offline

#2 2015-06-13 15:04:08

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: Problem with shadow service

What exactly do you want to solve?
Do you get any error? - At boot?

I don't think this service is supposed to be running all the time.
According to my statuses it seems to be running at boot as well as at midnight (probably only if the system has been running longer than a day).

Offline

#3 2015-06-13 15:11:41

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Problem with shadow service

What are you trying to solve?  It's unit file is "oneshot" and there isn't any "RemainAfterExit=yes"?

If it bothers you create your own unit file in /etc/systemd/system/.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#4 2015-06-13 15:25:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with shadow service

It's OK, I get the same output.
There should be a few more lines there:

  Process: 23427 ExecStart=/usr/bin/grpck -r (code=exited, status=0/SUCCESS)
  Process: 23423 ExecStart=/usr/bin/pwck -r (code=exited, status=0/SUCCESS)
 Main PID: 23427 (code=exited, status=0/SUCCESS)
Jun 13 00:00:07 b161 systemd[1]: Starting Verify integrity of password and group files...
Jun 13 00:00:07 b161 systemd[1]: Started Verify integrity of password and group files.

and if you don't get any errors / warnings, there's no problem.

Offline

#5 2015-06-13 16:47:54

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Problem with shadow service

Please, read this https://wiki.archlinux.org/index.php/Fo … ow_to_post and describe exaclty what is your actual error/problem, we cannot read into your mind (at least not yet).
The state of the service is 'inactive (dead)' for the reasons stated above. It is also shown as 'static; vendor preset: disabled' because it is a static service and it cannot be enabled using systemctl but it is activated by other units which depend on it (take a look here and here).


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#6 2015-06-15 01:54:40

adcdam
Member
From: Argentina
Registered: 2012-04-15
Posts: 44

Re: Problem with shadow service

Hi, when booting i get sometimes not always: failed to verify integrity of password and group files

with sudo pwck i get:   

 user 'usbmux': no group 140
 pwck: no changes 

during shutdown i get: 

 cgroup : option or name mismatch, new: 0x0"", old: 0x4 "systemd" 

thanks a lot!

Offline

#7 2015-06-15 05:52:52

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Problem with shadow service

The user usbmux and the group 140 are created by the package usbmuxd. Can you post the output of the following commands?

pacman -Qi usbmuxd
grpck

For the error on shutdown, take a look here: https://bbs.archlinux.org/viewtopic.php … 2#p1372562

Last edited by mauritiusdadd (2015-06-15 05:59:26)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#8 2015-06-16 03:46:44

adcdam
Member
From: Argentina
Registered: 2012-04-15
Posts: 44

Re: Problem with shadow service

Hi i didnt have the usbmuxd package installed so i installed it now, about the shutdown problem it seems that there is no answer to that in the link.
it all started when i used etc-update to automerge the pacnew files, i didnt know what i was doing.
After using etc-update i couldnt log in with my user and password i deleted passwd, shadow, group y gshadow files and i replaced them with the same file name that ended with a -
after that i used passwd to set a new password for my user.
any suggestion?

Offline

#9 2015-06-16 05:52:17

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Problem with shadow service

adcdam wrote:

Hi i didnt have the usbmuxd package installed so i installed it now

But do you need it? I've asked if usbmuxd was installed to know what to do . However since the post_install function takes care to add both the user and the group the error should be gone now and if you don't need usbmuxd you can uninstall it.

adcdam wrote:

about the shutdown problem it seems that there is no answer to that in the link.

But what is the question? Do you experience some issue when that message appear?

adcdam wrote:

it all started when i used etc-update to automerge the pacnew files, i didnt know what i was doing.
After using etc-update i couldnt log in with my user and password i deleted passwd, shadow, group y gshadow files and i replaced them with the same file name that ended with a -
after that i used passwd to set a new password for my user.
any suggestion?

Do you still get the error "user 'usbmux': no group 140"? Are there any other errors?

Last edited by mauritiusdadd (2015-06-16 05:52:48)


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#10 2015-06-16 14:46:48

adcdam
Member
From: Argentina
Registered: 2012-04-15
Posts: 44

Re: Problem with shadow service

HI i unistalled package usbmuxd and i dont get the error   "user 'usbmux': no group 140"
when i do sudo grpck i get nothing, so it seems that problem is solved, but i want to get rid of the message at shutdown. i will post later my passwd, shadow, group y gshadow files perhaps it has someting to do with that.

Offline

#11 2015-06-16 14:56:32

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,907
Website

Re: Problem with shadow service

adcdam, the cgroup/systemd message has nothing to do with shadow.service or your passwd/group/etc files. If you search for it, I'm sure you will find the cause, and the reason why it's nothing to worry about.

EDIT: It seems that Mauritiusdadd posted a link to the topic that I'm referring to.

Last edited by WorMzy (2015-06-16 15:11:54)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB