Re: [CentOS] Centos 6: setfacl: .: Argument list too long

2015-03-23 Thread Ashish Yadav
Hi,

On Tue, Mar 24, 2015 at 11:22 AM, John R Pierce  wrote:

> On 3/19/2015 6:14 PM, muiz wrote:
>
>>   I have a Centos 6 (64bit) server used for samba and ACL control.
>>   There has a folder which a lot of user can access, when I add a new
>> user's ACL, but failed, do you know how to resolve this problem?
>>
>
> put all those users in a group, and delete all the user ACLs on that
> directory, just add the single group ACL


This is a nice way to do. Totally agreed.

--Regards
Ashishkumar S. Yadav
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] error building php spec file

2015-03-23 Thread Ashish Yadav
Hi.

Which CentOS version you using?

If it is CentOS 6 then instead of building it from source, you can use IUS
repo which has latest php packages.

Below is the link for the packages in IUS repo for CentOS 6.



--Regards
Ashishkumar S. Yadav

On Tue, Mar 24, 2015 at 10:25 AM, Tim Dunphy  wrote:

> Hey all,
>
>  I'm attempting to build a spec file of php 5.6.7 - the latest stable -
> into an rpm. And it's failing with this set of errors:
>
> Processing files: php-5.6.7-1.el7.x86_64
> warning: File listed twice: /etc/rc.d/init.d/php-fpm
> error: Symlink points to BuildRoot: /usr/bin/phar ->
>
> /home/bluethundr/rpmbuild/BUILDROOT/php-5.6.7-1.el7.x86_64/usr/bin/phar.phar
> warning: File listed twice: /usr/share/man/man1/php-cgi.1.gz
> warning: File listed twice: /usr/share/man/man1/php-config.1.gz
> warning: File listed twice: /usr/share/man/man1/php.1.gz
> warning: File listed twice: /usr/share/man/man1/phpize.1.gz
>
>
> RPM build errors:
> File listed twice: /etc/rc.d/init.d/php-fpm
> Symlink points to BuildRoot: /usr/bin/phar ->
>
> /home/bluethundr/rpmbuild/BUILDROOT/php-5.6.7-1.el7.x86_64/usr/bin/phar.phar
> File listed twice: /usr/share/man/man1/php-cgi.1.gz
> File listed twice: /usr/share/man/man1/php-config.1.gz
> File listed twice: /usr/share/man/man1/php.1.gz
> File listed twice: /usr/share/man/man1/phpize.1.gz
>
>
> It's claiming the files above are listed twice. However I don't see that''s
> the case at all in the spec file. Here it is:
>
>
> [bluethundr@repo SPECS]$ cat php.spec
> Name:   php
> Version:5.6.7
> Release:1%{?dist}
> Summary:PHP is a widely-used general-purpose scripting language.
>
> Group:  Development/Languages
> License:PHP License v3.01
> URL:http://www.php.net
> Source0:http://www.php.net/distributions/php-%{version}.tar.bz2
> BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-buildroot
>
> Obsoletes:  php
>
> %description
> PHP is a widely-used general-purpose scripting language that is especially
> suited for Web development and can be embedded into HTML.
>
> %prep
> %setup -q -n %{name}-%{version}
> %build
> EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
> %configure --with-layout=GNU --with-libdir=lib64 --with-enchant \
> --enable-fpm --with-gd --enable-intl --enable-mbstring --enable-pcntl \
> --enable-soap --enable-sockets --enable-sqlite-utf8 --enable-zip
> --with-zlib \
> --with-curl --with-jpeg-dir --with-png-dir --with-zlib-dir --with-gettext \
> --with-mcrypt --with-mysql=mysqlnd --with-mysqli=mysqlnd
> --with-pdo-mysql=mysqlnd \
> --with-pdo-sqlite --with-tidy --with-pear=%{_datadir}/php/pear
> --disable-debug
>
> make %{?_smp_mflags}
>
> %install
> rm -rf %{buildroot}
> mkdir -p %{buildroot}%{_initrddir}
> install -Dp -m0755 sapi/fpm/init.d.php-fpm.in
> %{buildroot}%{_initrddir}/php-fpm
> %{__make} install INSTALL_ROOT="%{buildroot}"
>
> %clean
> rm -rf %{buildroot}
>
> %post
> %/sbin/chkconfig php-fpm on
>
> %preun
> if [ "$1" = 0 ] ; then
> /sbin/service php-fpm stop > /dev/null 2>&
> /sbin/chkconfig --del php-fpm
> fi
> exit 0
>
> %postun
> if [ "$1" -ge 1 ]; then
> /sbin/service php-fpm condrestart > /dev/null 2>&
> fi
> exit 0
>
> %files
> %defattr(-,root,root,-)
> %{_bindir}/*
> %{_sbindir}/*
> %{_includedir}/*
> %{_libdir}/*
> %{_mandir}/man1/php*
> %{_sysconfdir}/*
> %{_datadir}/*
> %{_initrddir}/*
> %exclude /.channels
> %exclude /.depdb
> %exclude /.depdblock
> %exclude /.filemap
> %exclude /.lock
>
> %changelog
> * Mon Mar 23 2015 Mike Willbanks  - 5.3.8-1
> - Updated to 5.3.8
> * Mon Mar 23 2015 Mike Willbanks  - 5.3.5-1
> - Initial Package
>
> I tried to build the package by going to the SPECS directory in my
> buildroot and issuing the command: rpmbuild -ba php.spec
>
> Can anyone point out where I'm going wrong?
>
> Thanks!!
> Tim
>
>
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6: setfacl: .: Argument list too long

2015-03-23 Thread John R Pierce

On 3/19/2015 6:14 PM, muiz wrote:

  I have a Centos 6 (64bit) server used for samba and ACL control.
  There has a folder which a lot of user can access, when I add a new user's 
ACL, but failed, do you know how to resolve this problem?


put all those users in a group, and delete all the user ACLs on that 
directory, just add the single group ACL




--
john, recycling bits in santa cruz

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


Re: [CentOS] Centos 6: setfacl: .: Argument list too long

2015-03-23 Thread Ashish Yadav
Hi,

How many user's you have assigned on that directory?


--Regards
Ashishkumar S. Yadav

On Tue, Mar 24, 2015 at 5:30 AM, muiz  wrote:

> Hi, James,
>  The file system is xfs  (/dev/mapper/centos-home xfs  1891292900
> 1556745108 334547792  83% /home)
>
>
> Thanks and best regards,
> Muiz
>
> At 2015-03-23 19:36:02, "James Pearson" 
> wrote:
> >muiz wrote:
> >> Dear all,
> >>
> >>
> >>  I have a Centos 6 (64bit) server used for samba and ACL control.
> >>  There has a folder which a lot of user can access, when I add a new
> user's ACL, but failed, do you know how to resolve this problem?
> >>
> >>
> >> [root@s1 abc]# getfacl /abc
> >> # file: abc
> >> # owner: root
> >> # group: root
> >> user::rwx
> >> user:user01:---
> >> user:user02:---
> >> user:user03:---
> >> ...
> >> user:user25:---
> >> group::r-x
> >> mask::r-x
> >> other::r-x
> >> [root@s1 abc]# setfacl -m u:user30:rwx /abc
> >> setfacl: .: Argument list too long
> >> [root@s1 abc]#
> >
> >What file system are you using?
> >
> >James Pearson
> >___
> >CentOS mailing list
> >CentOS@centos.org
> >http://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] error building php spec file

2015-03-23 Thread Tim Dunphy
Hey all,

 I'm attempting to build a spec file of php 5.6.7 - the latest stable -
into an rpm. And it's failing with this set of errors:

Processing files: php-5.6.7-1.el7.x86_64
warning: File listed twice: /etc/rc.d/init.d/php-fpm
error: Symlink points to BuildRoot: /usr/bin/phar ->
/home/bluethundr/rpmbuild/BUILDROOT/php-5.6.7-1.el7.x86_64/usr/bin/phar.phar
warning: File listed twice: /usr/share/man/man1/php-cgi.1.gz
warning: File listed twice: /usr/share/man/man1/php-config.1.gz
warning: File listed twice: /usr/share/man/man1/php.1.gz
warning: File listed twice: /usr/share/man/man1/phpize.1.gz


RPM build errors:
File listed twice: /etc/rc.d/init.d/php-fpm
Symlink points to BuildRoot: /usr/bin/phar ->
/home/bluethundr/rpmbuild/BUILDROOT/php-5.6.7-1.el7.x86_64/usr/bin/phar.phar
File listed twice: /usr/share/man/man1/php-cgi.1.gz
File listed twice: /usr/share/man/man1/php-config.1.gz
File listed twice: /usr/share/man/man1/php.1.gz
File listed twice: /usr/share/man/man1/phpize.1.gz


It's claiming the files above are listed twice. However I don't see that''s
the case at all in the spec file. Here it is:


[bluethundr@repo SPECS]$ cat php.spec
Name:   php
Version:5.6.7
Release:1%{?dist}
Summary:PHP is a widely-used general-purpose scripting language.

Group:  Development/Languages
License:PHP License v3.01
URL:http://www.php.net
Source0:http://www.php.net/distributions/php-%{version}.tar.bz2
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-buildroot

Obsoletes:  php

%description
PHP is a widely-used general-purpose scripting language that is especially
suited for Web development and can be embedded into HTML.

%prep
%setup -q -n %{name}-%{version}
%build
EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
%configure --with-layout=GNU --with-libdir=lib64 --with-enchant \
--enable-fpm --with-gd --enable-intl --enable-mbstring --enable-pcntl \
--enable-soap --enable-sockets --enable-sqlite-utf8 --enable-zip
--with-zlib \
--with-curl --with-jpeg-dir --with-png-dir --with-zlib-dir --with-gettext \
--with-mcrypt --with-mysql=mysqlnd --with-mysqli=mysqlnd
--with-pdo-mysql=mysqlnd \
--with-pdo-sqlite --with-tidy --with-pear=%{_datadir}/php/pear
--disable-debug

make %{?_smp_mflags}

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_initrddir}
install -Dp -m0755 sapi/fpm/init.d.php-fpm.in
%{buildroot}%{_initrddir}/php-fpm
%{__make} install INSTALL_ROOT="%{buildroot}"

%clean
rm -rf %{buildroot}

%post
%/sbin/chkconfig php-fpm on

%preun
if [ "$1" = 0 ] ; then
/sbin/service php-fpm stop > /dev/null 2>&
/sbin/chkconfig --del php-fpm
fi
exit 0

%postun
if [ "$1" -ge 1 ]; then
/sbin/service php-fpm condrestart > /dev/null 2>&
fi
exit 0

%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_sbindir}/*
%{_includedir}/*
%{_libdir}/*
%{_mandir}/man1/php*
%{_sysconfdir}/*
%{_datadir}/*
%{_initrddir}/*
%exclude /.channels
%exclude /.depdb
%exclude /.depdblock
%exclude /.filemap
%exclude /.lock

%changelog
* Mon Mar 23 2015 Mike Willbanks  - 5.3.8-1
- Updated to 5.3.8
* Mon Mar 23 2015 Mike Willbanks  - 5.3.5-1
- Initial Package

I tried to build the package by going to the SPECS directory in my
buildroot and issuing the command: rpmbuild -ba php.spec

Can anyone point out where I'm going wrong?

Thanks!!
Tim



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs fsck error metadata corruption

2015-03-23 Thread Chris Murphy
On Mon, Mar 23, 2015 at 7:14 PM, Keith Keller
 wrote:
> On 2015-03-23, Chris Murphy  wrote:
>>
>> For future reference -L is a big hammer. If you use it without
>> explicitly attempting a read-write mount (which a read only mount at
>> boot time will not do because it's an ro mount by default)
>
> ...for the root filesystem, anyway.  For nonroot filesystems it should
> use whatever flags are set in fstab.  (Granted many boxes likely have /
> as the only on-disk fs.)


Even the root ro to rw remount swicheroo is antiquated. Not ext3/4,
XFS, nor Btrfs want you to run an fsck on an ro mounted volume. Both
e2fsck and xfs_repair use strong wording saying not to do it, to the
point I think it's crusty weirdness to keep the code allowing things
like "dangerous" mode repair. The btrfs check tool on the other hand
will neither check nor repair a mounted volume - it's actually a
nearly last resort there. Usually normal mount fixes things, and if
not the first option is to use -o recovery mount option.

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


Re: [CentOS] xfs fsck error metadata corruption

2015-03-23 Thread Keith Keller
On 2015-03-23, Chris Murphy  wrote:
>
> For future reference -L is a big hammer. If you use it without
> explicitly attempting a read-write mount (which a read only mount at
> boot time will not do because it's an ro mount by default)

...for the root filesystem, anyway.  For nonroot filesystems it should
use whatever flags are set in fstab.  (Granted many boxes likely have /
as the only on-disk fs.)

--keith



-- 
kkel...@wombat.san-francisco.ca.us


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


Re: [CentOS] Centos 6: setfacl: .: Argument list too long

2015-03-23 Thread muiz
Hi, James,
 The file system is xfs  (/dev/mapper/centos-home xfs  1891292900 
1556745108 334547792  83% /home)


Thanks and best regards,
Muiz

At 2015-03-23 19:36:02, "James Pearson"  wrote:
>muiz wrote:
>> Dear all,
>> 
>> 
>>  I have a Centos 6 (64bit) server used for samba and ACL control.
>>  There has a folder which a lot of user can access, when I add a new user's 
>> ACL, but failed, do you know how to resolve this problem? 
>> 
>> 
>> [root@s1 abc]# getfacl /abc
>> # file: abc
>> # owner: root
>> # group: root
>> user::rwx
>> user:user01:---
>> user:user02:---
>> user:user03:---
>> ...
>> user:user25:---
>> group::r-x
>> mask::r-x
>> other::r-x
>> [root@s1 abc]# setfacl -m u:user30:rwx /abc
>> setfacl: .: Argument list too long
>> [root@s1 abc]#
>
>What file system are you using?
>
>James Pearson
>___
>CentOS mailing list
>CentOS@centos.org
>http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs fsck error metadata corruption

2015-03-23 Thread Chris Murphy
On Mon, Mar 23, 2015 at 2:24 PM, Stephen Drotar  wrote:
> Hi,
>
> Everytime I restart Centos 7 I receive a error saying…
>
> metadata is corrupt
>
> and then I need to go through the process of mount and unmount the disk uuid 
> then run
>
> xfs_repair {some uuid}
> or
> xfs_repair -L {some uuid}   which ultimately corrupts even more.

For future reference -L is a big hammer. If you use it without
explicitly attempting a read-write mount (which a read only mount at
boot time will not do because it's an ro mount by default), it will
almost invariably corrupt the file system worse. My 20/20 hindsight
advise is that if a normal mount fails, and xfs_repair fails, then
follow this:
http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F
And report it to the XFS list straight away. There's a much lower
chance someone on this list will know what to do, than the XFS list.
And BTW neither list can answer your question without a complete dmesg
(not just the trace, it's really annoying to get just the "cut here"
stuff with drive related problems because almost certainly the real
problem occurred before XFS got P.O.d.)


> I’m running on a RAID 1 two identical drives
>
> this has happened more then once and had to reinstall.  Any way I can prevent 
> this when I shutdown or restart?  This happens when I reboot the machine.

Sorry, but you've given us absolutely no information at all. There's
more than 8001 possibilities. So the least you can do is extract the
rdsosreport.txt if you're dropped to a shell. Or boot from install
media, with the rescue boot parameter option, and try mounting the
volume, and if that fails, also xfs_repair and give that result. And
then collect dmesg which will have mount failure info for sure, and
maybe it will also have extra messages from xfs_repair.


> Does the HD need to be completely zero wiped if I do a fresh install?

No the installer uses a combination of wipefs, and will also zero some
important sections that sometimes cause problems down the road if they
aren't zero'd.


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


Re: [CentOS] xfs fsck error metadata corruption

2015-03-23 Thread Keith Keller
On 2015-03-23, Stephen Drotar  wrote:
>
> Can CENTOS be used with ext3 or ext4 partitioning?

Yes (as someone else said, they're filesystem types, not partition
types), but if there is a hardware issue, as John noted, ext3 or ext4
won't solve the problem.  xfs is usually fairly solid, so it is very
unlikely that the filesystem type is a problem.

You should probably run memtest86+ for at least 24 hours to see if
that's an issue.  If that doesn't find anything, you should probably
investigate your storage system (as John also mentioned, hard drives and
drive controller would both be suspects).

--keith

-- 
kkel...@wombat.san-francisco.ca.us


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


Re: [CentOS] default password of centos 7 images inside http://cloud.centos.org/

2015-03-23 Thread J Martin Rushton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Will "$ sudo passwd" work?  It does with some live CD distros.

On 23/03/15 19:35, Nux! wrote:
> Hello,
> 
> I believe the root password is disabled (also SSH password
> logins). What you can do is boot in single user (init=/bin/sh) and
> unlock the password, set a custom password etc.
> 
> HTH Lucian
> 
> -- Sent from the Delta quadrant using Borg technology!
> 
> Nux! www.nux.ro
> 
> - Original Message -
>> From: "Ryan Qian"  To: centos@centos.org Sent:
>> Monday, 23 March, 2015 14:26:07 Subject: [CentOS] default
>> password of centos 7 images inside   http://cloud.centos.org/
> 
>> Hi, I'm trying to to use the centos 7 images provided by 
>> http://cloud.centos.org/, this works fine when using centos user
>> to ssh in with keys, but I'm trying to create a new image base on
>> it, so does it have default password I can use to login to the
>> console, before I can configure the network setting inside.
>> 
>> 
>> Thanks! -Ryan ___ 
>> CentOS mailing list CentOS@centos.org 
>> http://lists.centos.org/mailman/listinfo/centos
> ___ CentOS mailing
> list CentOS@centos.org 
> http://lists.centos.org/mailman/listinfo/centos
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJVEKDPAAoJEAF3yXsqtyBlFekP/2rRPjqbvil/EHfv35Su4mcJ
THPBFfdWvlZ3Q8EwFypyeqjsJJCR5BF8rmYxXue0NBz+UGo6PlfqVImP2oFqctlf
aZicfBgz42kJfBeqhbSbsk01+ISqFbWtjU+2khNfjO136jsowrvxYBN2c86eDHzL
xy3y2iBX8/2/wY16Dd+9VKJibZPJGdgwid2ugnrRVRi3lUCx6RCcX9PEjnt1iSgu
shBgp9rPEUbEkSR2DrpIyAjMJoPBeNlIUTCIK3qahIycQRNCB8uIJTVtLeBZs8BY
nO4ZCxd/otG7M8rMkLeioCH3HJq7bbqa21zwHMiOmsTf6BPVavjG0L4+7pjJEv+J
T18gczbOF0Hunks0CEu1p7w7fmuV/mS+abALYZ0Tonu6bybGs+Wyz7mk3Awry2qI
uGJsf2lNXbNfFY00a61CKY2nThyOH3OI88D9RuyV2aHUkBIS8irzvfQ6v7qFwO/X
R50a0eslLL3gmbhmxFspofMuDZzJcqpdde4KhnmwdmdrMbY4o9JhdbrXuLv3J3im
nSqL7n0ycvsXcgh2sIg4v3howMOqzG1w/NwkML0mXOkmi2KM6hApCtDWvM1BGShd
sQwVB3Nz0fVuwpyJBCJYhkaFsBNCrLBqgvyAZefk4qAuBC8PBt8+mvSZ9Gi2tHtl
cLwCIJ+vBVWK46Mi7dCA
=+YLx
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] xfs fsck error metadata corruption

2015-03-23 Thread John R Pierce

On 3/23/2015 2:23 PM, Stephen Drotar wrote:

Can CENTOS be used with ext3 or ext4 partitioning?


versions up to and including 6 used ext by default.   xfs is the default 
in centos 7, and has worked perfectly for me.




--
john, recycling bits in santa cruz

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


Re: [CentOS] xfs fsck error metadata corruption

2015-03-23 Thread Warren Young
On Mar 23, 2015, at 3:23 PM, Stephen Drotar  wrote:
> 
> Can CENTOS be used with ext3 or ext4 partitioning?

Better to speak of ext3 and ext4 as filesystems, rather than partition types.  
The partition type is 83 in both cases, which doesn’t distinguish them.

All current versions of CentOS support ext3, both in the installer and after 
installation.  ext4 was only added to the installer in the most recent version, 
CentOS 7.

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


Re: [CentOS] xfs fsck error metadata corruption

2015-03-23 Thread Stephen Drotar
Hi,

Can CENTOS be used with ext3 or ext4 partitioning?


Steve











> On Mar 23, 2015, at 4:47 PM, John R Pierce  wrote:
> 
> On 3/23/2015 1:24 PM, Stephen Drotar wrote:
>> Everytime I restart Centos 7 I receive a error saying…
>> 
>> metadata is corrupt
>> 
>> and then I need to go through the process of mount and unmount the disk uuid 
>> then run
>> 
>> xfs_repair {some uuid}
>>  or
>> xfs_repair -L {some uuid}   which ultimately corrupts even more.
>> 
>> 
>> I’m running on a RAID 1 two identical drives
>> 
>> this has happened more then once and had to reinstall.  Any way I can 
>> prevent this when I shutdown or restart?  This happens when I reboot the 
>> machine.
> 
> sounds to me like there are hardware problems on this system, that the disks 
> are corrupting data.  bad ram can do this if there's no ECC to detect the 
> hardware corruption.so can buggy/broken hardware RAID controllers.
> 
> 
> 
> 
> 
> -- 
> john, recycling bits in santa cruz
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] xfs fsck error metadata corruption

2015-03-23 Thread John R Pierce

On 3/23/2015 1:24 PM, Stephen Drotar wrote:

Everytime I restart Centos 7 I receive a error saying…

metadata is corrupt

and then I need to go through the process of mount and unmount the disk uuid 
then run

xfs_repair {some uuid}
or
xfs_repair -L {some uuid}   which ultimately corrupts even more.


I’m running on a RAID 1 two identical drives

this has happened more then once and had to reinstall.  Any way I can prevent 
this when I shutdown or restart?  This happens when I reboot the machine.


sounds to me like there are hardware problems on this system, that the 
disks are corrupting data.  bad ram can do this if there's no ECC to 
detect the hardware corruption.so can buggy/broken hardware RAID 
controllers.






--
john, recycling bits in santa cruz

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


[CentOS] xfs fsck error metadata corruption

2015-03-23 Thread Stephen Drotar
Hi,

Everytime I restart Centos 7 I receive a error saying…

metadata is corrupt

and then I need to go through the process of mount and unmount the disk uuid 
then run

xfs_repair {some uuid}
or
xfs_repair -L {some uuid}   which ultimately corrupts even more.


I’m running on a RAID 1 two identical drives

this has happened more then once and had to reinstall.  Any way I can prevent 
this when I shutdown or restart?  This happens when I reboot the machine.


Does the HD need to be completely zero wiped if I do a fresh install?  


Best,

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


Re: [CentOS] default password of centos 7 images inside http://cloud.centos.org/

2015-03-23 Thread Nux!
Hello,

I believe the root password is disabled (also SSH password logins).
What you can do is boot in single user (init=/bin/sh) and unlock the password, 
set a custom password etc.

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Ryan Qian" 
> To: centos@centos.org
> Sent: Monday, 23 March, 2015 14:26:07
> Subject: [CentOS] default password of centos 7 images inside  
> http://cloud.centos.org/

> Hi, I'm trying to to use the centos 7 images provided by
> http://cloud.centos.org/, this works fine when using centos user to ssh in 
> with
> keys, but I'm trying to create a new image base on it, so does it have default
> password I can use to login to the console, before I can configure the network
> setting inside.
> 
> 
> Thanks!
> -Ryan
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] FYI: OpenSSL Patch to Plug Severe Security Holes

2015-03-23 Thread Gordon Messmer

On 03/23/2015 07:35 AM, Alan McKay wrote:

Is there any update yet on when these fixes might be available in CentOS?


As best I understand it, two of the three bugs don't affect the version 
of openssl currently distributed.  The third bug only affects systems 
with a malformed EC private key, which is a condition that a remote 
party can't create.

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


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-23 Thread m . roth
Niki Kovacs wrote:
> Le 23/03/2015 17:26, Les Mikesell a écrit :
>> There is a real simple answer to privacy on facebook.  Just don't post
>> anything there that you would not want to be public. Just like this
>> mail list.
>
> I recently joined that list and wanted to publish a simple link to my
> technical blog dedicated to CentOS (http://kikinovak.wordpress.com).
> There's no commercial interest behind it, only the wish to share my
> personal configurations. The Facebook group sees it as "self-promotion"
> and doesn't want to publish it. On the other hand, you're allowed to
> publish jokes without any problem.
>
> I couldn't quite grasp the concept behind it, so I left the group.

Wait... isn't ALL OF FACEBOOK self-promotion? Do they even let, I dunno,
rappers and TV personalities and such *have* facebook accounts?

 mark

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


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-23 Thread m . roth
Les Mikesell wrote:
> On Mon, Mar 23, 2015 at 8:53 AM, James B. Byrne 
> wrote:
>>
>> On Mon, March 23, 2015 05:24, Nux! wrote:
>>> I find this very, very sad.
>>
>> I find it unsavoury.  We are recommending that acknowledged newbies
>> subscribe to a service known for repeatedly and persistently violating
>> its members' privacy?
>>
> There is a real simple answer to privacy on facebook.  Just don't post
> anything there that you would not want to be public. Just like this
> mail list.
>
I think my profile there - I had to sign up, a few years ago, because it
was the only place I could buy someone's membership for a con - says, "I
hate facebook, if you want me, email me".

   mark

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


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-23 Thread John R Pierce

On 3/23/2015 9:26 AM, Les Mikesell wrote:

There is a real simple answer to privacy on facebook.  Just don't post
anything there that you would not want to be public. Just like this
mail list.


You don't have to post, fecebook also tracks what you read and uses that 
to build profiles of you which are sold to advertisers.



--
john, recycling bits in santa cruz

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


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-23 Thread Hal Wigoda
That's ridiculous.  People promote their businesses.  Celebrities have their 
pages.  

(Sent from iPhone, so please accept my apologies in advance for any spelling or 
grammatical errors.)

> On Mar 23, 2015, at 11:44 AM, Niki Kovacs  wrote:
> 
> Le 23/03/2015 17:26, Les Mikesell a écrit :
>> There is a real simple answer to privacy on facebook.  Just don't post
>> anything there that you would not want to be public. Just like this
>> mail list.
> 
> I recently joined that list and wanted to publish a simple link to my 
> technical blog dedicated to CentOS (http://kikinovak.wordpress.com). There's 
> no commercial interest behind it, only the wish to share my personal 
> configurations. The Facebook group sees it as "self-promotion" and doesn't 
> want to publish it. On the other hand, you're allowed to publish jokes 
> without any problem.
> 
> I couldn't quite grasp the concept behind it, so I left the group.
> 
> Cheers,
> 
> Niki
> 
> -- 
> Microlinux - Solutions informatiques 100% Linux et logiciels libres
> 7, place de l'église - 30730 Montpezat
> Web  : http://www.microlinux.fr
> Mail : i...@microlinux.fr
> Tél. : 04 66 63 10 32
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-23 Thread Nux!
For me the main problem is the fact it is not a public place which I should be 
able to read without a facebook login.

What is this? State within a state, Internet within Internet?

How bad would it be if the mailing lists of open source projects were not 
public? To what would the search engines point you when you were looking for a 
solution to a problem? How would you follow discussions and so on..

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "James B. Byrne" 
> To: "CentOS mailing list" 
> Sent: Monday, 23 March, 2015 13:53:25
> Subject: Re: [CentOS] Facebook CentOS group close to 15.000 members!

> On Mon, March 23, 2015 05:24, Nux! wrote:
>> I find this very, very sad.
>>
> 
> I find it unsavoury.  We are recommending that acknowledged newbies
> subscribe to a service known for repeatedly and persistently violating
> its members' privacy?
> 
> 
> --
> ***  E-Mail is NOT a SECURE channel  ***
> James B. Byrnemailto:byrn...@harte-lyne.ca
> Harte & Lyne Limited  http://www.harte-lyne.ca
> 9 Brockley Drive  vox: +1 905 561 1241
> Hamilton, Ontario fax: +1 905 561 0757
> Canada  L8E 3C3
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-23 Thread Niki Kovacs

Le 23/03/2015 17:26, Les Mikesell a écrit :

There is a real simple answer to privacy on facebook.  Just don't post
anything there that you would not want to be public. Just like this
mail list.


I recently joined that list and wanted to publish a simple link to my 
technical blog dedicated to CentOS (http://kikinovak.wordpress.com). 
There's no commercial interest behind it, only the wish to share my 
personal configurations. The Facebook group sees it as "self-promotion" 
and doesn't want to publish it. On the other hand, you're allowed to 
publish jokes without any problem.


I couldn't quite grasp the concept behind it, so I left the group.

Cheers,

Niki

--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-23 Thread Les Mikesell
On Mon, Mar 23, 2015 at 8:53 AM, James B. Byrne  wrote:
>
> On Mon, March 23, 2015 05:24, Nux! wrote:
>> I find this very, very sad.
>>
>
> I find it unsavoury.  We are recommending that acknowledged newbies
> subscribe to a service known for repeatedly and persistently violating
> its members' privacy?
>

There is a real simple answer to privacy on facebook.  Just don't post
anything there that you would not want to be public. Just like this
mail list.

-- 
  Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-23 Thread m . roth
James B. Byrne wrote:
>
> On Mon, March 23, 2015 05:24, Nux! wrote:
>> I find this very, very sad.
>>
> I find it unsavoury.  We are recommending that acknowledged newbies
> subscribe to a service known for repeatedly and persistently violating
> its members' privacy?

And as far as I'm concerned, the website software looks like it was
written by liberal arts majors I mean, *I* can't figure out how to
navigate the site, and those annoying notifications - some of the time it
mentions a link, but when I go to the site by clicking the link, it's the
top of someone's page, and I can't even find what the post the link was
referring to

  mark, very much missing the old days of usenet

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


Re: [CentOS] FYI: OpenSSL Patch to Plug Severe Security Holes

2015-03-23 Thread Alan McKay
Is there any update yet on when these fixes might be available in CentOS?

thanks,
-Alan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] default password of centos 7 images inside http://cloud.centos.org/

2015-03-23 Thread Ryan Qian
Hi, I'm trying to to use the centos 7 images provided by 
http://cloud.centos.org/, this works fine when using centos user to ssh in with 
keys, but I'm trying to create a new image base on it, so does it have default 
password I can use to login to the console, before I can configure the network 
setting inside. 


Thanks!
-Ryan
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-23 Thread Brian Mathis
On Mon, Mar 23, 2015 at 9:53 AM, James B. Byrne 
wrote:

>
> On Mon, March 23, 2015 05:24, Nux! wrote:
> > I find this very, very sad.
>
> I find it unsavoury.  We are recommending that acknowledged newbies
> subscribe to a service known for repeatedly and persistently violating
> its members' privacy



How would you get the message to such people to inform them that
alternatives exist? (this is rhetorical, so don't answer). And this has
nothing to do with CentOS.  If there's a platform that can be used to
promote CentOS, then it should be used if there is a suitable audience
there.


❧ Brian Mathis
@orev
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Services supporting Kerberos and/or TLS client certificate authentication

2015-03-23 Thread Andrew Holway
Hi Jonathan,

http / rabbitmq just examples. I'm looking for a list.



On 23 March 2015 at 15:17, Jonathan Billings  wrote:

> On Mon, Mar 23, 2015 at 10:34:49AM +0100, Andrew Holway wrote:
> >
> > Hello,
> >
> > We're starting to use FreeIPA in house (which is awesome btw) which means
> > that Kerberos and TLS client certificate authentication is suddenly quite
> > easy. Im looking for a list of common Linux services with data on how one
> > can Authenticate/Authorise for these services.
>
> Do you want to use Kerberos to authenticate user/passwords?  Or are
> you looking to use the user's existing kerberos ticket to authenticate
> services?
>
> > * httpd support TLS client certificate authentication and Kerberos
>
> You can use mod_auth_kerb for httpd with any client that supports the
> Negotiate authentication method.  There's also tools to let it use
> SASL to perform plain text password authentication, but I'm not
> familiar with it.
>
> > * dovecot supports Kerberos and ...
>
> Dovecot supports GSSAPI authentication as well as using SASL.
> Sendmail and Postfix too.
>
> Sorry, not sure about rabbitmq.
> --
> Jonathan Billings 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Services supporting Kerberos and/or TLS client certificate authentication

2015-03-23 Thread Jonathan Billings
On Mon, Mar 23, 2015 at 10:34:49AM +0100, Andrew Holway wrote:
>
> Hello,
> 
> We're starting to use FreeIPA in house (which is awesome btw) which means
> that Kerberos and TLS client certificate authentication is suddenly quite
> easy. Im looking for a list of common Linux services with data on how one
> can Authenticate/Authorise for these services.

Do you want to use Kerberos to authenticate user/passwords?  Or are
you looking to use the user's existing kerberos ticket to authenticate
services? 

> * httpd support TLS client certificate authentication and Kerberos

You can use mod_auth_kerb for httpd with any client that supports the
Negotiate authentication method.  There's also tools to let it use
SASL to perform plain text password authentication, but I'm not
familiar with it.

> * dovecot supports Kerberos and ...

Dovecot supports GSSAPI authentication as well as using SASL.
Sendmail and Postfix too.

Sorry, not sure about rabbitmq.
-- 
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-23 Thread James B. Byrne

On Mon, March 23, 2015 05:24, Nux! wrote:
> I find this very, very sad.
>

I find it unsavoury.  We are recommending that acknowledged newbies
subscribe to a service known for repeatedly and persistently violating
its members' privacy?


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


Re: [CentOS] Centos 6: setfacl: .: Argument list too long

2015-03-23 Thread James Pearson

muiz wrote:

Dear all,


 I have a Centos 6 (64bit) server used for samba and ACL control.
 There has a folder which a lot of user can access, when I add a new user's ACL, but failed, do you know how to resolve this problem? 



[root@s1 abc]# getfacl /abc
# file: abc
# owner: root
# group: root
user::rwx
user:user01:---
user:user02:---
user:user03:---
...
user:user25:---
group::r-x
mask::r-x
other::r-x
[root@s1 abc]# setfacl -m u:user30:rwx /abc
setfacl: .: Argument list too long
[root@s1 abc]#


What file system are you using?

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


Re: [CentOS] CPOS-7-Installation-20141120-1 install problem

2015-03-23 Thread Fabian Arrotin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18/03/15 22:35, Sean.lim wrote:
> Hi
> 
> 
> 
> I install the CPOS-7-Installation-20141120-1.ISO on the AIX power
> 720
> 
> (CentOS power PC version for the AIX power serices)
> 
> Then I saw a message below
> 
> 
> 
> Please wait, loading kernel.
> 
> :0,/vmlinux: Unable to open file, Invalid device
> 
> Boot:
> 
> 
> 
> How can I boot it up? Please give me an advice .
> 

That's "interesting" , as we have no PPC/PP64 CentOS 7 installation
DVD ...
So not sure what you're talking about here. Do you mind elaborating ?

- -- 

Fabian Arrotin
The CentOS Project | http://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlUP73oACgkQnVkHo1a+xU4VbgCbB7jecjE5pIVbvASGVPzGJsrn
KCsAnjvDF6vDVgwKYul/Vz1PXp6dYLRF
=8kr/
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Services supporting Kerberos and/or TLS client certificate authentication

2015-03-23 Thread Andrew Holway
Hello,

We're starting to use FreeIPA in house (which is awesome btw) which means
that Kerberos and TLS client certificate authentication is suddenly quite
easy. Im looking for a list of common Linux services with data on how one
can Authenticate/Authorise for these services.

* httpd support TLS client certificate authentication and Kerberos
* rabbitmq supports TLS client certificate authentication
* dovecot supports Kerberos and ...

etc, etc

Cheers,

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


Re: [CentOS] Facebook CentOS group close to 15.000 members!

2015-03-23 Thread Nux!
I find this very, very sad.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Always Learning" 
> To: "CentOS mailing list" 
> Sent: Sunday, 22 March, 2015 18:19:19
> Subject: Re: [CentOS] Facebook CentOS group close to 15.000 members!

> On Sun, 2015-03-22 at 14:14 +0100, Ljubomir Ljubojevic wrote:
> 
>> Group's link is https://www.facebook.com/groups/centosproject/
> 
> 
>   "  Facebook Login
>   "  You must log in to continue.  "
> 
> Not open for public reading. Surely Centos is an "open" and "available
> to all" philosophy ?  Centos can be down-loaded and installed without
> registering :-)
> 
> 
> 
> --
> Regards,
> 
> Paul.
> England, EU.  Je suis Charlie.
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fedora Mock

2015-03-23 Thread James Hogarth
On 22 Mar 2015 23:51, "Always Learning"  wrote:
>
>
> On Sun, 2015-03-22 at 19:38 -0400, Mark LaPierre wrote:
> > On 03/22/15 16:22, Tim Dunphy wrote:
> > > how do
> > > I build in mock?
> >
> > http://fedoraproject.org/wiki/Projects/Mock
>
> Noticing a minor error, a spelling mistake, on
> http://fedoraproject.org/wiki/Projects/Mock
> I clicked on contact which proudly proclaimed Fedora was more wonderful
> than before and announced the only method of telling Fedora about simple
> errors was to register.  That is too much unproductive aggro for such a
> simple task.
>

Good job then that has nothing to do with CentOS. The Fedora project have
their own mailing lists you can notify them on.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos