Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 454474 Details for
Bug 600938
sys-kernel/dracut-044-r1 modules.d syslog-genrules.sh looks for syslog in obsolete /sbin/ location
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
syslog-genrules.sh
syslog-genrules.sh (text/plain), 1.01 KB, created by
matt black
on 2016-11-26 23:12:22 UTC
(
hide
)
Description:
syslog-genrules.sh
Filename:
MIME Type:
Creator:
matt black
Created:
2016-11-26 23:12:22 UTC
Size:
1.01 KB
patch
obsolete
>#!/bin/sh > ># Creates the syslog udev rules to be triggered when interface becomes online. >type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh > >detect_syslog() { > syslogtype="" > if [ -e /sbin/rsyslogd ]; then > syslogtype="rsyslogd" > elif [ -e /sbin/syslogd ]; then > syslogtype="syslogd" > elif [ /sbin/syslog-ng ]; then > syslogtype="syslog-ng" > else > warn "Could not find any syslog binary although the syslogmodule is selected to be installed. Please check." > fi > echo "$syslogtype" > [ -n "$syslogtype" ] >} > >read syslogtype < /tmp/syslog.type >if [ -z "$syslogtype" ]; then > syslogtype=$(detect_syslog) > echo $syslogtype > /tmp/syslog.type >fi >if [ -e "/sbin/${syslogtype}-start" ]; then > printf 'ACTION=="online", SUBSYSTEM=="net", RUN+="/sbin/initqueue --onetime /sbin/'${syslogtype}'-start $env{INTERFACE}"\n' > /etc/udev/rules.d/70-syslog.rules >else > warn "syslog-genrules: Could not find binary to start syslog of type \"$syslogtype\". Syslog will not be started." >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 600938
:
454468
| 454474