Kezdőlap › Fórumok › Debiannal kapcsolatos kérdések › rc.X könyvtárak „védelme”
- This topic has 34 hozzászólás, 7 résztvevő, and was last updated 15 years, 8 months telt el by
birno.
-
SzerzőBejegyzés
-
2009-09-22-15:20 #2194688
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 disablePl:
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/vboxdrvSorry…
2009-09-22-15:20 #2194689Lehet 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 disablePl:
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/vboxdrvSorry…
2009-09-22-15:31 #2194690birno 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 disablePl:
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/vboxdrvSorry…
Magyarul? Mi van itt magyarul?
2009-09-22-15:31 #2194691birno 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 disablePl:
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/vboxdrvSorry…
Magyarul? Mi van itt magyarul?
2009-09-22-15:37 #2194692kisbetu wrote:Magyarul? Mi van itt magyarul?A kezdők kedvéért esetleg javítsam kínaira?
2009-09-22-15:37 #2194693kisbetu wrote:Magyarul? Mi van itt magyarul?A kezdők kedvéért esetleg javítsam kínaira?
2009-09-22-16:32 #2194694Az 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.
2009-09-22-16:32 #2194695Az 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.
2009-09-22-16:44 #2194696kisbetu 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.
2009-09-22-16:44 #2194697kisbetu 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.
-
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz