Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Forum di discussione italiano
  • Search

ripulire un pò gentoo

Tutte le discussioni direttamente correlabili all'informatica e/o a GNU/*nix.

Moderator: ago

Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Author
Message
funkoolow
Guru
Guru
User avatar
Posts: 545
Joined: Tue Sep 21, 2004 8:43 pm
Location: er paese delle anguille
Contact:
Contact funkoolow
Website

ripulire un pò gentoo

  • Quote

Post by funkoolow » Wed Feb 29, 2012 12:20 pm

Salve a tutti,
forse farò inorridire (giustamente) qualcuno per quanto segue, ma siccome la mia gentoo box è in evoluzione mi pare dal lontano 2004 e non ho ricevuto una formazione esattamente canonica in gnu/linux (anzi diciamo pure che ho sempre accroccato quanto capivo fino ad ottenere il risultato!), oggi vorrei provare a cominciare "ripulire" un pò il mio serverino correggendo eventuali evidenti contraddizioni dovute a carenza di manutenzione (e capacità).

quindi tanto per cominciare chiederei a chiunque ne avesse voglia, un parere su eventuali servizi ritenuti non più utili attualmente in funzione sulla mia macchina: ecco la lista

Code: Select all

rc-status --all
Runlevel: boot
 hwclock                                                                                                                                        [  started  ]
 modules                                                                                                                                        [  started  ]
 lvm                                                                                                                                            [  started  ]
 device-mapper                                                                                                                                  [  started  ]
 fsck                                                                                                                                           [  started  ]
 root                                                                                                                                           [  started  ]
 mtab                                                                                                                                           [  started  ]
 localmount                                                                                                                                     [  started  ]
 sysctl                                                                                                                                         [  started  ]
 bootmisc                                                                                                                                       [  started  ]
 termencoding                                                                                                                                   [  started  ]
 keymaps                                                                                                                                        [  started  ]
 consolefont                                                                                                                                    [  started  ]
 hostname                                                                                                                                       [  started  ]
 net.lo                                                                                                                                         [  started  ]
 urandom                                                                                                                                        [  started  ]
 swap                                                                                                                                           [  started  ]
 alsasound                                                                                                                                      [  started  ]
 acpid                                                                                                                                          [  started  ]
 procfs                                                                                                                                         [  started  ]
Runlevel: default
 syslog-ng                                                                                                                                      [  started  ]
 hotplug                                                                                                                                        [  started  ]
 iptables                                                                                                                                       [  started  ]
 dbus                                                                                                                                           [  started  ]
 autofs                                                                                                                                         [  started  ]
 netmount                                                                                                                                       [  started  ]
 xdm                                                                                                                                            [  started  ]
 mysql                                                                                                                                          [  started  ]
 sshd                                                                                                                                           [  started  ]
 apache2                                                                                                                                        [  started  ]
 atd                                                                                                                                            [  started  ]
 ddclient                                                                                                                                       [  started  ]
 fuse                                                                                                                                           [  started  ]
 ntp-client                                                                                                                                     [  started  ]
 ntpd                                                                                                                                           [  started  ]
 pure-ftpd                                                                                                                                      [  started  ]
 rsyncd                                                                                                                                         [  started  ]
 samba                                                                                                                                          [  started  ]
 sendmail                                                                                                                                       [  started  ]
 udev-postmount                                                                                                                                 [  started  ]
 vixie-cron                                                                                                                                     [  started  ]
 local                                                                                                                                          [  started  ]
Runlevel: nonetwork
 local                                                                                                                                          [  started  ]
Runlevel: single
Runlevel: sysinit
 dmesg                                                                                                                                          [  started  ]
 udev                                                                                                                                           [  started  ]
 devfs                                                                                                                                          [  started  ]
Runlevel: shutdown
 savecache                                                                                                                                      [  stopped  ]
 killprocs                                                                                                                                      [  stopped  ]
 mount-ro                                                                                                                                       [  stopped  ]
Dynamic Runlevel: hotplugged
 net.eth0                                                                                                                                       [  started  ]
Dynamic Runlevel: needed
 udev-mount                                                                                                                                     [  started  ]
 xdm-setup                                                                                                                                      [  started  ]
Dynamic Runlevel: manual
per dire, ricordo che a suo tempo c'erano diverse scuole di pensiero su come far girare l'automounting. Recentemente mi sono affidato ad autofs (con cui mi trovo discretamente a parte qualche piccolo problema di cui non è utile parlare in questo post), ma ora ho difficoltà a ricordare cosa fosse a far girare il vecchio sistema (hotplug? hald?) e se ora posso provvedere a stoppare il servizio e rimuoverlo dalla sequenza di avvio.

Insomma, sono pronto a ricevere suggerimenti (e improperi) da chiunque volesse segnalarmi evidenti inutili eredità nel mio sistema :)

grazie a tutti come sempre.
SabaziaLUG: il LUG a nord di Roma
Top
xdarma
l33t
l33t
User avatar
Posts: 720
Joined: Mon Dec 08, 2003 11:05 am
Location: tra veneto e friuli (italy)

  • Quote

Post by xdarma » Mon Apr 16, 2012 7:54 pm

Mi trovo in una situazione simile: grande ignoranza e miniserver casalingo :-)
Ho appena finito l'installazione e confrontando i servizi che hai riportato con i miei, non trovo:
lvm, device-mapper, dbus, autofs, netmount, xdm, atd.

Ovviamente non significa che non ti servano, dipende da cosa ci fai.
Ne mancano anche altri tipo mysql o pure-ftpd ma per adesso non mi interessano e non penso di installarli.

Invece, se ti può essere utile, stavo pensando di aggiungere questi alla mia macchina:
lm_sensors, fancontrol, hdparm, smartmontools, logrotate, tmpwatch e (spero) apcupsd.

Ciao.
proud user of faKeDE-4.7.3 -> back to windowmaker -> moved to LXQt
Top
Realnot
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 120
Joined: Mon May 28, 2007 6:48 am
Location: Ferrara
Contact:
Contact Realnot
Website

  • Quote

Post by Realnot » Wed May 30, 2012 10:59 am

Nel momento in cui capisci cosa fa un servizio, capisci anche se puo' esserti utile o meno. Indipendentemente dal fatto che la macchina sia datata, saprai tu cosa vuoi farci o no? certo, per me ci sono servizi inutili, basandomi pero' sulla mia configurazione o sulle mie esigenze. Come possiamo sapere noi quali siano le tue?
I'm not stupid, only mentally free...
Top
djinnZ
Advocate
Advocate
User avatar
Posts: 4831
Joined: Thu Nov 02, 2006 12:47 pm
Location: somewhere in L.O.S.
Contact:
Contact djinnZ
Website

Re: ripulire un pò gentoo

  • Quote

Post by djinnZ » Thu May 31, 2012 11:52 am

funkoolow wrote:
rc-status --all wrote: Runlevel: boot
hwclock [ started ]
modules [ started ]
lvm [ started ]
device-mapper [ started ]
fsck [ started ]
root [ started ]
mtab [ started ]
localmount [ started ]
sysctl [ started ]
bootmisc [ started ]
termencoding [ started ]
keymaps [ started ]
consolefont [ started ]
hostname [ started ]
net.lo [ started ]
urandom [ started ]
swap [ started ]
alsasound [ started ]
acpid [ started ]
procfs [ started ]
Runlevel: default
syslog-ng [ started ]
hotplug [ started ]
iptables [ started ]
dbus [ started ]
autofs [ started ]
netmount [ started ]
xdm [ started ]
mysql [ started ]
sshd [ started ]
apache2 [ started ]
atd [ started ]
ddclient [ started ]
fuse [ started ]
ntp-client [ started ]
ntpd [ started ]
pure-ftpd [ started ]
rsyncd [ started ]
samba [ started ]
sendmail [ started ]
udev-postmount [ started ]
vixie-cron [ started ]
local [ started ]

Runlevel: nonetwork
local [ started ]
Runlevel: single
Runlevel: sysinit
dmesg [ started ]
udev [ started ]
devfs [ started ]
Runlevel: shutdown
savecache [ stopped ]
killprocs [ stopped ]
mount-ro [ stopped ]
Dynamic Runlevel: hotplugged
net.eth0 [ started ]
Dynamic Runlevel: needed
udev-mount [ started ]
xdm-setup [ started ]
Dynamic Runlevel: manual
sono pronto a ricevere suggerimenti (e improperi)
sugli improperi ti accontento subito... usare i tag correttamente immagino che sia sempre una sttesa eccessiva.

Se non li usi i servizi in rosso li puoi eliminare o crearti dei runlevel ad hoc (quelli in verde se non sai come funzioano lasciali come sono). Non sono di genio per applicarmi ma non vedo nulla di strano nei servizi che hai attivato a parte la ridondanza tra ntp-client/ntp-server e atd/cron.

boot lascialo com'è, non ti cambia la vita eliminare lvm e devmap, al massimo ne ricavi ulteriori rogne.

Potresti disabilitare l'hotplug per net.* .

A naso mi pare che potresti anche togliere qualcosa d'altro ma la differenza sarebbe che li porti dal runlevel default a "Dynamic Runlevel: needed".
Controlla le dipendenze tra gli script.
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Top
Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Forum di discussione italiano”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy