Bug 909661 - 'This account is currently not available.' error when running /etc/cron.daily/slrnpull-expire
Summary: 'This account is currently not available.' error when running /etc/cron.daily...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: slrn
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 909665 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-10 09:06 UTC by Matěj Cepl
Modified: 2018-04-11 11:19 UTC (History)
3 users (show)

Fixed In Version: slrn-1.0.1-2.fc19
Clone Of:
Environment:
Last Closed: 2014-04-08 06:06:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
suggested patch (284 bytes, patch)
2013-02-10 09:06 UTC, Matěj Cepl
no flags Details | Diff

Description Matěj Cepl 2013-02-10 09:06:43 UTC
Created attachment 695688 [details]
suggested patch

Description of problem:

wycliff:spool# sh -x /etc/cron.daily/slrnpull-expire 
+ umask 022
+ '[' -d /var/spool/slrnpull ']'
+ exec runuser news -c 'slrnpull --expire'
This account is currently not available.


Version-Release number of selected component (if applicable):
slrn-1.0.0-0.1.pre1.0.0.41.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.see above
2.
3.
  
Actual results:
The error message and slrnpull --expire is acutally not run

Expected results:
automagically expired directories

Additional info:
The problem is obviously in the status of the news user:

matej@wycliff: ~$ grep news /etc/passwd
news:x:990:983:News server user:/etc/news:/sbin/nologin
matej@wycliff: ~$ 

news user has (as it should) /sbin/nologin as its login shell, which runuser doesn't like. Suggested patch attached.

Comment 1 Petr Pisar 2013-02-11 10:33:39 UTC
*** Bug 909665 has been marked as a duplicate of this bug. ***

Comment 2 Petr Pisar 2013-02-11 12:54:07 UTC
Thank you for the report and patch.

Comment 3 Fedora Update System 2013-02-11 12:58:54 UTC
slrn-1.0.1-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/slrn-1.0.1-2.fc18

Comment 4 Fedora Update System 2013-02-11 13:18:37 UTC
slrn-0.9.9p1-7.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/slrn-0.9.9p1-7.fc17

Comment 5 Fedora Update System 2013-02-21 05:44:58 UTC
slrn-0.9.9p1-7.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-02-21 05:46:48 UTC
slrn-1.0.1-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora End Of Life 2013-04-03 20:30:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19


Note You need to log in before you can comment on or make changes to this bug.