Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ripulire un pò gentoo
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
funkoolow
Guru
Guru


Joined: 21 Sep 2004
Posts: 545
Location: er paese delle anguille

PostPosted: Wed Feb 29, 2012 12:20 pm    Post subject: ripulire un pò gentoo Reply with quote

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:
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
Back to top
View user's profile Send private message
xdarma
l33t
l33t


Joined: 08 Dec 2003
Posts: 719
Location: tra veneto e friuli (italy)

PostPosted: Mon Apr 16, 2012 7:54 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Realnot
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2007
Posts: 120
Location: Ferrara

PostPosted: Wed May 30, 2012 10:59 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Thu May 31, 2012 11:52 am    Post subject: Re: ripulire un pò gentoo Reply with quote

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:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum