Skip to contentSkip to conversation

dcron: startup fails with setpgid: Operation not permitted

PATCH New Dale Ghent 3 participants 3 messages Aug 13, 2015 – Nov 28, 2015

lore
Share & tools
lore

Dale Ghent

author
#0 lore raw

PATCH 1/1 dcron: startup fails with setpgid: Operation not permitted

---
 package/dcron/dcron.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/dcron/dcron.service +2 -2
index b9fa489..924ed72 100644
@@ -3,8 +3,8 @@ Description=Task scheduler daemon
 After=syslog.target
 
 [Service]
-ExecStart=/usr/sbin/crond -f -S
-Restart=always
+ExecStart=/usr/sbin/crond -S
+Type=forking
 
 [Install]
 WantedBy=multi-user.target
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 dcron: startup fails with setpgid: Operation not permitted

Hi Dale, all

Quoted 11 lines · Dale Ghent
---
 package/dcron/dcron.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/dcron/dcron.service +0 -0
index b9fa489..924ed72 100644

package/dcron/dcron.service Description=Task scheduler daemon · line 10

Quoted 10 lines
package/dcron/dcron.service +2 -2
@@ -3,8 +3,8 @@ Description=Task scheduler daemon
 After=syslog.target
 
 [Service]
-ExecStart=/usr/sbin/crond -f -S
-Restart=always
+ExecStart=/usr/sbin/crond -S
+Type=forking
 
 [Install]
 WantedBy=multi-user.target

Maybe the commit log should mention that's only a systemd issue ? Other than that:

Quoted 8 lines

--
1.9.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151105/7b9c2117/attachment.html>

#2 lore raw

PATCH 1/1 dcron: startup fails with setpgid: Operation not permitted

In reply to Dale Ghent

Dear Dale Ghent,

Quoted 4 lines · Dale Ghent
---
 package/dcron/dcron.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com