In refpolicy there are about eight modules that have calls to apache_content_template in their private policy. These template calls are located in optional policy blocks. This is so that these modules do not depend on the apache module being present.
The problem is that seven out of these eight modules have file context specifications containing a executable type, that is declared in the apache content template, in their file context file. As far as i know file context specifications are never optional.
So even though calls to apache content template are optional, they really aren't because the file context specifications that accompany them are not optional.
This means that eight modules depend on the apache module being installed. Try to de-install the apache module (semodule -r apache) and you will be presented with some very unclear errors. Most people will not know what to do.
So how can we fix that?
Well here is an example. We use the apache_cgi_domain() instead:
########################################
#
# BackupPC admin private declarations.
#
type backuppc_admin_t, backuppc_domains;
type backuppc_admin_exec_t;
domain_type(backuppc_admin_t)
domain_entry_file(backuppc_admin_t, backuppc_admin_exec_t)
role system_r types backuppc_admin_t;
########################################
#
# BackupPC admin private policy.
#
optional_policy(`
apache_cgi_domain(backuppc_admin_t, backuppc_admin_exec_t)
')
/usr/share/BackupPC/sbin/BackupPC_Admin -- gen_context(system_u:object_r:backuppc_admin_exec_t, s0)
This way we can make the call to apache_cgi_domain() *really* optional. It is a bit more work initially but in my view this is maintainable unlike apache_content_template.
Secure Boot versus Ksplice.
-
I have been attending many talks on Secure Boot. The basic idea behind
secure boot is to ensure that the bios/bootloader and kernel have not been
hacked. ...
1 dag geleden

Always read stuff that will make you look good if you die in the middle of it.............................................
BeantwoordenVerwijderenWhen love puts in, friendship is gone.......................................................
BeantwoordenVerwijderenNice Post~!!!. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
BeantwoordenVerwijderenNice to meet you~!!!. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
BeantwoordenVerwijderen初到貴寶地,拜碼頭!!!請多指教! ........................................
BeantwoordenVerwijderen知識可以傳授,智慧卻不行。每個人必須成為他自己。...............................................................
BeantwoordenVerwijderen真正的友誼,有如健康失去時,始知其價值........................................
BeantwoordenVerwijderensex貼片,姦淫小說 高雄視訊34C援交妹AIO 成人視訊jeyn 美女交友豆豆情色視訊 情色文學成人小說,情趣 av博物館 網愛交友qk176 一葉晴語音聊天網av127 hi5 tv 免費影片 173視訊聊天 777成人 硬弟弟論壇 影音交友616 聊天室13060免費 104廖家儀自拍外流 24h免費成人頻道 0204movie免費影片 s18x色網 辣妹影片直播av無碼 aio交友愛情館視訊交友90739 台北聊天交友 援助交際聊天室 嗆辣妹影音視訊聊天室 做愛影片 洪爺影城 辣妹自拍哈尼視訊 台南援交友留言 情惑用品性易購 哈尼視訊,鹹濕視訊 0401遊戲線上 sex女優王國自拍 qq 視訊交友 美女交友影音視訊聊天室 辣妹視訊網 無碼卡通,無碼a片 104自拍 部落格 遊戲區 免費視訊-美女館 34c辣妹影片直播 豆豆情色風暴視訊 給我棒棒 sexy girl,mm視訊kk視訊 85cc辣妹視訊 台灣妹色網 dudu嘟嘟成人網 成人圖片 77p2p影片區 無碼 av影片 視訊聊天 影片 寫真 080台灣名模討論區 視訊網愛聊天室 正妹牆qk176
BeantwoordenVerwijderen不錯唷~我會常常來 >"<..................................................
BeantwoordenVerwijderen好的開始並不代表會成功,壞的開始並不代表是失敗..........................................................................
BeantwoordenVerwijderen累死了…來去看看文章轉換心情~ .........................................
BeantwoordenVerwijderenWhere did you purchase this product?.................................................................
BeantwoordenVerwijderen感謝您費心的分享您的生活!讓我也感同身受!. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
BeantwoordenVerwijderen欣賞是一種美德~回應是最大的支持^^.................................................................
BeantwoordenVerwijderen當一個人內心能容納兩樣相互衝突的東西,這個人便開始變得有價值了。............................................................
BeantwoordenVerwijderen君子立恆志,小人恆立志。.................................................................
BeantwoordenVerwijderen向著星球長驅直進的人,反比踟躕在峽路上的人,更容易達到目的。............................................................
BeantwoordenVerwijderen