Mailinglist Archive: opensuse-bugs (4243 mails)

< Previous Next >
[Bug 1017160] cron - inconsistent behavior when launching additional cron process
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 03 Jan 2017 07:31:44 +0000
  • Message-id: <bug-1017160-21960-lglDSOuCVi@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1017160
http://bugzilla.suse.com/show_bug.cgi?id=1017160#c3

--- Comment #3 from Juraj Hura <jhura@xxxxxxxx> ---
(In reply to Kristyna Streitova from comment #2)
This issue seems to be fixed by upstream in this commit [1]. I built a test
package for SLE12 [2]. Would you please be so kind and test if it works fine
for you? Thanks!

Tested on SLE12 SP2.

# ps aux | grep cron
root 10006 0.0 0.0 9440 1548 pts/1 S+ 08:14 0:00 grep
--color=auto cron
root 11264 0.0 0.0 18872 2648 ? Ss 08:10 0:00
/usr/sbin/cron -n
# cron
# cron
cron: can't lock /run/cron.pid, otherpid may be 10047: Resource temporarily
unavailable

So I am unable to have more than one "cron" running. But it still ignores
"/usr/sbin/cron -n" started by systemd, which results in two job runs.

I guess it's now up to you to decide whether it's still incorrect or WAD by
upstream.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >