Search found 40 matches

by bryn1u
2021/07/02 00:03:06
Forum: 8 /8-Stream / 9-Stream - General Support
Topic: Can't compile own kerne; error: Bad exit status
Replies: 0
Views: 2010

Can't compile own kerne; error: Bad exit status

Hey guys, Im trying to compile my own kernel based on Centos 8 Stream config. During compilation via "make -j8 rpm-pkg" command im getting some error: AR kernel/built-in.a CC [M] kernel/kheaders.o error: Bad exit status from /var/tmp/rpm-tmp.Ve4SVu (%build) RPM build errors: Bad exit status from /va...
by bryn1u
2018/12/15 17:41:55
Forum: CentOS 7 - General Support
Topic: mount: uknown file system type "ext4" - always after kernel compiled
Replies: 3
Views: 567

Re: mount: uknown file system type "ext4" - always after kernel compiled

[root@ns3030517 kernels]# cp /boot/config-3.10.0-957.1.3.el7.x86_64 /usr/src/kernels/linux-4.19.9/.config
[root@ns3030517 kernels]#
by bryn1u
2018/12/15 17:07:24
Forum: CentOS 7 - General Support
Topic: mount: uknown file system type "ext4" - always after kernel compiled
Replies: 3
Views: 567

mount: uknown file system type "ext4" - always after kernel compiled

Hey guys, I don't understand why after kernel compilation, im always getting error like on screenshot below. centos.png Im using exaclly the same config as centos uses. I just copied from /boot/config.... to the kernel sources. After all i just type "make -j8 rpm-pkg". Packages are build fine the sa...
by bryn1u
2018/12/06 22:43:11
Forum: CentOS 7 - General Support
Topic: How to properly compile custom kernel ?
Replies: 0
Views: 751

How to properly compile custom kernel ?

Hey, I have been trying compile Centos and Fedora kernel for few days. My compile always finish with dracut screen instead login screen. No matter how i compile kernel, results are the same. I was trying using: make -j8 rpm-pkg, kernel was built successfully but after install and reboot dracut welco...
by bryn1u
2018/12/05 13:25:28
Forum: CentOS 7 - General Support
Topic: Removing security features during kernel compilation.
Replies: 1
Views: 406

Removing security features during kernel compilation.

Hey, Im trying do my best with security options based on your script. I have a litte problems with few options. When im adding these options: # Enable GCC Plugins CONFIG_GCC_PLUGINS=y # Gather additional entropy at boot time for systems that may not have appropriate entropy sources. CONFIG_GCC_PLUGI...
by bryn1u
2018/07/22 20:11:08
Forum: CentOS 7 - Security Support
Topic: How secure SElinux for user_u and exec off is ?
Replies: 0
Views: 1328

How secure SElinux for user_u and exec off is ?

Hey guys, Im want to configure server based of course on Centos 7. Im still wondering how SElinux can protect against some exploits/bufferoverflow etc. I made a test with PaXTest with user mapped and unmapped to user_u. getsebool: selinuxuser_execheap --> on selinuxuser_execmod --> on selinuxuser_ex...
by bryn1u
2018/06/27 11:54:25
Forum: CentOS 7 - Security Support
Topic: [SELinux] http_sys_content vs user_t policy for web cms
Replies: 2
Views: 1370

[SELinux] http_sys_content vs user_t policy for web cms

Hey guys,

I want to install wordpress cms and wondering what way will be better. Should i use httpd_sys_content_t for /var/www/domain/public_html or install cms to the /home/user with user_t domain. What will be better solution of security ?

Thanks,
by bryn1u
2018/02/01 19:07:23
Forum: CentOS 7 - Security Support
Topic: LXC + Selinux
Replies: 0
Views: 1690

LXC + Selinux

Hey guys, Im trying to run lxc with selinux on Centos 7. I installed and created lxc container with simple command lxc-create -n test -t centos. After that i just added to the: /var/lib/lxc/test/config line like belowe: lxc.selinux.context = system_u:system_r:lxc_t:s0:c22 When i want to run it, im g...
by bryn1u
2018/01/31 21:16:37
Forum: CentOS 7 - Security Support
Topic: Drop cabailities sVirt & lxc
Replies: 0
Views: 820

Drop cabailities sVirt & lxc

Hello guys, Im looking for and trying how to drop capabilities from lxc container created with virt-install. I think it isn't the "same" as lxc is. virt-install --connect lxc:// --name fedora20 --ram 512 --filesystem /var/lib/libvirt/filesystems/fedora20/ Selinux works good but im wondering how can ...
by bryn1u
2017/10/02 19:38:33
Forum: CentOS 7 - Security Support
Topic: staff_u can't login via ssh.
Replies: 0
Views: 1070

staff_u can't login via ssh.

Hello guys, I have created user bronek and have added to staff_u selinux. root#: useradd -Z staff_u bronek The same problem exists with user_u selinux If i create user selinux (staff_u), bronek can't login via ssh. Where is a problem ? I have put logs from audit.log type=USER_AUTH msg=audit(15069709...