selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shintaro Fujiwara <shintaro.fujiwara@gmail.com>
To: selinux <selinux@tycho.nsa.gov>
Subject: Re: autorelabel loops in system executed 'semodule -d unconfined'
Date: Tue, 25 Sep 2018 07:19:23 +0900	[thread overview]
Message-ID: <CAPhFHN_tOXnaU7EGZ9o_ht4XGqqsAS-VmauH5o7Cb71KF3eN3w@mail.gmail.com> (raw)
In-Reply-To: <CAPhFHN8TfDUC8CP=bMiKx0BVNNZuzKcCNPC6hVawMyjBAz1x3Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]

Hi, SELinux.

I captured a picture saying this.

rm: cannot remove '/.autorelabel' : Permission denied

/.autorelabel could not be removed, so going into the loop, I guess.

How can I autorelabel properly even if I delete unconfined module?

Thanks.
2018年9月25日(火) 6:55 Shintaro Fujiwara <shintaro.fujiwara@gmail.com>:
>
> Hello, SELinux.
>
> I was playing with my F28 latest with 'semodle -d unconfined'.
> I executed this and relabeling starts even after finished relebeling
> and looks like going into the loop.
> # touch /.autorelabel
> # shtudown -r now
>
> I have attached a picure.
>
> Thanks.



-- 
Help analyzing sar file
https://github.com/intrajp/sar-analyzer

LFS Scripts will make Linux From Scratch easy
https://github.com/intrajp/LFS-scripts-systemd

SHIRASAGI-hardening Project
https://github.com/intrajp/shirasagi-hardening

Linux Distribution Project
http://sourceforge.net/projects/pinkrabbitlinux/

Introducing hardrock and heavymetal
http://heavymetalhardrock.no-ip.info/

Open Source Software to manage SELinux at ease
http://sourceforge.net/projects/segatex/

Help SELinux administration
https://github.com/intrajp/segatex-ng

network-magic ( Useful tool for network-administrators )
https://github.com/intrajp/network-magic

CMS(with PHP & PostgreSQL)
http://sourceforge.net/projects/webon/
https://github.com/intrajp/irforum_jp

[-- Attachment #2: SELinu_relabel_fails_after_deleting_unconfiled_module_2.png --]
[-- Type: image/png, Size: 19292 bytes --]

  reply	other threads:[~2018-09-24 22:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-24 21:55 autorelabel loops in system executed 'semodule -d unconfined' Shintaro Fujiwara
2018-09-24 22:19 ` Shintaro Fujiwara [this message]
2018-09-25 13:46   ` Dominick Grift
2018-09-26 11:05     ` Shintaro Fujiwara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPhFHN_tOXnaU7EGZ9o_ht4XGqqsAS-VmauH5o7Cb71KF3eN3w@mail.gmail.com \
    --to=shintaro.fujiwara@gmail.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).