Re: [CentOS] ssh -X versus -Y

2015-07-05 Thread Liam O'Toole
On 2015-06-26, Stuart Barkley stua...@4gh.net wrote:

[...]

 The documentation of the practical differences between -X and -Y is
 pretty obscure (mostly defering to the X Security extension
 documentation).  I would like to see better clarification of the
 differences.

One practical difference I have seen is the improved performance of -Y
over -X. I have long attributed that to the relaxation of security
controls in the former case.

-- 

Liam


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


Re: [CentOS] centos 7.1 and compiz

2015-07-05 Thread Liam O'Toole
On 2015-06-27, Wes James compte...@me.com wrote:

 On Jun 27, 2015, at 11:36 AM, Wes James compte...@me.com wrote:
 
 I have compiz installed on centos 6.6, and I’ve been testing 7.1, but
 I can't find any info on installing compiz on 7.1.  Is there any info
 for this or is it not supported yet?
 
 Thanks,
 
 -wes

 It seems to be a centos 7.1 “no support” thing.  I installed 6.3 (did
 updates and it took me to 6.6) and did yum install compiz after
 installing epel repo support and it found it within centos 6.6.

The compiz project is run by Canonical now, and is not seen very much
outside of Ubuntu. Whether that is for technical or licensing or
political reasons I do not know.

For KDE 4 users, the native window manager has many features found in
compiz. GNOME 3 has a compositing window manager built into the
shell(!), so compiz wouldn't work with it anyway,

-- 

Liam


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


[CentOS-virt] missing bnx2x firmware files in Xen4CentOS CentOS6 kernel 3.18.12-11

2015-07-05 Thread T.Weyergraf

Hi folks

As mentioned in the subject, kernel-3.18.12-11 is missing firmware files 
required to run Broadcom/Qlogic network cards, driven by bnx2x driver.
While in the source-rpm, there is a bnx2/bnx2x firmware tgz being 
applied during the rpm build, along with a patch adding these firmware 
files to firmware/Makefile, neither the tgz nor the patch contain the 
required firmware files. In 3.18, the driver bumped to version 
1.710.51-0, requiring the following firmware files/versions to work:


firmware:   bnx2x/bnx2x-e2-7.10.51.0.fw
firmware:   bnx2x/bnx2x-e1h-7.10.51.0.fw
firmware:   bnx2x/bnx2x-e1-7.10.51.0.fw

I helped myself by either copying the required firmware-files to the 
target-machines' /lib/firmware/bnx2x dir and ultimately by adding the 
files to the source-rpm along with a new Makefile patch and rebuilding 
the kernel rpms.


However, as bnx2x NICs seem quite commonplace these days, I suggest to 
fix this 'upstream'. If required, I can provide the (trivial) patch. I 
pulled the firmware-files from a CentOS 7 stock kernel.


Regards
Thomas
___
CentOS-virt mailing list
CentOS-virt@centos.org
http://lists.centos.org/mailman/listinfo/centos-virt


Re: [CentOS] OT Advantage of running DNS server?

2015-07-05 Thread Liam O'Toole
On 2015-06-22, Timothy Murphy
gayle...@eircom.net wrote:
 What is the advantage, if any, of running one's own DNS server?
 Surely the link between domain name and IP address must already have
 been established?


As others have said, it depends on your circumstances and what you want
to achieve. In my case I run dnsmasq on my home network, configured to
use my ISP's DNS server as its upstream. For me the advantages are that
it allows me to address connected devices by name and to see at a glance
what devices are connected.

-- 

Liam


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


Re: [CentOS] OT Advantage of running DNS server?

2015-07-05 Thread Bill Gee
And for me the advantage is I get to have name resolution on my internal 
machines.


On Sunday, July 05, 2015 14:57:22 Liam O'Toole wrote:
 On 2015-06-22, Timothy Murphy
 
 gayle...@eircom.net wrote:
  What is the advantage, if any, of running one's own DNS server?
  Surely the link between domain name and IP address must already have
  been established?
 
 As others have said, it depends on your circumstances and what you want
 to achieve. In my case I run dnsmasq on my home network, configured to
 use my ISP's DNS server as its upstream. For me the advantages are that
 it allows me to address connected devices by name and to see at a glance
 what devices are connected.

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


Re: [CentOS] Problems with Samba-based Home-Directory

2015-07-05 Thread Meikel

Am 02.07.2015 um 20:16 schrieb Gordon Messmer:

Have you yet:
setsebool -P use_samba_home_dirs 1
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


No, I didn't set it. Now I've set it and when logging into text console 
I no longer have the problem with the home directory. That's fine now. 
Thanks a lot!


But the other problem remains, that very soon after startup I can't log 
into the GUI. I think the remaining problem doesn't has to do something 
with Samba/Autofs. It looks as if the network becomes ready very late 
(after autofs started), which perhaps would explain my problem.


In the /var/log/boot.log I see:

...
Schnittstelle eth0 hochfahren:  IP-Informationen für eth0 werden 
bestimmt ... fehlgeschlagen; keine Verbindung vorhanden. Kabel prüfen? 
FEHLGESCHLAGEN

...
Netzwerkparameter einstellen ... OK
NetworkManager-Daemon starten: OK
Loading autofs4: OK
automount starten: OK

In /var/log/messages I see:

Jul  5 16:36:08 meikel-pc kernel: ADDRCONF(NETDEV_UP): eth0: link is not 
ready
Jul  5 16:36:23 meikel-pc kernel: ADDRCONF(NETDEV_CHANGE): eth0: link 
becomes ready


It takes 15 seconds between the two messages until it becomes ready. I 
have no idea why it first says that the link is not ready.


Any ideas?

Regards,

Meikel

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


[CentOS] 7.1 install with Areca arc-1224

2015-07-05 Thread linush
I must be doing something horribly wrong and I hope somebody can help.

The Areca arc-1224 is not supported by the Areca driver included driver in 7.1 
so I have to supply that when starting the install. Documentation provided by 
Areca and in the Red Hat install guide say the same thing, put the driver on an 
accessible medium then append inst.dd on the boot command, choose the driver 
and now the drives show up. So far so good.

There's already a possible glitch, however. The USB memory stick is mounted as 
sda1, shifting the hard drives off by one letter.

So I break into the shell and partition the drives the way I want them, go back 
to the GUI installer and select the drives I want to use, assign mount points 
and formatting options. Done with that, configure the network and disable kdump.

Start the installation. Give it a root password.

Install completes, reboot. Only it won't boot. Boot the DVD again, use 
troubleshooting with rescue option, again providing the new Areca driver. Tell 
it to mount my install under /mnt/sysimage. Look around a bit, there's almost 
nothing I expect to see in /boot, there's no kernel image. Do chroot 
/mnt/sysimage and query the RPM database, I see kernel-devel, kernel-headers 
and kernel-tools-libs. Hmmm, I'll bet that's a problem.

What the heck??

I actually did try copying the kernel and a few other required RPMs into a 
directory inside the chroot jail, install them and that worked fine, so I know 
those bits on the DVD are good.

Someone please tell me what I did to screw this thing up so badly.

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


Re: [CentOS] 7.1 install with Areca arc-1224

2015-07-05 Thread Gordon Messmer

On 07/05/2015 02:02 PM, C Linus Hicks wrote:

02:40:54,292 DEBUG packaging: File /usr/libexec/anaconda/anaconda-yum, line 
342, in inst_open_file
02:40:54,292 DEBUG packaging: os.unlink(txmbr.po.localPkg())
02:40:54,292 DEBUG packaging: OSError: [Errno 30] Read-only file system: 
'/run/install/repo/Packages/flite-1.3-22.el7.x86_64.rpm'

...

The path it is complaining is a read-only filesystem is the
installation DVD. If my interpretation is correct, it appears to be
attempting to delete a file on the DVD. Is there some issue with
installing flite or is something else going on?


anaconda will try to delete an rpm file if it gets an IOError.  Your 
media may be corrupt.  Check that first.


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


Re: [CentOS] 7.1 install with Areca arc-1224

2015-07-05 Thread Gordon Messmer

On 07/05/2015 09:17 AM, lin...@verizon.net wrote:

Someone please tell me what I did to screw this thing up so badly.


Have you looked at the log files in /mnt/sysimage/root/?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with Samba-based Home-Directory

2015-07-05 Thread Steven Tardy

 Jul  5 16:36:08 meikel-pc kernel: ADDRCONF(NETDEV_UP): eth0: link is not
 ready
 Jul  5 16:36:23 meikel-pc kernel: ADDRCONF(NETDEV_CHANGE): eth0: link
 becomes ready

 It takes 15 seconds between the two messages until it becomes ready. I
 have no idea why it first says that the link is not ready.

 Any ideas?


What is the upstream switch? If it is a Cisco switch does the configuration
have `spanning-tree portfast` enabled?
http://www.cisco.com/c/en/us/support/docs/switches/catalyst-6500-series-switches/10553-12.html
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh -X versus -Y

2015-07-05 Thread Gordon Messmer

On 07/05/2015 04:51 AM, Liam O'Toole wrote:

One practical difference I have seen is the improved performance of -Y
over -X. I have long attributed that to the relaxation of security
controls in the former case.


When and how did you measure that?

The -Y change was introduced in Fedora Core 3, in November 2004.  The 
default was changed to ForwardX11Trusted=yes just a month or two later. 
 I'm not sure -X and -Y ever behaved differently on Enterprise Linux or 
CentOS.


At this point, I don't think it's even possible to set 
ForwardX11Trusted=no any more.  The X SECURITY extension was replaced 
with X Access Control Extension several years ago.

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


Re: [CentOS] USB stick query

2015-07-05 Thread Gordon Messmer

On 07/03/2015 03:43 AM, Timothy Murphy wrote:

I've tried this again, and it does not seem to work.
Have you actually tried it?


I don't have a CentOS system here that I can reboot readily.  And it 
occurs to me that if I did, I didn't ask if your system boots via BIOS 
or UEFI.  If it's BIOS, I do have a test system at the office I could 
use to look at that further.


If it's UEFI, then you'd need to set up a system partition in addition 
to running grub2-install.

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


Re: [CentOS] Problems with Samba-based Home-Directory

2015-07-05 Thread Gordon Messmer

On 07/05/2015 07:57 AM, Meikel wrote:

Jul  5 16:36:08 meikel-pc kernel: ADDRCONF(NETDEV_UP): eth0: link is not
ready
Jul  5 16:36:23 meikel-pc kernel: ADDRCONF(NETDEV_CHANGE): eth0: link
becomes ready

It takes 15 seconds between the two messages until it becomes ready. I
have no idea why it first says that the link is not ready.


It's probably autonegotiation of link speed.  I'm not sure why it'd take 
that long.  I'd think the most likely explanation would be a bad cable. 
 Could also be a flaky port on the switch, or a flaky Ethernet card. 
What brand is the local interface?

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


Re: [CentOS] 7.1 install with Areca arc-1224

2015-07-05 Thread C Linus Hicks
 On 07/05/2015 09:17 AM, lin...@verizon.net wrote:
 Someone please tell me what I did to screw this thing up so badly.

On 07/05/15, Gordon Messmergordon.mess...@gmail.com wrote:
 Have you looked at the log files in /mnt/sysimage/root/?

- Quoting broken in this mailer 

So I looked in /mnt/sysimage/var/log/anaconda and found this in 
anaconda.packaging.log:

- cut -
02:40:53,109 DEBUG packaging: Installing abrt-dbus (684/1349)
02:40:53,125 DEBUG packaging: Installing flite (685/1349)
02:40:54,291 DEBUG packaging: Traceback (most recent call last):
02:40:54,291 DEBUG packaging: File /usr/libexec/anaconda/anaconda-yum, line 
220, in callback
02:40:54,292 DEBUG packaging: return func(amount, total, key, data)
02:40:54,292 DEBUG packaging: File /usr/libexec/anaconda/anaconda-yum, line 
342, in inst_open_file
02:40:54,292 DEBUG packaging: os.unlink(txmbr.po.localPkg())
02:40:54,292 DEBUG packaging: OSError: [Errno 30] Read-only file system: 
'/run/install/repo/Packages/flite-1.3-22.el7.x86_64.rpm'
02:40:54,292 DEBUG packaging: FATAL ERROR: python callback bound method 
RPMCallback.callback of __main__.RPMCallback object at 0x7fa4569d1a10 
failed, aborting!
02:40:54,393 INFO packaging:  start rpm scriptlet logs 
02:40:54,393 INFO packaging: warning: filesystem-3.2-18.el7.x86_64: Header V3 
RSA/SHA256 Signature, key ID f4a80eb5: NOKEY

02:40:54,393 INFO packaging: libgcc-4.8.3-9.el7.x86_64 (1/1349)

02:40:54,393 INFO packaging: fontpackages-filesystem-1.44-8.el7.noarch (2/1349)

02:40:54,393 INFO packaging: 1:control-center-filesystem-3.8.6-18.el7.x86_64 
(3/1349)
- cut -

The path it is complaining is a read-only filesystem is the installation DVD. 
If my interpretation is correct, it appears to be attempting to delete a file 
on the DVD. Is there some issue with installing flite or is something else 
going on?

When I searched there was a bug opened on a similar issue, but the person had a 
RAID array failure and the only error I see in the anaconda.storage.log is this:

-- cut 
02:24:19,798 DEBUG blivet: parsing /mnt/sysimage/etc/blkid/blkid.tab
02:24:19,799 INFO blivet: IGNORED: Caught exception, continuing.
02:24:19,799 INFO blivet: IGNORED: Problem description: error parsing 
blkid.tab
02:24:19,800 INFO blivet: IGNORED: Begin exception details.
02:24:19,800 INFO blivet: IGNORED: Traceback (most recent call 
last):
02:24:19,800 INFO blivet: IGNORED:   File 
/usr/lib/python2.7/site-packages/blivet/__init__.py, line 3227, in parseFSTab
02:24:19,800 INFO blivet: IGNORED: blkidTab.parse()
02:24:19,800 INFO blivet: IGNORED:   File 
/usr/lib/python2.7/site-packages/blivet/__init__.py, line 2282, in parse
02:24:19,800 INFO blivet: IGNORED: with open(path) as f:
02:24:19,800 INFO blivet: IGNORED: IOError: [Errno 2] No such file 
or directory: '/mnt/sysimage/etc/blkid/blkid.tab'
02:24:19,800 INFO blivet: IGNORED: End exception details.
-- cut -

Which doesn't appear to be fatal.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB stick query

2015-07-05 Thread Timothy Murphy
Gordon Messmer wrote:

 On 07/03/2015 03:43 AM, Timothy Murphy wrote:
 I've tried this again, and it does not seem to work.
 Have you actually tried it?

 I don't have a CentOS system here that I can reboot readily.  And it
 occurs to me that if I did, I didn't ask if your system boots via BIOS
 or UEFI.

Thanks for your response.
It boots via BIOS, and in fact boots into CentOS-7/KDE on a USB stick
(that is how I installed CentOS-7), and into Fedora-21/KDE on a stick.

But it doesn't boot back into the CentOS-7 system that is normally running
if I say sudo grub2-install /dev/sdc (the USB stick is sdc).
It just comes up with the repeated -,
which I take to mean it has found the boot-loader on the USB stick,
but has not found the kernel on /dev/sda6.


-- 
Timothy Murphy  
gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin

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


Re: [CentOS] 7.1 install with Areca arc-1224

2015-07-05 Thread Frank Cox
On Sun, 05 Jul 2015 18:38:39 -0500 (CDT)
C Linus Hicks wrote:

 No such luck. On the system where I'm doing the install, I used dd to read
 the entire DVD and also copied every .rpm to /dev/null and didn't get any I/O
 errors.

Did you verify the checksum?

-- 
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] 7.1 install with Areca arc-1224

2015-07-05 Thread Gordon Messmer

On 07/05/2015 04:38 PM, C Linus Hicks wrote:

anaconda will try to delete an rpm file if it gets an IOError. Your
media may be corrupt. Check that first.

- Above quoted -

No such luck. On the system where I'm doing the install, I used dd to
read the entire DVD and also copied every .rpm to /dev/null and
didn't get any I/O errors.

What next?


That's not the same as checking the media for corruption.  You may be 
able to read all of the files, but if the data is corrupt, rpm may throw 
and IOError.


So, the next thing to do is check your media.  The DVD should offer to 
do that first when you boot from it.

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


Re: [CentOS] 7.1 install with Areca arc-1224

2015-07-05 Thread C Linus Hicks
 On 07/05/15, Gordon Messmer wrote:

anaconda will try to delete an rpm file if it gets an IOError. Your 
media may be corrupt. Check that first.

- Above quoted -

No such luck. On the system where I'm doing the install, I used dd to read the 
entire DVD and also copied every .rpm to /dev/null and didn't get any I/O 
errors.

What next?

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


Re: [CentOS-virt] Windows 10 tech preview build 10130

2015-07-05 Thread Always Learning

On Sat, 2015-07-04 at 19:22 -0700, ToddAndMargo wrote:

 http://www.infiniteunknown.net/wp-content/uploads/2014/10/Windows-10-We-Finally-Fixed-Everything-485x274.jpg
 (You should see mine!)

Very funny. Have you got a much bigger version please ?

Thanks


Paul.
England, EU.  England's place is in the European Union.

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


Re: [CentOS-virt] Windows 10 tech preview build 10130

2015-07-05 Thread ToddAndMargo

On 07/05/2015 04:47 PM, Always Learning wrote:


On Sat, 2015-07-04 at 19:22 -0700, ToddAndMargo wrote:


http://www.infiniteunknown.net/wp-content/uploads/2014/10/Windows-10-We-Finally-Fixed-Everything-485x274.jpg
(You should see mine!)


Very funny. Have you got a much bigger version please ?

Thanks


Paul.



I haven't found one yet.  Please post back if you do!

--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~

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


Re: [CentOS] 7.1 install with Areca arc-1224

2015-07-05 Thread Gordon Messmer

On 07/05/2015 08:25 PM, C Linus Hicks wrote:

Now I'm thinking, wait, it says Failed to start media check is that
a poorly worded message or does it really mean what it says?


I'm not entirely sure, but at this point I'd suggest that you use a 
different media type.  Maybe a USB drive.

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


Re: [CentOS] 7.1 install with Areca arc-1224

2015-07-05 Thread C Linus Hicks
 On 07/05/15, Gordon Messmer wrote:

That's not the same as checking the media for corruption. You may be 
able to read all of the files, but if the data is corrupt, rpm may throw 
and IOError.

So, the next thing to do is check your media. The DVD should offer to 
do that first when you boot from it.

-- Above quoted 

Booted the DVD again, took the default. It got to 76.2% then told me:

The media check is complete. The result is: FAIL.

It is not recommended to use this media.
[FAILED] Failed to start media check on /dev/sr0.
See 'systemctl status checkisomd5@-dev-sr0.service' for details.
dracut-initqueue[681]: Job for checkisomd5@-dev-sr0.service failed. See 
'systemctl status checkisomd5@-dev-sr0.service' and 'journalctl -xn' for 
details.
[   243.972119] dracut: FATAL: CD check failed!
[   243.972141] dracut: Refusing to continue
Could not unmount /run/install/repo: Device or resource busy
[   245.127417] System halted.

Ran the check again, same thing. Took that DVD back to the machine I burned it 
on, downloaded the MD5SUM from one of the mirrors and checked the file I 
downloaded. That checks. Used cmp to compare the .iso file to the image on the 
DVD, they match, the DVD is good. Hmm, what gives.

Burned another DVD and verified the burned image matches the .iso file. Took 
the new DVD to the machine I'm doing the install on and ran the check again. 
OMG, it did the same thing at 76.2%.

Now I'm thinking, wait, it says Failed to start media check is that a poorly 
worded message or does it really mean what it says?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB stick query

2015-07-05 Thread Chris Murphy
On Sun, Jul 5, 2015 at 4:43 PM, Timothy Murphy gayle...@eircom.net wrote:
 Gordon Messmer wrote:

 On 07/03/2015 03:43 AM, Timothy Murphy wrote:
 I've tried this again, and it does not seem to work.
 Have you actually tried it?

 I don't have a CentOS system here that I can reboot readily.  And it
 occurs to me that if I did, I didn't ask if your system boots via BIOS
 or UEFI.

 Thanks for your response.
 It boots via BIOS, and in fact boots into CentOS-7/KDE on a USB stick
 (that is how I installed CentOS-7), and into Fedora-21/KDE on a stick.

 But it doesn't boot back into the CentOS-7 system that is normally running
 if I say sudo grub2-install /dev/sdc (the USB stick is sdc).
 It just comes up with the repeated -,
 which I take to mean it has found the boot-loader on the USB stick,
 but has not found the kernel on /dev/sda6.

i think that command is ambiguous because there's four distinct parts
to GRUB. The boot.img goes in the MBR (or GPT BIOS Boot partition),
which is all the /dev/sdc is telling it; the core.img and the extra
modules have to go in a directory on that same device. So you have to
tell it where. And in that same directory you need to put a grub.cfg,
using grub2-mkconfig.
http://www.gnu.org/software/grub/manual/grub.html#Invoking-grub_002dinstall

Such as this example where you have, /dev/sdb1 as ext4 with a boot/
directory on it, and you've mounted it at /mnt

grub-install --boot-directory=/mnt/boot /dev/sdc


Another possibility is using grub2-mkrescue.
http://www.gnu.org/software/grub/manual/grub.html#Invoking-grub_002dmkrescue



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