All of lore.kernel.org
 help / color / mirror / Atom feed
* Fedora 23 error when using policy generator
@ 2016-03-27  0:39 Amir Eaman
  2016-03-27  3:29 ` Amir Eaman
  0 siblings, 1 reply; 3+ messages in thread
From: Amir Eaman @ 2016-03-27  0:39 UTC (permalink / raw)
  To: selinux

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

Hi,
When I press apply button in the last step for policy generator on Fedora
23 the following error is issued. What should I do?
​

> Failed to retrieve rpm info for selinux-policy
> Traceback (most recent call last):
>   File "/usr/lib/python-exec/python2.7/sepolicy", line 643, in <module>
>     args.func(args)
>   File "/usr/lib/python-exec/python2.7/sepolicy", line 517, in generate
>     print mypolicy.generate(args.path)
>   File "/usr/lib64/python2.7/site-packages/sepolicy/generate.py", line 1370, in generate
>     out += "%s # %s\n" % (self.write_spec(out_dir), _("Spec file"))
>   File "/usr/lib64/python2.7/site-packages/sepolicy/generate.py", line 1219, in write_spec
>     fd.write(self.generate_spec())
>   File "/usr/lib64/python2.7/site-packages/sepolicy/generate.py", line 1181, in generate_spec
>     selinux_policyver = get_rpm_nvr_list("selinux-policy")[1]
> TypeError: 'NoneType' object has no attribute '__getitem__'

​

--

[-- Attachment #2: Type: text/html, Size: 1741 bytes --]

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

end of thread, other threads:[~2016-03-29  8:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-27  0:39 Fedora 23 error when using policy generator Amir Eaman
2016-03-27  3:29 ` Amir Eaman
2016-03-29  8:33   ` Miroslav Grepl

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.