Postings by m.roth

Re: [CentOS] C7 and docker storage

Gianluca Cecchi <gianluca. ... at gmail dot com> wrote:

C 7, docker, and storage

I may have missed some overnight replies to my question from yesterday -
if so, sorry.

From my googling, it looks like I should change from the loopback device
to overlayFS (with overlay2).

C7 and docker storage

Was working on docker on a server, and on startup, I see
Nov 29 10:58:27 <servername> dockerd-current:
time="2017-11-29T10:58:27.612849959-05:00" level=warning msg="devmapper:
Usage of loopback devices is strongly discouraged for production use.
Please use `--storage-opt dm.thinpooldev` or use `man docker` to refer to
dm.thinpooldev section."
Nov 29 10:58:27 <servername> dockerd-current:
time="2017-11-29T10:58:27.655600686-05:00" level=warning msg="devmapper:
Base device already exists and has filesystem xfs on it.

C 7, lockd issue

I thnk I posted this last week, but to refresh your minds (for Americans,
after all the turkey): two C7 boxes, updated. box 1 is exporting
directories; box 2 is not running nfs. From box 1, every minute, I get
<...> kernel: lockd: server fred.local not responding, timed out

Now, on box 2, fred is eth0:fred, and is one of five secondaries on eth0.
When I do an ip a, it shows as the last one.


I can't seem to find apcupsd for C 6. Just went to epel's website, and not
visible. Anyone have a clue?


C6 and xfce

Hi, folks,

So I installed xfce on my Netbook. While I was in Chicago, I worked out
how to tell it to bring it up. It came up.

As root. With no obvious way to tell it to show a login screen first.

Did I miss something?



Hi, folks,

Has anyone else seen the issue of having an excludes= in /etc/yum.conf,
but yum-cron appears to be ignoring it?

This may have been the case earlier this year, where it seemed to
partly install a new kernel, then not done the post-install.

C6, lightweight window managers - opinions?

So, on my old Netbook, now happily running C6.9, I'm looking for opinions
for a lightweight window manager. Gnome surely ain't it....

Years back, I used to like IceWM, but not sure it's been kept up.

So, opinions?


Semi-OT: a docker log question

Hi, folks,

Is there *any* way, other than writing my own logging driver, to get
the docker daemon to write to its very own file, like, say,
/var/log/docker, so that it doesn't spew crap into /var/log/messages?

Thanks in advance.


C7, docker, logging

Hi, folks,

Well my user had errors, so I got to restart the docker daemon with

Docker log level

Hi, folks,

Just installed and fired up docker for a user, and the default log
level is stupidly noisy. Now, doing some googling, I see that I can set
the log level on the command line. What I'd *like* to do is set the log
level in the appropriate config file, which I gather is

CentOS 6 for ARM?

Hi, folks,

So, I want to rebuild my "ancient" HP netbook, from the ancient ubuntu
netbook remix. Is there an *ARM* .iso, or net install somewhere? I'm not
finding it, googling. Lots of Raspberry Pi, but....


Odd C7 userspace issue

I've seen this a couple of times, and do not understand what it's trying
to tell me:
journal: unable to create file '/run/user/200236571/dconf/user':
Permission denied. dconf will not work properly.

Now, it exists, and the ownership and permissions seem correct.
drwx------. 2 <user> <user> 60 Oct 18 06:43 ./
drwx------. 8 <user> <user> 160 Oct 6 14:42 ../
-rw-------. 1 <user> <user> 2 Oct 18 09:42 user

Anyone have any thoughts on this?

I do not love thee, kernel-3.10.0-693.2.2.el7.x86_64

I've been having a lot of issues with video, for example. However, this
one... I have a user with a Dell R730. I install kernel and kernel devel,
and the rest of the full update, and rebooted.

Nope. 100% kernel panic, right around the time it switches root.

CUDA tools?

Hi, again.

So, kmod-nvidia installed. Trouble is, I have no tool to test it. And my
user might need nvcc, which, of course, is only provided by the NVidia
CUDA, which won't install, because it conflicts with kmod-nvidia.

Has *anyone* dealt with this? If so, what was your solution?


Missing file in current kernel-devel package

Ok, folks,

I've identified what my problem is, trying to install the NVidia
proprietary drivers: in kernel-devel-3.10.0-514.26.2.el7.x86_64, there
is a file

It does not exist in the kernel-devel-3.10.0-693.2.2.el7.x86_64
package. Is this something that got missed, or did HR drop it, or....?


C7: kernel-3.10.0-693.2.2, huh?

Ok... I just fully updated a user's machine. And got a kernel panic on
reboot. So, having run into this earlier this year, I tried to reinstall
the kernel.
yum reinstall kernel-3.10.0-693.2.2.el7.x86_64
Installed package kernel-3.10.0-693.2.2.el7.x86_64 (from updates) not
Error: Nothing to do

Huh? Anyone?


Default value of SELinux boolean httpd_graceful_shutdown will changed.]

httpd_graceful_shutdown will changed.
"Selinux List at Fedora Project" < ... at lists dot>
On 09/29/2017 03:57 PM, Alexander Bokovoy wrote:

