LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-05-2023, 11:54 AM   #1
sundarpv
LQ Newbie
 
Registered: Jan 2023
Posts: 1

Rep: Reputation: 0
Kernel Panic : how to stop systemd managed process from being respawned


I am using systemd to manage an application process, which is configured for "respawn" always.

During kernel panic, i need to tweak the behavior such that the process isnt respawned.

Is there a way for identifying kernel is in shutdown path (reboot or panic) and appropriately, take action in the service file such that "start" or "restart" is not honoured.

please share any deterministic way for application process to be managed better during kernel shutdown path. is there any sysfs path that can be checked?
 
Old 01-05-2023, 12:41 PM   #2
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 579

Rep: Reputation: Disabled
Boot from a Live distro of your choice loaded onto a USB drive and see if you can access the files that need modifying.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox 96.0 says "Your browser is being managed by your organisation.", but I am a home user grumpyskeptic Linux - Software 2 01-14-2022 12:56 PM
[SOLVED] Vmnet adapters are shown as "device not managed". There are two adapters vmnet1 and vmnet8 which are all not managed. kats99 Linux - Networking 4 11-01-2019 01:42 AM
I have been respawned respawnd LinuxQuestions.org Member Intro 0 12-07-2012 01:47 AM
[SOLVED] how do I stop evdev events being repoted in dmesg, and being logged to syslog GlennsPref Mandriva 1 01-28-2010 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration