Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325959 - /etc/init.d/atd needs logger when it should use logger?
Summary: /etc/init.d/atd needs logger when it should use logger?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 09:54 UTC by Robert Sharp
Modified: 2017-08-11 15:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Sharp 2010-06-28 09:54:08 UTC
I have had a few teething problems with my own rsyslog V5 ebuild and I found that if rsyslog does not start, atd does not start either. This is because the atd init script includes "needs logger". Presumably many services use the logger so why does atd need it? Shouldn't this be changed to use?

Reproducible: Always

Steps to Reproduce:
Restart rsyslogd and watch atd restart with it. Or you can just read the atd init script.

Actual Results:  
atd restarts with rsyslog (not a problem) or does not start at all if rsyslog does not start (is a problem)

Expected Results:  
atd is started after rsyslog but does not fall over if rsyslog is not there?
Comment 1 Michael Orlitzky gentoo-dev 2017-07-27 02:02:28 UTC
Does this bug report reference sys-process/at? If so, I think it's mis-assigned, but more importantly, I think it was fixed a long time ago =)

The init script for atd now has

  depend() {
    need clock
    use logger
  }
Comment 2 Michael Orlitzky gentoo-dev 2017-08-05 13:10:35 UTC
Lars, cron team -- please see my previous comment. I'm pretty sure this is fixed.
Comment 3 Michael Orlitzky gentoo-dev 2017-08-11 15:10:09 UTC
Bug 473492 was a dupe of this, it's fixed.

commit de36b1ff861991b37cf182f488e4caffd8edad09
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Tue Dec 16 13:00:21 2014 +0000

    Don't set dependency of init script for logger to "need" but "use"
    instead (bug #473492). Removed old

    Package-Manager: portage-2.2.15/cvs/Linux x86_64
    Manifest-Sign-Key: 0x981CA6FC