All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom <tom@lemuria.org>
To: SELinux@tycho.nsa.gov
Subject: db conflict ?
Date: Fri, 12 Apr 2002 12:23:49 +0200	[thread overview]
Message-ID: <20020412122349.A28382@lemuria.org> (raw)

I have just installed a new SELinux test machine. It had an SELinux
earlier, but I deleted that and installed a new one, from the Debian
packages.

During boot, I get this error message:

security:  starting up (compiled Jan 12 2002)
security:  loading policy configuration from /ss_policy
security:  policydb version 8 does not match my version 7
security:  error while loading /ss_policy, cannot initialize.
SELinux:  Could not initialize
Freeing unused kernel memory: 208k freed
Adding Swap: 498004k swap-space (priority -1)
security_context_to_sid: called before initial load_policy on unknown context system_u:object_r:policy_config_t

something looks very wrong here. my /ss_policy is up-to-date:

-rw-r--r--    1 root     root      1291704 Apr 12 11:50 ss_policy

but my "make install" fails:

arkham:/etc/selinux# make install
install -m 644 -o root -g root policy /ss_policy
chsid system_u:object_r:policy_config_t /ss_policy
system_u:object_r:policy_config_t: Invalid argument
make: *** [install] Error 1

so that is probably the source of the problem. anyone got an idea what 
I'm doing wrong? the policy itself looks ok:

arkham:/etc/selinux# checkpolicy
checkpolicy:  loading policy configuration from policy.conf
security:  5 users, 5 roles, 488 types
security:  29 classes, 52901 rules
checkpolicy:  policy configuration loaded

I also have this error:

arkham:/etc/selinux# load_policy /ss_policy
security_load_policy: Invalid argument

maybe it's related. Since this fails, I can't relabel:

arkham:/etc/selinux# make relabel
/usr/bin/load_policy /ss_policy
security_load_policy: Invalid argument
make: *** [tmp/load] Error 2


I did remove the persistent label things:
  rm -rf /...security /var/...security


I'll try a few more things, but I'm afraid the failed make install is
the cause of all troubles, so any help would be appreciated...



-- 
http://web.lemuria.org/pubkey.html
pub  1024D/D88D35A6 2001-11-14 Tom Vogt <tom@lemuria.org>
     Key fingerprint = 276B B7BB E4D8 FCCE DB8F  F965 310B 811A D88D 35A6

--
You have received this message because you are subscribed to the selinux 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.

             reply	other threads:[~2002-04-12 10:23 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-12 10:23 Tom [this message]
2002-04-12 12:05 ` db conflict ? Russell Coker
2002-04-12 13:01   ` Tom
2002-04-12 14:07     ` Russell Coker
2002-04-12 14:40       ` Stephen Smalley
2002-04-12 15:15         ` Russell Coker
2002-04-12 19:03         ` [patch] " Stephen Smalley
2002-04-12 13:09   ` Stephen Smalley
2002-04-12 13:27     ` Russell Coker
2002-04-12 13:06 ` Stephen Smalley
2002-04-12 13:58   ` Russell Coker
2002-04-12 14:07     ` Stephen Smalley
2002-04-12 14:38       ` Russell Coker
2002-04-12 14:48         ` Stephen Smalley
2002-04-12 15:12           ` Russell Coker
2002-04-12 17:01             ` Howard Holm
2002-04-12 17:09               ` Russell Coker
2002-04-12 17:13               ` Stephen Smalley
2002-04-12 14:17     ` Tom
2002-04-12 14:21       ` Stephen Smalley
2002-04-12 14:34         ` Russell Coker
2002-04-12 14:50         ` Tom
2002-04-12 15:01       ` Tom
2002-04-12 15:11         ` Stephen Smalley
2002-04-12 15:15           ` Tom
2002-04-12 15:29           ` Tom
2002-04-12 16:35             ` Stephen Smalley
2002-04-12 16:50               ` Tom
2002-04-12 17:04                 ` Stephen Smalley
2002-04-12 17:40                   ` Tom
2002-04-12 17:49                     ` Stephen Smalley
2002-04-12 16:33         ` Russell Coker
  -- strict thread matches above, loose matches on Subject: below --
2002-04-12 17:26 Westerman, Mark
2002-04-12 17:29 ` Stephen Smalley
2002-04-12 17:37 Westerman, Mark
2002-04-12 18:03 ` Russell Coker
2002-04-12 19:17 ` Stephen Smalley
2002-04-12 20:11   ` Russell Coker
2002-04-12 20:25     ` Howard Holm
2002-04-12 21:01       ` Russell Coker
2002-04-15 14:44         ` Howard Holm
2002-04-12 20:18   ` Howard Holm
2002-04-15 16:08     ` Dale Amon
2002-04-18 14:54       ` Stephen Smalley
2002-04-18 15:42         ` Russell Coker
2002-04-19 20:20           ` Stephen Smalley
2002-04-12 17:45 Westerman, Mark
2002-04-12 18:12 ` Stephen Smalley
2002-04-12 18:13 Westerman, Mark
2002-04-12 19:42 ` Russell Coker
2002-04-12 20:33 Westerman, Mark
2002-04-15 14:40 ` Howard Holm
2002-04-15 15:16 Westerman, Mark

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=20020412122349.A28382@lemuria.org \
    --to=tom@lemuria.org \
    --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.