Re: Failed to resolve typeattributeset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lejeczek <peljasz@xxxxxxxxxxx> writes:

> On 03/09/2021 18:42, Petr Lautrbach wrote:
>> lejeczek <peljasz@xxxxxxxxxxx> writes:
>>
>>> Hi guys.
>>> I'm trying to remove an old custom module but I fail:
>>>
>>> -> $ semodule -X 300 -r charonsystemd-mine
>>> libsemanage.semanage_direct_remove_key: Removing last
>>> charonsystemd-pawel module (no other charonsystemd-pawel
>>> module exists at another priority).
>>> Failed to resolve typeattributeset statement at
>>> /var/lib/selinux/targeted/tmp/modules/400/me-libvirt/cil:5
>>> semodule:  Failed!
>>>
>>> Care to share your thoughts?
>>
>> It looks like me-libvirt module depends on something defined in
>> charonsystemd-mine (or charonsystemd-pawel) module.
>>
>> You can export me-libvirt module using the following command:
>>
>> # semodule -X 400 --cil -E me-libvirt
>>
>> and look at line 5 in me-libvirt.cil file what is it.
>>
>> Petr
>>
>>
> Thanks. I'll try that.
> As a last resort - can module be removed any other way, 
> forcibly, manually?

If you don't need `me-libvirt` module, you can remove/disable it first.
Then you should be able to remove/disable `charonsystemd-mine`.

If you need `me-libvirt` module, you have to fix so that it doesn't
reference anything from `charonsystemd-mine`.

Petr
_______________________________________________
selinux mailing list -- selinux@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to selinux-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/selinux@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux