[ale] Strange issue with CentOS 6 and Free NAS

Chuck Payne terrorpup at gmail.com
Tue Nov 13 11:58:47 EST 2012


On Tue, Nov 13, 2012 at 11:47 AM, Beddingfield, Allen <allen at ua.edu> wrote:
> What happens if you change your setting on the BSD box to just
> maproot=root, instead of maproot=root:wheel?
>
> --
> Allen Beddingfield
> Systems Engineer
> The University of Alabama
>
>
>
>
> On 11/13/12 10:35 AM, "Chuck Payne" <terrorpup at gmail.com> wrote:
>
>>On Tue, Nov 13, 2012 at 11:31 AM, Beddingfield, Allen <allen at ua.edu>
>>wrote:
>>> Very strange.  You didn't mention it in the message, but can you work
>>>with
>>> the files as a non root user from the 6.3 system?  (confirming that we
>>>are
>>> on the right track in assuming that it is a root_squash sort of
>>>problem).
>>> Allen B.
>>> --
>>> Allen Beddingfield
>>> Systems Engineer
>>> The University of Alabama
>>>
>>>
>>>
>>>
>>> On 11/13/12 10:24 AM, "Chuck Payne" <terrorpup at gmail.com> wrote:
>>>
>>>>Guys,
>>>>
>>>>I am having an strange issue with a directory I have set on my
>>>>iXsystems running FreeNAS. If I am on a CentOS 6.3 box, I can't do
>>>>anything with the files as root.  But if I am on a box that running
>>>>CentOS 6.2 I can.  SE Linux and Firewalls are off on both boxes.
>>>>
>>>>CentOS 6.2
>>>>root at blackfoot/mnt/nas-sgd2/backup_db_tmp/prod_norwich/daily/norwich-201
>>>>21
>>>>109_0330
>>>># uname -a
>>>>Linux blackfoot 2.6.32-220.7.1.el6.x86_64 #1 SMP Wed Mar 7 00:52:02
>>>>GMT 2012 x86_64 x86_64 x86_64 GNU/Linux
>>>>root at blackfoot/mnt/nas-sgd2/backup_db_tmp/prod_norwich/daily/norwich-201
>>>>21
>>>>109_0330
>>>># du -h | head
>>>>21M    ./sql_scripts/tickets
>>>>21M    ./sql_scripts/deploy
>>>>43M    ./sql_scripts
>>>>4.8M   ./export_files
>>>>
>>>>
>>>>Cent6.3
>>>>[root at prodCoreDB01 norwich-20121109_0330]# uname -a
>>>>Linux prodCoreDB01.performancematters.com 2.6.32-279.14.1.el6.x86_64
>>>>#1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>>>>[root at prodCoreDB01 norwich-20121109_0330]# du -h | head
>>>>du: cannot read directory `./sql_scripts': Permission denied
>>>>19K    ./sql_scripts
>>>>du: cannot read directory `./export_files': Permission denied
>>>>17K    ./export_files
>>>>
>>>>
>>>>I have a directory that I have set up  is as follows, keep in mind
>>>>this is FreeNAS is FreeBSD so  nfs share options are not the same
>>>>
>>>>/mnt/ZVG0/backup_db/prod_norwich -alldirs -maproot=root:wheel -network
>>>>10.1.0.0/24
>>>>
>>>>It is set up so that no_root_sqaush is there that the maproot=root:wheel
>>>>
>>>>Has anyone seen this? I almost looks like something changed in the
>>>>kernel.  Anything I need to try?
>>>>
>>>>--
>>>>Terror PUP a.k.a
>>>>Chuck "PUP" Payne
>>>>
>>>>(678) 636-9678
>>>>-----------------------------------------
>>>>Discover it! Enjoy it! Share it! openSUSE Linux.
>>>>-----------------------------------------
>>>>openSUSE -- en.opensuse.org/User:Terrorpup
>>>>openSUSE Ambassador/openSUSE Member
>>>>Community Manager -- Southeast Linux Foundation (SELF)
>>>>skype,twiiter,identica,friendfeed -- terrorpup
>>>>freenode(irc) --terrorpup/lupinstein
>>>>Register Linux Userid: 155363
>>>>
>>>>Have you tried SUSE Studio? Need to create a Live CD,  an app you want
>>>>to package and distribute , or create your own linux distro. Give SUSE
>>>>Studio a try. www.susestudio.com.
>>>>See you at Southeast Linux Fest, June 8-10, 2012 in Charlotte, NC.
>>>>www.southeastlinuxfest.org
>>>>_______________________________________________
>>>>Ale mailing list
>>>>Ale at ale.org
>>>>http://mail.ale.org/mailman/listinfo/ale
>>>>See JOBS, ANNOUNCE and SCHOOLS lists at
>>>>http://mail.ale.org/mailman/listinfo
>>>
>>>
>>> _______________________________________________
>>> Ale mailing list
>>> Ale at ale.org
>>> http://mail.ale.org/mailman/listinfo/ale
>>> See JOBS, ANNOUNCE and SCHOOLS lists at
>>> http://mail.ale.org/mailman/listinfo
>>
>>Yes, if I su as mysql the owner of the files I can work with them.  It
>>just root that can't.
>>
>>--
>>Terror PUP a.k.a
>>Chuck "PUP" Payne
>>
>>(678) 636-9678
>>-----------------------------------------
>>Discover it! Enjoy it! Share it! openSUSE Linux.
>>-----------------------------------------
>>openSUSE -- en.opensuse.org/User:Terrorpup
>>openSUSE Ambassador/openSUSE Member
>>Community Manager -- Southeast Linux Foundation (SELF)
>>skype,twiiter,identica,friendfeed -- terrorpup
>>freenode(irc) --terrorpup/lupinstein
>>Register Linux Userid: 155363
>>
>>Have you tried SUSE Studio? Need to create a Live CD,  an app you want
>>to package and distribute , or create your own linux distro. Give SUSE
>>Studio a try. www.susestudio.com.
>>See you at Southeast Linux Fest, June 8-10, 2012 in Charlotte, NC.
>>www.southeastlinuxfest.org
>>_______________________________________________
>>Ale mailing list
>>Ale at ale.org
>>http://mail.ale.org/mailman/listinfo/ale
>>See JOBS, ANNOUNCE and SCHOOLS lists at
>>http://mail.ale.org/mailman/listinfo
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo

Same thing.  Very stange.

-- 
Terror PUP a.k.a
Chuck "PUP" Payne

(678) 636-9678


More information about the Ale mailing list