6794441224
This avoids situations in which fuser hangs because of open files on remote file systems when the remote system goes down. I have also passed this bug on to the maintainers of psmisc since it should really be fixed in fuser. This is based on a patch submitted by evermind@tuxfamily.org Reported-by: evermind@tuxfamily.org X-Gentoo-Bug: 455458 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=455458
73 lines
2.5 KiB
Plaintext
73 lines
2.5 KiB
Plaintext
##############################################################################
|
|
# LINUX SPECIFIC OPTIONS
|
|
|
|
# This is the subsystem type. Valid options on Linux:
|
|
# "" - nothing special
|
|
# "lxc" - Linux Containers
|
|
# "openvz" - Linux OpenVZ
|
|
# "prefix" - Prefix
|
|
# "uml" - Usermode Linux
|
|
# "vserver" - Linux vserver
|
|
# "xen0" - Xen0 Domain
|
|
# "xenU" - XenU Domain
|
|
# If this is commented out, automatic detection will be used.
|
|
#
|
|
# This should be set to the value representing the environment this file is
|
|
# PRESENTLY in, not the virtualization the environment is capable of.
|
|
#rc_sys=""
|
|
|
|
# This is the number of tty's used in most of the rc-scripts (like
|
|
# consolefont, numlock, etc ...)
|
|
rc_tty_number=12
|
|
|
|
# This is how long fuser should wait for a remote server to respond. The
|
|
# default is 60 seconds, but it can be adjusted here.
|
|
#rc_fuser_timeout=60
|
|
|
|
##############################################################################
|
|
# CGROUPS RESOURCE MANAGEMENT
|
|
|
|
# If you have cgroups turned on in your kernel, this switch controls
|
|
# whether or not a group for each controller is mounted under
|
|
# /sys/fs/cgroup.
|
|
# None of the other options in this section work if this is set to "NO".
|
|
#rc_controller_cgroups="YES"
|
|
|
|
# The following settings allow you to set up values for the cgroup
|
|
# controllers for your services.
|
|
# They can be set in this file;, however, if you do this, the settings
|
|
# will apply to all of your services.
|
|
# If you want different settings for each service, place the settings in
|
|
# /etc/conf.d/foo for service foo.
|
|
# The format is to specify the names of the settings followed by their
|
|
# values. Each variable can hold multiple settings.
|
|
# For example, you would use this to set the cpu.shares setting in the
|
|
# cpu controller to 512 for your service.
|
|
# rc_cgroup_cpu="
|
|
# cpu.shares 512
|
|
# "
|
|
#
|
|
#For more information about the adjustments that can be made with
|
|
#cgroups, see Documentation/cgroups/* in the linux kernel source tree.
|
|
|
|
# Set the blkio controller settings for this service.
|
|
#rc_cgroup_blkio=""
|
|
|
|
# Set the cpu controller settings for this service.
|
|
#rc_cgroup_cpu=""
|
|
|
|
# Add this service to the cpuacct controller (any value means yes).
|
|
#rc_cgroup_cpuacct=""
|
|
|
|
# Set the cpuset controller settings for this service.
|
|
#rc_cgroup_cpuset=""
|
|
|
|
# Set the devices controller settings for this service.
|
|
#rc_cgroup_devices=""
|
|
|
|
# Set the memory controller settings for this service.
|
|
#rc_cgroup_memory=""
|
|
|
|
# Set the net_prio controller settings for this service.
|
|
#rc_cgroup_net_prio=""
|