FreeBSD Bugzilla – Attachment 236166 Details for
Bug 259699
security/clamav: rc-script does not check for existence of /var/run/clamav
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Initialize /var/run
kq-var-run (text/plain), 670 bytes, created by
Cy Schubert
on 2022-08-27 21:02:54 UTC
(
hide
)
Description:
Initialize /var/run
Filename:
MIME Type:
Creator:
Cy Schubert
Created:
2022-08-27 21:02:54 UTC
Size:
670 bytes
patch
obsolete
>#!/bin/sh > ># PROVIDE: kq-var-run ># REQUIRE: zfs tmp ># BEFORE: FILESYSTEMS > >. /etc/rc.subr > >name=kq_var_run >rcvar=kq_var_run_enable >extra_commands="save" >start_cmd="kq_var_run_load" >save_cmd="kq_var_run_save" ># stop_cmd="kq_var_run_save" > >load_rc_config $name > ># Set defaults >: ${kq_var_run_enable:="NO"} >: ${kq_var_run_mtree:="/var/db/mtree/BSD.var-run.mtree"} > >kq_var_run_load() { > df -ttmpfs /var/run > /dev/null 2>&1 && test -f ${kq_var_run_mtree} && > mtree -f ${kq_var_run_mtree} -p /var/run >} > >kq_var_run_save() { > if [ ! -d $(dirname ${kq_var_run_mtree}) ]; > mkdir -p ${kq_var_run_mtree} > fi > mtree -cbdj -p /var/run > ${kq_var_run_mtree} >} > >run_rc_command "$1"
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 259699
:
229584
|
233170
| 236166