[GH-ISSUE #772] --enable-apparmor option is lost with make deb #522

Closed
opened 2026-05-05 06:02:23 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @nick75e on GitHub (Sep 10, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/772

Hi!

Using configure --prefix=/usr --enable-apparmor shows this:

[...]
checking sys/apparmor.h usability... yes
checking sys/apparmor.h presence... yes
checking for sys/apparmor.h... yes
[...]
Configuration options:
   apparmor: -DHAVE_APPARMOR

But when I type make deb I get:

[...]
Configuration options:
   apparmor: 

The apparmor option is discarded at some point. Everything is okay when using make
Please fix.

Originally created by @nick75e on GitHub (Sep 10, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/772 Hi! Using `configure --prefix=/usr --enable-apparmor` shows this: ``` [...] checking sys/apparmor.h usability... yes checking sys/apparmor.h presence... yes checking for sys/apparmor.h... yes [...] Configuration options: apparmor: -DHAVE_APPARMOR ``` But when I type `make deb` I get: ``` [...] Configuration options: apparmor: ``` The apparmor option is discarded at some point. _Everything is okay when using `make`_ Please fix.
gitea-mirror 2026-05-05 06:02:23 -06:00
Author
Owner

@netblue30 commented on GitHub (Sep 10, 2016):

I'll have to implement it. For now, change "./configure --prefix=/usr" into "./configure --prefix=/usr --enable-apparmor" in mkdeb.sh.

<!-- gh-comment-id:246114554 --> @netblue30 commented on GitHub (Sep 10, 2016): I'll have to implement it. For now, change "./configure --prefix=/usr" into "./configure --prefix=/usr --enable-apparmor" in mkdeb.sh.
Author
Owner

@netblue30 commented on GitHub (Sep 19, 2016):

Fixed in git.

<!-- gh-comment-id:248059242 --> @netblue30 commented on GitHub (Sep 19, 2016): Fixed in git.
Author
Owner

@netblue30 commented on GitHub (Sep 23, 2016):

I had to roll it back. Use the change in mkdeb.sh.

<!-- gh-comment-id:249189442 --> @netblue30 commented on GitHub (Sep 23, 2016): I had to roll it back. Use the change in mkdeb.sh.
Author
Owner

@laniakea64 commented on GitHub (Apr 9, 2017):

Was going to file a bug about this when I couldn't disable git-install in my .deb build of firejail. After reading this issue, I wrote a Python 3 script to automate setting custom configure options in mkdeb.sh and then building.

Would it be useful for either of you?

<!-- gh-comment-id:292762701 --> @laniakea64 commented on GitHub (Apr 9, 2017): Was going to file a bug about this when I couldn't disable git-install in my .deb build of firejail. After reading this issue, I wrote a Python 3 script to automate setting custom configure options in mkdeb.sh and then building. Would it be useful for either of you?
Author
Owner

@netblue30 commented on GitHub (Apr 9, 2017):

Sure, send a pull request. Put the file in https://github.com/netblue30/firejail/tree/master/contrib, I'll modify the install script to have it installed automatically.

<!-- gh-comment-id:292785874 --> @netblue30 commented on GitHub (Apr 9, 2017): Sure, send a pull request. Put the file in https://github.com/netblue30/firejail/tree/master/contrib, I'll modify the install script to have it installed automatically.
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#522
No description provided.