Postings by Adam Tauno Williams

rsyslog listening on high port

Attempting to lookup why rsyslogd is listening on the high port
UDP/51427. Have not succeeded in what this port is used for and what
directive controls what interface it binds to.

[root@bedrock ~]# netstat --listen --inet --program --numeric | grep syslog
udp  0  0*   66655/rsyslogd 

Persisting Routes In A Routing Table Other Than The Default

I need to add persistent routes to a policy routing table. I can add
rules to an IP policy table after installing NetworkManager-config-
routing-rules; but I have not found how to add routes to a table other
than the specific table.

Manually I do a:
ip route add default via dev ens192 table pods

Rules load automatically via the /etc/sysconfig/network-scripts/rules-
{interface} files.

Libreswan IPSec Protected GRE Tunnel & firewall-cmd

I am attempting to setup an IPSec protected GRE tunnel with a Cisco

Repository with current FreeTDS?

Anyone know of a repository with the current - 1.0 - version of

The packaged version 0.91 from EPEL is considerably out of data.

Transport Maps Clarification/Debugging

I have a Postfix server which receives mail for EXAMPLE.COM
(bogasified); for for specific addresses I need to send that mail to
another SMTP server. So transform_maps!

I have "transport_maps = hash://map-path" and If I "postmap -q
<a href="mailto: ... at EXAMPLE dot COM"> ... at EXAMPLE dot COM</a> hash://map-path" it returns "smtp:[other.smtp.server]".

However when I send a message through the server ... it is still
delivered using the local transport.

I have cranked up the debugging level for the host I am sending the
test from.

cPanel install failes on CentOS7

Attempting to install cPanel on a CentOS7 box [consultant wants it].

The install fails ...

2017-03-20 13:45:42 249 (DEBUG): Package
perl-core-5.16.3-291.el7.x86_64 already installed and latest version
2017-03-20 13:45:42 249 (DEBUG): Package
perl-libwww-perl-6.05-2.el7.noarch already installed and latest version
2017-03-20 13:45:42 249 (DEBUG): Package
crontabs-1.11-6.20121102git.el7.noarch already installed and latest
2017-03-20 13:45:42 249 (DEBUG): Package
sysstat-10.1.5-11.el7.x86_64 already installed and latest version
2017-03-20 13:45:42 249 (DEBU

yum-config-manager, does --save/--setopt work?

What is the point of --save in yum-config-manager. I cannot figure out
how to use --setopt=

$ yum-config-manager --save --setopt="exclude=samba*" updates

Seems evident what that should do, but it doesn't do anything.

The documentation for --save says "save the current options (useful with

I would like to script/automate some YUM configuration.

ulogd / ulogd packages?

I am looking for ulog-2.0.x packages and the best I have been able to
find [for CentOS6] has been ulog-2.0.0 (which is not an exciting
prospect for .0 reasons). Is anyone aware of ulogd packages for
CentOS6 [x86_64]?

I am kind of surprised this isn't standard fair.

Disable Printer Notifications

How can one disable print notifications in GNOME Shell?

There is no such option in "Notifications" settings.

I tried "gsettings set
org.gnome.settings-daemon.plugins.print-notifications active false" but
it has no effect

Crashing Server [_spin_unlock_irqrestore+0x17/0x20]

I have a CentOS server that after the latest round of updates has begun
crashing [dump, reboot]

The dmesg dump in /var/crash looks like the following; does anyone
recognize that?

<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>RPC: Registered tcp NFSv4.1 backchannel transport module.
<6>Bluetooth: Core ver 2.15
<6>NET: Registered protocol family 31
<6>Bluetooth: HCI device and connection manager initialized
<6>Bluetooth: HCI socket layer initialized
<6>device eth0 entered promiscuous mode
<7>eth0: no IPv6 routers p

Kerberos Access

openSUSE 12.2 x86_64 gnome-shell-3.6.2-1.2.x86_64

I access resources in an Active Directory domain from my laptop. What
is the best way to manage Kerberos tickets from GNOME3? I has assumed
there would be a Kerberos "online account", but that isn't available.

Adding Kerberos to 'the system' via YaST does not work well as it is my
laptop and that assumes my account == my AD account.

File Chooser Dialog & Network Locations

In Nautilus under the Network section of the side panel there is a list
of the network repositories I am connected to [CIFS, WebDAV, SFTP,
etc..] This is awesome.

But in applications I see these available in the file-chooser
*sometimes*. For Firefox in example if I go to upload a file I do not
see them. I hit Ctrl-L, enter ".gvfs", and I can navigate to the remote
file I want to upload. It works.... but is there way to see these
Network Places enumerated in the file-chooser dialog irregardless of

Anyone recognize "www-mysql"?

I'm transitioning someone's quite old server [Debian] to a new CentOS6
host. All going pretty well. But they server up some functionality
using CGI scripts via Apache that use something referred to on the
Debian box as the www-mysql package? This a binary that executes HTML
pages containing embedded SQL statements.

Anyone know where the source for this can be found or if it has a more
specific name? The 'helpfulness' of search engines is getting in the
way of finding the provenance of this code.

Moving 'some' configuration [GNOME Terminal Profiles]

On my laptop I have defined a set of profiles in GNOME terminal that I
find useful and am used to [I use my laptop at-the-office all day].

Is there a convenient method for migrating these settings to my
desktop/workstation at my home office [I'm fine with over-writing the
configuration there].

I'd assume this would be some kind of dconf export/import?

Race Condition In PHP Session Handler


After some testing we moved our production PHP intranet site from an old
server to a new CentOS 6.2 instance running the mentioned versions. At
first it worked well and then user's started to experience a hung site.
Upon some digging it appears that the PHP module is getting stuck in a
race condition regarding the sessions file -

[root@yannigan-orange fd]# strace -p 22607
Process 22607 attached - interrupt to quit
flock(53, LOCK_EX^C <unfinished ...>

where file handle 53 is


global gsettings / desktop admin?

openSUSE 12.1 GNOME 3.2.1 x86_64

I'm looking for how to set a user's settings as the administrator? Or
set a global default/settings. I keep finding web sites and BLOB
posts that seem to imply this is possible with gsettings / dconf.... but
I can't find a single example of the syntax.

Tips / Pointers?

I need to set a few settings for all the desktop users of a system.

Samba4: Current Packages? (CentOS6)

I see that Samab4 alpha11 is packaged in the repo. Are there any repo's
out there with current S4 alpha packages? Or does anyone know where such
packages might be found (OBS?, etc...)

Journal Aborts in VMware ESX (Filesystem Corruption)

I have several CentOS5 hosts in a VMware ESX 3.5.0 226117 environment
using iSCSI storage.

tmpfs says "No space left on device"

I have a server where we use tmpfs as a cache for temporary files used
by a web application.

Python resource module returns just zeros

I'm using a call to the resource module's getrusage method. On openSUSE
this works, on CentOS [python26-2.6.5-3.el5] it 'works' but just returns
zeros for the memory utilization values.


openSUSE: returns 5512
CentOS: returns 0

Anyone know what condition causes this? Or is there a better /
more-reliable way to check memory utilization of the current process [from python]?

Baffled by "User unknown in virtual alias table"

I have a working Postfix server, and I copied the configuration files
over to another box with the exact same version(s) to do some testing.
But right away the box won't deliver messages to virtual domains, it
always says "User unknown in virtual alias table".