Displaying 20 results from an estimated 33 matches for "nofork".
2016 Nov 11
3
clamd@amavisd fails under systemd
...irst guess would be that it's an
> SELinux issue. Use "setenforce" to put the system in permissive mode
> to see if that's the case. If so, "grep AVC /var/log/audit/audit.log"
> for more info.
Another random thought
When I invoke from the CLI - there is a -nofork=yes as a part of the
invocation.
When systemd tries to do the invocation via the ExecStart line - the
original clamd at .service file had this --nofork=yes also, the problem was
that this just caused an abend of the start up with the message:
> /usr/sbin/clamd: unrecognized option `--nofork=...
2019 Dec 13
5
systemctl behaves like it is being piped to less in centos 8?
...tem/firewalld.service; enabled;
vendor preset: enabled)
Active: active (running) since Fri 2019-10-25 00:24:24 UTC; 1
months 19 days ago
Docs: man:firewalld(1)
Main PID: 6578 (firewalld)
CGroup: /system.slice/firewalld.service
??6578 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
Warning: Journal has been rotated since unit was started. Log output
is incomplete or unavailable.
[root at mail ~]#
So far so good. Don't know why it is complaining about log being
rotated but output looks readable. Now, let's grab a centos8 box:
[raub at vmhost2 ~]$ cat /etc/re...
2016 Nov 12
0
clamd@amavisd fails under systemd
On 11/11/2016 02:39 AM, Rob Kampen wrote:
> When I invoke from the CLI - there is a -nofork=yes as a part of the
> invocation.
> When systemd tries to do the invocation via the ExecStart line - the
> original clamd at .service file had this --nofork=yes also, the problem
> was that this just caused an abend of the start up with the message:
Not on my system, it doesn't...
2015 Nov 25
2
IP table Restore
...ot at ns1 network-scripts]# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: inactive (dead) since Wed 2015-11-25 17:20:14 SGT; 24s ago
Process: 2865 ExecStart=/usr/sbin/firewalld --nofork --nopid
$FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
Main PID: 2865 (code=exited, status=0/SUCCESS)
Nov 25 17:20:14 ns1.currencybooking.com systemd[1]: Starting firewalld -
dynamic firewall daemon...
Nov 25 17:20:14 ns1.currencybooking.com systemd[1]: Started firewalld -
dynamic firewall daemo...
2016 Nov 09
3
clamd@amavisd fails under systemd
On 09/11/16 11:48, Gordon Messmer wrote:
> On 11/08/2016 03:24 AM, Rob Kampen wrote:
>> If there is anyone that has this combo of services working under
>> CentOS7 and can shed any insight on why I cannot get this service to
>> actually run, it would be very much appreciated.
>
>
> When setting up a clamd service, you should need to enable the
> service, create
2019 Dec 13
0
systemctl behaves like it is being piped to less in centos 8?
...; vendor preset: enabled)
> Active: active (running) since Fri 2019-10-25 00:24:24 UTC; 1
> months 19 days ago
> Docs: man:firewalld(1)
> Main PID: 6578 (firewalld)
> CGroup: /system.slice/firewalld.service
> ??6578 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
>
> Warning: Journal has been rotated since unit was started. Log output
> is incomplete or unavailable.
> [root at mail ~]#
>
> So far so good. Don't know why it is complaining about log being
> rotated but output looks readable. Now, let's grab a centos8 box:...
2014 Mar 03
0
Re: [libvirt] LXC, user namespaces and systemd
...slice
│ │ └─user@0.service
│ │ └─17400 /usr/lib/systemd/systemd --user
│ ├─system.slice
│ │ ├─systemd-logind.service
│ │ │ └─17373 /usr/lib/systemd/systemd-logind
│ │ ├─dbus.service
│ │ │ └─17372 /bin/dbus-daemon --system --address=systemd:
--nofork --nopidfile --systemd-activation
│ │ ├─sshd.service
│ │ │ └─17379 /usr/sbin/sshd -D
│ │ └─systemd-journald.service
│ │ └─17348 /usr/lib/systemd/systemd-journald
│ └─user.slice
│ └─user-0.slice
│ ├─session-c1.scope
│ │ ├─17377 login -- root...
2015 Nov 25
1
Install Firewalld
...walld
[root at ns1 httpd]# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: inactive (dead) since Thu 2015-11-26 02:43:16 SGT; 11s ago
Process: 35808 ExecStart=/usr/sbin/firewalld --nofork --nopid
$FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
Main PID: 35808 (code=exited, status=0/SUCCESS)
Nov 26 02:43:16 ns1.currencybooking.com systemd[1]: Started firewalld -
dynamic firewall daemon.
Nov 26 02:43:16 ns1.currencybooking.com firewalld[35808]: 2015-11-26
02:43:16 ERROR: ebtables no...
2015 May 09
2
firewalld trouble opening a port
...- dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: active (running) since Sat 2015-05-09 14:56:20 EDT; 7s ago
Main PID: 18826 (firewalld)
CGroup: /system.slice/firewalld.service
??18826 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
May 09 14:56:20 appd systemd[1]: Started firewalld - dynamic firewall
daemon.
Any ideas on what I'm doing wrong?
Thanks,
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
2015 Mar 01
1
simple network and firewalld errors
...92.168.4.254' />
</dhcp>
</ip>
</network
and I wonder what might be wrong, I get many errors in
firewalld when I restart libvirtd
Main PID: 13194 (firewalld)
CGroup: /system.slice/firewalld.service
??13194 /usr/bin/python -Es /usr/sbin/firewalld
--nofork --nopid
2015-03-01 17:12:46 ERROR: COMMAND_FAILED: '/sbin/iptables
--table filter --delete FORWARD --out-interface virbr0
--jump REJECT' failed: iptables: No chain/target/match by
that name.
2015-03-01 17:12:46 ERROR: COMMAND_FAILED: '/sbin/iptables
--table filter --delete FORWARD...
2014 Feb 26
6
[libvirt] LXC, user namespaces and systemd
...ll root privileges.
To disable OOM support delete or just comment line "OOMScoreAdjust=-900"
# cat /usr/lib/systemd/system/dbus.service
[Unit]
Description=D-Bus System Message Bus
Requires=dbus.socket
After=syslog.target
[Service]
ExecStart=/bin/dbus-daemon --system --address=systemd: --nofork
--nopidfile --systemd-activation
ExecReload=/bin/dbus-send --print-reply --system --type=method_call
--dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
#OOMScoreAdjust=-900
5. Final systemd start
# virsh --connect lxc:/// start mycontainer --console
systemd 208 running in system mo...
2018 Sep 17
0
nbdkit -c /dev/nbdX option
...-d /dev/nbd0
killall nbdkit
In qemu-nbd, all that is just this:
qemu-nbd -c /dev/nbd0 foo
It seems like it would be nice to implement an ‘nbdkit -c /dev/nbdX’
option.
My first idea was:
nbdkit -c /dev/nbdX
==> nbdkit -U [sock]
& running: nbd-client -nofork -u [sock] /dev/nbdX
However that still leaves the need for end users to manually delete
the nbdX device & kill nbdkit.
If I'm understanding the qemu code correctly, qemu-nbd uses its own
internal NBD client running in a pthread, so it doesn't need
nbd-client. So it can keep the clien...
2015 May 09
0
firewalld trouble opening a port
...> Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
> Active: active (running) since Sat 2015-05-09 14:56:20 EDT; 7s ago
> Main PID: 18826 (firewalld)
> CGroup: /system.slice/firewalld.service
> ??18826 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
>
> May 09 14:56:20 appd systemd[1]: Started firewalld - dynamic firewall
> daemon.
>
> Any ideas on what I'm doing wrong?
>
> Thanks,
> Tim
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
> ________________________...
2015 Aug 25
1
clamav / EXIM on Centos 7
...running as?
> Socket creation mostly doesnt include recursive operation (creating the
> directory)
It looks like I'm barking up the wrong tree here. When I run the command in
the terminal I get
[root at ollie2
clamav-milter]# /usr/sbin/clamav-milter -c /etc/mail/clamav-milter.conf --nofork=yes
ERROR: No ClamdSocket specified
ERROR: Failed to init the socket pool
[root at ollie2 clamav-milter]#
It looks like I don't need clamav-milter as it seems to be wanting access to
the clamd socket in exactly the same way as EXIM, i.e., EXIM wants to talk
directly to clamd and not clamav-...
2015 Nov 25
0
IP table Restore
...twork-scripts]# systemctl status firewalld firewalld.service -
> firewalld - dynamic firewall daemon Loaded: loaded
> (/usr/lib/systemd/system/firewalld.service; enabled) Active:
> inactive (dead) since Wed 2015-11-25 17:20:14 SGT; 24s ago Process:
> 2865 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS
> (code=exited, status=0/SUCCESS) Main PID: 2865 (code=exited,
> status=0/SUCCESS)
>
> Nov 25 17:20:14 ns1.currencybooking.com systemd[1]: Starting
> firewalld - dynamic firewall daemon... Nov 25 17:20:14
> ns1.currencybooking.com systemd[1]: Started firew...
2016 Jan 21
0
Failed to start polkit.service: Connection timed out
...ies a similar issue with the polkit service not
starting however I have confirmed dbus is running and the polkitd user does
exist.
https://bbs.archlinux.org/viewtopic.php?id=161291
[root at sssd-testing ~]# ps ax | grep dbus
221 ? Ss 0:00 /bin/dbus-daemon --system --address=systemd:
--nofork --nopidfile --systemd-activation
929 pts/1 S+ 0:00 grep --color=auto dbus
[root at sssd-testing ~]# getent passwd polkitd
polkitd:x:997:995:User for polkitd:/:/sbin/nologin
2016 Aug 20
4
What is broken with fail2ban
...aded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor
preset: enabled)
Active: active (running) since Sa 2016-08-20 12:08:27 CEST; 4min 50s ago
Main PID: 13158 (firewalld)
CGroup: /system.slice/firewalld.service
??13158 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
Aug 20 12:12:23 yyyy.xxxxxx.at firewalld[13158]: 2016-08-20 12:12:23 ERROR:
NOT_ENABLED
Aug 20 12:12:24 yyyy.xxxxxx.at firewalld[13158]: 2016-08-20 12:12:24 ERROR:
NOT_ENABLED
Aug 20 12:12:25 yyyy.xxxxxx.at firewalld[13158]: 2016-08-20 12:12:25 ERROR:
NOT_ENABLED
Aug 20 12:12:27 yyyy.xx...
2005 Jan 08
2
start a linux command using a win32 apps ?
Hello,
In fact, I raver need to start a bash script using a win32 apps.
Any idea ?
2015 Aug 25
2
clamav / EXIM on Centos 7
[root at ollie2 ~]# find / -iname clamd.sock
[root at ollie2 ~]# systemctl list-unit-files --type=service
[.....]
clamav-milter.service enabled
exim.service enabled
spamassassin.service enabled
[.....]
[root at ollie2 ~]# ps ax|grep cla[m]
[root at ollie2 ~]#
Starting / restarting the clamav service does not generate
2020 Mar 28
0
[klibc:update-dash] dash: eval: Reset handler when entering a subshell
...l.c
+++ b/usr/dash/eval.c
@@ -41,6 +41,7 @@
* Evaluate a command.
*/
+#include "main.h"
#include "shell.h"
#include "nodes.h"
#include "syntax.h"
@@ -492,6 +493,7 @@ evalsubshell(union node *n, int flags)
if (backgnd)
flags &=~ EV_TESTED;
nofork:
+ reset_handler();
redirect(n->nredir.redirect, 0);
evaltreenr(n->nredir.n, flags);
/* never returns */
@@ -574,6 +576,7 @@ evalpipe(union node *n, int flags)
}
}
if (forkshell(jp, lp->n, n->npipe.backgnd) == 0) {
+ reset_handler();
INTON;
if (pip[1] >=...