Package Details: systemd-selinux 256.7-1

Git Clone URL: https://aur.archlinux.org/systemd-selinux.git (read-only, click to copy)
Package Base: systemd-selinux
Description: system and service manager with SELinux support
Upstream URL: https://www.github.com/systemd/systemd
Keywords: selinux
Licenses: CC0-1.0, GPL-2.0-or-later, LGPL-2.1-or-later, MIT-0
Groups: selinux
Conflicts: nss-myhostname, selinux-systemd, systemd, systemd-tools, udev
Provides: nss-myhostname, systemd, systemd-tools, udev
Submitter: Siosm
Maintainer: IooNag
Last Packager: IooNag
Votes: 18
Popularity: 0.001485
First Submitted: 2013-11-03 20:05 (UTC)
Last Updated: 2024-11-01 09:59 (UTC)

Required by (1530)

Sources (17)

Latest Comments

1 2 3 4 5 6 Next › Last »

IooNag commented on 2024-06-13 10:18 (UTC)

systemd fails to build with the latest release of libxml2 (version 2.13.0). This was reported upstream (https://github.com/systemd/systemd/issues/33302) and while this issue has not been fixed, it is possible to build systemd-selinux by downgrading libxml2. To install version 2.12.7-1 from Arch Linux Archive: curl -sSO https://archive.archlinux.org/packages/l/libxml2/libxml2-2.12.7-1-x86_64.pkg.tar.zst && sudo pacman -U libxml2-2.12.7-1-x86_64.pkg.tar.zst

Garlo commented on 2024-05-01 20:05 (UTC) (edited on 2024-05-01 20:06 (UTC) by Garlo)

Please align selinux version to 255.5-3

Garlo commented on 2024-03-06 17:51 (UTC) (edited on 2024-03-06 17:51 (UTC) by Garlo)

New version of mkinitcpio 38-4 require systemd or systemd-selinux version 255.4-2 but only systemd package is available in this version. systemd-selinux is available for 255.4-1 version only. Please make version 255.4-2 available for systemd-selinux too.

NobodyDBG commented on 2022-08-07 13:48 (UTC)

I'm trying to build the latest version but it's not compatible with latest GCC.

[165/2461] Generating src/boot/efi/systemd-bootx64.elf with a custom command FAILED: src/boot/efi/systemd-bootx64.elf /usr/bin/ccache cc -o src/boot/efi/systemd-bootx64.elf -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wendif-labels -Werror=format=2 -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wno-unused-result -fno-stack-protector -fno-strict-aliasing -fpic -fwide-exec-charset=UCS2 -Wall -Wextra -Wsign-compare -nostdlib -std=gnu11 -ffreestanding -fshort-wchar -fvisibility=hidden -isystem /usr/include/efi -isystem /usr/include/efi/x86_64 -I /ramdisk/yay/systemd-selinux/src/systemd-stable/src/fundamental -DSD_BOOT -DGNU_EFI_USE_MS_ABI -include src/boot/efi/efi_config.h -include version.h -mno-red-zone -mno-sse -mno-mmx -flto -O2 -fuse-ld=bfd -L /usr/lib -nostdlib -T /usr/lib/elf_x86_64_efi.lds -Wl,--build-id=sha1 -Wl,--fatal-warnings -Wl,--no-undefined -Wl,--warn-common -Wl,-Bsymbolic -z nocombreloc /usr/lib/crt0-efi-x86_64.o -pie -Wl,--no-dynamic-linker src/boot/efi/bootspec-fundamental.c.o src/boot/efi/efivars-fundamental.c.o src/boot/efi/sha256.c.o src/boot/efi/string-util-fundamental.c.o src/boot/efi/assert.c.o src/boot/efi/devicetree.c.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/secure-boot.c.o src/boot/efi/ticks.c.o src/boot/efi/util.c.o src/boot/efi/boot.c.o src/boot/efi/console.c.o src/boot/efi/drivers.c.o src/boot/efi/random-seed.c.o src/boot/efi/shim.c.o src/boot/efi/xbootldr.c.o src/boot/efi/bcd.c.o -lefi -lgnuefi -lgcc lto-wrapper: warning: using serial compilation of 2 LTRANS jobs lto-wrapper: note: see the ‘-flto’ option documentation for more information /usr/bin/ld.bfd: warning: /usr/lib/crt0-efi-x86_64.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld.bfd: NOTE: This behaviour is deprecated and will be removed in a future version of the linker collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...

str0ngbear commented on 2022-08-05 02:36 (UTC)

Trying to build yields a bunch of errors and does not complete:

[130/2461] Compiling C object src/basic/libbasic.a.p/cgroup-util.c.o FAILED: src/basic/libbasic.a.p/cgroup-util.c.o cc -Isrc/basic/libbasic.a.p -Isrc/basic -I../systemd-stable/src/basic -Isrc/fundamental -I../systemd-stable/src/fundamental -Isrc/systemd -I../systemd-stable/src/systemd -I. -I../systemd-stable -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O0 -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wendif-labels -Werror=format=2 -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wno-unused-result -Werror=missing-declarations -Werror=missing-prototypes -fdiagnostics-show-option -fno-common -fno-strict-aliasing -fstack-protector -fstack-protector-strong -fvisibility=hidden --param=ssp-buffer-size=4 -ffunction-sections -fdata-sections -Werror=shadow -include config.h -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -pthread -fvisibility=default -MD -MQ src/basic/libbasic.a.p/cgroup-util.c.o -MF src/basic/libbasic.a.p/cgroup-util.c.o.d -o src/basic/libbasic.a.p/cgroup-util.c.o -c ../systemd-stable/src/basic/cgroup-util.c In file included from ../systemd-stable/src/basic/stat-util.h:13, from ../systemd-stable/src/basic/cgroup-util.c:32: ../systemd-stable/src/basic/missing_stat.h:39:8: error: redefinition of ‘struct statx_timestamp’ 39 | struct statx_timestamp { | ^~~~~~~~~~~~~~~ In file included from /usr/include/bits/statx.h:31, from /usr/include/sys/stat.h:465, from ../systemd-stable/src/basic/fileio.h:9, from ../systemd-stable/src/basic/cgroup-util.c:19: /usr/include/linux/stat.h:56:8: note: originally defined here 56 | struct statx_timestamp { | ^~~~~~~~~~~~~~~ ../systemd-stable/src/basic/missing_stat.h:45:8: error: redefinition of ‘struct statx’ 45 | struct statx STATX_DEFINITION; | ^~~~~ /usr/include/linux/stat.h:99:8: note: originally defined here 99 | struct statx { | ^~~~~

kistlin commented on 2022-01-11 10:33 (UTC)

Dependency hwids as it seems got replaced by core/hwdata.

Therefore in the list of dependencies, this should be replaced.

ZhangHua commented on 2020-07-05 11:18 (UTC)

I think I meet some problems. I am trying to upgrade systemd-selinux from 245.6-7 to 245.6-8. However, when I started building this package, I always get an error from ninja, it says failed to compile systemd-journal-remote@exe/src_journal-remote_journal-remote-main.c.o. This is github issue address: https://github.com/archlinuxhardened/selinux/issues/31 So is there anyone can help me? Thanks for your help. What's more, I also met a issiue that system cannot unmount /run/user/1000 when powering off, it results that system spends too much time on stopping. I am trying to upgrade systemd-selinux to try to solve this problem because I have googled this problem and it may be systemd's fault, but I find that I can't finish compiling new version...

NobodyDBG commented on 2020-05-29 20:12 (UTC)

IooNAg: "if you want help, please report error messages in English (you can override your locale using "export LANG=C" before running "makepkg", for example)." Thank you it does help :-)