at-3.14 needs daemon after install [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Post Reply
bobmc
Young Hen
Posts: 39
Joined: Tue Sep 07, 2010 3:26

at-3.14 needs daemon after install [Solved]

Post by bobmc » Tue May 13, 2014 1:42

I installed sys-process:at-3.1 and got the following equo printout:-
There are config files in /etc but no script to start atd. How can I fix it

Code: Select all

   ## Package phase: setup
  ## Installing package: sys-process/at-3.1.14
  ## [Queues jobs for later execution]
    ## Updating installed packages repository: sys-process/at-3.1.14
    ## Package phase: postinstall
 * Forcing correct permissions on /var/spool/at
    ## Cleaning: sys-process/at-3.1.14
  @@ Installation complete.
 @@ No configuration files to update.
ION330 bobmc # which at  .. /usr/bin/at
ION330 bobmc # at 2045

job 1 at Mon May 12 20:45:00 2014
Can't open /var/run/atd.pid to signal atd. No atd running?
ION330 bobmc #
Sabayon 14.07+ (XFCE), Zotac ION330, Zotac ION220, HVR-1950, 950Q

bobmc
Young Hen
Posts: 39
Joined: Tue Sep 07, 2010 3:26

Re: at-3.14 needs daemon after install [Solved]

Post by bobmc » Wed May 14, 2014 5:25

I found a tutorial on Gentoo about systemd... so...

Code: Select all

ION330 system 
# systemctl enable atd
(then the console prints)
ln -s '/usr/lib/systemd/system/atd.service' '/etc/systemd/system/multi-user.target.wants/atd.service'
Now it works after restart. Hooray!

It seems the transition to systemd is incomplete. My /etc still has control files for init.d which apparently don't do anything. There is a wikipedia page about systemd. I believe it is on the bleeding edge of complexity.
Sabayon 14.07+ (XFCE), Zotac ION330, Zotac ION220, HVR-1950, 950Q

svantoviit
Old Dear Hen
Posts: 716
Joined: Sun Feb 28, 2010 17:55
Contact:

Re: at-3.14 needs daemon after install [Solved]

Post by svantoviit » Wed May 14, 2014 21:44

Not an issue of systemd, before with sysvinit you had to start the atd daemon yourself too.
That is the way at works…

The service file is included in the package, nothing is missing.

Code: Select all

/usr/lib/systemd/system/atd.service
There is even a README

Code: Select all

/usr/share/doc/at-3.1.14/README.bz2
and a bunch of man pages too

Code: Select all

/usr/share/man/man1/at.1.bz2
/usr/share/man/man1/atq.1.bz2
/usr/share/man/man1/atrm.1.bz2
/usr/share/man/man1/batch.1.bz2
/usr/share/man/man5/at.allow.5.bz2
/usr/share/man/man5/at.deny.5.bz2
/usr/share/man/man8/atd.8.bz2
/usr/share/man/man8/atrun.8.bz2
;)
bobmc wrote:It seems the the transition to systemd is incomplete
That is true, you still can't remove openrc without worries.

Post Reply