On 04/24/2013 04:50 PM, Johan Vermeulen wrote:> Dear All, > > I'm currently troubleshooting NetworkManger scripts. > > I see a difference in machine A : > > drwxr-xr-x 2 root root 4096 apr 24 16:33 . > drwxr-xr-x 5 root root 4096 jan 9 12:13 .. > -rwxr-xr-x 1 root root 175 jan 9 12:13 00-netreport > -rwxr-xr-x 1 root root 335 okt 22 2012 04-iscsi > -rwxr-xr-x 1 root root 345 jan 9 12:13 05-netfs > -rwxr-xr-x 1 root root 926 sep 25 2012 10-dhclient > -rwxr-xr-x 1 root root 301 apr 24 15:58 20-backuplauncher > -rwxr-xr-x 1 root root 220 jun 22 2012 yum-NetworkManager-dispatcher > > and machine B: > > drwxr-xr-x. 2 root root 4096 apr 24 16:34 . > drwxr-xr-x. 5 root root 4096 apr 23 12:06 .. > -rwxr-xr-x. 1 root root 175 jan 9 12:13 00-netreport > -rwxr-xr-x. 1 root root 345 jan 9 12:13 05-netfs > -rwxr-xr-x. 1 root root 926 sep 25 2012 10-dhclient > -rwxr-xr-x. 1 root root 326 apr 23 13:42 15-nfslauncher > -rwxr-xr-x. 1 root root 307 apr 24 16:10 20-backuplauncher > -rwxr-xr-x. 1 root root 220 jun 22 2012 yum-NetworkManager-dispatcher > > the difference being -rwxr-xr-x and -rwxr-xr-x. > > so with or without a dot (.) > > Does that mean anything?Yes, the dot is a hint that SELinux attributes are set on those files. Run ls -Z to see them. -dirk
Dear All, I'm currently troubleshooting NetworkManger scripts. I see a difference in machine A : drwxr-xr-x 2 root root 4096 apr 24 16:33 . drwxr-xr-x 5 root root 4096 jan 9 12:13 .. -rwxr-xr-x 1 root root 175 jan 9 12:13 00-netreport -rwxr-xr-x 1 root root 335 okt 22 2012 04-iscsi -rwxr-xr-x 1 root root 345 jan 9 12:13 05-netfs -rwxr-xr-x 1 root root 926 sep 25 2012 10-dhclient -rwxr-xr-x 1 root root 301 apr 24 15:58 20-backuplauncher -rwxr-xr-x 1 root root 220 jun 22 2012 yum-NetworkManager-dispatcher and machine B: drwxr-xr-x. 2 root root 4096 apr 24 16:34 . drwxr-xr-x. 5 root root 4096 apr 23 12:06 .. -rwxr-xr-x. 1 root root 175 jan 9 12:13 00-netreport -rwxr-xr-x. 1 root root 345 jan 9 12:13 05-netfs -rwxr-xr-x. 1 root root 926 sep 25 2012 10-dhclient -rwxr-xr-x. 1 root root 326 apr 23 13:42 15-nfslauncher -rwxr-xr-x. 1 root root 307 apr 24 16:10 20-backuplauncher -rwxr-xr-x. 1 root root 220 jun 22 2012 yum-NetworkManager-dispatcher the difference being -rwxr-xr-x and -rwxr-xr-x. so with or without a dot (.) Does that mean anything? Thanks for any advise on this. Greetings, J. Opensource Software is the future.
On 04/24/2013 07:50 AM, Johan Vermeulen wrote:> Dear All, > > I'm currently troubleshooting NetworkManger scripts. > > I see a difference in machine A : > > drwxr-xr-x 2 root root 4096 apr 24 16:33 . > drwxr-xr-x 5 root root 4096 jan 9 12:13 .. > -rwxr-xr-x 1 root root 175 jan 9 12:13 00-netreport > -rwxr-xr-x 1 root root 335 okt 22 2012 04-iscsi > -rwxr-xr-x 1 root root 345 jan 9 12:13 05-netfs > -rwxr-xr-x 1 root root 926 sep 25 2012 10-dhclient > -rwxr-xr-x 1 root root 301 apr 24 15:58 20-backuplauncher > -rwxr-xr-x 1 root root 220 jun 22 2012 yum-NetworkManager-dispatcher > > and machine B: > > drwxr-xr-x. 2 root root 4096 apr 24 16:34 . > drwxr-xr-x. 5 root root 4096 apr 23 12:06 .. > -rwxr-xr-x. 1 root root 175 jan 9 12:13 00-netreport > -rwxr-xr-x. 1 root root 345 jan 9 12:13 05-netfs > -rwxr-xr-x. 1 root root 926 sep 25 2012 10-dhclient > -rwxr-xr-x. 1 root root 326 apr 23 13:42 15-nfslauncher > -rwxr-xr-x. 1 root root 307 apr 24 16:10 20-backuplauncher > -rwxr-xr-x. 1 root root 220 jun 22 2012 yum-NetworkManager-dispatcher > > the difference being -rwxr-xr-x and -rwxr-xr-x. > > so with or without a dot (.) > > Does that mean anything?Hi Johan, From "info coreutils", section 10.1.2 (What information is listed): Following the file mode bits is a single character that specifies whether an alternate access method such as an access control list applies to the file. When the character following the file mode bits is a space, there is no alternate access method. When it is a printing character, then there is such a method. GNU `ls' uses a `.' character to indicate a file with an SELinux security context, but no other alternate access method. A file with any other combination of alternate access methods is marked with a `+' character. My first guess would be that Machine A has SELinux disabled, but Machine B has (or had at some point) SELinux enabled. -Greg
On Wed, Apr 24, 2013 at 8:50 AM, Johan Vermeulen <jvermeulen at cawdekempen.be> wrote:> Dear All, > > I'm currently troubleshooting NetworkManger scripts. > > I see a difference in machine A : > > drwxr-xr-x 2 root root 4096 apr 24 16:33 . > drwxr-xr-x 5 root root 4096 jan 9 12:13 .. > -rwxr-xr-x 1 root root 175 jan 9 12:13 00-netreport > -rwxr-xr-x 1 root root 335 okt 22 2012 04-iscsi > -rwxr-xr-x 1 root root 345 jan 9 12:13 05-netfs > -rwxr-xr-x 1 root root 926 sep 25 2012 10-dhclient > -rwxr-xr-x 1 root root 301 apr 24 15:58 20-backuplauncher > -rwxr-xr-x 1 root root 220 jun 22 2012 yum-NetworkManager-dispatcher > > and machine B: > > drwxr-xr-x. 2 root root 4096 apr 24 16:34 . > drwxr-xr-x. 5 root root 4096 apr 23 12:06 .. > -rwxr-xr-x. 1 root root 175 jan 9 12:13 00-netreport > -rwxr-xr-x. 1 root root 345 jan 9 12:13 05-netfs > -rwxr-xr-x. 1 root root 926 sep 25 2012 10-dhclient > -rwxr-xr-x. 1 root root 326 apr 23 13:42 15-nfslauncher > -rwxr-xr-x. 1 root root 307 apr 24 16:10 20-backuplauncher > -rwxr-xr-x. 1 root root 220 jun 22 2012 yum-NetworkManager-dispatcher > > the difference being -rwxr-xr-x and -rwxr-xr-x. > > so with or without a dot (.) > > Does that mean anything? > > Thanks for any advise on this.The . means the file has an access list with SELinux. You could try disabling SELinux on machine B and seeing if that fixes the issue.
:-) In this context " I ' run your backup when.... verzonden m.b.v Android vandaar de beknoptheid. John R Pierce <pierce at hogranch.com>schreef:>On 4/25/2013 3:57 AM, James Hogarth wrote: >> I suspect there is no boolean to allow what you want so if you want selinux >> enabled you'll need to build a module - look at audit2allow and the various >> guides surrounding that for how to use > >and you wonder why people give up on selinux. 'sorry, boss.. I'll get >that TPC report out just soon as I debug this selinux audit module...' > > > >-- >john r pierce 37N 122W >somewhere on the middle of the left coast > >_______________________________________________ >CentOS mailing list >CentOS at centos.org >http://lists.centos.org/mailman/listinfo/centos