Displaying 20 results from an estimated 2286 matches for "sysconfig".
2013 Oct 04
3
Converting augeas snippet to puppet augeas resource
(apologies in advance for the line wrap)
I have the following tidbit of augeas code, which inserts a rule into
/etc/sysconfig/iptables as the first rule of a specifically named chain;
# augtool> insert append before
"/files/etc/sysconfig/iptables/table/append[. = ''Mayo-Firewall-INPUT''][1]"
# augtool> match /files/etc/sysconfig/iptables/table/append[. = '''']
# /files/etc/...
2010 Nov 24
2
CentOS 5.5: what do /etc/sysconfig/networking and /etc/sysconfig/network-scripts exactly ?
Hi,
on our cluster we have 5 network interfaces. I was surprised to discover
that the ifcfd-* files under /etc/sysconfig/networking and
/etc/sysconfig/network-scripts were not the same. So I have searched a
little bit, but I'm now confused:
- the files under /etc/sysconfig/networking come from system-config-network.
- the files under /etc/sysconfig/network-scripts are read by the
/etc/init.d/network script and u...
2012 Jan 19
0
Fwd: Typo in the FAQ at http://wiki.centos.org/FAQ/CentOS6, /etc/sysconfig/nertwork-scripts/ifcfg-eth0 should be /etc/sysconfig/network-scripts/ifcfg-eth0
-------- Original Message --------
Subject: Typo in the FAQ at http://wiki.centos.org/FAQ/CentOS6,
/etc/sysconfig/nertwork-scripts/ifcfg-eth0 should be
/etc/sysconfig/network-scripts/ifcfg-eth0
Date: Thu, 19 Jan 2012 15:31:08 +0100
From: Maximilian Heise <maximilian.heise at gmx.net>
To: webmaster at centos.org
Hello,
I think there is a typo in the faq at http://wiki.centos.org/FAQ/CentOS6
Under &quo...
2013 Aug 27
1
[PATCH] hotplug/Linux: add sysconfig tags to xencommons
YaST2 sysconfig can logically group the various sysconfig settings if the
files are tagged. Add the missing (YaST specific) tags to xencommons.
See for a description
http://old-en.opensuse.org/Packaging/SUSE_Package_Conventions/Sysconfig
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
Resending:
http://lis...
2007 Aug 23
3
Using Puppet to swap eth0 and eth1
...h0 corresponds to the onboard ethernet port labeled "2",
and eth1 corresponds to the onboard ethernet port labeled "1". This
is described in detail at http://linux.dell.com/files/whitepapers/nic-
enum-whitepaper-v3.pdf . Luckily, this is fixable using Red Hat''s
HWADDR sysconfig hack, and I implement this HWADDR fix with Puppet.
Puppet writes /etc/sysconfig/network/ifcfg-eth0 and /etc/sysconfig/
network/ifcfg-eth1 using a Puppet definition called network-interface:
define network-interface (
$onboot = ''no'', $bootproto = ''static'', $ip...
2004 Aug 18
1
Small patch to zaptel Makefile
...-16 17:09:07.000000000 -0500
+++ ./zaptel-1.0-RC1/Makefile 2004-08-18 16:28:45.000000000 -0500
@@@ -316,10 +318,10 @@
elif [ -d $(INSTALL_PREFIX)/etc/init.d ]; then \
install -m 755 zaptel.init
$(INSTALL_PREFIX)/etc/init.d/zaptel;\
\
fi
- if [ ! -f /etc/sysconfig/zaptel ]; then \
+ if [ ! -f $(INSTALL_PREFIX)/etc/sysconfig/zaptel ]; then \
install -m 644 zaptel.sysconfig
$(INSTALL_PREFIX)/etc/sysconfig\
/zaptel; \
fi
- if [ -d /etc/sysconfig/network-scripts ]; then \
+ if [ -d $(INSTALL_PREFIX)/etc/sysconfig/netw...
2008 Jul 12
1
using new sysconfig file
I installed postgrey from rpmforge and wanted to use sysconfig to change
options instead of overwriting the init file. However, I get a weird
warning from postgrey. I'm not sure if this is a postgrey quirk or I use
sysconfig the wrong way.
/etc/sysconfig/postgrey:
OPTIONS="--unix=/var/spool/postfix/postgrey/socket --delay=660"
/etc/rc.d/init...
2020 Jun 16
2
Missing Quote from latest Update
Received these error message during update 16Jun2020.
Running scriptlet: kmod-kvdo-6.2.1.138-58.el8_1.x86_64
750/1181
/etc/sysconfig/network-scripts/ifcfg-eno1: line 21: unexpected EOF while
looking for matching `"'
/etc/sysconfig/network-scripts/ifcfg-eno1: line 22: syntax error:
unexpected end of file
/etc/sysconfig/network-scripts/ifcfg-eno1: line 21: unexpected EOF while
looking for matching `"'
/etc/sys...
2011 May 03
2
[PATCH] [hivex] Use Python's distutils to determine include and site-packages directories.
...nd])
- done
- if test "x$PYTHON_INCLUDEDIR" = "x"; then
- AC_MSG_WARN([Python include directory not found])
+
+ AC_MSG_CHECKING([for Python include path])
+ if test -z "$PYTHON_INCLUDEDIR"; then
+ python_path=`$PYTHON -c "import distutils.sysconfig; \
+ print (distutils.sysconfig.get_python_inc ());"`
+ PYTHON_INCLUDEDIR=$python_path
fi
+ AC_MSG_RESULT([$PYTHON_INCLUDEDIR])
- for d in \
- $PYTHON_PREFIX/lib64/python$PYTHON_VERSION/site-packages \
- $PYTHON_PREFIX/lib/pytho...
2007 Mar 16
1
prefdm still unfinished?
...5, i was a little surprised to notice that
the display manager part of the prefdm file in /etc/X11 was exactly like in
CentOS 4 / RHEL4 and previous versions including RH9.
it reads like this (added line numbers for reference):
14 # Run preferred X display manager
15 preferred=
16 if [ -f /etc/sysconfig/desktop ]; then
17 . /etc/sysconfig/desktop
18 if [ "$DISPLAYMANAGER" = GNOME ]; then
19 preferred=gdm
20 elif [ "$DISPLAYMANAGER" = KDE ]; then
21 preferred=kdm
22 elif [ "$DISPLAYMANAGER" = XDM ]; then
23 preferred=xdm
24 fi
25 fi
Line 17 is no fun...
2012 Feb 29
1
[PATCH] virt-sysprep: add the hostname and net_hwaddr support for rhel
...--- a/clone/virt-sysprep.in
+++ b/clone/virt-sysprep.in
@@ -273,7 +273,7 @@ fi
if [ "$hostname" = "yes" ]; then
case "$type/$distro" in
- linux/fedora)
+ linux/fedora|linux/rhel)
echo "HOSTNAME=$hostname_param" > $mnt/etc/sysconfig/network.new
sed '/^HOSTNAME=/d' < $mnt/etc/sysconfig/network >> $mnt/etc/sysconfig/network.new
mv -f $mnt/etc/sysconfig/network.new $mnt/etc/sysconfig/network
@@ -313,7 +313,7 @@ fi
if [ "$net_hwaddr" = "yes" ]; then
case "...
2010 Sep 01
2
statd random port - sysconfig/nfs not taking effect
I have changed /etc/sysconfig/nfs to specify port numbers for NFS
daemons. Somehow statd is still starting up at random port number.
Other damons are starting at properly at specified port numbers Any
clues on what might be wrong? Any other location/setting that takes
precedence over sysconfig/nfs ? It's CentOS 5.5 64bit wi...
2015 Nov 25
4
IP table Restore
Hi,
If possible advice me for below error.
[root at ns1 sysconfig]# iptables-restore < /etc/sysconfig/iptables
iptables-restore: line 2 failed
Thanks in advance.
2020 Aug 27
0
[klibc:master] signal: Add sysconfig setting to force SA_SIGINFO on
.../?p=libs/klibc/klibc.git;a=commit;h=2a2a0b6b79c2470f529daabd5c193f58fe188337
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Tue, 25 Aug 2020 01:05:28 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Thu, 27 Aug 2020 15:00:33 +0100
[klibc] signal: Add sysconfig setting to force SA_SIGINFO on
On alpha, arm, i386, m68k, powerpc, s390, sh, and sparc (32-bit), the
kernel sets up the signal stack frame differently depending on the
SA_SIGINFO flag, not whether the sigaction() or rt_sigaction() system
call was used to install the handler.
On alpha and sparc, w...
2016 May 23
2
/etc/sysconfig/iptables syntax
?????? 23 ???? 2016 05:56,? "Mike" <1100100 at gmail.com> ???:
>
>
> After using iptables for a long time, I can't figure out where this syntax
> comes from.
> Can anyone point me in the right direction to understand the proper syntax
> necessary in /etc/sysconfig/iptables?
>
The syntax comes from the output of the 'iptables-save' command.
You can configure 'iptables' from the command line as you normally would
and then run
iptables-save > /etc/sysconfig/iptables
On centos<=6 the init.d script also included a 'save' command...
2009 Aug 03
1
[PATCH node] changed fickle anyterm sysconfig changes to something more robust (revised)
...4
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -213,11 +213,10 @@ ovirt_setup_libvirtd() {
ovirt_setup_anyterm() {
# configure anyterm
- sed -i -e 's/^# ANYTERM_CMD=\/usr\/bin\/anyterm-cmd/ANYTERM_CMD="sudo \/usr\/bin\/virsh console %p"/' \
- /etc/sysconfig/anyterm
-
- sed -i -e 's/^# ANYTERM_LOCAL_ONLY=true/ANYTERM_LOCAL_ONLY=false/' \
- /etc/sysconfig/anyterm
+ cat >> /etc/sysconfig/anyterm << EOF
+ANYTERM_CMD="sudo /usr/bin/virsh console %p"
+ANYTERM_LOCAL_ONLY=false
+EOF
# permit it to run the virsh c...
2008 Feb 26
1
/etc/sysconfig/iptables on a stock CentOS 5 install
Greetings:
i have a pretty stock CentOS 5 machine with ports 80 and 22 exposed, so
my /etc/sysconfig/iptables file is pretty standard/straightforward.
my question is: how is this config file initially generated? i'd
like to
re-create it, and add a couple of rules .... so i don't want to lose
what's
in there already.
i see that my /etc/sysconfig/system-config-securitylevel has t...
2015 Mar 18
2
multiple memcached buckets in CentOS 7
...les controlling memcached under
the new sysctl system. At least, using sysctl is new to me!
I see we have this file:
[root at web1:~] #cat /usr/lib/systemd/system/memcached.service
[Unit]
Description=Memcached
Before=httpd.service
After=network.target
[Service]
Type=simple
EnvironmentFile=-/etc/sysconfig/memcached
ExecStart=/usr/bin/memcached -u $USER -p $PORT -m $CACHESIZE -c $MAXCONN
$OPTIONS
[Install]
WantedBy=multi-user.target
And we have this one under sysconfig:
[root at web1:~] #cat /etc/sysconfig/memcached
PORT="11211"
USER="memcached"
MAXCONN="1024"
CACHESI...
2003 Apr 02
1
FW: ipDialog Ethernet SIP Phone $199
...s one?
-----Original Message-----
From: George Richardson [mailto:georger@netxusa.com]
Sent: Wednesday, April 02, 2003 4:56 PM
To: clay@ctitec.com
Subject: ipDialog Ethernet SIP Phone $199
pad <http://us.st1.yimg.com/store1.yimg.com/Img/trans_1x1.gif>
<http://store1.yimg.com/I/sysconfig_1733_51893>
<http://store1.yimg.com/I/sysconfig_1733_14909> Click to enlarge$199.00
ipDialog SipTone Ethernet Phone
<http://store1.yimg.com/I/sysconfig_1733_0>
The ipDialog SipToneT Ethernet phone is a cost effective Linux based
VoIP telephone designed to provide high quality...
2008 Aug 18
4
Disabling IPv4
I want to seriously work with IPv6 and not have stray IPv4 functions
messing with me.
So in /etc/sysconfig/network, I commented out NETWORKING=yes. I have
NETWORKING_IPV6=yes.
In /etc/sysconfig/network-scripts I altered ifcfg-eth0, setting
BOOTPROTO=none. That was enough for eth0 to only have IPv6 working on
it (have IPV6INIT=yes and IPV6_AUTOCONF=yes).
But lo had IPv4. So I commented out all of...