[GH-ISSUE #238] CentOS 6 support? #166

Closed
opened 2026-05-05 05:13:10 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @cujanovic on GitHub (Jan 20, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/238

Is there a plan for CentOS 6 support or it is not possible to run firejail because of libc on CentOS 6?

root@local []# rpm -i firejail-0.9.36-1.x86_64.rpm
error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by firejail-0.9.36-1.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by firejail-0.9.36-1.x86_64
root@local [
]#

Thanks.

Originally created by @cujanovic on GitHub (Jan 20, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/238 Is there a plan for CentOS 6 support or it is not possible to run firejail because of libc on CentOS 6? root@local [~]# rpm -i firejail-0.9.36-1.x86_64.rpm error: Failed dependencies: libc.so.6(GLIBC_2.14)(64bit) is needed by firejail-0.9.36-1.x86_64 libc.so.6(GLIBC_2.15)(64bit) is needed by firejail-0.9.36-1.x86_64 root@local [~]# Thanks.
gitea-mirror 2026-05-05 05:13:10 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Jan 20, 2016):

You would need a Linux kernel 3.2 or newer installed on the box. There are also some compilation problems due to some header files in glibc. If you get around to compile it and install a new kernel, it should be fine.

<!-- gh-comment-id:173223126 --> @netblue30 commented on GitHub (Jan 20, 2016): You would need a Linux kernel 3.2 or newer installed on the box. There are also some compilation problems due to some header files in glibc. If you get around to compile it and install a new kernel, it should be fine.
Author
Owner

@cujanovic commented on GitHub (Jan 21, 2016):

I have a Linux 4 kernel + grsec patch - build from source. I will try to compile it with some workarounds. Thanks :)

<!-- gh-comment-id:173548607 --> @cujanovic commented on GitHub (Jan 21, 2016): I have a Linux 4 kernel + grsec patch - build from source. I will try to compile it with some workarounds. Thanks :)
Author
Owner

@h1z1 commented on GitHub (Feb 13, 2016):

Can you clarify what version of CentOS this was compiled / validated against? Using 6.6 it appears still broken as it still requires GLIB 2.{14,15} as given above.

[root@mrcoffee ~]# cat /etc/{redhat,centos}-release 
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)
[root@mrcoffee ~]# firejail
firejail: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by firejail)
firejail: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by firejail)
[root@mrcoffee ~]# rpm -qf /lib{,64}/libc.so.6
glibc-2.12-1.166.el6_7.3.i686
glibc-2.12-1.166.el6_7.3.x86_64
[root@mrcoffee ~]# 
[root@mrcoffee ~]# rpm -q firejail --requires
/bin/bash  
/bin/sh  
config(firejail) = 0.9.38-1
libc.so.6()(64bit)  
libc.so.6(GLIBC_2.14)(64bit)  
libc.so.6(GLIBC_2.15)(64bit)  
libc.so.6(GLIBC_2.2.5)(64bit)  
libc.so.6(GLIBC_2.3)(64bit)  
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.7)(64bit)
libc.so.6(GLIBC_2.8)(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
rpmlib(PayloadIsXz) <= 5.2-1
[root@mrcoffee ~]# uname -r
4.0.4-1.el6.elrepo.x86_64
[root@mrcoffee ~]# 

Thanks

<!-- gh-comment-id:183699780 --> @h1z1 commented on GitHub (Feb 13, 2016): Can you clarify what version of CentOS this was compiled / validated against? Using 6.6 it appears still broken as it still requires GLIB 2.{14,15} as given above. ``` [root@mrcoffee ~]# cat /etc/{redhat,centos}-release CentOS release 6.6 (Final) CentOS release 6.6 (Final) [root@mrcoffee ~]# firejail firejail: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by firejail) firejail: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by firejail) [root@mrcoffee ~]# rpm -qf /lib{,64}/libc.so.6 glibc-2.12-1.166.el6_7.3.i686 glibc-2.12-1.166.el6_7.3.x86_64 [root@mrcoffee ~]# [root@mrcoffee ~]# rpm -q firejail --requires /bin/bash /bin/sh config(firejail) = 0.9.38-1 libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rtld(GNU_HASH) rpmlib(PayloadIsXz) <= 5.2-1 [root@mrcoffee ~]# uname -r 4.0.4-1.el6.elrepo.x86_64 [root@mrcoffee ~]# ``` Thanks
Author
Owner

@netblue30 commented on GitHub (Feb 13, 2016):

No, the download version built on CentOS 7. I'll have to update the web pages, thanks!

<!-- gh-comment-id:183772822 --> @netblue30 commented on GitHub (Feb 13, 2016): No, the download version built on CentOS 7. I'll have to update the web pages, thanks!
Author
Owner

@h1z1 commented on GitHub (Feb 14, 2016):

Couldn't find the source rpm. Patched the spec file for libtracelog.so and version. Recompiled from 0.9.38 source. It worked, the binary however had other problems:

[root@mrcoffee firejail]# firejail
Error mkdir:fs_build_firejail_dir(69): No such file or directory
[root@mrcoffee firejail]#

Strace indicated it trying to create /run/firejail and hardcoded.. That directory only exists in CentOS 7. Silly replace on them all and rebuilt.

Binary builds and runs. I can't vouch for anything else it may have broken though. Patches available but they are fairly trivial.

<!-- gh-comment-id:183816843 --> @h1z1 commented on GitHub (Feb 14, 2016): Couldn't find the source rpm. Patched the spec file for libtracelog.so and version. Recompiled from 0.9.38 source. It worked, the binary however had other problems: [root@mrcoffee firejail]# firejail Error mkdir:fs_build_firejail_dir(69): No such file or directory [root@mrcoffee firejail]# Strace indicated it trying to create /run/firejail and hardcoded.. That directory only exists in CentOS 7. Silly replace on them all and rebuilt. Binary builds and runs. I can't vouch for anything else it may have broken though. Patches available but they are fairly trivial.
Author
Owner

@netblue30 commented on GitHub (Feb 14, 2016):

I'll look into it, thanks!

<!-- gh-comment-id:183903625 --> @netblue30 commented on GitHub (Feb 14, 2016): I'll look into it, thanks!
Author
Owner

@netblue30 commented on GitHub (Feb 15, 2016):

Fixed!

<!-- gh-comment-id:184211507 --> @netblue30 commented on GitHub (Feb 15, 2016): Fixed!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#166
No description provided.