All of lore.kernel.org
 help / color / mirror / Atom feed
* refpolicy doesnt see ext4 but fix_files does
@ 2009-08-11  4:06 ` Justin Mattock
  0 siblings, 0 replies; 7+ messages in thread
From: Justin Mattock @ 2009-08-11  4:06 UTC (permalink / raw)
  To: SE-Linux, tresys

seems Ive hit yet another interesting thing
(the perils of creating my own system)

in refpolicy sudo make relabel
(shows this)

Relabeling filesystem types: ext2 ext3 xfs jfs
No filesystems with extended attributes found!
make: *** [relabel] Error 1

kernel .config does have ext4 built-in
ext3,ext2 are not built-in(only modules).

fixfiles relabel shows:


    Files in the /tmp directory may be labeled incorrectly, this command
    can remove all files in /tmp.  If you choose to remove files from /tmp,
    a reboot will be required after completion.

    Do you wish to clean out the /tmp directory [N]? y
Cleaning out /tmp
/bin/rm: cannot remove `/tmp/.X11-unix': Is a directory
filespec_add:  conflicting specifications for /usr/bin/getconf and
/usr/lib64/glibc/getconf/POSIX_V7_LP64_OFF64, using
system_u:object_r:lib_t.
filespec_add:  conflicting specifications for /usr/bin/git and
/usr/lib64/git-core/git-annotate, using system_u:object_r:lib_t.
find: unknown predicate `-context'
find: unknown predicate `-context'

(seems to have relabeled as should)

the partition scheme is simple:
all ext4 for testing(and a swap on the side!!).



-- 
Justin P. Mattock

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [refpolicy] refpolicy doesnt see ext4 but fix_files does
@ 2009-08-11  4:06 ` Justin Mattock
  0 siblings, 0 replies; 7+ messages in thread
From: Justin Mattock @ 2009-08-11  4:06 UTC (permalink / raw)
  To: refpolicy

seems Ive hit yet another interesting thing
(the perils of creating my own system)

in refpolicy sudo make relabel
(shows this)

Relabeling filesystem types: ext2 ext3 xfs jfs
No filesystems with extended attributes found!
make: *** [relabel] Error 1

kernel .config does have ext4 built-in
ext3,ext2 are not built-in(only modules).

fixfiles relabel shows:


    Files in the /tmp directory may be labeled incorrectly, this command
    can remove all files in /tmp.  If you choose to remove files from /tmp,
    a reboot will be required after completion.

    Do you wish to clean out the /tmp directory [N]? y
Cleaning out /tmp
/bin/rm: cannot remove `/tmp/.X11-unix': Is a directory
filespec_add:  conflicting specifications for /usr/bin/getconf and
/usr/lib64/glibc/getconf/POSIX_V7_LP64_OFF64, using
system_u:object_r:lib_t.
filespec_add:  conflicting specifications for /usr/bin/git and
/usr/lib64/git-core/git-annotate, using system_u:object_r:lib_t.
find: unknown predicate `-context'
find: unknown predicate `-context'

(seems to have relabeled as should)

the partition scheme is simple:
all ext4 for testing(and a swap on the side!!).



-- 
Justin P. Mattock

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [refpolicy] refpolicy doesnt see ext4 but fix_files does
  2009-08-11  4:06 ` [refpolicy] " Justin Mattock
@ 2009-08-11 13:03   ` Christopher J. PeBenito
  -1 siblings, 0 replies; 7+ messages in thread
From: Christopher J. PeBenito @ 2009-08-11 13:03 UTC (permalink / raw)
  To: Justin Mattock; +Cc: SE-Linux, tresys

On Mon, 2009-08-10 at 21:06 -0700, Justin Mattock wrote:
> seems Ive hit yet another interesting thing
> (the perils of creating my own system)
> 
> in refpolicy sudo make relabel
> (shows this)
> 
> Relabeling filesystem types: ext2 ext3 xfs jfs
> No filesystems with extended attributes found!
> make: *** [relabel] Error 1

Fixed in git.

Also, please don't unnecessarily cross post the refpolicy and selinux
lists.

> kernel .config does have ext4 built-in
> ext3,ext2 are not built-in(only modules).
> 
> fixfiles relabel shows:
> 
> 
>     Files in the /tmp directory may be labeled incorrectly, this command
>     can remove all files in /tmp.  If you choose to remove files from /tmp,
>     a reboot will be required after completion.
> 
>     Do you wish to clean out the /tmp directory [N]? y
> Cleaning out /tmp
> /bin/rm: cannot remove `/tmp/.X11-unix': Is a directory
> filespec_add:  conflicting specifications for /usr/bin/getconf and
> /usr/lib64/glibc/getconf/POSIX_V7_LP64_OFF64, using
> system_u:object_r:lib_t.
> filespec_add:  conflicting specifications for /usr/bin/git and
> /usr/lib64/git-core/git-annotate, using system_u:object_r:lib_t.
> find: unknown predicate `-context'
> find: unknown predicate `-context'
> 
> (seems to have relabeled as should)
> 
> the partition scheme is simple:
> all ext4 for testing(and a swap on the side!!).
> 
> 
> 
-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [refpolicy] refpolicy doesnt see ext4 but fix_files does
@ 2009-08-11 13:03   ` Christopher J. PeBenito
  0 siblings, 0 replies; 7+ messages in thread
From: Christopher J. PeBenito @ 2009-08-11 13:03 UTC (permalink / raw)
  To: refpolicy

On Mon, 2009-08-10 at 21:06 -0700, Justin Mattock wrote:
> seems Ive hit yet another interesting thing
> (the perils of creating my own system)
> 
> in refpolicy sudo make relabel
> (shows this)
> 
> Relabeling filesystem types: ext2 ext3 xfs jfs
> No filesystems with extended attributes found!
> make: *** [relabel] Error 1

Fixed in git.

Also, please don't unnecessarily cross post the refpolicy and selinux
lists.

> kernel .config does have ext4 built-in
> ext3,ext2 are not built-in(only modules).
> 
> fixfiles relabel shows:
> 
> 
>     Files in the /tmp directory may be labeled incorrectly, this command
>     can remove all files in /tmp.  If you choose to remove files from /tmp,
>     a reboot will be required after completion.
> 
>     Do you wish to clean out the /tmp directory [N]? y
> Cleaning out /tmp
> /bin/rm: cannot remove `/tmp/.X11-unix': Is a directory
> filespec_add:  conflicting specifications for /usr/bin/getconf and
> /usr/lib64/glibc/getconf/POSIX_V7_LP64_OFF64, using
> system_u:object_r:lib_t.
> filespec_add:  conflicting specifications for /usr/bin/git and
> /usr/lib64/git-core/git-annotate, using system_u:object_r:lib_t.
> find: unknown predicate `-context'
> find: unknown predicate `-context'
> 
> (seems to have relabeled as should)
> 
> the partition scheme is simple:
> all ext4 for testing(and a swap on the side!!).
> 
> 
> 
-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [refpolicy] refpolicy doesnt see ext4 but fix_files does
  2009-08-11 13:03   ` Christopher J. PeBenito
  (?)
@ 2009-08-11 15:25   ` Justin P. Mattock
  2009-08-11 15:39     ` Christopher J. PeBenito
  -1 siblings, 1 reply; 7+ messages in thread
From: Justin P. Mattock @ 2009-08-11 15:25 UTC (permalink / raw)
  To: refpolicy

Christopher J. PeBenito wrote:
> On Mon, 2009-08-10 at 21:06 -0700, Justin Mattock wrote:
>    
>> seems Ive hit yet another interesting thing
>> (the perils of creating my own system)
>>
>> in refpolicy sudo make relabel
>> (shows this)
>>
>> Relabeling filesystem types: ext2 ext3 xfs jfs
>> No filesystems with extended attributes found!
>> make: *** [relabel] Error 1
>>      
>
> Fixed in git.
>
> Also, please don't unnecessarily cross post the refpolicy and selinux
> lists.
>
>    
>> kernel .config does have ext4 built-in
>> ext3,ext2 are not built-in(only modules).
>>
>> fixfiles relabel shows:
>>
>>
>>      Files in the /tmp directory may be labeled incorrectly, this command
>>      can remove all files in /tmp.  If you choose to remove files from /tmp,
>>      a reboot will be required after completion.
>>
>>      Do you wish to clean out the /tmp directory [N]? y
>> Cleaning out /tmp
>> /bin/rm: cannot remove `/tmp/.X11-unix': Is a directory
>> filespec_add:  conflicting specifications for /usr/bin/getconf and
>> /usr/lib64/glibc/getconf/POSIX_V7_LP64_OFF64, using
>> system_u:object_r:lib_t.
>> filespec_add:  conflicting specifications for /usr/bin/git and
>> /usr/lib64/git-core/git-annotate, using system_u:object_r:lib_t.
>> find: unknown predicate `-context'
>> find: unknown predicate `-context'
>>
>> (seems to have relabeled as should)
>>
>> the partition scheme is simple:
>> all ext4 for testing(and a swap on the side!!).
>>
>>
>>
>>      

fixed as in git today, or a few days ago. i.g. pulled
yesterday.

Justin P. Mattock

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [refpolicy] refpolicy doesnt see ext4 but fix_files does
  2009-08-11 15:25   ` Justin P. Mattock
@ 2009-08-11 15:39     ` Christopher J. PeBenito
  2009-08-11 16:06       ` Justin P. Mattock
  0 siblings, 1 reply; 7+ messages in thread
From: Christopher J. PeBenito @ 2009-08-11 15:39 UTC (permalink / raw)
  To: refpolicy

On Tue, 2009-08-11 at 08:25 -0700, Justin P. Mattock wrote:
> Christopher J. PeBenito wrote:
> > On Mon, 2009-08-10 at 21:06 -0700, Justin Mattock wrote:
> >    
> >> seems Ive hit yet another interesting thing
> >> (the perils of creating my own system)
> >>
> >> in refpolicy sudo make relabel
> >> (shows this)
> >>
> >> Relabeling filesystem types: ext2 ext3 xfs jfs
> >> No filesystems with extended attributes found!
> >> make: *** [relabel] Error 1
> >>      
> >
> > Fixed in git.

> fixed as in git today, or a few days ago. i.g. pulled
> yesterday.

Fixed right before I sent the email.

-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [refpolicy] refpolicy doesnt see ext4 but fix_files does
  2009-08-11 15:39     ` Christopher J. PeBenito
@ 2009-08-11 16:06       ` Justin P. Mattock
  0 siblings, 0 replies; 7+ messages in thread
From: Justin P. Mattock @ 2009-08-11 16:06 UTC (permalink / raw)
  To: refpolicy

Christopher J. PeBenito wrote:
> On Tue, 2009-08-11 at 08:25 -0700, Justin P. Mattock wrote:
>    
>> Christopher J. PeBenito wrote:
>>      
>>> On Mon, 2009-08-10 at 21:06 -0700, Justin Mattock wrote:
>>>
>>>        
>>>> seems Ive hit yet another interesting thing
>>>> (the perils of creating my own system)
>>>>
>>>> in refpolicy sudo make relabel
>>>> (shows this)
>>>>
>>>> Relabeling filesystem types: ext2 ext3 xfs jfs
>>>> No filesystems with extended attributes found!
>>>> make: *** [relabel] Error 1
>>>>
>>>>          
>>> Fixed in git.
>>>        
>
>    
>> fixed as in git today, or a few days ago. i.g. pulled
>> yesterday.
>>      
>
> Fixed right before I sent the email.
>
>    
Nice work.
just pulled, make relabel worked like
a charm. Now I just have to figure out
selinux_init_load_policy for init.c

Justin P. Mattock

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-08-11 16:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-11  4:06 refpolicy doesnt see ext4 but fix_files does Justin Mattock
2009-08-11  4:06 ` [refpolicy] " Justin Mattock
2009-08-11 13:03 ` Christopher J. PeBenito
2009-08-11 13:03   ` Christopher J. PeBenito
2009-08-11 15:25   ` Justin P. Mattock
2009-08-11 15:39     ` Christopher J. PeBenito
2009-08-11 16:06       ` Justin P. Mattock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.