Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[tool]portage-bashrc-ng
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3 ... 8, 9, 10, 11, 12, 13  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Mon Oct 02, 2006 10:24 am    Post subject: Reply with quote

Secondo voi se facessimo questa cosa qui:

creare un tmpfs e lo mettessimo in unionfs con una directory del fs, secondo voi sarebbe una buona idea? così da evitere il diskfull? Unionfs gestisce in ogni caso la scrittura su due fs contemporaneamente dando la priorità ad uno (che sarebbe tmpfs)?

accetto commenti!

ciao

luigi
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Mon Oct 02, 2006 10:44 am    Post subject: Reply with quote

sai che ieri ( in coma digestivo, è vero...) mi chiedevo proprio se fosse possibile una cosa del genere, che sarebbe ottima.
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Mon Oct 02, 2006 12:56 pm    Post subject: Reply with quote

Onip wrote:
sai che ieri ( in coma digestivo, è vero...) mi chiedevo proprio se fosse possibile una cosa del genere, che sarebbe ottima.

arciderbolina! ancora unionfs non è stato portato al kernel 2.6.18 (sperando che finalmente sia integrato).

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Mon Oct 02, 2006 8:40 pm    Post subject: Reply with quote

bella l'idea di comio, se portage-bashrc-ng supporterà questa cosa forse abbandonerò /var/tmp montata staticamente in ram. :D
_________________
Running Fast!
Back to top
View user's profile Send private message
The_Paciugo
n00b
n00b


Joined: 09 Sep 2006
Posts: 32

PostPosted: Wed Oct 04, 2006 7:59 pm    Post subject: Reply with quote

Avevo usato layman, poi ho disinstallato il tool e l'ho aggiunto al mio overlay in /usr/local/portage/app-portage/portage-bash-rc

Ora per quel che riguarda gli aggiornamenti, devo controllare a mano o c'è qualcosa in portage o nel tool che controlla un'eventuale versione aggiornata?
Inoltre, per quel che riguarda le use flag, ho compilato con tmpfs e resumemerge (quelle che attualmente mi interessano), ma ho dovuto usarle cosi'
Code:
USE="tmpfs resumemerge" emerge portage-bashrc-ng


Per l'overlay non c'è un altro package.use, o una cosa analoga?
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4787
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Wed Oct 04, 2006 8:46 pm    Post subject: Reply with quote

The_Paciugo wrote:

Per l'overlay non c'è un altro package.use, o una cosa analoga?

non serve. le definizioni di /etc/portage si applicano paro paro anche agli ebuild prelevati dall'overlay.
nel tuo caso, poi, le use hanno una utilità limitata.
se tu domani fossi stufo delle tue use e volessi cambiarle, non sarai costretto a reistallare il programma, ma potrai utilizzare eselect, che è stato brillantemente supportato da Ferdinando.
Code:

# eselect bashrc-ng disable resumemerge

_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Wed Oct 04, 2006 8:54 pm    Post subject: Reply with quote

The_Paciugo wrote:
Ora per quel che riguarda gli aggiornamenti, devo controllare a mano o c'è qualcosa in portage o nel tool che controlla un'eventuale versione aggiornata?


Se vuoi gli aggiornamenti forse è più comodo usare l'overlay che lo sincronizzi tranquillamente tramite layman.
_________________
Running Fast!
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Thu Oct 05, 2006 10:27 am    Post subject: Reply with quote

Luca89 wrote:
bella l'idea di comio, se portage-bashrc-ng supporterà questa cosa forse abbandonerò /var/tmp montata staticamente in ram. :D


L'unico inghippo è che unionfs ancora non è stato portato per il kernel 2.6.18 (che uso...). Ho una specie di codice con il supporto per unionfs... ma aspetto la possibilità di testarlo un attimo.

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Fri Oct 06, 2006 3:39 pm    Post subject: Reply with quote

EDIT: Non pare funzionare :S quando il tmpfs si riempe... non viene utilizzato il disco, ma si ha l'errore no space left... anche se con df risulta esserci spazio!

EDIT2: Ho scritto sulla ml di unionfs... e mi hanno confermato il problema. UnionFS non supporta il "copydown" e la scrittura è fatta solo ed esclusivamente sulla prima directory in scrittura che partecipa all'union. Arciderbolina!

EDIT3: Jan Engelhardt mi ha gentilmente fornito la patch per implementare lo "spreading" delle scritture sui vari branch. A chi è interessato posso fornire una versione modificata dell'ebuild di unionfs...

EDIT4: Ho analizzato la patch... ed è purtroppo "statica" nel senso che in fase di creazione dell'union, cerca il branch con più spazio libero e lo fissa, una volta per tutte, per la scrittura. Quindi non va bene...

Per i temerari... eccovi unionfs+tmpfs:

/usr/share/portage-bashrc-ng/tmpfsunionfs.module

Code:

# tmpfs module for portage-bashrc-ng
# Distributed under the terms of the GNU General Public License v2
# $Header: /cvsroot/portage-bashrc/portage-bashrc-ng/bashrc-ng/tmpfs.module,v 1.8 2006/07/24 16:54:21 exairetos Exp $
# heavily based on portage-bashrc by Giovanni Ferri <giovanni@fonderiadigitale.it>
# first version by Ferdinando Formica <exairetos@tele2.it> 2006-06-02
# support for UnionFS by Luigi 'Comio' Mantellini <luigi.mantellini@gmail.com> 2006-10-05
# last revision 2006-06-23

# Notice:
#    Without Unionfs support, tmpfs is directly mounted on the $PORTAGE_BUILDDIR directory.
#    With Unionfs support, tmpfs is mounted on $UFS_TMPFSDIR directory and "Disk" direcotory
#    is mounted on $UFS_DISKDIR directory. Then union of $UFS_TMPFSDIR and $UFS_DISKDIR
#    is mounted on $PORTAGE_BUILDDIR.


#########################
# Configuration section #
#########################

# set path for package.mem
MEMFILE=${ROOT}/etc/portage/package.mem

UFS_TMPFSDIR=${UNIONFS_BASETMPFSDIR}/${PF}
UFS_DISKDIR=${UNIONFS_BASEDISKDIR}/${PF}
UFS_ENABLE=${UNIONFS_ENABLE}

#####################
# General utilities #
#####################

# returns 0 if it's mounted, 1 otherwise
check_if_mounted() {
   # grep it in mtab and set $mounted accordingly
   mounteddir="$(mount | \
      grep "none on ${PORTAGE_BUILDDIR} " 2>/dev/null | \
      grep tmpfs 2>/dev/null | tail -n 1)"
   [[ -z "$mounteddir" ]] && return 1
   return 0
}

check_unionfs() {
   unionfs_is_present="$(cat /proc/filesystems | grep unionfs)"
   [[ -z "${unionfs_is_present}" ]] && return 0
   return 1
}

configure_unionfs_support() {
   check_unionfs
   if [ $? -eq 0 ]
   then
      UFS_ENABLE="off"
   else
      if [ "${UNIONFS_ENABLE}" == "on" ]
      then
         UFS_ENABLE="on"
      else
         UFS_ENABLE="off"
      fi
   fi
}

####################
# Mounting section #
####################

# mount the tmpfs dir
mountfs() {
   # get the dimension of the tmpfs filesystem
   evaluate_mem_size
   [[ "$PORTAGE_MEMSIZE" == "0" ]] && return
   # let the user know what we're doing
   ebegin "Mounting ${PORTAGE_BUILDDIR} of [ $PORTAGE_MEMSIZE ]"
      if [ -e ${PORTAGE_BUILDDIR} -a ! -d ${PORTAGE_BUILDDIR} ]
      then
         ewarn "Removing the existing ${PORTAGE_BUILDDIR} as it's not a dir."
            rm -f ${PORTAGE_BUILDDIR}
         eend $?
      fi
   eend $?


   if [ "${UNIONFS_ENABLE}" == "on" ]
   then
      check_unionfs
      if [ $? -eq 1 ]
      then
         einfo "Unionfs support is enabled. Great!"
      else
         ewarn "Unionfs support is not enabled. Check that you have installed correctly the sys-fs/unionfs module."
         ewarn "Continue anyway... without Unionfs support"
      fi
      configure_unionfs_support
   fi

   if [ "${UFS_ENABLE}" == "on" ]
   then
      # With Unionfs Support...
      # ensuring all is correct
      # Portage dir...
      mkdir -p ${PORTAGE_BUILDDIR}
      chown portage:portage ${PORTAGE_BUILDDIR}
      chmod g+w,o-rwx ${PORTAGE_BUILDDIR}
      # Tmpfs directory..
      mkdir -p ${UFS_TMPFSDIR}
      chown portage:portage ${UFS_TMPFSDIR}
      chmod g+w,o-rwx ${UFS_TMPFSDIR}
      # Disk directory...
      mkdir -p ${UFS_DISKDIR}
      chown portage:portage ${UFS_DISKDIR}
      chmod g+w,o-rwx ${UFS_DISKDIR}

      # mounting the tmpfs dir
      /bin/mount -o size=${PORTAGE_MEMSIZE},mode=770,gid=portage -t tmpfs none ${UFS_TMPFSDIR}
      mount -t unionfs -o dirs=${UFS_TMPFSDIR}:${UFS_DISKDIR} none ${PORTAGE_BUILDDIR}
   else
      # Without Unionfs Support...
      # ensuring all is correct
      mkdir -p ${PORTAGE_BUILDDIR}
      chown portage:portage ${PORTAGE_BUILDDIR}
      chmod g+w,o-rwx ${PORTAGE_BUILDDIR}
      # mounting the tmpfs dir
      debuginfo "Command line: /bin/mount -o size=${PORTAGE_MEMSIZE},mode=770,gid=portage -t tmpfs none ${PORTAGE_BUILDDIR}"
      /bin/mount -o size=${PORTAGE_MEMSIZE},mode=770,gid=portage -t tmpfs none ${PORTAGE_BUILDDIR}
   fi

   # warn the user about ccache
   isfeature ccache
   if [ $itsafeature -eq 1 ]
   then
      ewarn "Please remember that ccache data dir is outside the newly mounted"
      ewarn "portage temporary directory, to preserve the spool between merges."
   fi
}

# set in PORTAGE_MEMSIZE the dimension of the tmpfs filesystem
evaluate_mem_size() {
   # if $PORTAGE_MEMSIZE was defined, we have already sourced that
   [[ -n "$PORTAGE_MEMSIZE" ]] && debuginfo "\$PORTAGE_MEMSIZE='$PORTAGE_MEMSIZE' defined  globally"
   # overwrite that if there is a per-package value
   parseconffile "$MEMFILE"
   if [ -n "$configval" ]
   then
      PORTAGE_MEMSIZE=$configval
      debuginfo "\$PORTAGE_MEMSIZE='$PORTAGE_MEMSIZE' defined in $MEMFILE"
   fi
   # overwrite that if the user forced another value
   if [ -n "$OVERRIDE_MEMSIZE" ]
   then
      debuginfo "Overriding \$PORTAGE_MEMSIZE with \$OVERRIDE_MEMSIZE=$OVERRIDE_MEMSIZE"
      PORTAGE_MEMSIZE=$OVERRIDE_MEMSIZE
   fi
   # if there was no value, disable mounting
   [[ -z "$PORTAGE_MEMSIZE" ]] && PORTAGE_MEMSIZE=0
}

# save a backup copy of the dir
savebackup () {
   cd ${PORTAGE_BUILDDIR}/
   tar zcf /tmp/BKUP_${PN}.tar.gz *
   cd - &>/dev/null
}

# restore saved backup
restorebackup () {
   cd ${PORTAGE_BUILDDIR}
   tar zxf /tmp/BKUP_${PN}.tar.gz
   rm /tmp/BKUP_${PN}.tar.gz
   cd - &>/dev/null
}

######################
# Unmounting section #
######################

