SYSTEMD-DEBUG-GENERATOR(8) systemd-debug-generator SYSTEMD-DEBUG-GENERATOR(8)NAME
systemd-debug-generator - Generator for enabling a runtime debug shell and masking specific units at boot
SYNOPSIS
/lib/systemd/system-generators/systemd-debug-generator
DESCRIPTION
systemd-debug-generator is a generator that reads the kernel command line and understands three options:
If the systemd.mask= option is specified and followed by a unit name, this unit is masked for the runtime, similar to the effect of
systemctl(1)'s mask command. This is useful to boot with certain units removed from the initial boot transaction for debugging system
startup. May be specified more than once.
If the systemd.wants= option is specified and followed by a unit name, a start job for this unit is added to the initial transaction. This
is useful to start one or more additional units at boot. May be specified more than once.
If the systemd.debug_shell option is specified, the debug shell service "debug-shell.service" is pulled into the boot transaction. It will
spawn a debug shell on tty9 during early system startup. Note that the shell may also be turned on persistently by enabling it with
systemctl(1)'s enable command.
systemd-debug-generator implements systemd.generator(7).
SEE ALSO systemd(1), systemctl(1), kernel-command-line(7)systemd 237SYSTEMD-DEBUG-GENERATOR(8)
Check Out this Related Man Page
SYSTEMD-DEBUG-GENERATOR(8) systemd-debug-generator SYSTEMD-DEBUG-GENERATOR(8)NAME
systemd-debug-generator - Generator for enabling a runtime debug shell and masking specific units at boot
SYNOPSIS
/lib/systemd/system-generators/systemd-debug-generator
DESCRIPTION
systemd-debug-generator is a generator that reads the kernel command line and understands three options:
If the systemd.mask= option is specified and followed by a unit name, this unit is masked for the runtime, similar to the effect of
systemctl(1)'s mask command. This is useful to boot with certain units removed from the initial boot transaction for debugging system
startup. May be specified more than once.
If the systemd.wants= option is specified and followed by a unit name, a start job for this unit is added to the initial transaction. This
is useful to start one or more additional units at boot. May be specified more than once.
If the systemd.debug_shell option is specified, the debug shell service "debug-shell.service" is pulled into the boot transaction. It will
spawn a debug shell on tty9 during early system startup. Note that the shell may also be turned on persistently by enabling it with
systemctl(1)'s enable command.
systemd-debug-generator implements systemd.generator(7).
SEE ALSO systemd(1), systemctl(1), kernel-command-line(7)systemd 237 SYSTEMD-DEBUG-GENERATOR(8)
Hi,
I have a question on my korn shell script.
When I run without debugging turned on, I can't get the correct result. If I turn on the debug mode, like sh -x myprogram, it will give me the correct result.
Can someone tell me what is going on here?
Thanks,
:rolleyes: (6 Replies)
Hi,
I'm porting code from Windows to HP-UX 11, compiling with g++.
I'm getting a compilation error on the system's debug.h include file, which is included very indirectly through a series of other system include files. The one I am including is <map> .
The errors I am getting are:... (4 Replies)
I'm trying to debug a script in korn shell
At the begining of the script I've got
#!/bin/ksh -vx
However, this seems to only dump debugging info to the screen. How do I get that sent to a text file? I've tried various redirects but none of them seem to work.
Thanks (2 Replies)
Hi
I have a big log file
:08,936 DEBUG HttpConnectionManager.getConnection: config =
11:39:08,936 DEBUG Getting free connection,
11:39:08,989 DEBUG Freeing connection, hostConfig=HostConfiguration
11:39:08,989 DEBUG Notifying no-one, there are no waiting threads
11:39:09,046... (4 Replies)
Hi
Is there some kind of generator in the internet which could help me to create a table where i will place some values.
Trying to do this with echo cmd, but maybe you will suggest me some generator fo r this.
thx.
---------- Post updated at 10:59 AM ---------- Previous update was at... (2 Replies)
Hello i searched in google and it seems i cannot find a detailed instruction on how to setup autorun-ing custom shell script upon boot up, someone kind enough to point me to a link? or a guide. We use Solaris 10.
Basically my script just contains sending email when system bootup. (3 Replies)
Hi all,
I have a server in maintenance mode and need to boot it up. Its due to a broken service "RepX".
I need to stop the service from trying to start at boot up but i can't find where it is booting up from... it is not in any of the rcX.d directories and the two locations i have found it... (6 Replies)
Hi,
I am trying to debug my project using dbx to understand the code and functionality of modules.
I compiled all my C files using gcc -g flag to enable the debug option.
I was able to get in to the debug mode using dbx.
I was able to create breakpoints using stop at line no.
"stop at... (7 Replies)
So here I have a simple function that I wish to debug. However, I am unable to debug the desired function even with set -o functrace enabled. Before resorting to asking this question, I had managed to find a possible solution that did not produce the desired results, which is located here.
How... (5 Replies)
Hi All,
Please let me know that how to start Fedora 11 in command line mode and skip damaged programs ??
Scenario being:
I have Fedora 11 ( pretty ole... eh !! ). If I try to start the PC , then after some steps of startup... it just hangs and does not boots. I tried entering the mode... (4 Replies)
I have a requirement of masking few specific fields in the UNIX file. The details are as following-
File is fixed length file with each record of 250 charater length.
2 fields needs to be masked – the positions are 21:30 and 110:120
The character by character making needs to be done which... (5 Replies)
Hello All,
Greetings!!
I was trying to create a custom option in systemctl like its out of the box options eg--> status, stop, start, restart, I have tried searching in google but didn't find anything related to it.
Basically I would like to create a custom option which is related to... (9 Replies)