DevHeads.net

Postings by Warren Young

yum groupinstall "GNOME Desktop" fails

I’ve got a CentOS 7 VM here that was installed with one of the CLI-only presets. To answer a question in another thread here, I wanted to install a GNOME desktop environment in it, so I went searching and found the standard instructions for doing that.

The problem is that rebooting the VM gives me a black screen after it finishes the text booting parts. There’s an X cursor, and wiggling the mouse moves it, but I get no gray login screen.

Pressing Ctrl-Alt-F2 and logging into a text console works.

Setting GDM resolution without knowing the monitor specs

We had a complaint recently from a customer that received a server we shipped out that their monitor just showed a black screen. It turns out that they’d hooked it up to an ancient POS with 800x600 as its best resolution, and gdm in CentOS 7 apparently assumes at least 1024x768.

Samba HOWTO wiki bug: chcon samba_share_t

In this wiki article:

<a href="https://wiki.centos.org/HowTos/SetUpSamba" title="https://wiki.centos.org/HowTos/SetUpSamba">https://wiki.centos.org/HowTos/SetUpSamba</a>

…there is a command down in section 2 that gives an error here on CentOS 7:

$ sudo semanage fcontext –at samba_share_t /path/to/share
…noise noise noise…
semanage: error: unrecognized arguments: samba_share_t /path/to/share

That and the following restorecon command can be replaced by a single shorter command, which also fixes the symptom:

$ sudo chcon -R -t samba_share_t /path/to/share

EL7 mirror: "There is no installed groups file."

I installed the RHEL 7 beta here to test while waiting for CentOS 7 to
arrive. On noticing that yum didn't work, I decided to set up a local
mirror. I rsync'd

<a href="ftp://ftp.redhat.com/pub/redhat/rhel/beta/7/x86_64/os/Packages/" title="ftp://ftp.redhat.com/pub/redhat/rhel/beta/7/x86_64/os/Packages/">ftp://ftp.redhat.com/pub/redhat/rhel/beta/7/x86_64/os/Packages/</a>

to a local web server here, then regenerated the repodata directory with
createrepo.

Now yum works fine, for the most part.

Most efficient way to create a CentOS 3 test VM

I'm about to create a new CentOS 3 VM for testing, since we still have a
bunch of deployed machines running that OS.

(Don't yell at me about using old OSes. These machines won't get
"un-deployed" until they fall over dead of natural causes.