[CentOS] gdm doesnt work.

2014-12-08 Thread dE

Hi!

I just installed GDM on centos 7. I'm starting it by # gdm.

However, all I see is a text cursor (as with the TTYs), nothing else.

X works well. Logs have no errors.

GDM logs are a copy of X logs.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 10 Gbps adapter recommendation

2014-12-08 Thread Arun Khan
On Tue, Nov 11, 2014 at 2:52 PM, Nux!  wrote:
> Hi guys,
>
> I'm yet to use 10 Gbps with CentOS, hence my question. I'm looking for a 
> cheap (doh) adapter that won't cause me problems with CentOS. Any
> recommendations?

I have had good experience with Chelsio 10G cards on CentOS 5 (drivers
in the default kernel).

HTH,
-- Arun Khan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 install software Raid on large drives error

2014-12-08 Thread Jeff Boyce

A few comments in-line and at the bottom.


Date: Sat, 06 Dec 2014 11:32:24 -0500
From: Ted Miller 
To: centos@centos.org
Subject: Re: [CentOS] CentOS 7 install software Raid on large drives
error

On 12/05/2014 01:50 PM, Jeff Boyce wrote:


- Original Message - From: "Mark Milhollan" 
To: "Jeff Boyce" 
Sent: Thursday, December 04, 2014 7:18 AM
Subject: Re: [CentOS] CentOS 7 install software Raid on large drives 
error




On Wed, 3 Dec 2014, Jeff Boyce wrote:


I am trying to install CentOS 7 into a new Dell Precision 3610. I have
two 3
TB drives that I want to setup in software RAID1. I followed the guide
here
for my install as it looked fairly detailed and complete
(http://www.ictdude.com/howto/install-centos-7-software-raid-lvm/).


I suggest using the install guide rather than random crud. The storage
admin guide is fine to read too, but go back to the install guide when
installing.


/mark



Well I thought I had found a decent guide that wasn't random crud, but I
can see now that it was incomplete. I have read the RHEL installation
guide (several times now) and I am still not quite sure that it has all 
the

knowledge I am looking for.

I have played around with the automated and the manual disk partitioning
system in the installation GUI numerous times now trying to understand 
what

it is doing, or more accurately, how it responds to what I am doing. I
have made a couple of observations.

1. The installer requires that I have separate partitions for both /boot
and /boot/efi. And it appears that I have to have both of these, not just
one of them.

2. The /boot partition can not reside on LVM.

3. The options within the installer then appear to allow me to create my
LVM with Raid1, but the /boot and /boot/efi are then outside the Raid.

4. It looks like I can set the /boot partition to be Raid1, but then it 
is

a separate Raid1 from the LVM Raid1 on the rest of the disk. Resulting in
two separate Raid1s; a small Raid1 for /boot and a much larger Raid1 for
the LVM volume group.

I finally manually setup a base partition structure using GParted that
allowed the install to complete using the format below.

sda (3TB)
sda1 /boot fat32 500MB
sda2 /boot/efi fat32 500MB
sdb (3TB)
sdb1 /boot fat32 500MB
sdb2 /boot/efi fat32 500MB

The remaining space was left unpartitioned in GParted, which was then
prepared as LVM Raid1 in the CentOS installer. The installer also put the
/boot and /boot/efi files on sda1 and sda2. Then I would have to manually
copy them over to sdb1 and sdb2 if I wanted to be able to boot from drive
sdb if drive sda failed.

I am not sure that this result is what I really want, as it doesn't Raid 
my

entire drives. The structure below is what I believe I want to have.

sda & sdb RAID1 to produce md1
md1 partitioned
md1a /boot non-LVM
md1b /boot/efi non-LVM
md1c-f LVM containing /, /var, /home, and /swap

Well the abbreviations may not be the proper syntax, but you probably get
the idea of where I am going. If this is correct, then it looks like I
need to create the RAID from the command line of a rescue disk and set 
the

/boot and /boot/efi partitions first before beginning the installer. But
then again I could be totally off the mark here so I am looking for 
someone

to set me straight. Thanks.

Jeff


The last time I actually needed to do this was probably Centos 5, so 
someone will correct me if I have not kept up with all the changes.


1. Even though GRUB2 is capable of booting off of an LVM drive, that 
capability is disabled in RHEL & Centos. Apparently RH doesn't feel it is 
mature yet. Therefore, you need the separate boot partition. (I have a 
computer running a non-RH grub2 installation, and it boots off of LVM OK, 
but apparently it falls into the "works for me" category).


Now that you say that I do recall seeing someone mention that before on this 
list, but had not run across it recently in all my Goggle searching.


2. I cannot comment from experience about the separate drive for /boot/efi, 
but needing a separate partition surprises me. I have not read about others 
needing that. I would think that having an accessible /boot partition would 
suffice.


I tried a lot of different combinations with the installer and 
pre-partitioning the drives, but I don't recall if I tried putting the /boot 
and /boot/efi on the same partition outside of the RAID.  That may work, but 
I am not going back to try that combination now.


3. When grub (legacy or grub2) boots off of a RAID1 drive, it doesn't 
"really" boot off of the RAID. I just finds one of the pair, and boots off 
of that "half" of the RAID. It doesn't understand that this is a RAID 
drive, but the disk structure for RAID1 is such that it just looks like a 
regular drive to GRUB. Basically, it always boots off of sda1. If sda 
fails, you have to physically (or in BIOS) swap sda and sdb in order for 
grub to find the RAID copy.


This seems reasonable, and appears to jive with a lot of the information 
that I rea

Re: [CentOS] gdm doesnt work.

2014-12-08 Thread dE

On 12/08/14 22:02, m.r...@5-cent.us wrote:

dE wrote:

Hi!

I just installed GDM on centos 7. I'm starting it by # gdm.

However, all I see is a text cursor (as with the TTYs), nothing else.

X works well. Logs have no errors.

GDM logs are a copy of X logs.

Are you at runlevel 5?

   mark



I tried isolate graphical.target also.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gdm doesnt work.

2014-12-08 Thread David Both

Try this:

/etc/systemd/system/display-manager.service -> 
/usr/lib/systemd/system/kdm.service

Only in your case it would be gdm.service.


On 12/08/2014 11:49 AM, dE wrote:

On 12/08/14 22:02, m.r...@5-cent.us wrote:

dE wrote:

Hi!

I just installed GDM on centos 7. I'm starting it by # gdm.

However, all I see is a text cursor (as with the TTYs), nothing else.

X works well. Logs have no errors.

GDM logs are a copy of X logs.

Are you at runlevel 5?

   mark



I tried isolate graphical.target also.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

--


*
David P. Both, RHCE
Millennium Technology Consulting LLC
Raleigh, NC, USA
919-389-8678

db...@millennium-technology.com

www.millennium-technology.com
www.databook.bz - Home of the DataBook for Linux
DataBook is a Registered Trademark of David Both
*
This communication may be unlawfully collected and stored by the National
Security Agency (NSA) in secret. The parties to this email do not consent to the
retrieving or storing of this communication and any related metadata, as well as
printing, copying, re-transmitting, disseminating, or otherwise using it. If you
believe you have received this communication in error, please delete it
immediately.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to config printing on C7 installed from live image

2014-12-08 Thread Negative
On Sat, Dec 6, 2014 at 6:21 PM, Fred Smith 
wrote:

> On Sat, Dec 06, 2014 at 02:17:00PM -0600, Frank Cox wrote:
> > On Sat, 6 Dec 2014 14:55:48 -0500
> > Fred Smith wrote:
> >
> > > I thought I needed to start the printer service (cupsd???) but I can't
> > > find the system-config-services (or whatever it's named, if not that)
> > > app either.
> >
> > systemctl start cups.service
>
> thanks Frank! Actually I had figured that out shortly after posting,
> but was hung up on the subsequent problem for a while, and so didn't
> post.
>
> the subsequent problem is that Brother's drivers are 32-bit and
> if you're using 64-bit Linux you need to install the 32-bit glibc.
> Duh.
>
> Now it's working.
>
>
I have been hung up by the same glibc 32-bit/brother problem, but I don't
know how to resolve it. This is a new Centos 7 installation. On a Centos 6
system, I simply installed the 32-version and the printer worked.

But I run into a dependency/version problem that would require ever deeper
downgrading of those libraries. When I try to install glibc.i686 , i get:

Error: Package: glibc-2.17-55.el7.i686 (base)
   Requires: glibc-common = 2.17-55.el7
   Installed: glibc-common-2.17-55.el7_0.1.x86_64 (@updates)
   glibc-common = 2.17-55.el7_0.1

Trying to downgrade glibc-common, fails on account of other glibc version
problems.

It appears that all glibc libraries, including kernel headers, were
upgraded, except for glibc.i686 (which I hadn't installed when I set up the
system) has never been upgraded.

If anyone knows what I can do, where I could find a newer 32-bit glibc,
please let me know. I can't find the matching rpm.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] openvpn client and KDE Network Manager - with CentOS7

2014-12-08 Thread CS DBA


On 10/29/14 12:24 PM, CS DBA wrote:


On 10/27/14 2:20 PM, Jim Perrin wrote:

On 10/27/2014 01:13 PM, CS DBA wrote:

Hi All,

I am switching from Fedora20 to CentOS7 since I now run all my Linux
development in a VM and I get a more robust feature set (i.e. shared
folders with the host that "just work", etc)

The only issue I have thus far is VPN connections. Looking at what's
installed on my old Fedora install I suspect I need these packages:

kde-plasma-nm-vpnc
kde-plasma-nm-openvpn
NetworkManager-openvpn
NetworkManager-vpnc

However none of these are available in CentOS7, Note I have the centos
extras and the EPEL repos enabled.  I suspect that I need rpmfusion but
I don't see that rpmfusion has a repo for CentOS7...

The OpenVPN packages are in epel, and the vpnc packages are in the Nux
Desktop repo.

NetworkManager-openvpn.x86_64
 1:0.9.8.2-4.el7.1

  @epel

NetworkManager-vpnc.x86_64

1:0.9.9.0-6.git20140428.el7.nux
  nux-dextop





Anyone have any thoughts? Can I simply install the centos6 rpmfusion repo?

Nope. This would make bad things happen.







I've installed the following packages:

/# rpm -qa | egrep 'vpn|NetworkManager'
NetworkManager-vpnc-0.9.9.0-6.git20140428.el7.nux.x86_64
NetworkManager-glib-0.9.9.1-28.git20140326.4dba720.el7_0.2.x86_64
NetworkManager-openvpn-0.9.8.2-4.el7.1.x86_64
vpnc-script-0.5.3-22.svn457.el7.noarch
NetworkManager-0.9.9.1-28.git20140326.4dba720.el7_0.2.x86_64
openvpn-2.3.2-4.el7.x86_64
NetworkManager-tui-0.9.9.1-28.git20140326.4dba720.el7_0.2.x86_64
vpnc-0.5.3-22.svn457.el7.x86_64/

However if I click the KDE Network Manager and then click "Manage 
Connections"

the manage connections dialog box / control module that comes up has the
"Add" button greyed out for VPN connections

Anyone have any ideas how to enable the ability to add a VPN connection?


Thanks in advance



All;

Anyone have any thoughts, any assistance debugging this? I still cannot 
get a VPN connection in KDE...


Thanks in advance

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to config printing on C7 installed from live image

2014-12-08 Thread Fred Smith
On Mon, Dec 08, 2014 at 01:02:02PM -0500, Negative wrote:
> On Sat, Dec 6, 2014 at 6:21 PM, Fred Smith 
> wrote:
> 
> > On Sat, Dec 06, 2014 at 02:17:00PM -0600, Frank Cox wrote:
> > > On Sat, 6 Dec 2014 14:55:48 -0500
> > > Fred Smith wrote:
> > >
> > > > I thought I needed to start the printer service (cupsd???) but I can't
> > > > find the system-config-services (or whatever it's named, if not that)
> > > > app either.
> > >
> > > systemctl start cups.service
> >
> > thanks Frank! Actually I had figured that out shortly after posting,
> > but was hung up on the subsequent problem for a while, and so didn't
> > post.
> >
> > the subsequent problem is that Brother's drivers are 32-bit and
> > if you're using 64-bit Linux you need to install the 32-bit glibc.
> > Duh.
> >
> > Now it's working.
> >
> >
> I have been hung up by the same glibc 32-bit/brother problem, but I don't
> know how to resolve it. This is a new Centos 7 installation. On a Centos 6
> system, I simply installed the 32-version and the printer worked.
> 
> But I run into a dependency/version problem that would require ever deeper
> downgrading of those libraries. When I try to install glibc.i686 , i get:
> 
> Error: Package: glibc-2.17-55.el7.i686 (base)
>Requires: glibc-common = 2.17-55.el7
>Installed: glibc-common-2.17-55.el7_0.1.x86_64 (@updates)
>glibc-common = 2.17-55.el7_0.1
> 
> Trying to downgrade glibc-common, fails on account of other glibc version
> problems.
> 
> It appears that all glibc libraries, including kernel headers, were
> upgraded, except for glibc.i686 (which I hadn't installed when I set up the
> system) has never been upgraded.
> 
> If anyone knows what I can do, where I could find a newer 32-bit glibc,
> please let me know. I can't find the matching rpm.

I had no such problems, I just did "yum install glibc.i686" and voila!
Are you sure that (1) your system is fully up to date, and (2) you haven't
installed any funky apps/libs that would be interfering here?

Fred
-- 
---
Under no circumstances will I ever purchase anything offered to me as
the result of an unsolicited e-mail message. Nor will I forward chain
letters, petitions, mass mailings, or virus warnings to large numbers
of others. This is my contribution to the survival of the online
community.
 --Roger Ebert, December, 1996
- The Boulder Pledge -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to config printing on C7 installed from live image

2014-12-08 Thread Negative
On Mon, Dec 8, 2014 at 2:04 PM, Fred Smith 
wrote:

> On Mon, Dec 08, 2014 at 01:02:02PM -0500, Negative wrote:
> > On Sat, Dec 6, 2014 at 6:21 PM, Fred Smith <
> fre...@fcshome.stoneham.ma.us>
> > wrote:
> >
> > > On Sat, Dec 06, 2014 at 02:17:00PM -0600, Frank Cox wrote:
> > > > On Sat, 6 Dec 2014 14:55:48 -0500
> > > > Fred Smith wrote:
> > > >
> > > > > I thought I needed to start the printer service (cupsd???) but I
> can't
> > > > > find the system-config-services (or whatever it's named, if not
> that)
> > > > > app either.
> > > >
> > > > systemctl start cups.service
> > >
> > > thanks Frank! Actually I had figured that out shortly after posting,
> > > but was hung up on the subsequent problem for a while, and so didn't
> > > post.
> > >
> > > the subsequent problem is that Brother's drivers are 32-bit and
> > > if you're using 64-bit Linux you need to install the 32-bit glibc.
> > > Duh.
> > >
> > > Now it's working.
> > >
> > >
> > I have been hung up by the same glibc 32-bit/brother problem, but I don't
> > know how to resolve it. This is a new Centos 7 installation. On a Centos
> 6
> > system, I simply installed the 32-version and the printer worked.
> >
> > But I run into a dependency/version problem that would require ever
> deeper
> > downgrading of those libraries. When I try to install glibc.i686 , i get:
> >
> > Error: Package: glibc-2.17-55.el7.i686 (base)
> >Requires: glibc-common = 2.17-55.el7
> >Installed: glibc-common-2.17-55.el7_0.1.x86_64 (@updates)
> >glibc-common = 2.17-55.el7_0.1
> >
> > Trying to downgrade glibc-common, fails on account of other glibc version
> > problems.
> >
> > It appears that all glibc libraries, including kernel headers, were
> > upgraded, except for glibc.i686 (which I hadn't installed when I set up
> the
> > system) has never been upgraded.
> >
> > If anyone knows what I can do, where I could find a newer 32-bit glibc,
> > please let me know. I can't find the matching rpm.
>
> I had no such problems, I just did "yum install glibc.i686" and voila!
> Are you sure that (1) your system is fully up to date, and (2) you haven't
> installed any funky apps/libs that would be interfering here?
>
> Fred
> --
>


I have got to thank you! If you could install glibc.i686.  I guessed I
could do it.

Thinking there must be a compatible glibc.i686, I searched for mirrors and
I found the needed version on a mirror, at arsc.edu. I don't know why yum
couldn't find a similar version of the packages -- both glibc and
nss-softkn-freebl 32-bit -- but after downloading the packages, I did a
local install, and from there a bit of fooling with system-config-printer,
and  I'm printing.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] print something on console after boot

2014-12-08 Thread Florin Andrei

CentOS 7

How do I print something on the text-mode console right after the OS has 
finished booting?


I've a virtual instance and I need to know its IP address after it has 
finished booting up, to know where to ssh into it. I've tried adding "ip 
-4 addr > /dev/tty0" to rc.local, but that obviously doesn't work, 
because the login prompt overwrites everything I do.


--
Florin Andrei
http://florin.myip.org/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] ipset not actually blocking

2014-12-08 Thread Rob Townley
i created an ipset and added 8.8.8.8 to it and used the same iptables
working all summer long  but
​i can still ping 8.8.8.8 and do nslookup queries against it.   ipset or
iptables is broken.
  Anybody else rebooted since  ipset-6.11-3.el6.i686 was installed and
actually tested that IP addresses that are supposed to be blacklisted are
actually blocked?
​

Filed CentOS bug report 7977  this
morning.  ipset was working great most of the year until ipset 6.11.-3
CentOS bug 7977​ 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] print something on console after boot

2014-12-08 Thread Frank Cox
On Mon, 08 Dec 2014 15:35:13 -0800
Florin Andrei wrote:

> How do I print something on the text-mode console right after the OS has 
> finished booting?

/etc/issue

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Postfix avc (SELinux)

2014-12-08 Thread Daniel J Walsh

On 12/05/2014 01:24 PM, James B. Byrne wrote:
> On Fri, December 5, 2014 04:53, Daniel J Walsh wrote:
>> On 12/04/2014 03:22 PM, James B. Byrne wrote:
>>> On Thu, December 4, 2014 12:29, James B. Byrne wrote:
 Re: SELinux. Do I just build a local policy or is there some boolean
 setting
 needed to handle this?  I could not find one if there is but. . .

>>> Anyone see any problem with generating a custom policy consisting of the
>>> following?
>>>
>>> grep avc /var/log/audit/audit.log | audit2allow
>>>
>>>
>>> #= amavis_t ==
>>> allow amavis_t shell_exec_t:file execute;
>>> allow amavis_t sysfs_t:dir search;
>>>
>>> #= clamscan_t ==
>>> allow clamscan_t amavis_spool_t:dir read;
>> In the latest rhel6 policies amavas_t and clamscan_t have been merged
>> into antivirus_t?  Is you selinux-policy up 2 date?
> Yes, everything is up-to-date as of the time of report and I have checked
> again this morning.  That system has no unapplied fixes for software provided
> through the official CentOS-6 repositories.  Does this change apply only to 7
> or has it been backported?  Both amavisd-new and clamav are provided via the
> epel repository.

rpm -q selinux-policy

selinux-policy-3.7.19-260.el6 is the current policy in development.
>
>>> #= logwatch_mail_t ==
>>> allow logwatch_mail_t usr_t:lnk_file read;
>>>
>>> #= postfix_master_t ==
>>> allow postfix_master_t tmp_t:dir read;
>>>
>>> #= postfix_postdrop_t ==
>>> allow postfix_postdrop_t tmp_t:dir read;
>>>
>>> #= postfix_showq_t ==
>>> allow postfix_showq_t tmp_t:dir read;
>> Any reason postfix would be listing the contents of /tmp or /var/tmp?
>> Did you put some content into these directories that have something to
>> do with mail?
> That question I need put to the Postfix mailing list. I see nothing in the
> spec file that bears on the matter and the tarball was pulled from:
>
>  ftp://ftp.porcupine.org/mirrors/postfix-release/official/
>
>>> #= postfix_smtp_t ==
>>> allow postfix_smtp_t postfix_spool_maildrop_t:file { read write getattr };
>>>
>>>
>
>

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] print something on console after boot

2014-12-08 Thread 谭志新
you can send a mail to your mailbox 
googleRaspberry Pi  mailip 
such ashttp://elinux.org/RPi_Email_IP_On_Boot_Debian 

for local network, there is no complicated steps to find the IP
just  get the hardware address  of your card  and   scan the network with nmap.







> -原始邮件-
> 发件人: "Florin Andrei" 
> 发送时间: 2014-12-09 07:35:13 (星期二)
> 收件人: "CentOS mailing list" 
> 抄送: 
> 主题: [CentOS] print something on console after boot
> 
> CentOS 7
> 
> How do I print something on the text-mode console right after the OS has 
> finished booting?
> 
> I've a virtual instance and I need to know its IP address after it has 
> finished booting up, to know where to ssh into it. I've tried adding "ip 
> -4 addr > /dev/tty0" to rc.local, but that obviously doesn't work, 
> because the login prompt overwrites everything I do.
> 
> -- 
> Florin Andrei
> http://florin.myip.org/
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos


--
深圳市传感器技术重点实验室
深圳大学科技楼303室518060
手机:18948323721     
电话:0755-26538886
传真: 0755-26534656



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What's up with Firefox/Thundrebird

2014-12-08 Thread Akemi Yagi
On Mon, Nov 24, 2014 at 6:03 PM, Mark LaPierre  wrote:
> Hey All,
>
> Has anyone had trouble with Firefox/Thunderbird?
>
> When I log on if I start Thunderbird first then I can't start Firefox.
> Clicking on a link in an email fails to start Firefox.
>
> If I start Firefox before Thunderbird then hyperlinks in emails open a
> page in the existing Firefox instance.
>
> Other users on this same machine are having the same problems.
>
> This has been happening for that last several days.
>
> CentOS release 6.6 (Final)

Apparently you are affected by this bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1166921

(Thanks to a post by Phil Wyett on the Scientific Linux mailing list
regarding the bug report.)

Try downgrading nss-softokn to 3.14.3-17.el6 to 'fix' the issue.
Hopefully a patched version is released upstream soon.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DegradedArray message

2014-12-08 Thread David McGuffey
On Thu, 2014-12-04 at 16:46 -0800, Gordon Messmer wrote:
> On 12/04/2014 05:45 AM, David McGuffey wrote:

> In practice, however, there's a bunch of information you didn't provide, 
> so some of those steps are wrong.
> 
> I'm not sure what dm-0, dm-2 and dm-3 are, but they're indicated in your 
> mdstat.  I'm guessing that you made partitions, and then made LVM or 
> crypto devices, and then did RAID on top of that.  If either of those 
> are correct, that's completely the wrong way to build RAID sets.  You 
> risk either bad performance from doing crypto more often than is 
> required, or possibly corruption as a result of LVM not mapping blocks 
> the way you expect.
> 
> If you build software RAID, I really strongly recommend that you keep it 
> as simple as possible.  That means a) build sofware RAID sets from raw 
> partitions and b) use as few partitions as possible.
> 

Gordon,

Agree, I've probably made it too complicated. It is a workstation with
sensitive data on it so I've encrypted the partitions.

md1 is fairly simple...two large disks in raid1, encrypted, and mounted
as /home.

md0 is probably way too complicated and not a good way to go.  The
sensitive data in md0 is in /var (virtual machines).

I've backed up both /home and /var/lib/libvirt/images, so I think I'll
start over on md0 with a new disk and a fresh install.

Dave

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to configure xguest Firefox home page

2014-12-08 Thread David McGuffey
I've installed CentOS 6.6 on a workstation at a local non-profit as a
kiosk machine. I used xguest.  Works great, except now the customer
wants the Firefox homepage to be one pointing to a particular site.
Doesn't seem to be much documentation on how to make minor changes to
the account. Lots of SELinux guidance, but nothing about default home
page, etc.

Dave


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6.6 KVM Windows 7 Pro VM Device USB 04e8:6860

2014-12-08 Thread Paul R. Ganci
I have a CentOS 6.6 system running KVM with a Win 7 Pro VM. Over the 
weekend I was playing around with the VM trying to get it to see my 
Samsung Note 4. Apparently I removed the phone without removing the 
hardware from the VM. Now the VM will not start because Device USB 
0438:6860 is not there. I tried to remove the hardware from the VM using 
virt-manager but that does not remove the error message and the VM will 
still not start. I did manage to get the phone to be recognized as 
Device USB 04e8:6860 at one point but then the VM would not start 
because the Device was "already in use." I presently seem to have the VM 
in a state where the phone is now Device USB 04e8:6865 but the VM will 
not start because of the missing USB 04e8:6860. A Google search did not 
seem to provide anything useful.


Is there anyway to get this VM to start ... for example can I tell it to 
ignore the USB device? Can I somehow manually remove Device 04e8:6860? I 
cannot believe I have to re-install just because of a missing USB device.


Thanks for any help.

--
Paul (ga...@nurdog.com)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to configure xguest Firefox home page

2014-12-08 Thread John R Pierce

On 12/8/2014 6:12 PM, David McGuffey wrote:

I've installed CentOS 6.6 on a workstation at a local non-profit as a
kiosk machine. I used xguest.  Works great, except now the customer
wants the Firefox homepage to be one pointing to a particular site.
Doesn't seem to be much documentation on how to make minor changes to
the account. Lots of SELinux guidance, but nothing about default home
page, etc.


in firefox, go to Options, General, and paste in the URL for the home 
page, OK...


or, look in $HOME/.mozilla/firefox/profiles.ini and find the Path= in 
the default profile, and go to that directory, prefs.js, and look for 
the line ...   add your URL there.


user_pref("browser.startup.homepage", "");


--
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.6 KVM Windows 7 Pro VM Device USB 04e8:6860

2014-12-08 Thread Michael Harnden
On Monday, December 08, 2014 07:26:07 PM Paul R. Ganci wrote:
> I have a CentOS 6.6 system running KVM with a Win 7 Pro VM. Over the
> weekend I was playing around with the VM trying to get it to see my
> Samsung Note 4. Apparently I removed the phone without removing the
> hardware from the VM. Now the VM will not start because Device USB
> 0438:6860 is not there. I tried to remove the hardware from the VM using
> virt-manager but that does not remove the error message and the VM will
> still not start. I did manage to get the phone to be recognized as
> Device USB 04e8:6860 at one point but then the VM would not start
> because the Device was "already in use." I presently seem to have the VM
> in a state where the phone is now Device USB 04e8:6865 but the VM will
> not start because of the missing USB 04e8:6860. A Google search did not
> seem to provide anything useful.
> 
> Is there anyway to get this VM to start ... for example can I tell it to
> ignore the USB device? Can I somehow manually remove Device 04e8:6860? I
> cannot believe I have to re-install just because of a missing USB device.
> 
> Thanks for any help.
When I had a similar problem with an XP VM, there was an entry for the device 
in a .save file in /var/lib/libvirt/qemu/save/

Mike
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.6 KVM Windows 7 Pro VM Device USB 04e8:6860

2014-12-08 Thread Paul R. Ganci

On 12/08/2014 07:54 PM, Michael Harnden wrote:

On Monday, December 08, 2014 07:26:07 PM Paul R. Ganci wrote:

Is there anyway to get this VM to start ... for example can I tell it to
ignore the USB device? Can I somehow manually remove Device 04e8:6860? I
cannot believe I have to re-install just because of a missing USB device.

When I had a similar problem with an XP VM, there was an entry for the device
in a .save file in /var/lib/libvirt/qemu/save/


Thank you, Thank you, Thank you! Removing the .save file there fixed the 
issue.


--
Paul (ga...@nurdog.com)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DegradedArray message

2014-12-08 Thread David McGuffey
On Mon, 2014-12-08 at 21:11 -0500, David McGuffey wrote:
> On Thu, 2014-12-04 at 16:46 -0800, Gordon Messmer wrote:
> > On 12/04/2014 05:45 AM, David McGuffey wrote:
> 
> > In practice, however, there's a bunch of information you didn't provide, 
> > so some of those steps are wrong.
> > 
> > I'm not sure what dm-0, dm-2 and dm-3 are, but they're indicated in your 
> > mdstat.  I'm guessing that you made partitions, and then made LVM or 
> > crypto devices, and then did RAID on top of that.  If either of those 
> > are correct, that's completely the wrong way to build RAID sets.  You 
> > risk either bad performance from doing crypto more often than is 
> > required, or possibly corruption as a result of LVM not mapping blocks 
> > the way you expect.
> > 
> > If you build software RAID, I really strongly recommend that you keep it 
> > as simple as possible.  That means a) build sofware RAID sets from raw 
> > partitions and b) use as few partitions as possible.
> > 
> 
> Gordon,
> 
> Agree, I've probably made it too complicated. It is a workstation with
> sensitive data on it so I've encrypted the partitions.
> 
> md1 is fairly simple...two large disks in raid1, encrypted, and mounted
> as /home.
> 
> md0 is probably way too complicated and not a good way to go.  The
> sensitive data in md0 is in /var (virtual machines).
> 
> I've backed up both /home and /var/lib/libvirt/images, so I think I'll
> start over on md0 with a new disk and a fresh install.
> 
> Dave
> 
Armed with a backup I decided to use the disk utility GUI to check the
array and then re-attach the disk. After a rebuild phase it reattached
and the state changed to 'clean.' I rebooted to see if it would stay
attached; it did.

I'll still get ready for another failure. Will read up on the best
methods to have an encrypted filesystem on top of raid-1.

Dave M


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gdm doesnt work.

2014-12-08 Thread dE

On 12/08/14 22:24, David Both wrote:

Try this:

/etc/systemd/system/display-manager.service -> 
/usr/lib/systemd/system/kdm.service


Only in your case it would be gdm.service.


On 12/08/2014 11:49 AM, dE wrote:

On 12/08/14 22:02, m.r...@5-cent.us wrote:

dE wrote:

Hi!

I just installed GDM on centos 7. I'm starting it by # gdm.

However, all I see is a text cursor (as with the TTYs), nothing else.

X works well. Logs have no errors.

GDM logs are a copy of X logs.

Are you at runlevel 5?

   mark



I tried isolate graphical.target also.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

--


*
David P. Both, RHCE
Millennium Technology Consulting LLC
Raleigh, NC, USA
919-389-8678

db...@millennium-technology.com

www.millennium-technology.com
www.databook.bz - Home of the DataBook for Linux
DataBook is a Registered Trademark of David Both
*
This communication may be unlawfully collected and stored by the 
National
Security Agency (NSA) in secret. The parties to this email do not 
consent to the
retrieving or storing of this communication and any related metadata, 
as well as
printing, copying, re-transmitting, disseminating, or otherwise using 
it. If you

believe you have received this communication in error, please delete it
immediately.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Yeah, it's the same thing.

Ok, I found gdm.service (which I missed previously).

Starting it gives the same problem.

Actually I changed to graphical.target as the default and put 
display-manager.service in graphical.target.wants, and it's giving the 
same problem.


I think this's a bug.

It's a fresh CentOS install, X works, gdm does not.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos