[root@test2 etc]# cat sysctl.conf
When i add some entry in
[root@test2 etc]# cat sysctl.conf
reboot the server or restart the file ........new in this need suggestions to make the change permanent.
assuming you are using Linux, hope that answer your question.
Using any text editor, create or edit the /etc/sysctl.conf file, and add or edit lines similar to the following:
Note:
Include lines only for the kernel parameter values that you want to change. For the semaphore parameters (kernel.sem), you must specify all four values. However, if any of the current values are larger than the recommended value, then specify the larger value.
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
By specifying the values in the /etc/sysctl.conf file, they persist when you restart the system.
On SUSE systems only, enter the following command to ensure that the system reads the /etc/sysctl.conf file when it restarts:
# /sbin/chkconfig boot.sysctl on
Similar Messages
-
/etc/sysctl.conf not taking effect
Hi, i created /etc/sysctl.conf which is not applied at startup. Is anyone able to tell me where i've gone wrong?
ls -al /etc/sysctl.conf
-rw-r--r-- 1 root wheel 121 Oct 13 10:05 /etc/sysctl.conf
cat /etc/sysctl.conf
net.inet.tcp.sendspace: 65536
net.inet.tcp.recvspace: 65536
After starting up i check with this command:
sysctl net.inet.tcp
And the results are:
net.inet.tcp.sendspace: 32768
net.inet.tcp.recvspace: 32768
....Your syntax is wrong. Use net.inet.tcp.sendspace=65536
-
Settings in /etc/sysctl.conf overwritten [SOLVED]
I added a new line to /etc/sysctl.conf setting the vm.dirty_ratio to 3 (line is simply `vm.dirty_ratio = 3`). I can invoke it by running `sysctl -p` so I know the syntax is correct. This setting is however not loaded upon a reboot. The systemd-sysctl.service is however kicked off just fine and completes without errors. I have also tried removing the line from /etc/sysctl.conf and placing it in /etc/sysctl.d/dirty.conf but again, it is not honored at boot. What am I doing wrong?
EDIT: The solution is in post #31 - acknowledgement to chp for pointing me to it. Note that I also changed to topic to a more relevant one.
Last edited by graysky (2013-08-10 12:27:41)Guess I'm stumped. I just spun up an Arch VM, pasted in the /etc/sysctl.conf below and reboot it. All the settings in the file in the VM are applied. If Leonid's guess that something is overriding these values on my workstation, I would like to figure out what it is and shut it down. To keep things simple, I booted into the stock ARCH kernel; here are the services I have active:
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automo
sys-devices-pci0000:00-0000:00:19.0-net-eno1.device loaded active plugged P8P67 Deluxe Motherboard
sys-devices-pci0...-0000:00:1b.0-sound-card0.device loaded active plugged 7 Series/C210 Series Chipset Family High Definition
sys-devices-pci0...6-0000:07:00.0-net-wlp7s0.device loaded active plugged AR9485 Wireless Network Adapter
sys-devices-pci0...:0-0:0:0:0-block-sda-sda1.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...:0-0:0:0:0-block-sda-sda2.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...:0-0:0:0:0-block-sda-sda3.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...et0:0:0-0:0:0:0-block-sda.device loaded active plugged OCZ-VERTEX4
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb1.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb2.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb3.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb4.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb5.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb6.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...:0-1:0:0:0-block-sdb-sdb7.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...et1:0:0-1:0:0:0-block-sdb.device loaded active plugged WDC_WD1001FALS-00J7B1
sys-devices-pci0...et3:0:0-3:0:0:0-block-sr0.device loaded active plugged ATAPI_iHAS424_B
sys-devices-platform-serial8250-tty-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-module-fuse.device loaded active plugged /sys/module/fuse
sys-subsystem-net-devices-eno1.device loaded active plugged P8P67 Deluxe Motherboard
sys-subsystem-net-devices-wlp7s0.device loaded active plugged AR9485 Wireless Network Adapter
-.mount loaded active mounted /
boot.mount loaded active mounted /boot
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home-facade-.cache.mount loaded active mounted /home/facade/.cache
mnt-data.mount loaded active mounted /mnt/data
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
scratch.mount loaded active mounted /scratch
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
sys-kernel-config.mount loaded active mounted Configuration File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted Temporary Directory
var-cache.mount loaded active mounted /var/cache
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watc
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
cronie.service loaded active running Periodic Command Scheduler
dbus.service loaded active running D-Bus System Message Bus
fancontrol.service loaded active running Fan control daemon
[email protected] loaded active running Getty on tty1
gpm.service loaded active running Virtual console mouse server
lxdm.service loaded active running LXDE Display Manager
[email protected] loaded active exited A basic static ethernet connection using iproute
ntpd.service loaded active running Network Time Service
polkit.service loaded active running Authorization Manager
psd.service loaded active exited Profile-sync-daemon
rtkit-daemon.service loaded active running RealtimeKit Scheduling Policy Service
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
ufw.service loaded active exited CLI Netfilter Manager
upower.service loaded active running Daemon for power management
cups.socket loaded active listening CUPS Printing Service Sockets
dbus.socket loaded active running D-Bus System Message Bus Socket
dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
sshd.socket loaded active listening sshd.socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket loaded active listening udev Control Socket
systemd-update-utmp.service loaded active exited Update UTMP about System Reboot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Disk Manager
ufw.service loaded active exited CLI Netfilter Manager
upower.service loaded active running Daemon for power management
cups.socket loaded active listening CUPS Printing Service Sockets
dbus.socket loaded active running D-Bus System Message Bus Socket
dmeventd.socket loaded active listening Device-mapper event daemon FIFOs
sshd.socket loaded active listening sshd.socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-udevd-control.socket loaded active listening udev Control Socket
systemd-udevd-kernel.socket loaded active running udev Kernel Socket
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User System
network.target loaded active active Network
paths.target loaded active active Paths
remote-fs.target loaded active active Remote File Systems
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
timers.target loaded active active Timers
psd-resync.timer loaded active waiting Timer for Profile-sync-daemon - 1Hour
systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
And...
% systemctl list-unit-files
UNIT FILE STATE
proc-sys-fs-binfmt_misc.automount static
dev-hugepages.mount static
dev-mqueue.mount static
proc-fs-nfsd.mount static
proc-sys-fs-binfmt_misc.mount static
sys-fs-fuse-connections.mount static
sys-kernel-config.mount static
sys-kernel-debug.mount static
tmp.mount static
var-lib-nfs-rpc_pipefs.mount static
cups.path disabled
systemd-ask-password-console.path static
systemd-ask-password-wall.path static
alsa-restore.service static
alsa-state.service static
alsa-store.service static
arch32.service disabled
[email protected] disabled
avahi-daemon.service disabled
avahi-dnsconfd.service disabled
binfmt-support.service disabled
blkmapd.service disabled
canberra-system-bootup.service disabled
canberra-system-shutdown-reboot.service disabled
canberra-system-shutdown.service disabled
colord.service static
console-getty.service disabled
console-shell.service disabled
cronie.service enabled
cups-browsed.service disabled
cups.service disabled
cupsd.service disabled
dbus-org.freedesktop.hostname1.service static
dbus-org.freedesktop.locale1.service static
dbus-org.freedesktop.login1.service static
dbus-org.freedesktop.timedate1.service static
dbus.service static
debug-shell.service disabled
dhcpcd.service disabled
[email protected] disabled
display-manager.service enabled
distccd.service disabled
dkms.service disabled
dmeventd.service static
emergency.service static
fancontrol.service enabled
ftpd.service disabled
[email protected] enabled
[email protected] static
gpm.service enabled
hddtemp.service disabled
healthd.service disabled
initrd-cleanup.service static
initrd-parse-etc.service static
initrd-switch-root.service static
initrd-udevadm-cleanup-db.service static
ip6tables.service disabled
iptables.service disabled
irexec.service disabled
krb5-kadmind.service disabled
krb5-kdc.service disabled
krb5-kpropd.service disabled
[email protected] static
lirc.service disabled
lircm.service disabled
lm_sensors.service disabled
lxdm.service enabled
mcelog.service disabled
mpd.service disabled
[email protected] disabled
[email protected] disabled
netctl-sleep.service disabled
netctl.service disabled
[email protected] static
[email protected] static
[email protected] enabled
nfsd.service disabled
nmbd.service disabled
nscd.service disabled
ntpd.service enabled
ntpdate.service disabled
polkit.service static
psd-resync.service enabled
psd.service enabled
quotaon.service static
rescue.service static
rpc-gssd.service disabled
rpc-idmapd.service disabled
rpc-mountd.service disabled
rpc-statd.service disabled
rpc-svcgssd.service disabled
rpcbind.service disabled
rsyncd.service disabled
[email protected] static
rtkit-daemon.service disabled
samba.service disabled
sensord.service disabled
[email protected] static
smartd.service disabled
smbd.service disabled
[email protected] static
snmpd.service disabled
snmptrapd.service disabled
speech-dispatcherd.service disabled
sshd.service disabled
[email protected] static
sshdgenkeys.service static
svnserve.service disabled
[email protected] static
systemd-ask-password-console.service static
systemd-ask-password-wall.service static
systemd-binfmt.service static
systemd-fsck-root.service static
[email protected] static
systemd-halt.service static
systemd-hibernate.service static
systemd-hostnamed.service static
systemd-hybrid-sleep.service static
systemd-initctl.service static
systemd-journal-flush.service static
systemd-journal-gatewayd.service static
systemd-journald.service static
systemd-kexec.service static
systemd-localed.service static
systemd-logind.service static
systemd-modules-load.service static
[email protected] static
systemd-poweroff.service static
systemd-quotacheck.service static
systemd-random-seed-load.service static
systemd-random-seed-save.service static
systemd-readahead-collect.service disabled
systemd-readahead-done.service static
systemd-readahead-drop.service disabled
systemd-readahead-replay.service disabled
systemd-reboot.service static
systemd-remount-fs.service static
systemd-shutdownd.service static
systemd-suspend.service static
systemd-sysctl.service static
systemd-timedated.service static
systemd-tmpfiles-clean.service static
systemd-tmpfiles-setup-dev.service static
systemd-tmpfiles-setup.service static
systemd-udev-settle.service static
systemd-udev-trigger.service static
systemd-udevd.service static
systemd-update-utmp-runlevel.service static
systemd-update-utmp.service static
systemd-user-sessions.service static
systemd-vconsole-setup.service static
udisks.service disabled
udisks2.service static
ufw.service enabled
upower.service disabled
usbmuxd.service static
[email protected] disabled
uuidd.service static
vboxweb.service disabled
vncserver.service disabled
winbindd.service disabled
[email protected] disabled
[email protected] disabled
wpa_supplicant.service disabled
[email protected] disabled
avahi-daemon.socket disabled
cups.socket enabled
dbus.socket static
dmeventd.socket static
git-daemon.socket disabled
krb5-kpropd.socket disabled
rsyncd.socket disabled
smbd.socket disabled
sshd.socket enabled
swat.socket disabled
syslog.socket static
systemd-initctl.socket static
systemd-journal-gatewayd.socket disabled
systemd-journald.socket static
systemd-shutdownd.socket static
systemd-udevd-control.socket static
systemd-udevd-kernel.socket static
uuidd.socket disabled
basic.target static
bluetooth.target static
cryptsetup.target static
ctrl-alt-del.target disabled
default.target disabled
emergency.target static
final.target static
getty.target static
graphical.target disabled
halt.target disabled
hibernate.target static
hybrid-sleep.target static
initrd-fs.target static
initrd-root-fs.target static
initrd-switch-root.target static
initrd.target static
kexec.target disabled
local-fs-pre.target static
local-fs.target static
multi-user.target disabled
network-online.target static
network.target static
nss-lookup.target static
nss-user-lookup.target static
paths.target static
poweroff.target disabled
printer.target static
reboot.target disabled
remote-fs-pre.target static
remote-fs.target enabled
rescue.target disabled
rpcbind.target static
shutdown.target static
sigpwr.target static
sleep.target static
smartcard.target static
sockets.target static
sound.target static
suspend.target static
swap.target static
sysinit.target static
system-update.target static
time-sync.target static
timers.target static
umount.target static
psd-resync.timer static
systemd-readahead-done.timer static
systemd-tmpfiles-clean.timer static
231 unit files listed.
Last edited by graysky (2014-11-03 08:39:54) -
Deprecation of /etc/sysctl.conf
With the last update I've moved sysctl.conf.pacsave into /etc/sysctl.d/99-sysctl.conf
Within sysctl.conf I had the option kernel.sysrq = 1
Now, if there is a panic kernel the key combination of ALT+ImpPnt + R+S+E+I+U+B doesn't work
Is there any solution?
Last edited by Franknd (2013-09-20 14:32:04)I've had this issue before, but it mentioned /usr/lib/sysctl.d/50-default.conf:
$ sudo journalctl --no-pager | grep sysrq
Aug 11 17:23:48 black systemd-sysctl[93]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 11 17:23:51 black systemd-sysctl[136]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 11 17:24:45 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 11 17:24:48 black systemd-sysctl[137]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 11 17:37:26 black systemd-sysctl[92]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 11 17:37:29 black systemd-sysctl[138]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 13 01:49:01 black systemd-sysctl[92]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 13 01:49:05 black systemd-sysctl[137]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 13 18:53:11 black systemd-sysctl[92]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 13 18:53:14 black systemd-sysctl[139]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 14 17:30:12 black systemd-sysctl[93]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 14 17:30:15 black systemd-sysctl[138]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 15 20:13:25 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 15 20:13:29 black systemd-sysctl[138]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 16 15:51:15 black systemd-sysctl[92]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 16 15:51:18 black systemd-sysctl[137]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 17 12:19:45 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 17 12:19:49 black systemd-sysctl[136]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 18 15:13:05 black systemd-sysctl[94]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 18 15:13:08 black systemd-sysctl[139]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 20 12:03:58 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 20 12:04:01 black systemd-sysctl[139]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 20 23:50:11 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 20 23:50:15 black systemd-sysctl[136]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 21 18:59:46 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 21 18:59:50 black systemd-sysctl[137]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 22 02:39:46 black systemd-sysctl[92]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 22 02:39:50 black systemd-sysctl[138]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 22 10:29:32 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 22 10:29:36 black systemd-sysctl[136]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 25 23:18:00 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 25 23:18:04 black systemd-sysctl[138]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 27 21:34:24 black systemd-sysctl[92]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 27 21:34:27 black systemd-sysctl[139]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 28 12:11:08 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 28 12:11:12 black systemd-sysctl[136]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 30 12:23:25 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 30 12:23:29 black systemd-sysctl[138]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 31 19:53:35 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Aug 31 19:53:39 black systemd-sysctl[136]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 01 07:26:50 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 01 07:26:54 black systemd-sysctl[135]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 02 19:53:12 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 02 19:53:16 black systemd-sysctl[136]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 03 12:36:10 black systemd-sysctl[91]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 03 12:36:14 black systemd-sysctl[136]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 04 13:50:08 black systemd-sysctl[92]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 04 13:50:12 black systemd-sysctl[136]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 05 12:28:40 black systemd-sysctl[90]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 05 12:28:44 black systemd-sysctl[136]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 07 09:01:16 black systemd-sysctl[95]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 07 09:01:20 black systemd-sysctl[141]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 09 18:59:31 black systemd-sysctl[94]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 09 18:59:34 black systemd-sysctl[139]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 10 19:11:48 black systemd-sysctl[95]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 10 19:11:52 black systemd-sysctl[140]: Duplicate assignment of kernel/sysrq in file '/usr/lib/sysctl.d/50-default.conf', ignoring.
Sep 17 22:53:39 black kernel: SysRq : This sysrq operation is disabled.
Sep 17 22:53:43 black kernel: SysRq : This sysrq operation is disabled.
Sep 17 22:54:00 black systemd-sysctl[96]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/99-sysctl.conf'.
Sep 17 22:54:03 black systemd-sysctl[142]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/99-sysctl.conf'.
Sep 17 22:54:49 black systemd-sysctl[96]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/99-sysctl.conf'.
Sep 17 22:54:52 black systemd-sysctl[142]: Overwriting earlier assignment of kernel/sysrq in file '/etc/sysctl.d/99-sysctl.conf'.
$ cat /usr/lib/sysctl.d/50-default.conf
# This file is part of systemd.
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
# See sysctl.d(5) and core(5) for for details.
# System Request functionality of the kernel (SYNC)
kernel.sysrq = 16
# Append the PID to the core filename
kernel.core_uses_pid = 1
# Source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Enable hard and soft link protection
fs.protected_hardlinks = 1
fs.protected_symlinks = 1 -
Hello:
I foolishly modified the /etc/sysctl.conf file on my Macmini server running 10.8.4 server and now things do not work as expected:
* most programs fail to launch (Firefox, Git, Safari)
* the system takes a long time to boot
* there is no network connectivity
* the Server app (and services) fail to launch
I'll greatly appreciate if somebody could post or point me to a stock or default "/etc/sysctl.conf" file.
I did try deleting the /etc/sysctl.conf file altogether, but it did not solve my problem.
Thanks.KnowsABit wrote:
It's interesting and worrisome that both of these answers conflict with the instructions at the Postgres web site, and in other posts about installing Postgres on Mountain Lion. According to those resources, there is no such file by default, but creating it (and rebooting) is the way to change these settings.
This thread is about Postgres on OS X Server, which is installed by default. You shouldn't have to do anything else to set it up. If you are installing Postgres on OS X Client, then you may have some work to do. I tried Postgres a couple of years ago. It was pretty clunky. I assume Apple does a better job of configuring Postgres than Postgres. I suggest installing OS X Server if you want to run Postgres and MySQL is not suitable for some reason. -
Error in Doc B15661-01: /etc/sysctl.conf rmem & wmem
Editing the file /etc/sysctl.conf
there is an error/typo in the kernel parameters, on Suse 9
the entries should be like this:
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
This should make the changes permanent.Thank you. Your feedback has been forwarded to the doc writer.
Regards,
Chao -
Default Arch /etc/sysctl.conf
I looked in this file and found some interesting things that Arch devs appear to have made default, and I'd like to know why this is?
# Disable packet forwarding
net.ipv4.ip_forward = 0
# Disable the magic-sysrq key (console security issues)
kernel.sysrq = 0
# Enable TCP SYN Cookie Protection
net.ipv4.tcp_syncookies = 1
All three of these I'd like to hear the background on.
The SYSRQ key is disabled here? Wow, no wonder I've been having trouble getting it to work
Seriously though, security issues? Are we talking about these concerns? Do Arch devs not agree with the counter-point there?
Disable TCP SYN cookie protection -- isn't that a good thing? Does it slow some stuff down, then?
And then disabling packet forwarding... doesn't really hurt anyone who want that, and therefore would be able to figure out how to turn it on, but official word would be nice.
Last edited by Ranguvar (2009-12-31 03:27:34)sysctl is a part of (UNIX) kernel, don't know one don't touch the other. Simple. Not to mention that all is available on the net. Wiki argument is not great, why not to run OS without security at all? There is no way to 100% protect box, so what is the point settting any protection at all?
Of course syncookies must be first enabled in kernel for sysctl command to work (by default in vanilla this is disabled), magic syskey can also be disabled in kernel and then whatever you do this option is gone.
sysctl gives easy way to control these features. It always amazes me that people have no idea about sysctl claiming at the same way that customization and security convinced them that linux is superior to windows.
default settings in sysctl.conf are remnants of good OBSD policy: everything is disabled, enable onlywhat you need. The opposite is windows policy: everything is enabled, disable what you don't need. Latter is much mode difficult to control.
I like sysctl because it gives so much control over disk performance (including fine tuning of fs), network, memory handling and obviously kernel based system hardening.
sysctl is so well described, than everybody can easily learn how to use it.
It's not equivalent to granting users power access, because you need physical access to the computer to use it.
magic sysrq is used for remote reboot for example (need to install ipt_sysrq).
On the other hand, disabling magic sysrq in sysctl.conf is not safest option because there is some periond of time before sysctl.conf is read so disabling in kernel config is better option from security standpoint -
Unable to find sysctl.conf
Hi,
I want to install oracle s/w for my production server. before installing oracle i want to set kernel parameters in /etc/sysctl.conf .i logined as root user but i couldn't able to fine sysctl.conf file on server..
Edited by: 920033 on Apr 12, 2012 7:54 AM920033 wrote:
Hi,
I want to install oracle s/w for my production server. before installing oracle i want to set kernel parameters in /etc/sysctl.conf .i logined as root user but i couldn't able to fine sysctl.conf file on server..
Edited by: 920033 on Apr 12, 2012 7:54 AM
bcm@bcm-laptop:~$ ls -l /etc/sysctl.conf
-rw-r--r-- 1 root root 2364 2010-05-07 09:48 /etc/sysctl.conf
bcm@bcm-laptop:~$ -
Help on 10g 64 bit --Sizing SGA and sysctl.conf
Dear Sir,
I have an oracle10g installed on a 64 bit OS and want to allocate 8GB to SGA and want to confirm if i am using the right settings
My sysctl.conf settings are :
cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route = 0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename
# Useful for debugging multi-threaded applications
kernel.core_uses_pid = 1
# Controls the use of TCP syncookies
net.ipv4.tcp_syncookies = 1
# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536
# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536
kernel.shmmax = 8589934592
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.sem = 3000 32000 100 128
net.core.rmem_default=262144
net.core.rmem_max=262144
net.core.wmem_default=262144
net.core.wmem_max=262144
My init Settings are :
*._DB_BLOCK_LRU_LATCHES=16
*._spin_count=7000
*.archive_lag_target=1800
*.audit_sys_operations=TRUE
*.BACKGROUND_DUMP_DEST='/redf/DB/dbf/dump'
*.circuits=10000
*.COMPATIBLE='10.2.0.4'
*.CONTROL_FILES='/redf/DB/dbf/cntl1/DB_cntl1_01.ctl','/redf/DB/dbf/cntl2/DB_cntl2_02.ctl','/redf/DB/dbf/cntl3/DB_cntl3_03.ctl'
*.CORE_DUMP_DEST='/redf/DB/dbf/dump'
*.cursor_sharing='FORCE'
*.DB_BLOCK_SIZE=8192
*.DB_CACHE_SIZE=1024M
*.db_file_multiblock_read_count=64
*.db_file_name_convert='/redf/DB/dbf','/redf/DB/dbf'
*.DB_NAME='DB'
*.db_writer_processes=8
*.dispatchers='(PROTOCOL=TCP)(DISPATCHERS=10)'
*.FAST_START_MTTR_TARGET=300
*.INSTANCE_NAME='DB'
*.JAVA_POOL_SIZE=64M
*.JOB_QUEUE_PROCESSES=1
*.large_pool_size=150M
*.LOCAL_LISTENER='(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=XX.XX.XX.XXX)(PORT=1521)))'
*.LOG_ARCHIVE_DEST_1='LOCATION=/redf/DB/arch'
*.LOG_ARCHIVE_DEST_2='LOCATION=/orabackup/redf/DB/arch_new'
*.log_archive_dest_state_2='ENABLE'
*.log_archive_format='DB%t_%r_%s.arc'
*.log_archive_max_processes=2
*.log_archive_min_succeed_dest=1
*.LOG_ARCHIVE_START=TRUE
*.log_buffer=50000000
*.MAX_DISPATCHERS=40
*.max_shared_servers=40
*.O7_DICTIONARY_ACCESSIBILITY=FALSE
*.open_cursors=10000
*.optimizer_index_cost_adj=20
*.parallel_adaptive_multi_user=TRUE
*.parallel_automatic_tuning=TRUE
*.parallel_max_servers=20
*.parallel_min_servers=2
*.processes=4000
*.QUERY_REWRITE_ENABLED='TRUE'
*.QUERY_REWRITE_INTEGRITY='ENFORCED'
*.recovery_parallelism=5
*.recyclebin='OFF'
*.remote_archive_enable='TRUE'
*.REMOTE_LOGIN_PASSWORDFILE='EXCLUSIVE'
*.remote_os_authent=FALSE
*.resource_limit=TRUE
*.session_cached_cursors=200
*.sessions=4000
*.SGA_MAX_SIZE=8000M
*.SGA_TARGET=6500M
*.shared_pool_size=1024M
*.shared_servers=10
*.sort_area_size=10485760
*.sql92_security=TRUE
*.standby_archive_dest='/redf/DB/arch'
*.standby_file_management='AUTO'
*.statistics_level='TYPICAL'
*.timed_statistics=TRUE
*.UNDO_MANAGEMENT='AUTO'
*.undo_retention=1800
*.undo_tablespace='UNDOTBS'
*.USER_DUMP_DEST='/redf/DB/dbf/dump'
Want to confirm is this a proper tuend settings as per memory provided ?
I am aware that it also depends on my appication behaviour , but i just want to check whether the above settings would suffice for a 16GB RAM machine and 64 bit oracle10g
Also let me know if any other setttings apart from this are required , i choose to use SGA Target .Further my application is read intensive . Your suggestions will be highly appreciated.
ThanxHi,
I suggest you to increase the value kernel.shmmax = 8589934592 of this parameter in sysctl.conf to kernel.shmmax = 1288490188
Later if you want to increase the size of SGA then you need to modify the kernel.shmmax = 8589934592 value. In general practice we keep kernel.shmmax value little greater then the value of SGA.
Refer MOS tech note:
*ORA-27102 Database Will Not Start With SHMMAX Set To 8589934592 (8GB) [ID 461519.1]*
*Linux Big SGA, Large Memory, VLM - White Paper [ID 260152.1]*
thanks,
X A H E E R
Edited by: ora_tech on Dec 26, 2010 10:14 AM -
Hi all,
I have a single-user laptop, so I'd like to configure my X keyboard layout and options globally instead of doing it for any WM/DE I might happen to use. And most importantly, the desktop manager (GDM) should already use my layout. So my /etc/X11/xorg.conf.d/10-evdev.conf contains this section:
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbLayout" "de"
Option "XkbVariant" "dvorak"
Option "XkbOptions" "ctrl:nocaps"
EndSection
The result is that I have my German Dvorak layout in GDM and in whatever WM I choose there. However, the ctrl:nocaps option seems to be ignored. In GDM, CapsLock is still CapsLock, not an additional CTRL. Why not?
Here's the Xorg.0.log in case that might shed some light. (Well, it actually only shows that the options seems to be applied to all keyboard devices...)
[ 14.912]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[ 14.912] X Protocol Version 11, Revision 0
[ 14.912] Build Operating System: Linux 3.12.5-1-ARCH x86_64
[ 14.912] Current Operating System: Linux thinkpad-t61 3.12.9-1-ARCH #1 SMP PREEMPT Sun Jan 26 09:01:37 CET 2014 x86_64
[ 14.912] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda3 rw initrd=../initramfs-linux.img
[ 14.912] Build Date: 09 January 2014 08:47:24AM
[ 14.912]
[ 14.912] Current version of pixman: 0.32.4
[ 14.912] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 14.912] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 14.912] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 30 08:06:06 2014
[ 15.046] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 15.046] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 15.385] (==) No Layout section. Using the first Screen section.
[ 15.385] (==) No screen section available. Using defaults.
[ 15.385] (**) |-->Screen "Default Screen Section" (0)
[ 15.385] (**) | |-->Monitor "<default monitor>"
[ 15.415] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 15.415] (==) Automatically adding devices
[ 15.415] (==) Automatically enabling devices
[ 15.415] (==) Automatically adding GPU devices
[ 15.596] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 15.596] Entry deleted from font path.
[ 15.603] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 15.603] Entry deleted from font path.
[ 15.603] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 15.604] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 15.604] Entry deleted from font path.
[ 15.604] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 15.604] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/Type1/
[ 15.604] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 15.604] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 15.604] (II) Loader magic: 0x804c80
[ 15.604] (II) Module ABI versions:
[ 15.604] X.Org ANSI C Emulation: 0.4
[ 15.604] X.Org Video Driver: 15.0
[ 15.604] X.Org XInput driver : 20.0
[ 15.604] X.Org Server Extension : 8.0
[ 15.604] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 15.607] (--) PCI:*(0:0:2:0) 8086:2a02:17aa:20b5 rev 12, Mem @ 0xf8100000/1048576, 0xe0000000/268435456, I/O @ 0x00001800/8
[ 15.607] (--) PCI: (0:0:2:1) 8086:2a03:17aa:20b5 rev 12, Mem @ 0xf8200000/1048576
[ 15.607] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 15.619] Initializing built-in extension Generic Event Extension
[ 15.619] Initializing built-in extension SHAPE
[ 15.619] Initializing built-in extension MIT-SHM
[ 15.619] Initializing built-in extension XInputExtension
[ 15.619] Initializing built-in extension XTEST
[ 15.619] Initializing built-in extension BIG-REQUESTS
[ 15.619] Initializing built-in extension SYNC
[ 15.619] Initializing built-in extension XKEYBOARD
[ 15.619] Initializing built-in extension XC-MISC
[ 15.619] Initializing built-in extension SECURITY
[ 15.619] Initializing built-in extension XINERAMA
[ 15.619] Initializing built-in extension XFIXES
[ 15.619] Initializing built-in extension RENDER
[ 15.619] Initializing built-in extension RANDR
[ 15.619] Initializing built-in extension COMPOSITE
[ 15.619] Initializing built-in extension DAMAGE
[ 15.619] Initializing built-in extension MIT-SCREEN-SAVER
[ 15.619] Initializing built-in extension DOUBLE-BUFFER
[ 15.619] Initializing built-in extension RECORD
[ 15.619] Initializing built-in extension DPMS
[ 15.619] Initializing built-in extension Present
[ 15.619] Initializing built-in extension DRI3
[ 15.619] Initializing built-in extension X-Resource
[ 15.619] Initializing built-in extension XVideo
[ 15.619] Initializing built-in extension XVideo-MotionCompensation
[ 15.619] Initializing built-in extension XFree86-VidModeExtension
[ 15.619] Initializing built-in extension XFree86-DGA
[ 15.619] Initializing built-in extension XFree86-DRI
[ 15.619] Initializing built-in extension DRI2
[ 15.619] (II) "glx" will be loaded by default.
[ 15.619] (II) LoadModule: "dri2"
[ 15.619] (II) Module "dri2" already built-in
[ 15.619] (II) LoadModule: "glamoregl"
[ 15.671] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 15.894] (II) Module glamoregl: vendor="X.Org Foundation"
[ 15.894] compiled for 1.15.0, module version = 0.6.0
[ 15.894] ABI class: X.Org ANSI C Emulation, version 0.4
[ 15.894] (II) LoadModule: "glx"
[ 15.894] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 15.926] (II) Module glx: vendor="X.Org Foundation"
[ 15.926] compiled for 1.15.0, module version = 1.0.0
[ 15.926] ABI class: X.Org Server Extension, version 8.0
[ 15.926] (==) AIGLX enabled
[ 15.926] Loading extension GLX
[ 15.926] (==) Matched intel as autoconfigured driver 0
[ 15.926] (==) Matched intel as autoconfigured driver 1
[ 15.926] (==) Matched modesetting as autoconfigured driver 2
[ 15.926] (==) Matched fbdev as autoconfigured driver 3
[ 15.926] (==) Matched vesa as autoconfigured driver 4
[ 15.926] (==) Assigned the driver to the xf86ConfigLayout
[ 15.926] (II) LoadModule: "intel"
[ 15.926] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 16.103] (II) Module intel: vendor="X.Org Foundation"
[ 16.103] compiled for 1.15.0, module version = 2.21.15
[ 16.103] Module class: X.Org Video Driver
[ 16.103] ABI class: X.Org Video Driver, version 15.0
[ 16.103] (II) LoadModule: "modesetting"
[ 16.112] (WW) Warning, couldn't open module modesetting
[ 16.112] (II) UnloadModule: "modesetting"
[ 16.112] (II) Unloading modesetting
[ 16.112] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 16.112] (II) LoadModule: "fbdev"
[ 16.112] (WW) Warning, couldn't open module fbdev
[ 16.112] (II) UnloadModule: "fbdev"
[ 16.112] (II) Unloading fbdev
[ 16.112] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 16.112] (II) LoadModule: "vesa"
[ 16.112] (WW) Warning, couldn't open module vesa
[ 16.112] (II) UnloadModule: "vesa"
[ 16.112] (II) Unloading vesa
[ 16.112] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 16.112] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics,
HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[ 16.114] (++) using VT number 1
[ 16.139] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 16.139] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 16.139] (==) intel(0): RGB weight 888
[ 16.139] (==) intel(0): Default visual is TrueColor
[ 16.139] (--) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
[ 16.139] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1
[ 16.139] (**) intel(0): Framebuffer tiled
[ 16.139] (**) intel(0): Pixmaps tiled
[ 16.139] (**) intel(0): "Tear free" disabled
[ 16.139] (**) intel(0): Forcing per-crtc-pixmaps? no
[ 16.139] (II) intel(0): Output LVDS1 has no monitor section
[ 16.139] (--) intel(0): found backlight control interface acpi_video0 (type 'firmware')
[ 16.139] (II) intel(0): Output VGA1 has no monitor section
[ 16.140] (II) intel(0): Output DVI1 has no monitor section
[ 16.140] (--) intel(0): Output LVDS1 using initial mode 1280x800 on pipe 0
[ 16.140] (--) intel(0): Output DVI1 using initial mode 1920x1200 on pipe 1
[ 16.140] (==) intel(0): DPI set to (96, 96)
[ 16.140] (II) Loading sub module "dri2"
[ 16.140] (II) LoadModule: "dri2"
[ 16.140] (II) Module "dri2" already built-in
[ 16.140] (==) Depth 24 pixmap format is 32 bpp
[ 16.173] (II) intel(0): SNA initialized with Broadwater (gen4) backend
[ 16.173] (==) intel(0): Backing store enabled
[ 16.173] (==) intel(0): Silken mouse enabled
[ 16.175] (II) intel(0): HW Cursor enabled
[ 16.175] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 16.178] (==) intel(0): DPMS enabled
[ 16.178] (II) intel(0): [XvMC] i965_xvmc driver initialized.
[ 16.178] (II) intel(0): [DRI2] Setup complete
[ 16.178] (II) intel(0): [DRI2] DRI driver: i965
[ 16.178] (II) intel(0): direct rendering: DRI2 Enabled
[ 16.178] (==) intel(0): hotplug detection: "enabled"
[ 16.178] (--) RandR disabled
[ 16.398] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 16.398] (II) AIGLX: enabled GLX_ARB_create_context
[ 16.398] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 16.398] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[ 16.398] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 16.398] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 16.398] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[ 16.398] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[ 16.398] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 16.398] (II) AIGLX: Loaded and initialized i965
[ 16.398] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 16.410] (II) intel(0): switch to mode [email protected] on pipe 0 using LVDS1, position (0, 0), rotation normal
[ 16.426] (II) intel(0): switch to mode [email protected] on pipe 1 using DVI1, position (0, 0), rotation normal
[ 16.440] (II) intel(0): Setting screen physical size to 508 x 317
[ 16.899] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 16.899] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 16.899] (II) LoadModule: "evdev"
[ 16.899] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 16.928] (II) Module evdev: vendor="X.Org Foundation"
[ 16.928] compiled for 1.15.0, module version = 2.8.2
[ 16.928] Module class: X.Org XInput Driver
[ 16.928] ABI class: X.Org XInput driver, version 20.0
[ 16.928] (II) Using input driver 'evdev' for 'Power Button'
[ 16.928] (**) Power Button: always reports core events
[ 16.928] (**) evdev: Power Button: Device: "/dev/input/event3"
[ 16.928] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 16.928] (--) evdev: Power Button: Found keys
[ 16.928] (II) evdev: Power Button: Configuring as keyboard
[ 16.928] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event3"
[ 16.928] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 16.928] (**) Option "xkb_rules" "evdev"
[ 16.928] (**) Option "xkb_model" "pc104"
[ 16.928] (**) Option "xkb_layout" "de"
[ 16.928] (**) Option "xkb_variant" "dvorak"
[ 16.928] (**) Option "xkb_options" "ctrl:nocaps"
[ 16.976] (II) config/udev: Adding input device Video Bus (/dev/input/event11)
[ 16.976] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 16.976] (II) Using input driver 'evdev' for 'Video Bus'
[ 16.976] (**) Video Bus: always reports core events
[ 16.976] (**) evdev: Video Bus: Device: "/dev/input/event11"
[ 16.976] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 16.976] (--) evdev: Video Bus: Found keys
[ 16.976] (II) evdev: Video Bus: Configuring as keyboard
[ 16.976] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input13/event11"
[ 16.976] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 16.976] (**) Option "xkb_rules" "evdev"
[ 16.976] (**) Option "xkb_model" "pc104"
[ 16.976] (**) Option "xkb_layout" "de"
[ 16.976] (**) Option "xkb_variant" "dvorak"
[ 16.976] (**) Option "xkb_options" "ctrl:nocaps"
[ 16.977] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[ 16.977] (II) No input driver specified, ignoring this device.
[ 16.977] (II) This device may have been added with another device file.
[ 16.977] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[ 16.977] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 16.977] (II) Using input driver 'evdev' for 'Sleep Button'
[ 16.977] (**) Sleep Button: always reports core events
[ 16.977] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[ 16.977] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[ 16.977] (--) evdev: Sleep Button: Found keys
[ 16.977] (II) evdev: Sleep Button: Configuring as keyboard
[ 16.977] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3/event2"
[ 16.977] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[ 16.977] (**) Option "xkb_rules" "evdev"
[ 16.977] (**) Option "xkb_model" "pc104"
[ 16.977] (**) Option "xkb_layout" "de"
[ 16.977] (**) Option "xkb_variant" "dvorak"
[ 16.977] (**) Option "xkb_options" "ctrl:nocaps"
[ 16.977] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 16.978] (II) config/udev: Adding input device HID 04b3:3107 (/dev/input/event12)
[ 16.978] (**) HID 04b3:3107: Applying InputClass "evdev pointer catchall"
[ 16.978] (II) Using input driver 'evdev' for 'HID 04b3:3107'
[ 16.978] (**) HID 04b3:3107: always reports core events
[ 16.978] (**) evdev: HID 04b3:3107: Device: "/dev/input/event12"
[ 16.978] (--) evdev: HID 04b3:3107: Vendor 0x4b3 Product 0x3107
[ 16.978] (--) evdev: HID 04b3:3107: Found 3 mouse buttons
[ 16.978] (--) evdev: HID 04b3:3107: Found scroll wheel(s)
[ 16.978] (--) evdev: HID 04b3:3107: Found relative axes
[ 16.978] (--) evdev: HID 04b3:3107: Found x and y relative axes
[ 16.978] (II) evdev: HID 04b3:3107: Configuring as mouse
[ 16.978] (II) evdev: HID 04b3:3107: Adding scrollwheel support
[ 16.978] (**) evdev: HID 04b3:3107: YAxisMapping: buttons 4 and 5
[ 16.978] (**) evdev: HID 04b3:3107: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 16.978] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb3/3-4/3-4.6/3-4.6.1/3-4.6.1:1.0/input/input14/event12"
[ 16.978] (II) XINPUT: Adding extended input device "HID 04b3:3107" (type: MOUSE, id 9)
[ 16.978] (II) evdev: HID 04b3:3107: initialized for relative axes.
[ 16.978] (**) HID 04b3:3107: (accel) keeping acceleration scheme 1
[ 16.978] (**) HID 04b3:3107: (accel) acceleration profile 0
[ 16.978] (**) HID 04b3:3107: (accel) acceleration factor: 2.000
[ 16.978] (**) HID 04b3:3107: (accel) acceleration threshold: 4
[ 16.979] (II) config/udev: Adding input device HID 04b3:3107 (/dev/input/mouse1)
[ 16.979] (II) No input driver specified, ignoring this device.
[ 16.979] (II) This device may have been added with another device file.
[ 16.979] (II) config/udev: Adding input device USB Keyboard (/dev/input/event13)
[ 16.979] (**) USB Keyboard: Applying InputClass "evdev keyboard catchall"
[ 16.979] (II) Using input driver 'evdev' for ' USB Keyboard'
[ 16.979] (**) USB Keyboard: always reports core events
[ 16.979] (**) evdev: USB Keyboard: Device: "/dev/input/event13"
[ 16.979] (--) evdev: USB Keyboard: Vendor 0x4d9 Product 0x2013
[ 16.979] (--) evdev: USB Keyboard: Found keys
[ 16.979] (II) evdev: USB Keyboard: Configuring as keyboard
[ 16.979] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb3/3-4/3-4.6/3-4.6.4/3-4.6.4:1.0/input/input15/event13"
[ 16.979] (II) XINPUT: Adding extended input device " USB Keyboard" (type: KEYBOARD, id 10)
[ 16.979] (**) Option "xkb_rules" "evdev"
[ 16.979] (**) Option "xkb_model" "pc104"
[ 16.979] (**) Option "xkb_layout" "de"
[ 16.979] (**) Option "xkb_variant" "dvorak"
[ 16.979] (**) Option "xkb_options" "ctrl:nocaps"
[ 16.980] (II) config/udev: Adding input device USB Keyboard (/dev/input/event14)
[ 16.980] (**) USB Keyboard: Applying InputClass "evdev keyboard catchall"
[ 16.980] (II) Using input driver 'evdev' for ' USB Keyboard'
[ 16.980] (**) USB Keyboard: always reports core events
[ 16.980] (**) evdev: USB Keyboard: Device: "/dev/input/event14"
[ 16.980] (--) evdev: USB Keyboard: Vendor 0x4d9 Product 0x2013
[ 16.980] (--) evdev: USB Keyboard: Found keys
[ 16.980] (II) evdev: USB Keyboard: Configuring as keyboard
[ 16.980] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb3/3-4/3-4.6/3-4.6.4/3-4.6.4:1.1/input/input16/event14"
[ 16.980] (II) XINPUT: Adding extended input device " USB Keyboard" (type: KEYBOARD, id 11)
[ 16.980] (**) Option "xkb_rules" "evdev"
[ 16.980] (**) Option "xkb_model" "pc104"
[ 16.980] (**) Option "xkb_layout" "de"
[ 16.980] (**) Option "xkb_variant" "dvorak"
[ 16.980] (**) Option "xkb_options" "ctrl:nocaps"
[ 16.981] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event5)
[ 16.981] (II) No input driver specified, ignoring this device.
[ 16.981] (II) This device may have been added with another device file.
[ 16.981] (II) config/udev: Adding input device HDA Intel Dock Mic (/dev/input/event8)
[ 16.981] (II) No input driver specified, ignoring this device.
[ 16.981] (II) This device may have been added with another device file.
[ 16.981] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event7)
[ 16.981] (II) No input driver specified, ignoring this device.
[ 16.981] (II) This device may have been added with another device file.
[ 16.981] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event6)
[ 16.981] (II) No input driver specified, ignoring this device.
[ 16.981] (II) This device may have been added with another device file.
[ 16.982] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 16.982] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 16.982] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 16.982] (**) AT Translated Set 2 keyboard: always reports core events
[ 16.982] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[ 16.982] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[ 16.982] (--) evdev: AT Translated Set 2 keyboard: Found keys
[ 16.982] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[ 16.982] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[ 16.982] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[ 16.982] (**) Option "xkb_rules" "evdev"
[ 16.982] (**) Option "xkb_model" "pc104"
[ 16.982] (**) Option "xkb_layout" "de"
[ 16.982] (**) Option "xkb_variant" "dvorak"
[ 16.982] (**) Option "xkb_options" "ctrl:nocaps"
[ 16.982] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event10)
[ 16.982] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 16.982] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[ 16.983] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[ 16.983] (II) LoadModule: "synaptics"
[ 16.983] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 16.994] (II) Module synaptics: vendor="X.Org Foundation"
[ 16.994] compiled for 1.15.0, module version = 1.7.3
[ 16.994] Module class: X.Org XInput Driver
[ 16.994] ABI class: X.Org XInput driver, version 20.0
[ 16.994] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 16.994] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 16.995] (**) Option "Device" "/dev/input/event10"
[ 17.100] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472 (res 93)
[ 17.100] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448 (res 125)
[ 17.100] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[ 17.100] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[ 17.100] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right
[ 17.100] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[ 17.100] (**) Option "TapButton1" "1"
[ 17.100] (**) Option "TapButton2" "2"
[ 17.100] (**) Option "TapButton3" "3"
[ 17.100] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 17.100] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 17.163] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input11/event10"
[ 17.163] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 13)
[ 17.163] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[ 17.163] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[ 17.163] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.040
[ 17.164] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[ 17.164] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[ 17.164] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 17.164] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 17.164] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 17.165] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[ 17.165] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[ 17.166] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event15)
[ 17.166] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[ 17.166] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[ 17.166] (**) TPPS/2 IBM TrackPoint: always reports core events
[ 17.166] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event15"
[ 17.166] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
[ 17.166] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[ 17.166] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[ 17.166] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[ 17.166] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[ 17.166] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[ 17.166] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 17.166] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input12/event15"
[ 17.166] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 14)
[ 17.166] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[ 17.167] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[ 17.167] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[ 17.167] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[ 17.167] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[ 17.168] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse2)
[ 17.168] (II) No input driver specified, ignoring this device.
[ 17.168] (II) This device may have been added with another device file.
[ 17.168] (II) config/udev: Adding input device PC Speaker (/dev/input/event9)
[ 17.168] (II) No input driver specified, ignoring this device.
[ 17.168] (II) This device may have been added with another device file.
[ 17.170] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event4)
[ 17.170] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[ 17.170] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
[ 17.170] (**) ThinkPad Extra Buttons: always reports core events
[ 17.170] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event4"
[ 17.170] (--) evdev: ThinkPad Extra Buttons: Vendor 0x17aa Product 0x5054
[ 17.170] (--) evdev: ThinkPad Extra Buttons: Found keys
[ 17.170] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[ 17.170] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input5/event4"
[ 17.170] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 15)
[ 17.170] (**) Option "xkb_rules" "evdev"
[ 17.170] (**) Option "xkb_model" "pc104"
[ 17.170] (**) Option "xkb_layout" "de"
[ 17.170] (**) Option "xkb_variant" "dvorak"
[ 17.170] (**) Option "xkb_options" "ctrl:nocaps"
[ 23.199] (II) intel(0): EDID vendor "LEN", prod id 16464
[ 23.201] (II) intel(0): Printing DDC gathered Modelines:
[ 23.201] (II) intel(0): Modeline "1280x800"x0.0 71.00 1280 1328 1360 1440 800 803 809 823 -hsync -vsync (49.3 kHz eP)
[ 23.201] (II) intel(0): Modeline "1280x800"x0.0 59.26 1280 1304 1336 1408 800 803 809 816 -hsync -vsync (42.1 kHz e)
[ 23.900] (II) intel(0): resizing framebuffer to 3200x1200
[ 23.921] (II) intel(0): switch to mode [email protected] on pipe 0 using LVDS1, position (0, 0), rotation normal
[ 23.990] (II) intel(0): switch to mode [email protected] on pipe 1 using DVI1, position (0, 0), rotation normal
[ 23.997] (II) intel(0): switch to mode [email protected] on pipe 0 using DVI1, position (1280, 0), rotation normal
[ 24.533] (II) intel(0): switch to mode [email protected] on pipe 1 using LVDS1, position (0, 0), rotation normal
[ 48.537] (II) intel(0): switch to mode [email protected] on pipe 1 using DVI1, position (0, 0), rotation normal
[ 49.105] (II) intel(0): switch to mode [email protected] on pipe 0 using LVDS1, position (1920, 0), rotation normalKebertx wrote:I have the exact same problem (now on version 3.12), and commented on your bug report. Did you ever get this issue resolved? Furthermore, did GDM apply some of your keyboard settings but not others - were you getting a dvorak layout but not the caps-lock control key?
Yes, exactly. I do get the Dvorak layout that's set in 10-evdev.conf, but not the ctrl:nocaps option that's set there as well. -
The procedure to change the default global umask from 0022 to 0002, so that most files created by one user on a machine will be read-write by other users in the same group, seems to have been broken or to have been changed in OS X Lion from OS X Snow Leopard. What worked as far back as OS X 10.4 and was officially documented was done from Terminal: "defaults write /Library/Preferences/.GlobalPreferences NSUmask 2" (with a sudo, if not logged in as 'root').
Another way documented in various places and which I actually used through OS X 10.6 was also done via Terminal. Two files were created: /etc/launchd.conf (for system-wide global umask) or /etc/launchd-user.conf (for user-specific global umask). The contents of each were simply the single umask command, "umask 002" or ("umask u=rwx,g=rwx,o=rx", I can't remember which variant I used - they're functionally the same, though).
No matter which method I use, the 2nd or the 1st, the global umask no longer changes.
Does anyone know whether this has been deliberately hobbled under OS X Lion, requiring purchase of OS X Lion Server? Is this an OS X Lion bug? Or, am I looking at something wrong?See this support article, which was written for OS X Server, but seems applicable to Mac OS X client versions as well:
Mac OS X Server v10.5, 10.6: Setting a custom umask
The excerpt below describes the use of /etc/launchd-user.conf, and strongly cautions against using /etc/launchd.conf.
Umask for user applications
In Mac OS X v10.5.3 and later, you can create the file /etc/launchd-user.conf with the contents "umask nnn". Do not include the quotation marks and replace nnn with the desired umask value, such as 027 or 002.
This will set the user's umask for all applications they launch, such as Finder, TextEdit, or Final Cut Pro, and control the permissions set on new files created by any of these applications.
Umask for system processes
In Mac OS X v10.4 and later, create the file /etc/launchd.conf with the contents "umask nnn". Do not include the quotation marks and replace nnn with the desired umask value, such as 027 or 002.
This will set the umask for all processes. Changing this value is strongly discouraged because it changes the permissions on files used by the system software. If the permissions are too restrictive, dependent software may not work. If the permissions are too open, they may introduce security issues. -
Running xpra causes some headaches.
The application builds fine and installs just perfectly, the troubles comes from the default Xorg configuration is no longer stored in /etc/X11/xorg.conf, it's now stored and read from numerous files under /etc/X11/xorg.conf.d/ where just so happen to be my 5-nvidia.conf.
Starting xpra via:
xpra start :100
Causes:
X.Org X Server 1.14.3
Release Date: 2013-09-12
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.11.0-1-ARCH x86_64
Current Operating System: Linux archie 3.11.2-1-ARCH #1 SMP PREEMPT Fri Sep 27 07:35:36 CEST 2013 x86_64
Kernel command line: root=/dev/sda1 rw initrd=../initramfs-linux.img BOOT_IMAGE=../vmlinuz-linux
Build Date: 13 September 2013 01:28:59PM
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/home/torxed/.xpra/Xorg.:100.log", Time: Thu Oct 3 19:56:30 2013
(++) Using config file: "/etc/xpra/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
setversion 1.4 failed
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(EE)
Fatal server error:
(EE) xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/home/torxed/.xpra/Xorg.:100.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
2013-10-03 19:56:30,893
2013-10-03 19:56:30,893 Xvfb command has terminated! xpra cannot continue
2013-10-03 19:56:30,894
2013-10-03 19:56:30,895 removing socket /home/torxed/.xpra/archie-100
tl;dr: 5-nvidia.conf is trying to get loaded after xf86-video-dummy is loaded (which is the default for xpra).
Now to the question: What's the best practice because there's no information about this issue, and i can't be the only one who's run in to this since the xorg.conf was removed. At the moment I move all my nvidia configs out of the way, start xpra and move them back in. This works for the better part as long as i execute xpra with my own scripts.
But is there a better way (which doesn't perhaps include recreating xorg.conf since that appears to be something you should walk away from)?
Last edited by Torxed (2013-10-04 10:29:35)Good thinking! (xpra is basically just screen but for x, or a X11 tunnel via SSH).
After a really quick poking around and remembering that xpra really just uses xorg-server-xvfb and at the very bottom of /etc/xpra/xpra.conf there's a line that says:
xvfb=xpra_Xdummy -dpi 96 -noreset -nolisten tcp +extension GLX +extension RANDR +extension RENDER -logfile ${HOME}/.xpra/Xorg.${DISPLAY}.log -config /etc/xpra/xorg.conf
Appending -configdir appears to be working.
Here are the full steps:
[torxed@archie ~]$ sudo cp -r /etc/X11/xorg.conf.d /etc/xpra/
[torxed@archie ~]$ sudo rm /etc/xpra/xorg.conf.d/*nvidia*
[torxed@archie ~]$ sudo sed -i '$s/$/ -configdir \/etc\/xpra\/xpra.conf.d/' /etc/xpra/xpra.conf
*nvidia* would have to match your graphic-driver-config that would cause xorg-server-xvbf to crash.
I'll update the wiki and put a mention on the package about it because this either has to be standard or well known from the start because it really just breaks the package all together.
Last edited by Torxed (2013-10-04 10:29:09) -
I need to increase shared memory. In 10.10 is use /etc/sysctl.conf with a line kern.sysv.shmmax=16777216 and this works. Also in 10.9. But in 10.10.1 shared memory can no longer be increased from the default 4194304 by this means.
The question is simple: how in 10.10.1 does one increase kern.sysv.shmmax in a way that survives a re-bootI have the same problem on my windows 2003 server but the
thing is that I have not been able to get the same error on any
other machine including a windows 2003 I installed on VMWare on the
same machine. I have narrowed down to where in the encoder this
happens. The encoder uses page file backed file maps to register
session information. The call to MapViewOfFileEx method of the
Win32 API fails with the "access denied" error. Whatever it is,
it's due to some defect in the Windows installation I have because
I do not get that message on any other windows installation even
the ones I do with the same windows CD !
I am still trying to find out what the defect might be but I
thought you should know it's got nothing to do with you Windows
make and model...it happens for me on 2k3 and for you on XP...so
you should looke elsewhere.. -
Sysctl.conf - best way to start at boot?
Hi all!
My arch box serves as firewall/router to other boxes on my home network. Obviously, I have to use NAT and net.ipv4 forwarding set to 1 (via sysctl.conf file).
My question is: what's the best way to start sysctl at boot, so those kernel variables are set (forwarding, syncookies etc.)?
Currently, I've:
- put my little script with "sysctl -p" line in rc.d directory;
- call that script from rc.conf;
- sysctl.conf is in /etc .
It works... but, I wander what is the better/proper way of doing it.Thanks aCoder.
With some other distros, it would be done automatically (sysctl at boot). User just needs to set values of the sysctl.conf file.
With Arch, both steps are manual - and I didn't know any better way. In other hand, that's what Arch is about, eh!
Cheers,
mladen -
How to edit etc/apache2/httpd.conf? Pica won't take my password.
I can navigate to the pico prompt in terminal ... but when it asks for pw, I try to type, the cursor just blinks, doesn't move, nothing.
But if there's another way to edit this file, I'll try.
Just want to uncomment the line about php5 module.
Thanks!!! xoxomagaroni wrote:
I like the tutorial, but yeah you are right, it's sudo, not pico that's not taking my pw. I can sudo pico or sudo vi, either way it asks me for my password but then the cursor doesn't respond to my typing.
I'm used to vi. You use control keys to navigate and make changes. It has two modes, command and insert. In command mode, to delete the '#' character, for example, move the cursor to '#' and type 'x' to delete it. Type 'i' to enter insert mode and add new text. Press 'esc' to go back to command mode.
There are numerous ways to save and quit. Usually you type 'ZZ' to save and quit. On some of these system files, their permissions are too restrictive for that. You have to do it the hard way. Type ':w!' to save. The 'w' is for "write" and the '!' is to force a write on a read-only. Then you can quit with "q!'.
I've never edited an administrative file with pico.
I can't even chmod to give myself rights to write to httpd.conf . "Operation not permitted."
Don't try that. Many tools will rightfully refuse to even launch if they detect that their administrative config files have been incorrectly modified.
internet chatter seems to suggest this 10.7.x is, like, super duper secure. And I'm new to macs. I'm logged in as admin, I have all the permissions I can find myself via finder ... but maybe there's a double-secret admin ...
There is, it is "sudo". Only an admin user has the ability to use sudo to gain root permissions.
Maybe you are looking for
-
Hello, I am writinf g the very first program and got stuck, the program is : class Tirtha public static void main(String args []) System.out.println("Hello World !!"); I saved the program as Tirtha.java in the Bin folder in j2sdk, but when I compile
-
Fault Messages/Response handling in File-XI-SOAP scenario
Hi I have a File-XI-Webservice scenario. Suppose I am sending a call "Request" to the webservice with 4 fields a,b,c and d. If the call is succesful we get an epmty "Response" back. Suppose any of the fields a,b,c or d are missing then the webservice
-
Run time exception while checking dynamic file name in mesage mapping
Hi Experts, In my file to idoc scenario i need to know the file name dynamicalyy as i require this file name during mesage mapping. for that i have created UDF with the following code. DynamicConfiguration conf = (DynamicConfiguration) container.getT
-
Create Control Cycle(LPK1)
Hello Experts, Can anybody let me know Is there an Standard SAP Program to load 'Control Cycles(LPK1) into SAP? Thanks for the help.
-
How to synchronize N95 8GB with Google calendar
Hello, I'm using N95 8GB and I would like to synchronize all my information with Google Calendar. How can I do it? Thank you, Tom K. Solved! Go to Solution.