Re: [CentOS] Semi-OT: hardware: NVidia proprietary driver, C7.4

Hi, folks,

Well, still more fun (for values of fun approaching zero):

1. Went to install CUDA 9.0... well, gee, there is *no* CUDA 9.0.
Even though I installed the 9 repo, all that I get is 8. I've
used their webform, and an waiting on a reply.
2. I remove all nvidia packages.
3. It appears that the kmod-nvidia is what I need; that's what
nvidia-detect says. So I try to install...

Semi-OT: hardware: NVidia proprietary driver, C7.4

This is really frustrating. I've got a server with two K20c Tesla cards. I
need to use the proprietary drivers to use the CUDA toolkit. Btw, I had no
trouble at all with building for CentOS 7.3

I have what NVidia claims is the correct driver package, a 340 series. It
appears to build, but then fails to load. The only error I see is "no such
device", which makes no sense to me, esp.

rkhunter and prelink

Can't remember if I posted this before... We're getting warnings from
rkhunterWarning: Checking for prerequisites [ Warning ]
All file hash checks will be skipped because:
This system uses prelinking, but the hash function command does not
look like SHA1 or MD5.

Now, googling, I find people saying to rm /etc/prelink.cache, then run
rkhunter --propupd.

Works. And then, prelink runs in the middle of the night, via
/etc/cron.daily, and when the cron job of rkhunter runs, it's back to

Anyone have any ideas what's going on here?

CentOS 7, nfs & autofs

Hi, folks,

We've been seeing this almost since we started rolling out C7: for no
apparent reason, it will automount *everyone* in /etc/auto.home, even
though most of those folks not only have never logged onto that server
or workstation, but are not allowed to.

We distribute to all our systems the same auto.home, and we certainly
don't want to customize it for nearly 200 systems, we like it under
central control.

Any clues as to why it does this?

C7 and ebtables

I need to set ebtables up on a mini-firewall we've got. I'd like to just
use ebtables-save to dump the rules from another firewall, and restore it
to the new one.

There is *no* manpage* for either ebtables-save or ebtables-restore. Usage
- restore doesn't like -?, -h, or --help, and I have no clue as to what it
will accept.

Light-weight window manager, recommendations

So, I've mentioned that I've got an original netbook, circa 2009, and I'm
going to put CentOS on it. 32 bit. Not huge disk, old Atom processor, not
tons of memory. Any recommendations for a light-weight window manager?

Before I went to KDE, I used fvwm2, and all I'm going to do is use it to
read webmail and browse, read news, etc, so I don't need a lot.


NFS issue, C7

Actually, with C6, too. We've been fighting a problem with a server with a
RAID appliance that's having issues. It's also serving /home/* and project
directories for one team.

Still fighting the IPv6 client dying...

Well, we're still fighting it, and one thing I've discovered that I find
extremely odd: the IPv6 lease file. On my C7 workstation, if I grep -c
lease6, I see 5 leases; on a C6 server, I see 9, and in the last few days,
I saw my box - they mass restarted the IPv6 clients everywhere yesterday,
because a good number of systems had lost the client.

Can someone explain why there would be more than, say, 2 or 3 lease6's in
the least file?


CentOS 7, NM, and IPv6

Hi, folks,

I and the other admin here have just been assigned a mission... here's
what's happening: only very recently - the last week? our CentOS 7
boxes, or at least some of them, will lose their IPv6 addresses, and
not get it back.

1. We're running dibbler on the same box that serves DHCP.
2. It's been working for many months.
3. The lease file remains in place.

C7 and spoofed MAC address

Got a problem: a user's workstation froze. He wound up rebooting, without
calling me in first, so I dunno. But, and this is a show-stopper, when it
came up, it came up with the firmware MAC, not the spoofed one. In
/etc/sysconfig/network-scripts/ifcg-eth0, I've got the spoofed MAC
address, and a UUID. In the grub.conf, I've got net.ifnames=0
biosdevname=0. But when I logged onto his machine, ip a showed eth0... but
with the firmware MAC.

And I'm wondering if it went to renew its IP address, and lost the spoofed

The case of C6, grub, and the missing menu

An important server accidentally got rebooted yesterday (ahem, shuffle).
On boot, it insisited on an fsck. So I rebooted, intending to get to the
grub boot menu, and tell it fastboot.

Nope. In grub.ocnf, it's got timeout=5, but I'd see the std. POST, a blank
for a very short time, then it would be booting. By repeatedly type "e" I
got into the menu once or twice, but trying to edit a line, it would
suddenly start typing by itself (and no, the keyboard's just
fine, thank you).

The question is, why did it never offer me the menu?

CentOS 6 and crypttab


I have an issue: I've gotten that drive that I posted about the other
day encrypted, and things were looking good... until there was a
problem with another RAID attached to the box, and I wound up having to

What had been /dev/sdb came up as /dev/sdc. So... is there any way
other than using /dev/disk/by-uuid/<uUUID> as the second field in
/etc/crypttab to deal with this possibility?