Description of problem: sepolgen --dbus create a policy with errors : /tmp/test $ sepolgen --dbus /usr/libexec/telepathy-gabble Modules complémentaires chargés : auto-update-debuginfo, langpacks, refresh- : packagekit Created the following files: /tmp/test/telepathy_gabble.te # Fichier d'application de type /tmp/test/telepathy_gabble.if # Fichier interface /tmp/test/telepathy_gabble.fc # Fichier de contexte fichier /tmp/test/telepathy_gabble_selinux.spec # Fichier de spécification /tmp/test/telepathy_gabble.sh # Script de configuration /tmp/test $ sudo ./telepathy_gabble.sh [sudo] password for misc: Building and Loading Policy + make -f /usr/share/selinux/devel/Makefile telepathy_gabble.pp telepathy_gabble.if:34: Error: duplicate definition of telepathy_gabble_dbus_chat(). Original definition on 119. Compiling targeted telepathy_gabble module /usr/bin/checkmodule: loading policy configuration from tmp/telepathy_gabble.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 17) to tmp/telepathy_gabble.mod Creating targeted telepathy_gabble.pp policy package rm tmp/telepathy_gabble.mod.fc tmp/telepathy_gabble.mod + /usr/sbin/semodule -i telepathy_gabble.pp libsepol.scope_copy_callback: telepathy_gabble: Duplicate declaration in module: type/attribute telepathy_gabble_t (No such file or directory). libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory). /usr/sbin/semodule: Failed! I guess it would be better to have it working out of the box.
Ok, wrong bug, didn't see that a telepathy module already exist :/