Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
mdadm
1013-mdmon-change-system-unit-file-to-use-foreg...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1013-mdmon-change-system-unit-file-to-use-foreground.patch of Package mdadm
From 67f6f8fb27315de2fa73af60d1efc65daabe8d96 Mon Sep 17 00:00:00 2001 From: NeilBrown <neilb@suse.de> Date: Mon, 23 Jan 2023 14:27:14 +1100 Subject: [PATCH] mdmon: change system unit file to use --foreground There is no value in mdmon forking when it is running under systemd - systemd can still track it anyway. So add --foreground option, and remove "Type=forking". Signed-off-by: NeilBrown <neilb@suse.de> --- systemd/mdmon@.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/systemd/mdmon@.service +++ b/systemd/mdmon@.service @@ -16,8 +16,7 @@ Before=initrd-switch-root.target # 'takeover'. As the '--offroot --takeover' don't hurt when # not necessary, are are useful with root-on-md in dracut, # have them always present. -ExecStart=BINDIR/mdmon --offroot --takeover %I -Type=forking +ExecStart=BINDIR/mdmon --foreground --offroot --takeover %I # Don't set the PIDFile. It isn't necessary (systemd can work # it out) and systemd will remove it when transitioning from # initramfs to rootfs.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor