All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Zaman <jason@perfinion.com>
To: James Carter <jwcart2@tycho.nsa.gov>
Cc: selinux@tycho.nsa.gov
Subject: Re: Received a base module, expected a non-base module.
Date: Tue, 4 Oct 2016 01:24:23 +0800	[thread overview]
Message-ID: <20161003172423.GA31836@meriadoc> (raw)
In-Reply-To: <34e9545e-3056-db34-f04a-0861beae5981@tycho.nsa.gov>

On Mon, Oct 03, 2016 at 01:11:40PM -0400, James Carter wrote:
> On 10/03/2016 12:32 PM, Jason Zaman wrote:
> > Hey,
> >
> > I cant load base.pp now on gentoo :(. this is with 2.6-rc1.
> >
> > meriadoc mcs # semodule -vvv -b base.pp -i $(ls *.pp | grep -v base.pp)
> > The --base option is deprecated. Use --install instead.
> > Attempting to install module 'base.pp':
> > libsemanage.parse_module_headers: Received a base module, expected a non-base module. (No such file or directory).
> > semodule:  Failed on base.pp!
> > meriadoc mcs # semodule -vvv -b base.pp
> > The --base option is deprecated. Use --install instead.
> > Attempting to install module 'base.pp':
> > libsemanage.parse_module_headers: Received a base module, expected a non-base module. (No such file or directory).
> > semodule:  Failed on base.pp!
> > meriadoc mcs # semodule -vvv -i base.pp
> > Attempting to install module 'base.pp':
> > libsemanage.parse_module_headers: Received a base module, expected a non-base module. (No such file or directory).
> > semodule:  Failed on base.pp!
> >
> > Anyone got any ideas?
> 
> It is due to the recent patch to use pp module name instead of the filename if 
> they are different. I will work on a fix.

ooh, I should have remembered that one. fwiw, all the other modules load
just fine its only base.pp that has issues. Would renaming it to
something else make a difference?

-- Jason

> Thanks,
> Jim
> 
> >
> > -- Jason
> > _______________________________________________
> > Selinux mailing list
> > Selinux@tycho.nsa.gov
> > To unsubscribe, send email to Selinux-leave@tycho.nsa.gov.
> > To get help, send an email containing "help" to Selinux-request@tycho.nsa.gov.
> >
> 
> 
> -- 
> James Carter <jwcart2@tycho.nsa.gov>
> National Security Agency

  reply	other threads:[~2016-10-03 17:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-03 16:32 Received a base module, expected a non-base module Jason Zaman
2016-10-03 17:11 ` James Carter
2016-10-03 17:24   ` Jason Zaman [this message]
2016-10-03 17:31     ` James Carter

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=20161003172423.GA31836@meriadoc \
    --to=jason@perfinion.com \
    --cc=jwcart2@tycho.nsa.gov \
    --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 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.