I've accidentily deleted /etc/apparmor/, what should I do to restore it?Restore /etc/ configuration files...
Is it bad writing or bad story telling if first person narrative contains more information than the narrator knows?
Why do Thanos' punches not kill Captain America or at least cause vital wounds?
How to make a language evolve quickly?
Why can't I prove summation identities without guessing?
We are two immediate neighbors who forged our own powers to form concatenated relationship. Who are we?
Why use steam instead of just hot air?
How are one-time password generators like Google Authenticator different from having two passwords?
Has magnetic core memory been used beyond the Moon?
What's the difference between const array and static const array in C/C++
Is it nonsense to say B -> [A -> B]?
Renting a house to a graduate student in my department
How to find the tex encoding of specific fonts?
A Cunning Riley Riddle
Is this state of Earth possible, after humans left for a million years?
Exception propagation: When to catch exceptions?
No such column 'DeveloperName' on entity 'RecordType' after Summer '19 release on sandbox
Is there an application which does HTTP PUT?
Can 'sudo apt-get remove [write]' destroy my Ubuntu?
Examples where existence is harder than evaluation
Why was the ancient one so hesitant to teach Dr Strange the art of sorcery
What's the "magic similar to the Knock spell" referenced in the Dungeon of the Mad Mage adventure?
Would encrypting a database protect against a compromised admin account?
What was the plan for an abort of the Enola Gay's mission to drop the atomic bomb?
How to evaluate sum with one million summands?
I've accidentily deleted /etc/apparmor/, what should I do to restore it?
Restore /etc/ configuration files from the defaultWhat does /etc/cron.daily/apt do?Simplest possible secure sandboxing (limited resources needed)what is apparmor “profile_replace” log messageapparmor - cannot load libraryRestore part of a package that was accidentally deletedWhat does “ptrace (trace) peer=” mean in AppArmor profile?Deleted /etc/apt, now apt-get gives a relocation error?What's the best way to restore a deleted file from a package in debian?Where apparmor stores information about profiles in enforce/complain mode?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I accidentally deleted the /etc/apparmor/ folder on my debian 4.19.28-2 box by having the wrong folder selected in a gui file browser.
My questions are:
- Should I be worried?
#apparmor_status
apparmor module is loaded.
- Is there a way to find what should have been in that folder? Perhaps a way to search apt for all packages that provided a file in that folder? Or perhaps a way to know from the output of
apparmor_status
?
#apparmor_status
apparmor module is loaded.
13 profiles are loaded.
13 profiles are in enforce mode.
{snip 13 lines}
0 profiles are in complain mode.
83 processes have profiles defined.
83 processes are in enforce mode.
{snip 83 lines}
debian apt apparmor
New contributor
add a comment |
I accidentally deleted the /etc/apparmor/ folder on my debian 4.19.28-2 box by having the wrong folder selected in a gui file browser.
My questions are:
- Should I be worried?
#apparmor_status
apparmor module is loaded.
- Is there a way to find what should have been in that folder? Perhaps a way to search apt for all packages that provided a file in that folder? Or perhaps a way to know from the output of
apparmor_status
?
#apparmor_status
apparmor module is loaded.
13 profiles are loaded.
13 profiles are in enforce mode.
{snip 13 lines}
0 profiles are in complain mode.
83 processes have profiles defined.
83 processes are in enforce mode.
{snip 83 lines}
debian apt apparmor
New contributor
add a comment |
I accidentally deleted the /etc/apparmor/ folder on my debian 4.19.28-2 box by having the wrong folder selected in a gui file browser.
My questions are:
- Should I be worried?
#apparmor_status
apparmor module is loaded.
- Is there a way to find what should have been in that folder? Perhaps a way to search apt for all packages that provided a file in that folder? Or perhaps a way to know from the output of
apparmor_status
?
#apparmor_status
apparmor module is loaded.
13 profiles are loaded.
13 profiles are in enforce mode.
{snip 13 lines}
0 profiles are in complain mode.
83 processes have profiles defined.
83 processes are in enforce mode.
{snip 83 lines}
debian apt apparmor
New contributor
I accidentally deleted the /etc/apparmor/ folder on my debian 4.19.28-2 box by having the wrong folder selected in a gui file browser.
My questions are:
- Should I be worried?
#apparmor_status
apparmor module is loaded.
- Is there a way to find what should have been in that folder? Perhaps a way to search apt for all packages that provided a file in that folder? Or perhaps a way to know from the output of
apparmor_status
?
#apparmor_status
apparmor module is loaded.
13 profiles are loaded.
13 profiles are in enforce mode.
{snip 13 lines}
0 profiles are in complain mode.
83 processes have profiles defined.
83 processes are in enforce mode.
{snip 83 lines}
debian apt apparmor
debian apt apparmor
New contributor
New contributor
New contributor
asked 3 hours ago
1n5aN1aC1n5aN1aC
11
11
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Assuming you made no config changes, etc. then you should be able to download the relevant .deb
file, convert it to a .tgz
with alien
, extract it in a temp spot, and move the files to the appropriate places.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
1n5aN1aC is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f518095%2five-accidentily-deleted-etc-apparmor-what-should-i-do-to-restore-it%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Assuming you made no config changes, etc. then you should be able to download the relevant .deb
file, convert it to a .tgz
with alien
, extract it in a temp spot, and move the files to the appropriate places.
add a comment |
Assuming you made no config changes, etc. then you should be able to download the relevant .deb
file, convert it to a .tgz
with alien
, extract it in a temp spot, and move the files to the appropriate places.
add a comment |
Assuming you made no config changes, etc. then you should be able to download the relevant .deb
file, convert it to a .tgz
with alien
, extract it in a temp spot, and move the files to the appropriate places.
Assuming you made no config changes, etc. then you should be able to download the relevant .deb
file, convert it to a .tgz
with alien
, extract it in a temp spot, and move the files to the appropriate places.
answered 1 hour ago
ivanivanivanivan
3,8571414
3,8571414
add a comment |
add a comment |
1n5aN1aC is a new contributor. Be nice, and check out our Code of Conduct.
1n5aN1aC is a new contributor. Be nice, and check out our Code of Conduct.
1n5aN1aC is a new contributor. Be nice, and check out our Code of Conduct.
1n5aN1aC is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f518095%2five-accidentily-deleted-etc-apparmor-what-should-i-do-to-restore-it%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown