rc.X könyvtárak „védelme”

Kezdőlap Fórumok Debiannal kapcsolatos kérdések rc.X könyvtárak „védelme”

10 bejegyzés megtekintése - 21-30 / 35
  • Szerző
    Bejegyzés
  • #2194688
    birno
    Felhasználó

      Lehet megint csak man-t kellett volna olvasni.  :rolleyes:

      A common system administration error is to delete the links with the thought that this will „disable” the service, i.e., that this will prevent the service from being started.  However, if all links have been deleted then the next time the package is upgraded, the package’s postinst script will run  update-rc.d  again  and this will reinstall links at their factory default locations.  The correct way to disable services is to configure the service as stopped in all runlevels in which it is started by default.

      Magyarul:

      Code:
      update-rc.d service_name disable

      Pl:

      Code:
      ~$sudo update-rc.d vboxdrv disable
      Disabling system startup links for /etc/init.d/vboxdrv …
      Removing any system startup links for /etc/init.d/vboxdrv …
        /etc/rc0.d/K20vboxdrv
        /etc/rc1.d/K20vboxdrv
        /etc/rc2.d/S20vboxdrv
        /etc/rc3.d/S20vboxdrv
        /etc/rc4.d/S20vboxdrv
        /etc/rc5.d/S20vboxdrv
        /etc/rc6.d/K20vboxdrv
      Adding system startup for /etc/init.d/vboxdrv …
        /etc/rc0.d/K20vboxdrv -> ../init.d/vboxdrv
        /etc/rc1.d/K20vboxdrv -> ../init.d/vboxdrv
        /etc/rc6.d/K20vboxdrv -> ../init.d/vboxdrv
        /etc/rc2.d/K80vboxdrv -> ../init.d/vboxdrv
        /etc/rc3.d/K80vboxdrv -> ../init.d/vboxdrv
        /etc/rc4.d/K80vboxdrv -> ../init.d/vboxdrv
        /etc/rc5.d/K80vboxdrv -> ../init.d/vboxdrv

      Sorry…

      #2194689
      birno
      Felhasználó

        Lehet megint csak man-t kellett volna olvasni.  :rolleyes:

        A common system administration error is to delete the links with the thought that this will „disable” the service, i.e., that this will prevent the service from being started.  However, if all links have been deleted then the next time the package is upgraded, the package’s postinst script will run  update-rc.d  again  and this will reinstall links at their factory default locations.  The correct way to disable services is to configure the service as stopped in all runlevels in which it is started by default.

        Magyarul:

        Code:
        update-rc.d service_name disable

        Pl:

        Code:
        ~$sudo update-rc.d vboxdrv disable
        Disabling system startup links for /etc/init.d/vboxdrv …
        Removing any system startup links for /etc/init.d/vboxdrv …
          /etc/rc0.d/K20vboxdrv
          /etc/rc1.d/K20vboxdrv
          /etc/rc2.d/S20vboxdrv
          /etc/rc3.d/S20vboxdrv
          /etc/rc4.d/S20vboxdrv
          /etc/rc5.d/S20vboxdrv
          /etc/rc6.d/K20vboxdrv
        Adding system startup for /etc/init.d/vboxdrv …
          /etc/rc0.d/K20vboxdrv -> ../init.d/vboxdrv
          /etc/rc1.d/K20vboxdrv -> ../init.d/vboxdrv
          /etc/rc6.d/K20vboxdrv -> ../init.d/vboxdrv
          /etc/rc2.d/K80vboxdrv -> ../init.d/vboxdrv
          /etc/rc3.d/K80vboxdrv -> ../init.d/vboxdrv
          /etc/rc4.d/K80vboxdrv -> ../init.d/vboxdrv
          /etc/rc5.d/K80vboxdrv -> ../init.d/vboxdrv

        Sorry…

        #2194690
        kisbetu
        Felhasználó
          birno wrote:
          Lehet megint csak man-t kellett volna olvasni.  :rolleyes:

          A common system administration error is to delete the links with the thought that this will „disable” the service, i.e., that this will prevent the service from being started.  However, if all links have been deleted then the next time the package is upgraded, the package’s postinst script will run  update-rc.d  again  and this will reinstall links at their factory default locations.  The correct way to disable services is to configure the service as stopped in all runlevels in which it is started by default.

          Magyarul:

          Code:
          update-rc.d service_name disable

          Pl:

          Code:
          ~$sudo update-rc.d vboxdrv disable
          Disabling system startup links for /etc/init.d/vboxdrv …
          Removing any system startup links for /etc/init.d/vboxdrv …
             /etc/rc0.d/K20vboxdrv
             /etc/rc1.d/K20vboxdrv
             /etc/rc2.d/S20vboxdrv
             /etc/rc3.d/S20vboxdrv
             /etc/rc4.d/S20vboxdrv
             /etc/rc5.d/S20vboxdrv
             /etc/rc6.d/K20vboxdrv
          Adding system startup for /etc/init.d/vboxdrv …
             /etc/rc0.d/K20vboxdrv -> ../init.d/vboxdrv
             /etc/rc1.d/K20vboxdrv -> ../init.d/vboxdrv
             /etc/rc6.d/K20vboxdrv -> ../init.d/vboxdrv
             /etc/rc2.d/K80vboxdrv -> ../init.d/vboxdrv
             /etc/rc3.d/K80vboxdrv -> ../init.d/vboxdrv
             /etc/rc4.d/K80vboxdrv -> ../init.d/vboxdrv
             /etc/rc5.d/K80vboxdrv -> ../init.d/vboxdrv

          Sorry…

          Magyarul? Mi van itt magyarul?

          #2194691
          kisbetu
          Felhasználó
            birno wrote:
            Lehet megint csak man-t kellett volna olvasni.  :rolleyes:

            A common system administration error is to delete the links with the thought that this will „disable” the service, i.e., that this will prevent the service from being started.  However, if all links have been deleted then the next time the package is upgraded, the package’s postinst script will run  update-rc.d  again  and this will reinstall links at their factory default locations.  The correct way to disable services is to configure the service as stopped in all runlevels in which it is started by default.

            Magyarul:

            Code:
            update-rc.d service_name disable

            Pl:

            Code:
            ~$sudo update-rc.d vboxdrv disable
            Disabling system startup links for /etc/init.d/vboxdrv …
            Removing any system startup links for /etc/init.d/vboxdrv …
               /etc/rc0.d/K20vboxdrv
               /etc/rc1.d/K20vboxdrv
               /etc/rc2.d/S20vboxdrv
               /etc/rc3.d/S20vboxdrv
               /etc/rc4.d/S20vboxdrv
               /etc/rc5.d/S20vboxdrv
               /etc/rc6.d/K20vboxdrv
            Adding system startup for /etc/init.d/vboxdrv …
               /etc/rc0.d/K20vboxdrv -> ../init.d/vboxdrv
               /etc/rc1.d/K20vboxdrv -> ../init.d/vboxdrv
               /etc/rc6.d/K20vboxdrv -> ../init.d/vboxdrv
               /etc/rc2.d/K80vboxdrv -> ../init.d/vboxdrv
               /etc/rc3.d/K80vboxdrv -> ../init.d/vboxdrv
               /etc/rc4.d/K80vboxdrv -> ../init.d/vboxdrv
               /etc/rc5.d/K80vboxdrv -> ../init.d/vboxdrv

            Sorry…

            Magyarul? Mi van itt magyarul?

            #2194692
            birno
            Felhasználó
              kisbetu wrote:
              Magyarul? Mi van itt magyarul?

              A kezdők kedvéért esetleg javítsam kínaira?

              #2194693
              birno
              Felhasználó
                kisbetu wrote:
                Magyarul? Mi van itt magyarul?

                A kezdők kedvéért esetleg javítsam kínaira?

                #2194694
                kisbetu
                Felhasználó

                  Az is elég, ha nem hazudsz.

                  Ha meg a hazudik szó ellen netán kifogásod lenne, akkor kvittek vagyunk: neked a sorry van magyarul, nekem meg ez hazugság.

                  #2194695
                  kisbetu
                  Felhasználó

                    Az is elég, ha nem hazudsz.

                    Ha meg a hazudik szó ellen netán kifogásod lenne, akkor kvittek vagyunk: neked a sorry van magyarul, nekem meg ez hazugság.

                    #2194696
                    birno
                    Felhasználó
                      kisbetu wrote:
                      Az is elég, ha nem hazudsz.

                      Ha meg a hazudik szó ellen netán kifogásod lenne, akkor kvittek vagyunk: neked a sorry van magyarul, nekem meg ez hazugság.

                      A magyarul nem a sorry-ra vonatkozott, ez egyértelműen látszik.

                      #2194697
                      birno
                      Felhasználó
                        kisbetu wrote:
                        Az is elég, ha nem hazudsz.

                        Ha meg a hazudik szó ellen netán kifogásod lenne, akkor kvittek vagyunk: neked a sorry van magyarul, nekem meg ez hazugság.

                        A magyarul nem a sorry-ra vonatkozott, ez egyértelműen látszik.

                      10 bejegyzés megtekintése - 21-30 / 35
                      • Be kell jelentkezni a hozzászóláshoz.