# unmount the tmpfs dir
unmountfs()
{
   # cycle to get rid of multiple mounts (can it still happen?)
   # or problematic unmountings
   for ((c=0; c<10; c++))
   do
      check_if_mounted
      if [ $? -eq 1 ]
      then
         rmdir ${PORTAGE_BUILDDIR}
         return
      fi
      # let the user know what we're doing
      configure_unionfs_support

      ewarn "Found temporary portage compile dir (${PORTAGE_BUILDDIR}), umounting."

         if [ "${UFS_ENABLE}" == "on" ]
         then
            # unmounting the unionfs directory
            /bin/umount ${PORTAGE_BUILDDIR}
            # unmounting the tmpfs directory
            /bin/umount ${UFS_TMPFSDIR}
            # clean ${UFS_DISKDIR}
            case ${UFS_DISKDIR} in
               /var/tmp/* | /tmp/* )
                  rm -rf --preserve-root ${UFS_DISKDIR}
                  ;;
               * )
                  ewarn "Directory ${UFS_DISKDIR} is not in /var/tmp or /tmp..."
                  ;;
            esac
            
         else
            # unmounting the tmpfs dir
            /bin/umount ${PORTAGE_BUILDDIR}
         fi
         sleep 0.5
      eend $?
   done
   ebegin "Cannot umount tmpfs, erasing contents."
#      rm -rf ${PORTAGE_BUILDDIR}/*
      ewarn "At this point I should remove '${PORTAGE_BUILDDIR}' but I won't :)"
   eend $?
}

##############
# activation #
##############

on_setup () {
   local tmpfsbasedir
   check_if_mounted
   if [ $? -eq 0 ]
   then
      configure_unionfs_support
      if [ "${UFS_ENABLE}" == "on" ]
      then
         tmpfsbasedir=${UFS_TMPFSDIR}
      else
         tmpfsbasedir=${PORTAGE_BUILDDIR}
      fi
         
      dirdim=$(/bin/mount | grep "${tmpfsbasedir}" | sed 's|^.*size=||; s|\,.*$||')
      if [ -z "$dirdim" ]
      then
         ewarn "Error evaluating mounted dimension: leaving ${tmpfsbasedir} as is"
         return
      fi
      # evaluating required partition size
      evaluate_mem_size
      if [ "$dirdim" != "$PORTAGE_MEMSIZE" ]
      then
         # we're remounting
         debuginfo "Command line: /bin/mount -o remount,size=${PORTAGE_MEMSIZE} ${tmpfsbasedir}"
         /bin/mount -o remount,size=${PORTAGE_MEMSIZE} ${tmpfsbasedir}
      else
         # we're resuming a merge
         debuginfo "Leaving '${PORTAGE_BUILDDIR}' mounted"
      fi
   else
      # mounting
      savebackup
      mountfs
      restorebackup
   fi
}

on_install () {
        mkdir -p $WORKDIR
        chown portage:portage $WORKDIR
        chmod 770 $WORKDIR
}

on_postinst () {
   check_if_mounted
   # if it's mounted, then unmount
   if [ $? -eq 0 ]
   then
      isfeature mantain
      if [ $itsafeature -eq 1 ]
      then
         # don't unmount if there's "mantain" in $FEATURES
         einfo "Keeping mounted '${PORTAGE_BUILDDIR}' as requested in \$FEATURES"
         return
      else
         # unmount
         unmountfs
      fi
   fi
}


con il relativo file di configurazione (da aggiungere):

/etc/portage/bashrc-ng/bashrc-ng.conf

Code:

tmpfs=on

UNIONFS_ENABLE=on
UNIONFS_BASEDISKDIR=/var/tmp/portage/unionfs/disk
UNIONFS_BASETMPFSDIR=/var/tmp/portage/unionfs/tmpfs


Il codice è assolutamente in beta... ma a me per adesso ha funzionato!

ciao

luigi
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
syntaxerrormmm
Guru
Guru


Joined: 17 Apr 2005
Posts: 449
Location: Romano di Lombardia - BG - ITALY

PostPosted: Tue Oct 10, 2006 11:37 am    Post subject: Reply with quote

Avrei una richiesta da fare.

Uso portage-bashrc-ng da tempo e da poco meno utilizzo il meccanismo di ELOG fino a 'info', quindi mi trovo un sacco di entries nella cartella dei log che mi dicono solo che è stata montata la cartella temporanea... E' possibile fare in modo che queste entries non appaiano (a parte disabilitare 'info' in ELOG :P)?

Ciao, grazie e complimenti per il lavoro.
_________________
"Every rule can be broken, but no rule may be ignored."

Last.fm - Gentoo 2006.1 on:
Acer Aspire 1355LC - suspend2-sources-2.6.18-r3
IBM Thinkpad T30 - suspend2-sources-2.6.19-r3
Back to top
View user's profile Send private message
syntaxerrormmm
Guru
Guru


Joined: 17 Apr 2005
Posts: 449
Location: Romano di Lombardia - BG - ITALY

PostPosted: Thu Nov 23, 2006 12:36 pm    Post subject: [bashrc-ng] svuotamento /var/tmp/portage Reply with quote

Ciao a tutti,

ho questo problema. Quando emergo un pacchetto che non faccio compilare in RAM (es. gcc), al termine della compilazione mi rimangono tutti i files, sorgenti e compilati (/var/tmp/portage/sys-devel/gcc). Riporto le FEATURES attivate in /etc/make.conf
Code:
FEATURES="sandbox ccache userpriv usersandbox strict userfetch userpriv collision-protect sfperms"
Mi sembra che non ci sia nulla che eviti di pulire la cartella... Come da titolo del post, utilizzo portage-bashrc-ng-0.13.1_beta e portage-2.1.2_rc2-r1.

/etc/portage/bashrc-ng/bashrc-ng.conf:
Code:
resumemerge=on
localepurge=on
perpackage=on
tmpfs=on
PORTAGE_MEMSIZE=500M

/etc/portage/package.mem:
Code:
sys-devel/gcc 0
www-client/mozilla 0
app-emulation/wine 0
x11-libs/qt 0
sys-libs/glibc 0
app-text/tetex 0
app-office/openoffice-bin 0
www-client/mozilla-firefox 0
x11-libs/wxGTK 0

Quello che vorrei è che, al termine della compilazione di questi pacchetti, le directory in /var/tmp/portage venissero cancellate dall'HD (come avviene normalmente quando uso tmpfs per compilare gli altri pacchetti). Sapete aiutarmi?

Ciao.
_________________
"Every rule can be broken, but no rule may be ignored."

Last.fm - Gentoo 2006.1 on:
Acer Aspire 1355LC - suspend2-sources-2.6.18-r3
IBM Thinkpad T30 - suspend2-sources-2.6.19-r3
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Thu Nov 23, 2006 1:22 pm    Post subject: Re: [bashrc-ng] svuotamento /var/tmp/portage Reply with quote

si potrebbe richiedere che venga aggiunta la funzione che svuota la directory, ma dovrebbe essere fatta con due accorgimenti:

- NON si deve svuotare niente se si vuole poter fare il resume della compilazione
- la rimozione deve essere fatta con un nice molto alto, altrimenti uccide la macchina
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Thu Nov 23, 2006 2:12 pm    Post subject: Reply with quote

Il problema è che il modulo "resumemerge" abilita la feature "keepwork" la quale poi ha l'effetto di non far rimuovere nulla dopo il merge, è su quello che bisogna lavorare.
_________________
Running Fast!
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Thu Nov 23, 2006 3:05 pm    Post subject: Re: [bashrc-ng] svuotamento /var/tmp/portage Reply with quote

syntaxerrormmm wrote:
Come da titolo del post, utilizzo portage-bashrc-ng-0.13.1_beta e portage-2.1.2_rc2-r1.


Ho fatto il merge con il topic di bashrc-ng.
_________________
Ciao da me!
Back to top
View user's profile Send private message
syntaxerrormmm
Guru
Guru


Joined: 17 Apr 2005
Posts: 449
Location: Romano di Lombardia - BG - ITALY

PostPosted: Thu Nov 23, 2006 3:30 pm    Post subject: Re: [bashrc-ng] svuotamento /var/tmp/portage Reply with quote

.:chrome:. wrote:
si potrebbe richiedere che venga aggiunta la funzione che svuota la directory, ma dovrebbe essere fatta con due accorgimenti:

- NON si deve svuotare niente se si vuole poter fare il resume della compilazione
- la rimozione deve essere fatta con un nice molto alto, altrimenti uccide la macchina
Ok, ne farò richiesta, aggiungendo che sarebbe il caso che la directory fosse pulita se e solo se il qmerge sia completato con successo.

O meglio, semplicemente linkerò questo post :)

Ciao e grazie a entrambi.

[Edit] Uffi, i mod sono più veloci della luce... :P [/Edit]
_________________
"Every rule can be broken, but no rule may be ignored."

Last.fm - Gentoo 2006.1 on:
Acer Aspire 1355LC - suspend2-sources-2.6.18-r3
IBM Thinkpad T30 - suspend2-sources-2.6.19-r3
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Sat Feb 03, 2007 4:42 pm    Post subject: Reply with quote

Ho un piccolo problema: il modulo tmpfs non mi smonta le directory. Per esempio (ma è una cosa che succede con tutti i pacchetti):

Code:

 * Found temporary portage compile dir (/var/tmp/portage/sys-fs/fuse-python-0.1-r1), umounting.
umount: /var/tmp/portage/sys-fs/fuse-python-0.1-r1: device occupato
umount: /var/tmp/portage/sys-fs/fuse-python-0.1-r1: device occupato


sto usando la versione 13beta.

Qualche idea?

ciao

luigi
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Thu Feb 08, 2007 9:00 am    Post subject: Reply with quote

Con questa versione
Code:
[I] app-portage/portage-bashrc-ng (0.13-r1 07/02/2007)

Non c'è più (o non viene installato) il modulo per eselect
Code:

Hal9000 ~ # equery f app-portage/portage-bashrc-ng
[ Searching for packages matching app-portage/portage-bashrc-ng... ]
* Contents of app-portage/portage-bashrc-ng-0.13-r1:
/etc
/etc/portage
/etc/portage/bashrc-ng
/usr
/usr/share
/usr/share/doc
/usr/share/doc/portage-bashrc-ng-0.13-r1
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules
/usr/share/eselect
/usr/share/eselect/modules
/usr/share/portage-bashrc-ng
Hal9000 ~ # ls /usr/share/eselect/modules/
bashcomp.eselect       esd.eselect            kernel.eselect         opengl.eselect         timidity.eselect       
binutils.eselect       java-nsplugin.eselect  mailer.eselect         profile.eselect       
env.eselect            java-vm.eselect        oodict.eselect         rc.eselect 

Bug o scelta vostra?
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Thu Feb 08, 2007 9:18 am    Post subject: Reply with quote

Aggiungo che oltre al trascurabile problema di cui sopra, il tool non funziona. Ho avuto bisogno adesso di ri-emergere un paio di cosette e non mi ha montato in ram la tempdir di portage. Nemmeno distclean va, quindi immagino non funzioni nessuno degli altri moduli.

Aiuti, Soluzioni?

Gracias

EDIT: Ho riprovato ad emergerlo e, mi pare, che l'errore stia nell'ebuild. Il file .eselect e i vari .module non vengono proprio installati. Copiandoli a mano tutto quanto funziona
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Fri Feb 09, 2007 2:08 pm    Post subject: Reply with quote

Ho corretto il problema, ora dovrebbe installare tutto, grazie per la segnalazione. :wink:
_________________
Running Fast!
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Fri Feb 09, 2007 3:43 pm    Post subject: Reply with quote

Code:
Hal9000 ~ # qlist portage-bashrc-ng
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules/tmpfs.gz
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules/resumemerge.gz
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules/per-package.gz
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules/localepurge.gz
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules/distclean.gz
/usr/share/doc/portage-bashrc-ng-0.13-r1/modules/autopatch.gz
/usr/share/eselect/modules/bashrc-ng.eselect
/usr/share/portage-bashrc-ng/tmpfs.module
/usr/share/portage-bashrc-ng/resumemerge.module
/usr/share/portage-bashrc-ng/perpackage.module
/usr/share/portage-bashrc-ng/localepurge.module
/usr/share/portage-bashrc-ng/distclean.module
/usr/share/portage-bashrc-ng/distccval.module
/usr/share/portage-bashrc-ng/autopatch.module
/etc/portage/bashrc-ng/bashrc-ng.conf.example
/etc/portage/bashrc

Effettivamente sembra tutto a posto.
Grazie a voi!
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Mon Feb 12, 2007 12:53 pm    Post subject: Reply with quote

comio wrote:
Ho un piccolo problema: il modulo tmpfs non mi smonta le directory. Per esempio (ma è una cosa che succede con tutti i pacchetti):

Code:

 * Found temporary portage compile dir (/var/tmp/portage/sys-fs/fuse-python-0.1-r1), umounting.
umount: /var/tmp/portage/sys-fs/fuse-python-0.1-r1: device occupato
umount: /var/tmp/portage/sys-fs/fuse-python-0.1-r1: device occupato


sto usando la versione 13beta.

Qualche idea?

ciao

luigi

Anche a me da lo stesso problema da quando ho aggiornato a portage-2.1.2-r9 (questa mattina), ho notato che disabilitando tmpfs mi rimangono le varie directory in /var/tmp/portage ...

Idee/suggerimenti/consigli/proposte/soluzioni ?
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Wed Feb 14, 2007 4:35 pm    Post subject: Reply with quote

Kernel78 wrote:
Anche a me da lo stesso problema da quando ho aggiornato a portage-2.1.2-r9 (questa mattina), ho notato che disabilitando tmpfs mi rimangono le varie directory in /var/tmp/portage ...


ci sto lavorando proprio in questo momento.
il nuovo portage crea una struttura di dir in /var/tmp/portage completamente diversa rispetto alla versione precedente. appena risolvo vedo di rilasciare tutto quanto (compresa la nuova versione del modulo 'tmpfs') in overlay.

/EDIT:

ho risolto il problema e ho fatto pure il bump version della nuova release sul GeCHI Overlay.
# layman -s gechi
# emerge -av portage-bashrc-ng

in caso riscontriate problemi o altro, vi pregherei di fare un bugreport sul tracker del progetto anzichè scrivere qui sul sito, grazie ;)
buon emerge a tutti.

p.s.: il sito del GeCHI Overlay
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Wed Feb 14, 2007 9:14 pm    Post subject: Reply with quote

!equilibrium wrote:


/EDIT:

ho risolto il problema e ho fatto pure il bump version della nuova release sul GeCHI Overlay.
# layman -s gechi
# emerge -av portage-bashrc-ng

in caso riscontriate problemi o altro, vi pregherei di fare un bugreport sul tracker del progetto anzichè scrivere qui sul sito, grazie ;)
buon emerge a tutti.

p.s.: il sito del GeCHI Overlay


work fine!

thanks.

luigi
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4787
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Wed Feb 14, 2007 9:23 pm    Post subject: Reply with quote

comio wrote:

work fine!

:roll:
http://sourceforge.net/tracker/?atid=879268&group_id=176946&func=browse

2 in un colpo
:lol: :lol: :lol:
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
topper_harley
Guru
Guru


Joined: 05 Apr 2006
Posts: 363
Location: Treviso / Udine (Italy)

PostPosted: Thu Feb 15, 2007 9:26 am    Post subject: Reply with quote

!equilibrium wrote:


ho risolto il problema e ho fatto pure il bump version della nuova release sul GeCHI Overlay.
# layman -s gechi
# emerge -av portage-bashrc-ng



L'overlay non è più in layman?

Code:
caffeine ~ # layman --list | grep gechi
caffeine ~ #

_________________
http://topperh.ath.cx
Jabber: topper_harley@jabber.org
ICQ: 224179391
MSN: Topper_Harley80@gmail.com
Last FM
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11, 12, 13  Next
Page 9 of 13

 
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