You are not logged in.

#1 2015-01-07 12:14:14

gauthma
Member
Registered: 2010-02-16
Posts: 222
Website

Sagemath causing failure of passwd and group files verification

So SAGE changed locations (no longer in /opt/sage), but its user ("sage") was not told of the change. Thus, the shadow service fails, and running  # systemctl status shadow.service I get:

● 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 2015-01-07 12:03:49 WET; 4min 1s ago
  Process: 515 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
 Main PID: 515 (code=exited, status=2)

Jan 07 12:03:49 hostname systemd[1]: Starting Verify integrity of password and group files...
Jan 07 12:03:49 hostname pwck[515]: user 'sagemath': directory '/opt/sage' does not exist
Jan 07 12:03:49 hostname pwck[515]: pwck: no changes
Jan 07 12:03:49 hostname systemd[1]: shadow.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Jan 07 12:03:49 hostname systemd[1]: Failed to start Verify integrity of password and group files.
Jan 07 12:03:49 hostname systemd[1]: Unit shadow.service entered failed state.
Jan 07 12:03:49 hostname systemd[1]: shadow.service failed.

Bug? I checked for news about this, but couldn't find any...

Last edited by gauthma (2015-01-07 12:16:34)

Offline

#2 2015-01-07 12:40:29

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,271

Re: Sagemath causing failure of passwd and group files verification

gauthma wrote:

Bug? I checked for news about this, but couldn't find any...

Yes, please open a bug report (against sage-notebook)

Last edited by arojas (2015-01-07 12:40:45)

Offline

#3 2015-01-07 15:09:02

gauthma
Member
Registered: 2010-02-16
Posts: 222
Website

Re: Sagemath causing failure of passwd and group files verification

arojas wrote:

Yes, please open a bug report (against sage-notebook)

Why sage-notebook? Shouldn't it be against sage-mathematics? Installed in my system is the latter but not the former, and still I encounter this error.

Offline

#4 2015-01-07 16:03:50

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,271

Re: Sagemath causing failure of passwd and group files verification

gauthma wrote:

Why sage-notebook? Shouldn't it be against sage-mathematics? Installed in my system is the latter but not the former, and still I encounter this error.

Because the sagemath user handling has been moved to the sage-notebook package.

Offline

#5 2015-01-07 16:31:47

gauthma
Member
Registered: 2010-02-16
Posts: 222
Website

Re: Sagemath causing failure of passwd and group files verification

Offline

Board footer

Powered by FluxBB