Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
initramfs-with-mca
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
initramfs-with-mca
Commits
86e3177a
Commit
86e3177a
authored
Dec 29, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dracut.module: Delete useless files.
parent
c215b816
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
41 deletions
+0
-41
dracut.module/90metadata-collect/debug-mode.conf
dracut.module/90metadata-collect/debug-mode.conf
+0
-18
dracut.module/90metadata-collect/module-setup.sh
dracut.module/90metadata-collect/module-setup.sh
+0
-1
dracut.module/90metadata-collect/only-debug.sh
dracut.module/90metadata-collect/only-debug.sh
+0
-22
No files found.
dracut.module/90metadata-collect/debug-mode.conf
deleted
100644 → 0
View file @
c215b816
[
SERVICE
]
flush
5
[
INPUT
]
name
tail
path
/
var
/
log
/
debug
-
mode
.
log
tag
DEBUG
[
output
]
name
fluentbit_wendelin
match
*
streamtool_uri
https
://
softinst157546
.
host
.
vifib
.
net
/
erp5
/
portal_ingestion_policies
/
metadata_upload
user
zope
password
qxrfkwod
buffer_type
memory
flush_interval
60
s
disable_retry_limit
true
reference
c
-
light
-
data_05
dracut.module/90metadata-collect/module-setup.sh
View file @
86e3177a
...
...
@@ -15,6 +15,5 @@ install() {
inst
"
$moddir
"
/fluent-bit
"/sbin/fluent-bit"
inst
"
$moddir
"
/libfluentbit_wendelin.so
"/etc/libfluentbit_wendelin.so"
inst
"
$moddir
"
/flb.conf
"/etc/flb.conf"
inst
"
$moddir
"
/debug-mode.conf
"/etc/debug-mode.conf"
inst_hook pre-pivot 10
"
$moddir
"
/collect.sh
}
dracut.module/90metadata-collect/only-debug.sh
deleted
100644 → 0
View file @
c215b816
#!/bin/bash
.
/lib/dracut-lib.sh
DEBUG_LOG_FILE
=
/var/log/debug-mode.log
/sbin/fluent-bit
-e
/etc/libfluentbit_wendelin.so
-c
/etc/debug-mode.conf &
debug_flb_pid
=
$!
sleep
1
# wait for fluent-bit to monitor the log file (?)
echo
"NEWROOT =
$NEWROOT
"
&>>
$DEBUG_LOG_FILE
echo
"********** /usr/sbin **********"
&>>
$DEBUG_LOG_FILE
ls
-Rl
/usr/sbin &>>
$DEBUG_LOG_FILE
echo
"********** /bin **********"
&>>
$DEBUG_LOG_FILE
ls
-Rl
/usr/bin &>>
$DEBUG_LOG_FILE
echo
"********** /usr/etc **********"
&>>
$DEBUG_LOG_FILE
ls
-Rl
/etc &>>
$DEBUG_LOG_FILE
echo
"********** /usr/lib **********"
&>>
$DEBUG_LOG_FILE
ls
-Rl
/usr/lib &>>
$DEBUG_LOG_FILE
echo
"fluentbit_end"
&>>
$DEBUG_LOG_FILE
wait
$debug_flb_pid
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment