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;
}







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:




  1. Should I be worried?


#apparmor_status
apparmor module is loaded.



  1. 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}









share|improve this question







New contributor



1n5aN1aC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    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:




    1. Should I be worried?


    #apparmor_status
    apparmor module is loaded.



    1. 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}









    share|improve this question







    New contributor



    1n5aN1aC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      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:




      1. Should I be worried?


      #apparmor_status
      apparmor module is loaded.



      1. 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}









      share|improve this question







      New contributor



      1n5aN1aC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      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:




      1. Should I be worried?


      #apparmor_status
      apparmor module is loaded.



      1. 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






      share|improve this question







      New contributor



      1n5aN1aC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      1n5aN1aC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      1n5aN1aC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 3 hours ago









      1n5aN1aC1n5aN1aC

      11




      11




      New contributor



      1n5aN1aC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      1n5aN1aC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          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.






          share|improve this answer
























            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.










            draft saved

            draft discarded


















            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









            0














            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.






            share|improve this answer




























              0














              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.






              share|improve this answer


























                0












                0








                0







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 1 hour ago









                ivanivanivanivan

                3,8571414




                3,8571414






















                    1n5aN1aC is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...