All of lore.kernel.org
 help / color / mirror / Atom feed
* pcre 8.33 changes restorecon behavior
@ 2013-06-22 16:17 Sven Vermeulen
  2013-06-24 12:50 ` Stephen Smalley
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Vermeulen @ 2013-06-22 16:17 UTC (permalink / raw)
  To: selinux

Hi guys

Since libpcre 8.33, the behavior of restorecon is different. Take the
context for /sbin for instance:

Before libpcre 8.33:
  # matchpathcon /sbin
  /sbin	system_u:object_r:bin_t:s0

With and after libpcre 8.33:
  # matchpathcon /sbin
  /sbin	<<none>>

As a result, trying to reset the label fails:

# restorecon -Fv /sbin
restorecon:  Warning no default label for /sbin

Is this a bug in libpcre or are we using it differently? According to
Alphat-PC, it is due to rev 1313 of libpcre:
http://vcs.pcre.org/viewvc?view=revision&revision=1313

Thanks to Alphat-PC for reporting and debugging it at
https://bugs.gentoo.org/show_bug.cgi?id=471718

Wkr,
	Sven Vermeulen

--
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] 5+ messages in thread

end of thread, other threads:[~2013-06-24 19:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-22 16:17 pcre 8.33 changes restorecon behavior Sven Vermeulen
2013-06-24 12:50 ` Stephen Smalley
2013-06-24 14:24   ` Daniel J Walsh
2013-06-24 18:44     ` Eric Paris
2013-06-24 19:16       ` Stephen Smalley

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.