SIGFPE de nouveau
Bonjour à tous Je n'ai guère trouvé plus de documentation, mais man sigreturn m'a donné de nouvelles idées. Le plus clair est dans le fichier joint (qui commence par 200 lignes de commentaires... c'est normal en assembleur), il me reste une question: quand je travaille en pur assembleur (fichier joint), le deuxième pointeur (*siginfo_t) passé au handler est NULL, alors que dès que je mélange C et assembleur, il pointe vers des données utilisables. Si quelqu'un est assez curieux pour m'aider, voir le fichier joint. Cordialement Philippe Deleval ; chapeau pour programmes ou modules écrits en assembleur ; inspiré du header suggéré par Jeff Duntemann (Assembly Language Step ; by Step, troisième édition, Wiley 2009) ; ; fichier source: fpe_asm.asm ; fichier produit: fpe_asm ; ; version 1.2 ; Créé le 28 juin 2014 ; Mis à jour le 2 juillet 2014, nettoyage des scories de la version C trouvée ; sur Internet ; Deuxième mise à jour (1.1) avec essai tiré d'une variante (tpe_sinf.asm). ; Mis à jour le 7 juillet 2014, finalisation de la correction en pile et ; concentration de la documentation dans le source présent ; ; ; ; Auteur: Philippe Deleval ; ; Description: ; version assembleur du programme de récupération de SIGFPE ; ; Résultat des courses: le noyau enchaîne sur le handler de l'utilisateur ; dans le contexte général (même pile) du code comprenant le point où ; le hardware a lancé 'int 5' (réaction aux erreurs de Floating Point, ; mais aussi aux divisions par zéro ou débordements de 'div' ou 'idiv'), ce ; que le noyau convertit en SIGFPE. Mais le handler utilsateur fait retour ; vers les arcanes de Linux (faire man sigreturn pour voir). ; ; Cette version finale marche en corrigeant la pile! L'adresse de retour ; (marquée par 'blob' dans le texte ci-dessous) est remplacée par l'adresse ; 'corerr' et, au retour de l'interruption et du signal, la main est donnée ; au correcteur d'erreur associée à la fonction 'wrk', comme je le souhaitais. ; ; Deux autres variantes marchent avec cette idée de changer en plongeant dans ; la pile pour changer la valeur de retour empilée lors du déclenchement de ; l'interuption: ; fpe_asm.asm, le texte présent, est entièrement en assembleur, autonome. ; fpe_fctasm.c est écrit en C, mais interface un handler et appelle une ; fonction 'wrk' en assembleur (fichier fpe_mixte.asm). ; A l'inverse, fpe_ca.asm est en assembleur, mais sigaction est appelé via ; une fonction écrite en C (fichier sethand.c). ; ; L'offset dans la pile change pace que C fait je ne sais quelle magouille ; avec son type siginfo_t. Le pointeur si dans le programme ici contenu est ; NULL quand signal_handler est appelé (interface ci-dessous). ; void signal_handler (int signo, siginfo_t *si, void *data) ; Dans les deux autres programmes, il n'est pas nul et le contenu pointé est ; dans la pile, pas loin de son sommet. D'où les corrections fonctionnant: ; Ici, dans fpe_asm : 'mov dword [ebp+68], corerr' ; Dans fpe_mixte: 'mov dword [ebp+0e0h], corerr' ; Dans fpe_ca : 'mov dword [ebp + 224], corerr' ; ; En fait, la correction est la même dans les deux derniers cas. En effet, ; 0e0h=14*16=224. ; ; Il semble donc que quelque chose dans gcc/Linux fait occuper 156 octets de ; plus dans la pile au gestionnaire de signal émis par le noyau sur int 5. Ce ; n'est pas l'objet de type siginfo_t qui est de taille __SI_MAX_SIZE=128 (voir ; dans la documentation ci-dessous). Il reste 28 autres octets à expliquer. ; ; ; N.B.: le programme principal appelle la procédure wrk avec les valeurs sur ; ebx 0, 1, 2, 3 cycliquement (effect des deux instructions 'inc eax' et ; 'and eax, 3' (i.e. ___0111 binaire). ; ; ; Commande d'assemblage: nasm -f elf fpe_asm.asm ; Commande d'édition de liens: ld -s -x -o fpe_asm fpe_asm.o (sauf si debug!) ; ; ; ; ; COMPLEMENTS DE DOCUMENTATION: ; ; ; tiré de bits/sigset.h: ;/* A `sigset_t' has a bit for each signal. */ ; ;# define _SIGSET_NWORDS(1024 / (8 * sizeof (unsigned long int))) ;typedef struct ; { ;unsigned long int __val[_SIGSET_NWORDS]; ; } __sigset_t; ; ; ; ; tiré de bits/sigaction.h et simplifié en assumant __USE_POSIX199309 ! ; ;/* Structure describing the action to be taken when a signal arrives. */ ;struct sigaction ; { ;/* Signal handler. */ ;union ; { ; /* Used if SA_SIGINFO is not set. */ ; __sighandler_t sa_handler; ; /* Used if SA_SIGINFO is set. */ ; void (*sa_sigaction) (int, siginfo_t *, void *); ; } ;__sigaction_handler; ; ;/* Additional set of signals to be blocked. */ ;__sigset_t sa_mask; ; ;/* Special flags. */ ;int sa_flags; ; ;/* Restore handler. */ ;void (*sa_restorer) (void); ; }; ; ; ; ; tiré de bits/siginfo.h ;# define __SI_MAX_SIZE 128 ;# if __WORDSIZE == 64 ;# define __SI_PAD_SIZE ((__SI_MAX_SIZE / sizeof (int)) - 4) ;# else ;# define __SI_PAD_SIZE ((__SI_MAX_SIZE / sizeof (int)) - 3) ;#
[testing] plus d'auto montage ?
Salut, Est-ce que l'auto-montage fonctionne encore chez vous sur une testing ? A+ Gaëtan -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe vers debian-user-french-requ...@lists.debian.org En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org Archive: https://lists.debian.org/20140708002625.a01092ee7a56dcaa7fd6a...@neuf.fr
Re: [testing] plus d'auto montage ?
On 08/07/2014 00:26, Gaëtan PERRIER wrote: Est-ce que l'auto-montage fonctionne encore chez vous sur une testing ? Avec quel gestionnaire de bureau ? -- Francois Mescam Tel:+33 6 16 05 77 61 -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe vers debian-user-french-requ...@lists.debian.org En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org Archive: https://lists.debian.org/53bb828d.6070...@mescam.org
Problemas actualizando paquetería
Hola a todos, Tengo una máquina con Debian 6.0.9 y cuando intento ejecutar apt-get update apt-get upgrade, obtengo el siguiente error: == Configurando linux-image-2.6.32-5-686 (2.6.32-48squeeze6) ... Running depmod. Running update-initramfs. update-initramfs: Generating /boot/initrd.img-2.6.32-5-686 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169 Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686 run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686 run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686 Generating grub.cfg ... /usr/sbin/grub-probe: error: not a directory. run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-5-686.postinst line 799. dpkg: error al procesar linux-image-2.6.32-5-686 (--configure): el subproceso instalado el script post-installation devolvió el código de salida de error 2 configured to not write apport reports Se encontraron errores al procesar: linux-image-2.6.32-5-686 E: Sub-process /usr/bin/dpkg returned an error code (1) == No sé si alguien puede echarme una mano o darme alguna idea para solventar este problema. Espero su contestación. Saludos y gracias de ante mano, Antonio.
Re: Problemas actualizando paquetería
El Mon, 07 de Jul de 2014, a las 12:02:04PM +0200, Antonio Fernández Pérez dijo: Hola a todos, Tengo una máquina con Debian 6.0.9 y cuando intento ejecutar apt-get update apt-get upgrade, obtengo el siguiente error: Eso es porque tienes una tarjeta de red realteak y está buscando los drivers privativos. Si te funciona la red bien, no le hagas caso; si no, puedes instalar el paquete firmware-realteak que contiene esos drivers (están en sección non-free, por si no la tienes en el sources.list) -- -¿Quién le dice a v.m. que no se pueda hacer? Hacerse puede, que ser imposible es otra cosa. --- Francisco de Quevedo --- -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707112408.ga8...@cubo.casa
OT Haciendo un tar de un solo directorio
Buenas Si hago un tar de la forma: tar -cvzf directorio.tgz /usr/local/directorio Esto me comprime el directorio directorio con el path entero, es decir: Si quiero descomprimir el el tar en el directorio por ejemplo /home/usuario, Me lo descomprimiria, en: /home/usuario/usr/local/directorio Como podria hacerlo para que: en vez de descomprimirse como he dicho antes, se descomprima /home/usuario/directorio Alguien le suena haberlo hecho una vez? He visto que se puede hacer tar -C /usr/local/directorio/ -cvzf directorio.tgz . pero esto, lo que hace es que me descomprime todo el contenido del directorio directorio en el directorio donde haga el tar. y no me crea el directorio directorio/ Alguien le suena? Muchas Gracias. -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/camf5f5bng+o_xa+1dpuhdqz+hgmhvwg6rfb-5armmhhjy-j...@mail.gmail.com
Re: OT Haciendo un tar de un solo directorio
El día 7 de julio de 2014, 15:05, Juan Guil erj...@gmail.com escribió: Buenas Si hago un tar de la forma: tar -cvzf directorio.tgz /usr/local/directorio Esto me comprime el directorio directorio con el path entero, es decir: Si quiero descomprimir el el tar en el directorio por ejemplo /home/usuario, Me lo descomprimiria, en: /home/usuario/usr/local/directorio Como podria hacerlo para que: en vez de descomprimirse como he dicho antes, se descomprima /home/usuario/directorio Alguien le suena haberlo hecho una vez? He visto que se puede hacer tar -C /usr/local/directorio/ -cvzf directorio.tgz . pero esto, lo que hace es que me descomprime todo el contenido del directorio directorio en el directorio donde haga el tar. y no me crea el directorio directorio/ Alguien le suena? Muchas Gracias. Hola: Asi de primeras sin leerme todo el man te diría: Podrías hacer un cd a /usr/local y hacer ahí el tar: tar -cvzf directorio.tgz directorio o una vez hecho con toda la ruta el tar, al desempaquetar usar: tar --strip-components=2 -xvzf directorio.tgz (creo que 2, pero prueba, sería el numero de / antes del directorio tuyo) S2. -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAGw=rhijahrqybre5sbdr8futhhdy0aeo-a6b2p364cvhzh...@mail.gmail.com
Re: OT Haciendo un tar de un solo directorio
Hola: Asi de primeras sin leerme todo el man te diría: Podrías hacer un cd a /usr/local y hacer ahí el tar: tar -cvzf directorio.tgz directorio o una vez hecho con toda la ruta el tar, al desempaquetar usar: tar --strip-components=2 -xvzf directorio.tgz (creo que 2, pero prueba, sería el numero de / antes del directorio tuyo) S2. Gracias Fernando! Eso justamente me funciona! Un saludo y gracias de nuevo -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/camf5f5c8tn5peug71capccw_2hdq_kk+syuc3q708wa7qzw...@mail.gmail.com
Re: Usar flash player
El Sun, 06 Jul 2014 21:59:10 +0200, Altair Linux escribió: Buenas, hace un rato he visto que el plugin de flash player para firefox ya no actualiza. Para ser exactos me he enterado por una noticia del 5/3/2012 y otra del 4/7/2012. Que sí, que sí... que me he enterado ahora. Posiblemente cuando instale la Debian actual aún no habia pasado eso, y como suelo ir en plan si funciona, no lo toques... pues en estas estamos. El plugin de flashplayer para Firefox ya no recibe actualizaciones de mejora pero sigue recibiendo parches. Y porque estaba con un tema del plugin de Java, y me ha dado por mirarlo de paso, que si no... Total, que en Google me he encontrado con [1] y no me lo ha detectado, creo que puede estar relacionado por ser experimental. ¿Qué no te ha detectado y qué es experimental? A mi me funciona flash player sin problemas (más allá de los de su propia naturaleza de software desastroso) en Firefox. Eso si, Chrome me reproduce videos Flash. ¿Sugerencias?, porque de momento en Google no veo más. Pues como no des más detalles no sé qué es lo que te pasa :-) Saludos, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/pan.2014.07.07.13.47...@gmail.com
Re: problemas con wifi
El Sun, 06 Jul 2014 14:51:13 -0600, Carlos Carcamo escribió: El día 5 de julio de 2014, 9:44, Camaleón noela...@gmail.com escribió: (...) Oye, una tontuna... pulsa el interruptor del portátil para desactivar el wifi y ejecuta de nuevo rfkill list all y manda la salida, a ver si vemos algún cambio en el bloqueo por hardware. ok, la salida es esta: (...) Y quedo como estaba antes, jajaja no funciona Bien, vale... lo que me interesaba era ver si al activar/desactivar el interruptor había algún cambio y lo hay. Sigamos... Vale. Ejecuta esto (no tiene que darte ningún error): modprobe -r wmi modprobe -r asus_nb_wmi modprobe -r asus_wmi ok. $sudo modprobe -r asus_nb_wmi $ sudo modprobe -r asus_wmi $ sudo modprobe -r wmi $ sudo rfkill list all 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no después de esto el wifi funciona correctamente, pero si reinicio deja de funcionar de nuevo (...) OK, eso es interesante. Quiere decir que por algún motivo uno de esos módulos del kernel (seguramente asus_wmi que es el principal) está bloqueando el adaptador wifi. Al menos ya sabes que descargando esos módulos el habilita el adaptador inalámbrico. Alguna otra idea de que podría estar mal? Google da algunas pistas, sí... por ejemplo, en esta página de la wiki de Ubuntu en alemán: http://wiki.ubuntuusers.de/rfkill#ASUS-Notebooks Manda la salida de cat /etc/modprobe.d/asus.conf no tengo ese archivo, lo que tengo es: $ls /etc/modprobe.d/ alsa-base-blacklist.conf alsa-base.conf fbdev-blacklist.conf radeon-kms.conf Vamos a probar una cosa que pone en el enlace de más arriba. Crea manualmente el archivo /etc/modprobe.d/asus.conf y añade el siguiente contenido: options asus_nb_wmi wapf=4 Reinicia y prueba de nuevo el wifi así como la salida de rfkill. Si no funciona, edita el archivo y cambia el 4 por 0 por si hubiera algún cambio. Saludos, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/pan.2014.07.07.14.01...@gmail.com
Re: OT Haciendo un tar de un solo directorio
El Mon, 07 Jul 2014 15:05:07 +0200, Juan Guil escribió: (...) He visto que se puede hacer tar -C /usr/local/directorio/ -cvzf directorio.tgz . pero esto, lo que hace es que me descomprime todo el contenido del directorio directorio en el directorio donde haga el tar. y no me crea el directorio directorio/ (...) Asegúrate de que estés usando correctamente el argumento -C. Para descomprimir en una ubicación diferente tendría que ser algo así: tar -xf archivo.tgz -C /directorio/destino Saludos, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/pan.2014.07.07.14.30...@gmail.com
Re: Problemas actualizando paquetería
El Mon, 07 Jul 2014 12:02:04 +0200, Antonio Fernández Pérez escribió: Hola a todos, (ese html...) Tengo una máquina con Debian 6.0.9 y cuando intento ejecutar apt-get update apt-get upgrade, obtengo el siguiente error: (...) /boot/vmlinuz-2.6.32-5-686 Generating grub.cfg ... /usr/sbin/grub-probe: error: not a directory. ^^ (...) Creo que el error fatal es ese pero no sabría decirte qué lo genera. Parece que has actualizado el paquete del kernel y falla al generar la nueva imagen. ¿Tienes alguna configuración específica de los discos (raid, lvm...)? Saludos, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/pan.2014.07.07.14.42...@gmail.com
Re: SSHD tengo este error en el logcheck
El Sun, 06 Jul 2014 14:19:52 -0430, Edward Villarroel (EDD) escribió: @@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@ Permissions 0755 for '/etc/ssh/ssh_host_ecdsa_key' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: /etc/ssh/ssh_host_ecdsa_key Could not load host key: /etc/ssh/ssh_host_ecdsa_key buenas tardes tengo ese mensaje por montones cada 3 min en el logcheck Lo habitual (YMMV) es que ese tipo de archivos de claves tenga permisos restringidos (600). Saludos, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/pan.2014.07.07.14.51...@gmail.com
Re: Usar flash player
El 07/07/14 a las #4, Camaleón escribió: El Sun, 06 Jul 2014 21:59:10 +0200, Altair Linux escribió: (...) Total, que en Google me he encontrado con [1] y no me lo ha detectado, creo que puede estar relacionado por ser experimental. [1] http://blog.desdelinux.net/no-mas-flash-para-linux-a-menos-que-uses-google-chrome/ ¿Qué no te ha detectado y qué es experimental? A mi me funciona flash player sin problemas (más allá de los de su propia naturaleza de software desastroso) en Firefox. Eso si, Chrome me reproduce videos Flash. ¿Sugerencias?, porque de momento en Google no veo más. Pues como no des más detalles no sé qué es lo que te pasa :-) Creo que se refiere al enlace que ha puesto, donde una de las soluciones que proponen para que firefox siga teniendo flash actualizado el flash, es forzar a que firefox haga uso del flash de Chrome. Y eso es lo que creo que no le funciona... Altair Linux, como te ha dicho camaleon, el flash para linux sigue recibiendo actualizaciones, pero no va a pasar de la 12.2, ya que solo recibe actualizaciones de seguridad. Por otra parte, me ha picado la curiosidad la solución, y voy a probar a ver si consigo hacer que iceweasel en mi caso (firefox) haga uso del flash del chrome (que lo instalé para casos puntuales, donde flash no me iba) -- www.LinuxCounter.net Registered user #558467 has 2 linux machines -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/lpecgg$6p2$1...@ger.gmane.org
Re: Usar flash player
El 06/07/14 a las #4, Altair Linux escribió: Total, que en Google me he encontrado con [1] y no me lo ha detectado, creo que puede estar relacionado por ser experimental. No funciona porque dice que hay que hacer un enlace simbólico a /opt/google/chrome/libgcflashplayer.so Pero no existe ese archivo (al menos yo no lo tengo, y también tengo instalado Chrome) -- www.LinuxCounter.net Registered user #558467 has 2 linux machines -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/lped5r$egr$1...@ger.gmane.org
Re: Problemas actualizando paquetería
El lunes, 7 jul 2014 a las 12:02 horas (UTC+2), Antonio Fernández Pérez escribió: Hola a todos, Tengo una máquina con Debian 6.0.9 y cuando intento ejecutar apt-get update apt-get upgrade, obtengo el siguiente error: == Configurando linux-image-2.6.32-5-686 (2.6.32-48squeeze6) ... Running depmod. Running update-initramfs. update-initramfs: Generating /boot/initrd.img-2.6.32-5-686 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169 Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686 run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686 run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686 Generating grub.cfg ... /usr/sbin/grub-probe: error: not a directory. run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-5-686.postinst line 799. dpkg: error al procesar linux-image-2.6.32-5-686 (--configure): el subproceso instalado el script post-installation devolvió el código de salida de error 2 configured to not write apport reports Se encontraron errores al procesar: linux-image-2.6.32-5-686 E: Sub-process /usr/bin/dpkg returned an error code (1) == No sé si alguien puede echarme una mano o darme alguna idea para solventar este problema. Espero su contestación. Saludos y gracias de ante mano, Antonio. Por lo que veo parece el fallo se produce cuando /usr/sbin/grub-mkconfig invoca a /usr/sbin/grub-probe ¿Puedes cambiar la segunda línea del primero (es un script) de set -e a set -e -x momentáneamente y pasarnos la salida? Eso debería señalarnos que parámetro le pasa al segundo para que se queje de que no es un directorio. Saludos. -- Manolo Díaz -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707171459.6a1a5...@gmail.com
Re: Usar flash player
El Mon, 07 Jul 2014 16:57:19 +0200, Eduardo Rios escribió: El 07/07/14 a las #4, Camaleón escribió: El Sun, 06 Jul 2014 21:59:10 +0200, Altair Linux escribió: (...) Total, que en Google me he encontrado con [1] y no me lo ha detectado, creo que puede estar relacionado por ser experimental. [1] http://blog.desdelinux.net/no-mas-flash-para-linux-a-menos-que-uses- google-chrome/ ¿Qué no te ha detectado y qué es experimental? A mi me funciona flash player sin problemas (más allá de los de su propia naturaleza de software desastroso) en Firefox. Eso si, Chrome me reproduce videos Flash. ¿Sugerencias?, porque de momento en Google no veo más. Pues como no des más detalles no sé qué es lo que te pasa :-) Creo que se refiere al enlace que ha puesto, donde una de las soluciones que proponen para que firefox siga teniendo flash actualizado el flash, es forzar a que firefox haga uso del flash de Chrome. Y eso es lo que creo que no le funciona... (...) Aum... pues no sé cómo va a funcionar eso ya que Firefox no tiene soporte nativo para Pepper, al menos de momento y que yo sepa. Quizá a través de algún wrapper pero ¿merece la pena añadir más morralla a la morralla? (pregunta retórica). Saludos, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/pan.2014.07.07.15.20...@gmail.com
Re: Dirvish envio de correo con estado copia de seguridad
El 04/07/2014 18:04, Camaleón noela...@gmail.com escribió: El Thu, 03 Jul 2014 18:44:07 +0200, Maykel Franco escribió: (html... grrr... hodor...) Hola buenas, tengo configurado un dirvish y realiza los backups correctamente de los servidores. Lo que quiero es que me envie una confirmacion por correo. El apartado de postfix ya hare relay con el correo de la empresa o de gmail, el problema es realizar un script para el envio. Segun esta web: http://wiki.dirvish.org/FuhHoe El script parece sencillito pero hum... preguntonta, si ejecutas dirvish a través de una tarea de cron ¿no te manda un correo cuando se produce algún error? :-? En teoría si, el problema es que tenia mal definido las locales en el script y se quedaba la maquina tonta. Dice que hay que meterle el comando post-server dentro de master.conf pero cuando lo lanzo se queda la terminal como bloqueada. Intentare revisar el script de dirvish_mail pero queria preguntar si alguien ya se ha peleado con esto y ha encontrado un script que funcione. Prueba a ejecutarlo con seguimiento, es decir, sh -x script.sh para ver qué valores van tomando las variables, por dónde va y dónde se queda pillado. Me ayudo mucho a depurar con el -x gracias. Me funciona ya bien el envio de correo lo que no acabo de entender es para que diablos ejecuta esto en el master.conf: exportall_dbs No conozco ese comando y no veo documentación... Saludos. Saludos, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/pan.2014.07.04.16.03...@gmail.com
Re: Dirvish envio de correo con estado copia de seguridad
El Mon, 07 Jul 2014 19:24:19 +0200, Maykel Franco escribió: (html... grrr...) El 04/07/2014 18:04, Camaleón noela...@gmail.com escribió: (...) Prueba a ejecutarlo con seguimiento, es decir, sh -x script.sh para ver qué valores van tomando las variables, por dónde va y dónde se queda pillado. Me ayudo mucho a depurar con el -x gracias. Me funciona ya bien el envio de correo lo que no acabo de entender es para que diablos ejecuta esto en el master.conf: exportall_dbs No conozco ese comando y no veo documentación... Sample pre-client: #!/bin/bash # dump database exportall_dbs Será un comando/alias que ejecuta el desarrollador del script para volcar algún tipo de base de datos que pueda generar dirvish pero que tu caso no debería realizar ninguna acción. Saludos, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/pan.2014.07.07.17.45...@gmail.com
Sobre LDAP y sus distintos tutoriales
Buenas he estado investigando en como montar un servidor LDAP y he conseguido varias cosas: 1) Lo primero que encontre fue un manual de LDAP+SAMBA como PDC pero es para debian etch 4.0 y clientes win xp, mi duda es servira este manual para debian 7, y que pasa si los clientes son linux o windows 7 alli no explica su autenticacion. 2) Segui buscando y encontre estos enlaces 2.1) Para instalar un servidor LDAP: http://alex02.wordpress.com/2013/05/31/proyecto-instalar-y-configurar-openldap-en-debian-wheezy/ 2.2) Para autenticar clientes linux: http://alex02.wordpress.com/2013/06/06/proyecto-configurar-cliente-linux-para-que-se-autentique-en-servidor-openldap-en-debian-wheezy/ 2.3) Para usar samba como PDC: http://alex02.wordpress.com/2013/06/24/proyecto-instalar-samba-como-servidor-pdc-con-openldap-en-debian-wheezy/ Cabe destacar que he leido los 3 tutoriales y aun no se si haciendolo tengan algun error y funcionen, cosa que me daria fastidio que despues de hacer todo este largo proceso no sirva. Y otra cosa es que dan a entender que hay que configurar todas las maquinas linux una por una, es decir, si yo tengo 500 clientes, tengo que hacer esta configuracion 500 veces, no hay algo mas rapido o mas efectivo. Y por ultimo en el tutorial del punto (1) al final dice que hay que cambiar al registro de windows xp algunas cosillas, pero en el tutorial del punto (2.3) no sale ese cambio, entonces a cual tutorial le creo, y ademas si tengo que hacer ese cambio y tengo 200 maquinas win xp tengo que hacerlo 200 veces. Por eso pregunto no hay un tutorial que sepan que sea fiable para instalar un servidor LDAP en debian 7 con autenticacion para maquinas linux, win xp y win 7. Y ojala no haya que configurar las 500 maquinas clientes o las que haya de manera manual. (no se si es mucho pedir, espero si alguien conoce alguno bueno y que sepa que funcione) Digo esto porque me encontrado muchos tutoriales y todos hacen cosas distintas y no se cual seria el verdadero que sirva. Atentamente y muy agradecido, Nicolás Disquin P.D: Lo necesito por asuntos de trabajo, ya saben el jefe...
permisos para impedir borrado de directorio, pero si escribir en el padre
Hola, Necesito hacer la estructura de directorios con permisos y luego compartirlo con samba. Digamos que son dos grupos (A y B) donde tiene una zona compartida entre ellos que es el directorio share y dos subdirectorios que son privados para ellos, estructura seria algo como: share |-- DirGrupoA |-- DirGrupoB El tema de compartir via samba y restringir DirGrupoA y DirGrupoB lo solucione en samba con 'valid users = @DirGrupoA, @DirGrupoAB' y definiendo permisos de grupo para cada dir en linux. El problema es que como los dos grupos deben poder agregar archivos dentro de share, le coloco los permisos 777 a share, pero esto produce que un usuario del grupoA pueda borrar el direcorio DirGrupoB (algo que no quiero) Hay alguna manera de solucionarlo? (sin tener que crear un dir DirGrupoAYDirGrupoAB y poner 775 a share) -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cadqxbrro1rwvoe6nffx8sekl2sb+ego2leyrnddw4ynsq93...@mail.gmail.com
Re: permisos para impedir borrado de directorio, pero si escribir en el padre
Hola, Necesito hacer la estructura de directorios con permisos y luego compartirlo con samba. Digamos que son dos grupos (A y B) donde tiene una zona compartida entre ellos que es el directorio share y dos subdirectorios que son privados para ellos, estructura seria algo como: share |-- DirGrupoA |-- DirGrupoB El tema de compartir via samba y restringir DirGrupoA y DirGrupoB lo solucione en samba con 'valid users = @DirGrupoA, @DirGrupoAB' y definiendo permisos de grupo para cada dir en linux. El problema es que como los dos grupos deben poder agregar archivos dentro de share, le coloco los permisos 777 a share, pero esto produce que un usuario del grupoA pueda borrar el direcorio DirGrupoB (algo que no quiero) Hay alguna manera de solucionarlo? (sin tener que crear un dir DirGrupoAYDirGrupoAB y poner 775 a share) Yo haria esto: |-- share valid users = @DirGrupoA, @DirGrupoAB |-- DirGrupoA valid users = @DirGrupoA |-- DirGrupoB valid users = @DirGrupoB -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cadqxbrro1rwvoe6nffx8sekl2sb+ego2leyrnddw4ynsq93...@mail.gmail.com -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/6c0389c7e1a13c942489cfddbbf02e12.squir...@fulvetta.riseup.net
Ayuda con wine
Hola a todos. Hace poco decidí utiliz linux mint para migrarme finalmente a linux. Y Bueno intenté resolver esto sólo pero necesito ayuda con algo. Soy un aficionado a el juego Hearthstone. Asique comenze a trabajar en hacerlo funcionar en linux. Bajé la última versión de wine. Una vez esto copie la carpeta del juego que guardé del win y desde la consola me dirij a ella. Corrí el launcher con el wine y Se lanzó. Pero queda cargando las opciones de arranque y nada más. Sí alguien me ayudara siguiendo sus propios pasos par ver Sí lo hago correr lo agradecería. Mañana lo que voy haber es correr el instalador con wine para ver Sí lo toma instalando todo de nuevo. -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/blu436-smtp27829ae8ae13d0edbc682fbf...@phx.gbl
Conheça o cartão para compras e saques, sem precisar ter conta no Banco
Para alterar suas preferências, copie este link em seu navegador: http://email.premioseofertas.com.br/preferences.php?m=499409mh=9a1c876f262b2beb7654f532d99fff4cr=14418811rh=2e9644b8d187d5170e56ec7747c7731f
Re: Raid - Problema com boot
Sim, isso já era esperado. Já havia visto no LinuxSociALL também que estão usando redes sociais para responder perguntas http://www.linuxsociall.com/ Que não é érrado, é prestar o suporte e o conforto para o usuário. O problema é que correrão o risco dos usuários ficarem deseducados a buscar uma resposta antes de perguntar. Lembro-me na minha época de Facebook que em outras situações, havia muitas questões (não sobre software livre) que eram correiqueiras e repetitivas. Ainda mais por si tratar de uma rede com uma péssima e desencorajadora pesquisa sobre conteúdo passado. Att. Thiago Zoroastro http://blogoosfero.cc/profile/thiagozoroastro De: he...@loureiro.eng.brEnviada: Domingo, 6 de Julho de 2014 22:28Para: debian-user-portuguese@lists.debian.orgAssunto: Raid - Problema com boot Oi,Era só pra confirmar que as coisas tão funcionando melhor em pergunta-resposta no FB que por aqui. Abs,Helio Loureirohttp://helio.loureiro.eng.br http://br.linkedin.com/in/helioloureirohttp://twitter.com/helioloureirohttp://gplus.to/helioloureiro 2014-07-05 22:20 GMT-03:00 Sérgio Abrantes Junior sergioabran...@gmail.com: Olá Helio, Sou eu mesmo. Assunto resolvido. Valeu Sérgio Abrantes 2014-07-04 13:46 GMT-03:00 Helio Loureiro he...@loureiro.eng.br: Foi vc que postou essa dúvida no facebook, e acabou resolvendo? Abs,Helio Loureirohttp://helio.loureiro.eng.br http://br.linkedin.com/in/helioloureirohttp://twitter.com/helioloureirohttp://gplus.to/helioloureiro 2014-06-28 22:16 GMT-03:00 Sérgio Abrantes Junior sergioabran...@gmail.com: Olá pessoal, Estou montando um servidor com RAID1. Fiz o RAID na instalação e com um cat em /proc/mdstat não apresenta problema como abaixo:sergio@firewall:~$ cat /proc/mdstat Personalities : [raid1] md3 : active (auto-read-only) raid1 sda5[0] sdb5[1] 3973056 blocks super 1.2 [2/2] [UU] md2 : active raid1 sda3[0] sdb3[2] 258658112 blocks super 1.2 [2/2] [UU] md1 : active raid1 sda2[0] sdb2[2] 48795520 blocks super 1.2 [2/2] [UU] md0 : active raid1 sda1[0] sdb1[2] 975296 blocks super 1.2 [2/2] [UU] unused devices: none sergio@firewall:~$ Fazendo teste de boot apenas com o disco 1 e depois com o disco 2, apenas com um disco funciona. Ele aparece o kernel para escolha na inicialização, mas depois não continua a sequência de inicialização do linux. Alguém já passou por isso? Segue abaixo mais alguns confs que possam ajudar:sergio@firewall:~$ cat /etc/fstab# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## file system mount point type options dump pass # / was on /dev/md2 during installationUUID=86cb1813-97e4-4c77-8bef-4b51db654929 / ext4 errors=remount-ro 0 1# /boot was on /dev/md0 during installationUUID=033fb59a-1158-4117-ae09-1207cc0a3515 /boot ext4 defaults 0 2 # /var/log/squid3 was on /dev/md1 during installationUUID=db91f114-4f55-47cf-8c58-bfbb938419a2 /var/log/squid3 xfs defaults 0 2# swap was on /dev/md3 during installationUUID=507e3064-3f8b-4829-b85c-80be6b12a3b0 none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0/dev/sdc1 /media/usb0 auto rw,user,noauto 0 0sergio@firewall:~$ cat /etc/mdadm/mdadm.conf # mdadm.conf# # Please refer to mdadm.conf(5) for information about this file. ## by default (built-in), scan all partitions (/proc/partitions) and all# containers for MD superblocks. alternatively, specify devices to scan, using# wildcards if desired.#DEVICE partitions containers # auto-create devices with Debian standard permissionsCREATE owner=root group=disk mode=0660 auto=yes# automatically tag new arrays as belonging to the local systemHOMEHOST system# instruct the monitoring daemon where to send mail alerts MAILADDR xx@xx# definitions of existing MD arraysARRAY /dev/md/0 metadata=1.2 UUID=9ae2e8d4:5f169306:bef7d42d:a8049ecf name=firewall:0ARRAY /dev/md/1 metadata=1.2 UUID=55d87a74:44b932f3:9b6fe3f1:fad68002 name=firewall:1 ARRAY /dev/md/2 metadata=1.2 UUID=2bbb8f3d:17406b01:74235ee3:e38a9956 name=firewall:2ARRAY /dev/md/3 metadata=1.2 UUID=65bc2a88:3ad32bcd:cdf3d0e2:a746221e name=firewall:3# This file was auto-generated on Sat, 28 Jun 2014 17:04:02 -0300 # by mkconf 3.2.5-5sergio@firewall:~$ root@firewall:/boot/grub# cat grub.cfg## DO NOT EDIT THIS FILE## It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub BEGIN /etc/grub.d/00_header ###if [ -s $prefix/grubenv ]; then load_envfiset default="0"if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=truefifunction savedefault
Re: Raid - Problema com boot
Ainda podemos estar nos arrumando para que nossos usuários estejam aptos a usar wiki se puderem e quererem. O Wiki é bastante útil, muitas das pesquisas no Google e no Duckduckgo acabam me direcionando para lá. Ainda assim, mais usuários construindo o wiki até para divulgar no Facebook com respostas 'prontas', funcionais e objetivas, além da interação e eventual novas ocorrências, "o importante é que haja a troca de conhecimento", como você disse. Thiago Zoroastro http://blogoosfero.cc/profile/thiagozoroastro De: luiz.rau...@gmail.comEnviada: Segunda-feira, 7 de Julho de 2014 11:19Para: thiago.zoroas...@bol.com.brAssunto: Raid - Problema com boot a melhor forma era fazer a gestão de conhecimento por uma wiki... mas... e quem organizar e o mais trabalhoso, manter organizado? mazelas do trabalho voluntário :P todavia, o importante é que houve a troca de conhecimento 2014-07-07 8:50 GMT-03:00 Thiago Zoroastro thiago.zoroas...@bol.com.br: Sim, isso já era esperado. Já havia visto no LinuxSociALL também que estão usando redes sociais para responder perguntas http://www.linuxsociall.com/ Que não é érrado, é prestar o suporte e o conforto para o usuário. O problema é que correrão o risco dos usuários ficarem deseducados a buscar uma resposta antes de perguntar. Lembro-me na minha época de Facebook que em outras situações, havia muitas questões (não sobre software livre) que eram correiqueiras e repetitivas. Ainda mais por si tratar de uma rede com uma péssima e desencorajadora pesquisa sobre conteúdo passado. Att. Thiago Zoroastro http://blogoosfero.cc/profile/thiagozoroastro De: he...@loureiro.eng.brEnviada: Domingo, 6 de Julho de 2014 22:28Para: debian-user-portuguese@lists.debian.org Assunto: Raid - Problema com boot Oi,Era só pra confirmar que as coisas tão funcionando melhor em pergunta-resposta no FB que por aqui. Abs,Helio Loureirohttp://helio.loureiro.eng.br http://br.linkedin.com/in/helioloureiro http://twitter.com/helioloureirohttp://gplus.to/helioloureiro 2014-07-05 22:20 GMT-03:00 Sérgio Abrantes Junior sergioabran...@gmail.com: Olá Helio, Sou eu mesmo. Assunto resolvido. Valeu Sérgio Abrantes 2014-07-04 13:46 GMT-03:00 Helio Loureiro he...@loureiro.eng.br: Foi vc que postou essa dúvida no facebook, e acabou resolvendo? Abs,Helio Loureirohttp://helio.loureiro.eng.br http://br.linkedin.com/in/helioloureiro http://twitter.com/helioloureirohttp://gplus.to/helioloureiro 2014-06-28 22:16 GMT-03:00 Sérgio Abrantes Junior sergioabran...@gmail.com: Olá pessoal, Estou montando um servidor com RAID1. Fiz o RAID na instalação e com um cat em /proc/mdstat não apresenta problema como abaixo:sergio@firewall:~$ cat /proc/mdstat Personalities : [raid1] md3 : active (auto-read-only) raid1 sda5[0] sdb5[1] 3973056 blocks super 1.2 [2/2] [UU] md2 : active raid1 sda3[0] sdb3[2] 258658112 blocks super 1.2 [2/2] [UU] md1 : active raid1 sda2[0] sdb2[2] 48795520 blocks super 1.2 [2/2] [UU] md0 : active raid1 sda1[0] sdb1[2] 975296 blocks super 1.2 [2/2] [UU] unused devices: none sergio@firewall:~$ Fazendo teste de boot apenas com o disco 1 e depois com o disco 2, apenas com um disco funciona. Ele aparece o kernel para escolha na inicialização, mas depois não continua a sequência de inicialização do linux. Alguém já passou por isso? Segue abaixo mais alguns confs que possam ajudar:sergio@firewall:~$ cat /etc/fstab# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## file system mount point type options dump pass # / was on /dev/md2 during installationUUID=86cb1813-97e4-4c77-8bef-4b51db654929 / ext4 errors=remount-ro 0 1# /boot was on /dev/md0 during installationUUID=033fb59a-1158-4117-ae09-1207cc0a3515 /boot ext4 defaults 0 2 # /var/log/squid3 was on /dev/md1 during installationUUID=db91f114-4f55-47cf-8c58-bfbb938419a2 /var/log/squid3 xfs defaults 0 2# swap was on /dev/md3 during installationUUID=507e3064-3f8b-4829-b85c-80be6b12a3b0 none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0/dev/sdc1 /media/usb0 auto rw,user,noauto 0 0sergio@firewall:~$ cat /etc/mdadm/mdadm.conf # mdadm.conf# # Please refer to mdadm.conf(5) for information about this file. ## by default (built-in), scan all partitions (/proc/partitions) and all# containers for MD superblocks. alternatively, specify devices to scan, using # wildcards if desired.#DEVICE partitions containers # auto-create devices with Debian standard permissionsCREATE owner=root group=disk mode=0660 auto=yes# automatically tag new arrays as belonging to the local system HOMEHOST system# instruct the monitoring daemon where to send mail alerts
Arquiteturas
Qual o sistema operacional suporta mais arquiteturas de processador? Achei que fosse o Debian mas me falaram que é o NetBSD. -- To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53bac151.8070...@openmailbox.org
Re: Arquiteturas
2014-07-07 12:48 GMT-03:00 Tiago Rocha tiago.ro...@openmailbox.org: Qual o sistema operacional suporta mais arquiteturas de processador? Achei que fosse o Debian mas me falaram que é o NetBSD. De uma olhada: http://www.netbsd.org/ports/ http://www.debian.org/ports/ -- Albino Biasutti Neto http://twitter.com/b1n0anb -- To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOZp7fAgWo=bw7dkysy-aza17zm5mbj0fh55e0h59b0hkk3...@mail.gmail.com
Re: Arquiteturas
Obrigado pela resposta Albino. Mas você(ou alguém) saberia me dizer se não existe um outro SO que tenha ainda mais arquiteturas suportadas? O NetBSD é o mais portado mesmo? Em 07-07-2014 14:10, Albino Biasutti Neto escreveu: 2014-07-07 12:48 GMT-03:00 Tiago Rocha tiago.ro...@openmailbox.org: Qual o sistema operacional suporta mais arquiteturas de processador? Achei que fosse o Debian mas me falaram que é o NetBSD. De uma olhada: http://www.netbsd.org/ports/ http://www.debian.org/ports/ -- To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53bad783.7050...@openmailbox.org
Re: Arquiteturas
2014-07-07 14:23 GMT-03:00 Tiago Rocha tiago.ro...@openmailbox.org: Mas você(ou alguém) saberia me dizer se não existe um outro SO que tenha ainda mais arquiteturas suportadas? O NetBSD é o mais portado mesmo? Depende do que você chama de ‘arquitetura’ e de ‘SO’. Como sistema operacional em si, faz tempo que o GNU/Linux é o mais portado. Mas, como distribuição de SO, o NetBSD continua sendo o mais portado. E há sistemas operacionais dedicados a sistemas embarcados que são portados a todo tipo de dispositivos. Tenho uma vaga lembrança que o mais popular era o Tron, japonês, mas posso estar redondamente enganado. -- skype:leandro.gfc.dutra?chat Yahoo!: ymsgr:sendIM?lgcdutra +55 (61) 3546 7191 gTalk: xmpp:leand...@jabber.org +55 (61) 9302 2691ICQ/AIM: aim:GoIM?screenname=61287803 BRAZIL GMT−3 MSN: msnim:chat?contact=lean...@dutra.fastmail.fm -- To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAFqwwS4Hit8-gao3G0cDh405C4BpeC8vJMyOHJhJkZ3ViHR=x...@mail.gmail.com
Pendrive montado automaticamente, porém como somente leitura no Debian Jessie
Caros, Estou me deparando com uma questão que está me atormentando. Tanto no trabalho quanto em casa, eu possuo um Debian Jessie com configurações idênticas. O problema é o seguinte: Sempre que eu espetava um pendrive, ele era reconhecido e montado automaticamente, porém acessível apenas ao root. Depois de pesquisar rapidamente, percebi que o meu arquivo /etc/fstab tinha a seguinte disposição quanto à dispositivos removíveis: daniel@debian:~$ cat /etc/fstab ... /dev/sdb1 /media/usb0 autorw,user,noauto 0 0 ... De acordo com a pesquisa que fiz, remover ou comentar esta linha, resolveria o problema. Com esta solução, deduzi que, ao espetar o pendrive, o sistema o reconhecia como /dev/sdb1, e já montava ele em /media/usb0, logicamente como root, afinal, é como são montados, teoricamente, todos os dispositivos listados em /etc/fstab. Após comentar a referida linha do arquivo /etc/fstab, espetei novamente o pendrive, e ele foi reconhecido, e montado automaticamente, porém desta vez montado em /media/daniel/7feabfb5-06d8-4e81-acf7-4bba82d02f8a onde este valor extenso corresponde ao UUID do pendrive. Desta vez, deduzi que quem gerenciou a montagem do pendrive foi o meu ambiente gráfico (XFCE). Entretanto, mesmo dessa forma, o pendrive é montado em leitura-escrita para o root, e somente leitura para os demais usuários. Eu gostaria de entender melhor essa situação, e a resolver, no sentido de poder espetar um determinado pendrive, e poder ter permissão de leitura-escrita nele a partir do meu usuário comum, independente de qual seja o pendrive. Outras informações: O pendrive em questão é um Emtec de 32GB, formatado em ext4 O ambiente gráfico - XFCE - já está devidamente configurado para montar automaticamente dispositivos removíveis. Realizei extensa pesquisa em buscadores, e diversos fóruns, mas os tópicos que encontrei a respeito do assunto são muito vagos e muitas vezes seus autores mal sabem como tratar de permissionamento básico de arquivos e diretórios, o que me leva a crer que nem sempre possuem a solução mais correta para este problema. Conto com o apoio dos caros colegas! Toda resposta, ajuda, dica, HOWTO, RTFM serão bem vindos! Abraços
Instalar Debian c/ W8 e UEFI
Saudações. Instalei pela primeira vez o Wheezy numa máquina com UEFI e W8. Ao ligar o W8 aparece o seguinte: Windows failed to start a recent hardware or software change might be the cause. Essa frase aparece se eu deixo o SETUP no Legacy, após selecionar o W8 pelo menu do GRUB. Se eu deixo o SETUP no UEFI, então o boot ocorre normal com W8 como se não houvesse GRUB e Debian. Não quero ter de recuperar/reinstalar nada. Não sei se o GRUB vai aceitar boot mexendo em mais algo ou eu preciso configurar o Debian prá dar boot através do loader do W8. Os links que encontrei de auxílio sugerem reformat ou estão fora do ar. Qual o melhor procedimento: boot pelo W8? algum ajuste no GRUB? alguma precaução de que me esqueci durante a instalação? Observei que existe um certo GRUB-EFI. Grato. -- To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/946725.3197...@smtp222.mail.gq1.yahoo.com
Re: Pendrive montado automaticamente, porém como somente leitura no Debian Jessie
On 08-07-2014 01:24, Shutdown -h now wrote: /dev/sdb1 /media/usb0 autorw,user,noauto 0 0 Seu pendrive não foi montado automaticamente pelo kernel, por causa da opção noauto do fstab. O pendrive em questão é um Emtec de 32GB, formatado em ext4 Ext4 utiliza permissões Linux, que levam em conta o UID do usuário. O provavelmente UID dono do sistema de arquivos é diferente do seu usuário. O usuário root pode ser o dono do sistema de arquivos ou então os usuários da casa e do trabalho tem UIDs diferentes. Qual a saída dos seguinte comandos? $ ls -ldn /media/PENDRIVE $ id USUARIO_TRABALHO $ id USUARIO_CASA
Re: Install both PHP53 and PHP54 with dotdeb on squeeze ?
Hi, I finally use phpfarm who are incredible for this need : - http://cweiske.de/tagebuch/Introducing%20phpfarm.htm - http://cweiske.de/tagebuch/Running%20Apache%20with%20a%20dozen%20PHP%20versions.htm Hope this help Greg -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53ba4123.8010...@gmail.com
Re: Advice needed re TV internet media machine.
On Monday 07 July 2014 00:50:04 Ric Moore wrote: On 07/06/2014 06:16 AM, Lisi Reisz wrote: I think that I have bitten off more than I can chew. I should stick to normal computers. I grock them. :-( Please forgive, but I have to ...it's grok :) Ric dons dunce's cap :-( Thanks, Ric. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/201407070758.50148.lisi.re...@gmail.com
Debian Wheezy additional IP through Gnome-network-manager
for some reason i need to assign an additional IP to My LAN. which i did from Gnome-network-manager but ipconfig doesn't show the new IP, i even server networking restart which didnt help. i dont want to restart my computer for this small task. i want this to be done with out restart. Please help me. Thanks. MYK
Re: Gratuitous reverse rabble rousing? (was Re: why do we use systemd?)
On Sat, Jul 5, 2014 at 11:42 AM, Steve Litt sl...@troubleshooters.com wrote: I think it's because they believe, rightly or wrongly, that you're the same person that came on here before with all sorts of anti-systemd yelling, not to express an opinion, but to start trouble. If their belief is wrong, you were treated unfairly. If their opinion is right, you're an utter piece of shit. I didn't assume that Balint was one of the people ranting earlier. Sending the same flame-bait email to two lists cannot but qualify as trolling. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOdo=SwxAxQgsPWxt_ov8BkSY6q0S=v1ywjdghe1lgmoouy...@mail.gmail.com
Re: I'm not a huge fan of systemd
On Sat, Jul 5, 2014 at 3:09 PM, Erwan David er...@rail.eu.org wrote: Le 05/07/2014 20:50, B a écrit : I just made a re-installation on my last laptop and it installed by itself when upgrading to sid. AFAICS, it is really fast; now, we'll see what problem will be raised in the future… (hoping it won't turn to a frigging mess). I see big problem with this method : it works for a personal standalone computer. It is catastrophic when you manage hundreds of servers and tightly integrated workstations. The people who dislike systemd should have a conference to decide on a common ground of criticism. You're saying that systemd's OK for workstations and not for servers and the links that Balint posted said that it's OK for servers but not for workstations. Perhaps it's good for both or bad for both! :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOdo=Sw5sjo9EaWnRYbxoimCZotWS0TkWci+Qo-E26Un+A3J=q...@mail.gmail.com
Re: building .debs with +b1 on the end
Hi On Mon, Jul 07, 2014 at 01:37:17AM -0400, Brian Sammon wrote: I want to re-build a package for personal use, and have a special version number for my custom build. Since I'm not planning on customizing the source or the debian control files, I think the ideal choice is to build a binary package with a suffix like +b1 or +local on the end. If you make no changes to the source, nor the debian control files, shouldn't you end up with the same package? Or perhaps, you want to backport a package? Or compile for some esoteric architecture? If so, there should be no need to change the version number - this would introduce unnecessary confusion... -- Karl E. Jorgensen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707084715.GA7545@hawking
Re: Clone GPT partition table - with Lenny ?
On Sun, Jul 6, 2014 at 3:54 PM, Ron Leach ronle...@tesco.net wrote: We have a RAID1 server running Lenny, one of whose two 2TB discs comprising the RAID arrays has failed. The discs were partitioned into 8 partitions during the Debian Lenny installation, and separate RAID1 arrays were built on 7 of those partitions, again during Debian installation. The Debian installer employed a GPT partition table for these discs; it also chose the (precise) partition boundaries. The machine is no longer an active server on our network; its role has been taken by a new-build Wheezy box. The end goal is to restore the RAID1 arrays, then update the properly configured machine to Wheezy. So I need to partition the new disk, and I'd like it to be an exact clone of the existing RAID1 member, so that each partition starts on the same sector, etc. I can then repair the arrays using mdadm. As far as I can see, there is no command in fdisk or parted that will clone the partition table for me. I can create a partition table on the new disk, but I will need to have the exact partition start and end points, to be sure of exactly matching the existing disc. Is there, in Lenny, a command or tool for cloning a GPT? Alternatively, how could I find the exact partition start points on the working disk, and sizes, etc, to help me partition the new disk? Use sgdisk to copy the disk layout to the new disk then add it to the raid and let mdraid do the mirror. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOdo=sxknvsemxpbyhr+7fag_zfz0eb7-vgknaarz-zmiya...@mail.gmail.com
Re: Clone GPT partition table - with Lenny ?
On Sun, Jul 6, 2014 at 5:49 PM, B lazyvi...@gmx.com wrote: Apparently, this is very easy: http://unix.stackexchange.com/questions/12986/how-to-copy-the-partition-layout-of-a-whole-disk-using-standard-tools You can't uses sfdisk with gpt disks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOdo=sz+f6gxp3dzdeo+dqge5lcu+4itrziocwogqcow1zg...@mail.gmail.com
Re: Clone GPT partition table - with Lenny ?
On Sun, Jul 6, 2014 at 5:53 PM, B lazyvi...@gmx.com wrote: Rahhh, read too fast, former was for non-GPT, here's one good pgm that does the trick (also exist as a pkg in trudububu): http://unix.stackexchange.com/questions/19047/how-can-i-quickly-copy-a-gpt-partition-scheme-from-one-hard-drive-to-another I answered your sfdisk email too quickly! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOdo=szw3oyj3vjwzsgmo61nkpzafotftb0v-athqti6mlq...@mail.gmail.com
Re: I'm not a huge fan of systemd
On Sat, Jul 5, 2014 at 3:59 PM, Sven Joachim svenj...@gmx.de wrote: On 2014-07-05 20:25 +0200, Steve Litt wrote: Then there was that upstart thing: a little more convoluted, but still somewhat conformant to the Unix Philosophy. Now comes systemd, which, from what I've heard, is a further step away from the Unix Philosophy, in that it is more monolithic and exerts more control and more continuous control over all programs, from what I understand. Systemd is anything but monolithic, it includes several dozen programs many of which are precisely doing one thing and doing it well. E.g. the common task of creating a directory/file/socket etc. under /tmp or /run is accomplished by systemd-tmpfiles, and packages can just drop a snippet in /usr/lib/tmpfiles.d do declare what they want. In the sysvinit world, every package who wants that needs an init script which contains the necessary mkdir/mkfifo/chown/chmod commands plus a lot of boilerplate. It's monolithis in that you can't pick and choose the systemd binaries that you want to use. For example, you can't use journald without systemd as pid 1 and since v205 you can't use logind without systemd as pid 1. I don't see systemd as the end of the world. *But*, I think a discussion of a plan B is very ontopic, because if the conversion to systemd turns out to be even 1/10 the fiasco that the kmail to kmail2 change was, we all need a systemd alternative, and a plan to make that switch. So far none of the systemd antagonists has been able to come up with a plan B, but time will tell. Because that would require work. There seems to be so much opposition to systemd that you'd expect that there'd be by now a standalone v208 (for example) logind but it's development's left to Ubuntu and I doubt that there's much of an incentive for the latter to continue since 14.04 will most likely stick to v204 and 14.10 is supposed to run via systemd (judging from Shuttleworth blogging that he wanted to move quickly to systemd and that v204 is already available in the 14.10 archives). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOdo=sxhw_87wy-lkt6u_akow7wega0pegxl85cm3d9uemw...@mail.gmail.com
Re: why do we use systemd?
On Sat, Jul 5, 2014 at 5:42 PM, Balint balint.s...@gmail.com wrote: On 05/07/2014 18:14, Tom H wrote: Why are you trolling both the Debian and Fedora lists with this nonsense simultaneously? because I use Debian and Fedora as well. Why are you doing so from a Windows system if you're such a Linux traditionalist? As I said, I'm not home and this box is not mine. Feel free to try to make me believe that Father Christmas and the Tooth Fairy are real... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOdo=sxgom5crslvol6sp8spzdjmxdwb7o+f9wa_brwebcf...@mail.gmail.com
Re: Debian Wheezy additional IP through Gnome-network-manager
On Mon, Jul 7, 2014 at 4:20 AM, Muhammad Yousuf Khan sir...@gmail.com wrote: for some reason i need to assign an additional IP to My LAN. which i did from Gnome-network-manager but ipconfig doesn't show the new IP, i even server networking restart which didnt help. i dont want to restart my computer for this small task. i want this to be done with out restart. I assume that you can't see the new ip address when you use ifconfig not ipconfig. Forget about ifconfig, use ip addr (or ip a). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOdo=symtj-ca624--vspmxuvkkxj8vsvm3sevqtyjm00zw...@mail.gmail.com
Re: I'm not a huge fan of systemd
On Sun, Jul 6, 2014 at 11:15 AM, The Wanderer wande...@fastmail.fm wrote: On 07/06/2014 09:54 AM, Martin Read wrote: On 06/07/14 00:10, The Wanderer wrote: Can you run logind without systemd or journald? If you have something else that provides the systemd interfaces logind depends on, you can run logind (and timedated, localed, and hostnamed) without using systemd as PID 1. This is what the systemd-shim project is intended to allow (but see below). So in other words, at least as far as the systemd project itself is concerned, you can't. (I'm assuming systemd-shim is not a product of the systemd project, since that project's developers seem entirely content with just the main implementation and it seems unlikely they would want to host two parallel implementations of the same interfaces in the same collection of projects.) Also, I wasn't talking about running logind without systemd as PID 1, although of course that's a major consideration; I was talking about running logind with systemd possibly not even present on the system at all. I.e., completely independent components, which may simply be able to interact with and enhance one another. Ubuntu 14.04 runs logind without systemd, installed or as pid 1. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOdo=Sw196Brtgx8J7HmW7vg4nf=cg+o+hnebk-toodcwud...@mail.gmail.com
Re: Multimedia player for video filte type qs
On 07/07/2014, Bob Proulx b...@proulx.com wrote: Bret Busby wrote: snip And, I have found that vlc (running on Debian 6), has a problem with some of the files, in that the output for some of the files, as with the output for mplayer, is choppy (if that is the correct term), meaning that it will play a little bit, then stop, then play a little bit more, a bit like the reproduction from the movie projectors from the days of the silent movies, when output was also, not flowing. Different players use different codec libraries. And in Debian things are more confused because of the fork between ffmpeg and libav. Debian chose the libav fork. In hindsight that was probably a bad choice and I think we would be better off with ffmpeg instead. In the end it means that every player is slightly different. It is all related to the file encoding. Some work great and others don't work so well. (shrug) Bob The interesting thing, is that movies, with the same resolution (720x576) and same frame rate (50fps) and with Slaughterhouse Five having audio sample rate 48kHz and bitrate 256kb/s, and Prisoners Of The Lost Universe having the same data, except with bitrate 160kb/s, play okay; flowingly, but a movie (and, it is not the only one) such as The Beguiled, with the same data as Slaughterhouse Five, plays in a choppy way. So, in vlc, the Tools - Codec Details for Streams 0 and 1 (Video and Audio), do not show a difference that easily shows to me, why the vlc is unable to play a movie such as The Beguiled, as flowingly as other movies such as Slaughterhouse Five. -- Bret Busby Armadale West Australia .. So once you do know what the question actually is, you'll know what the answer means. - Deep Thought, Chapter 28 of Book 1 of The Hitchhiker's Guide to the Galaxy: A Trilogy In Four Parts, written by Douglas Adams, published by Pan Books, 1992 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CACX6j8Pnm4NRyGf=m_eh51WtTW=e6mDLQqX3jF+H=tcs5tb...@mail.gmail.com
Re: Debian Wheezy additional IP through Gnome-network-manager
Thanks for the correction ifconfig Thanks for the tip TOM. instead of ip addr command is there anyway i can use network-manger and /etc/network/interfaces at the same time. actually what changes i made in network Manger does not reflect in interfaces file. both have their pros and cons so i do wana use both options. Thanks MYK On Mon, Jul 7, 2014 at 2:04 PM, Tom H tomh0...@gmail.com wrote: On Mon, Jul 7, 2014 at 4:20 AM, Muhammad Yousuf Khan sir...@gmail.com wrote: for some reason i need to assign an additional IP to My LAN. which i did from Gnome-network-manager but ipconfig doesn't show the new IP, i even server networking restart which didnt help. i dont want to restart my computer for this small task. i want this to be done with out restart. I assume that you can't see the new ip address when you use ifconfig not ipconfig. Forget about ifconfig, use ip addr (or ip a). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOdo=symtj-ca624--vspmxuvkkxj8vsvm3sevqtyjm00zw...@mail.gmail.com
Re: simple database solution without root access
On Mon, Jul 7, 2014 at 4:09 AM, Joe Pfeiffer pfeif...@cs.nmsu.edu wrote: My typical experience is that when people distinguish text vs binary files, they mean the whole file can reasonably be made sense of in a text editor (that's not a precise definition, of course, but I think it serves the purpose). When I open an SQLite database I have handy with emacs, it is rife with nulls and other non-printing characters. That's what i meant by text, yes. Perl::DBI + SQLite seems to be taking the lead. -- On the internet, nobody knows you're a dog. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CADqA9ub=vx9sjy61vdqtg-lhobw63tqld9t_mt4jwqmyzhk...@mail.gmail.com
Re: Debian Wheezy additional IP through Gnome-network-manager
On Mon, Jul 7, 2014 at 6:18 AM, Muhammad Yousuf Khan sir...@gmail.com wrote: On Mon, Jul 7, 2014 at 2:04 PM, Tom H tomh0...@gmail.com wrote: On Mon, Jul 7, 2014 at 4:20 AM, Muhammad Yousuf Khan sir...@gmail.com wrote: for some reason i need to assign an additional IP to My LAN. which i did from Gnome-network-manager but ipconfig doesn't show the new IP, i even server networking restart which didnt help. i dont want to restart my computer for this small task. i want this to be done with out restart. I assume that you can't see the new ip address when you use ifconfig not ipconfig. Forget about ifconfig, use ip addr (or ip a). Thanks for the correction ifconfig Thanks for the tip TOM. instead of ip addr command is there anyway i can use network-manger and /etc/network/interfaces at the same time. actually what changes i made in network Manger does not reflect in interfaces file. both have their pros and cons so i do wana use both options. You're welcome. I wasn't saying that you should use ip to set up an address but to check it. NM will use the ifupdown settings in /etc/network/interfaces to bring up and set up an interface (although I'm not sure that it'll know to assign two ip addresses to one interface that way) if you change managed=false to managed=true in the [ifupdown] section of /etc/NetworkManager/NetworkManager.conf. But NM won't change the settings in /etc/network/interfaces. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAOdo=SyNNFvZqFXg2fGUzMMY7DL1_Mm_KY5NDV=iucfcj2y...@mail.gmail.com
strangely odd
Hi list, on 2 machines (x86, stable sid), synaptic has a quick search text input zone; but on my laptop (x86_64 sid), it doesn't. Does anybody knows why and how to fix that ? -- An atheist is a man with no invisible means of support. signature.asc Description: PGP signature
Re: How to make preseed.cfg available in no-internet install?
On Sun 06 Jul 2014 at 20:19:27 -0400, Kynn Jones wrote: Your recipe worked like gangbusters. And it taught me a lot too. Thanks a lot! Splendid. Thank *you* for the testing and the feedback. Just to add a thing or two. You may decide to have a choice of ISOs; the ones with xfce, gnome, kde for example. So you copy those to the existing partition. Unfortunately this will not work because the focus of iso-scan (from its postinst) is on # iso-scan is divided in following stages: # 1 : get list of devices (no debconf question) # 2/3: select a device (or all detected ones) # 4/5: parse selected devices looking for Debian ISOs and let choose one The let choose one part cannot be preseeded and with the present setup the first ISO which is found will be used. Not to worry. Make another two partitions and put an ISO on each of them. Get the UUID's (UUID-2, UUID-3) of the new partitions and construct two more grub stanzas. They will only differ from the original one by having shared/enter_device=/dev/disk/UUID-2 and shared/enter_device=/dev/disk/UUID-3 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707115928.gf27...@copernicus.demon.co.uk
Re: strangely odd
On Mon, Jul 7, 2014 at 8:37 PM, B lazyvi...@gmx.com wrote: Hi list, on 2 machines (x86, stable sid), synaptic has a quick search text input zone; but on my laptop (x86_64 sid), it doesn't. Here, too, since I installed the 64 bit system about a year ago, both wheezy. Does anybody knows why and how to fix that ? I've looked around for a setting or option or customization, haven't found one yet. You can pop up a quicksearch mini-dialog easily, however. -- Joel Rees Be careful where you see conspiracy. Look first in your own heart. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/caar43ippnu+mmgkgwynyow2agffdhj7sg+g1ysazbb4cxr0...@mail.gmail.com
Re: simple database solution without root access
On Mon, Jul 7, 2014 at 7:54 PM, Nuno Magalhães nunomagalh...@eu.ipp.pt wrote: On Mon, Jul 7, 2014 at 4:09 AM, Joe Pfeiffer pfeif...@cs.nmsu.edu wrote: My typical experience is that when people distinguish text vs binary files, they mean the whole file can reasonably be made sense of in a text editor (that's not a precise definition, of course, but I think it serves the purpose). When I open an SQLite database I have handy with emacs, it is rife with nulls and other non-printing characters. That's what i meant by text, yes. Perl::DBI + SQLite seems to be taking the lead. Uhm, so, you mean, you can reasonably make sense of it with hexdump -C? (Or a custom hexdump that handles your brand of multi-byte characters, perhaps?) -- On the internet, nobody knows you're a dog. -- Joel Rees On the internet, nobody knows you're a human. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/caar43ioaehazyn-pksaaks5_yxr7k-2tznqnnvbdvfqfyeb...@mail.gmail.com
Re: strangely odd
On Mon, 7 Jul 2014 21:06:35 +0900 Joel Rees joel.r...@gmail.com wrote: Here, too, since I installed the 64 bit system about a year ago, both wheezy. Ah, so it is blasted :( Does anybody knows why and how to fix that ? I've looked around for a setting or option or customization, haven't found one yet. You can pop up a quicksearch mini-dialog easily, however. Yeah, but the quick search zone is more practical (beside, I could get a forefinger cramp;) Too bad, thanks. -- If life's a piece of shit, Calculus III is the spoon. signature.asc Description: PGP signature
Re: I'm not a huge fan of systemd
On Mon 07 Jul 2014 at 09:46:22 +0900, Joel Rees wrote: Doubting the veracity of information you are given is one of the responsibilities you accept when you start thinking for yourself. Thinking doesn't stop at doubting. Calling a peson's choice about how he spends his time dubious grounds is one of the principle tools of tyranny. Even parents trying to help children understand they are the root cause of their own problems should avoid using such arguments. The basis for the original doubt appeared to be the list of systemd's core components; the technical point that journald can be disabled was ignored. It was the reasoning I found dubious. Erwan David has my apologies if what was said came through as dictating how to spend his time. And your response is a prime example of the reason systemd advocates are seen as more than pushy. If giving a technical answer to a technical question (Can you run systemd without logind or journald?) is seen as advocacy we are in a bad way. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707121545.gg27...@copernicus.demon.co.uk
Re: Advice needed re TV internet media machine.
On Sun, Jul 6, 2014 at 7:51 PM, Lisi Reisz lisi.re...@gmail.com wrote: On Sunday 06 July 2014 11:27:25 Joe wrote: We started with keyboard and mouse with the Pi, and then found it was controllable by our TV remote control, through the HDMI connection. It Just Worked. Lucky you. Lisi Anyway, the point is, if you aren't ready to pop 800 pounds for an almost guaranteed solution, many of us would suggest playing around a bit more with your paperweight doorstop. A little creativity and patience might get it running for you. If not, at least you'd be getting ideas for other ways to use it. -- Joel Rees Be careful where you see conspiracy. Look first in your own heart. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAAr43iN_pxT=bafpean3aaafvfotsvmmr1tjovcsrmyaxkn...@mail.gmail.com
Re: simple database solution without root access
On Mon, Jul 7, 2014 at 1:12 PM, Joel Rees joel.r...@gmail.com wrote: On Mon, Jul 7, 2014 at 7:54 PM, Nuno Magalhães nunomagalh...@eu.ipp.pt wrote: On Mon, Jul 7, 2014 at 4:09 AM, Joe Pfeiffer pfeif...@cs.nmsu.edu wrote: My typical experience is that when people distinguish text vs binary files, they mean the whole file can reasonably be made sense of in a text editor (that's not a precise definition, of course, but I think it serves the purpose). When I open an SQLite database I have handy with emacs, it is rife with nulls and other non-printing characters. That's what i meant by text, yes. Perl::DBI + SQLite seems to be taking the lead. Uhm, so, you mean, you can reasonably make sense of it with hexdump -C? (Or a custom hexdump that handles your brand of multi-byte characters, perhaps?) If it's really that mission-critical to you, the quotation part i was referring to is this: On Mon, Jul 7, 2014 at 4:09 AM, Joe Pfeiffer pfeif...@cs.nmsu.edu wrote: My typical experience is that when people distinguish text vs binary files, they mean the whole file can reasonably be made sense of in a text editor (that's not a precise definition, of course, but I think it serves the purpose). Not this: When I open an SQLite database I have handy with emacs, it is rife with nulls and other non-printing characters. It was obvious - to me of course. My bad, i should've trimmed it. -- On the internet, nobody knows you're a dog. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/cadqa9uzhf_mf-dmdonsdhkqyql2hst3f27a5qrxl44d4x85...@mail.gmail.com
Re: strangely odd
Op Mon, 07 Jul 2014 14:22:55 +0200 schreef B lazyvi...@gmx.com: On Mon, 7 Jul 2014 21:06:35 +0900 Joel Rees joel.r...@gmail.com wrote: Here, too, since I installed the 64 bit system about a year ago, both wheezy. Ah, so it is blasted :( Does anybody knows why and how to fix that ? I've looked around for a setting or option or customization, haven't found one yet. You can pop up a quicksearch mini-dialog easily, however. Yeah, but the quick search zone is more practical (beside, I could get a forefinger cramp;) Too bad, thanks. install apt-xapian-index and the quick search will be back Success, floris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/op.ximpb9oi5k9...@alice.jkfloris.demon.nl
Re: strangely odd
On Mon, 07 Jul 2014 15:05:59 +0200 Floris jkflo...@dds.nl wrote: install apt-xapian-index and the quick search will be back Nope :( -- Nikos : if theree was alcooohlin whyskt we''d kownn signature.asc Description: PGP signature
Re: why do we use systemd?
On 7/7/2014 4:47 AM, Tom H wrote: On Sat, Jul 5, 2014 at 5:42 PM, Balint balint.s...@gmail.com wrote: On 05/07/2014 18:14, Tom H wrote: Why are you trolling both the Debian and Fedora lists with this nonsense simultaneously? because I use Debian and Fedora as well. Why are you doing so from a Windows system if you're such a Linux traditionalist? As I said, I'm not home and this box is not mine. Feel free to try to make me believe that Father Christmas and the Tooth Fairy are real... What's wrong with that? I also have to use Windows, even when I'm working on Linux device drivers (and have been for 20+ years). Sometimes you don't have a choice in the matter. Jerry -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53ba9a37.6030...@attglobal.net
Re: simple database solution without root access
On Mon, Jul 7, 2014 at 9:46 PM, Nuno Magalhães nunomagalh...@eu.ipp.pt wrote: On Mon, Jul 7, 2014 at 1:12 PM, Joel Rees joel.r...@gmail.com wrote: On Mon, Jul 7, 2014 at 7:54 PM, Nuno Magalhães nunomagalh...@eu.ipp.pt wrote: On Mon, Jul 7, 2014 at 4:09 AM, Joe Pfeiffer pfeif...@cs.nmsu.edu wrote: My typical experience is that when people distinguish text vs binary files, they mean the whole file can reasonably be made sense of in a text editor (that's not a precise definition, of course, but I think it serves the purpose). When I open an SQLite database I have handy with emacs, it is rife with nulls and other non-printing characters. That's what i meant by text, yes. Perl::DBI + SQLite seems to be taking the lead. Uhm, so, you mean, you can reasonably make sense of it with hexdump -C? (Or a custom hexdump that handles your brand of multi-byte characters, perhaps?) If it's really that mission-critical to you, [...] :) (Personally, anything I can read with my customized hexdump is close enough to text for me, but I really don't have an ore in this stream. Sorry. Glad you're finding a way forward with SQLite, even though the result won't be quite as directly amenable to awk.) -- Joel Rees Be careful where you see conspiracy. Look first in your own heart. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/caar43im6_wzjg8ebnqwt5wmhuasskub16219zunu26yovmx...@mail.gmail.com
Re: Multimedia player for video filte type qs
On 2014-07-07, Bret Busby bret.bu...@gmail.com wrote: So, in vlc, the Tools - Codec Details for Streams 0 and 1 (Video and Audio), do not show a difference that easily shows to me, why the vlc is unable to play a movie such as The Beguiled, as flowingly as other movies such as Slaughterhouse Five. Well a beguiling movie might delude the player somehow, whereas a movie based on a Vonnegut novel, especially one in which Valerie Perrine reveals her poitrine, might flow along just fine and dandy (seeing that vlc, I do believe, is primarily French development-wise, if you catch my drift). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/slrnlrl8h0.22f.cu...@einstein.electron.org
Re: I'm not a huge fan of systemd
On Mon, Jul 7, 2014 at 9:15 PM, Brian a...@cityscape.co.uk wrote: On Mon 07 Jul 2014 at 09:46:22 +0900, Joel Rees wrote: Doubting the veracity of information you are given is one of the responsibilities you accept when you start thinking for yourself. Thinking doesn't stop at doubting. But just because thinking continues long enough to see things one doesn't like in your brand of the next best thing since sliced bread, and stops before digging deep in, doesn't mean it isn't thinking. Calling a peson's choice about how he spends his time dubious grounds is one of the principle tools of tyranny. Even parents trying to help children understand they are the root cause of their own problems should avoid using such arguments. The basis for the original doubt appeared to be the list of systemd's core components; the technical point that journald can be disabled was ignored. It was the reasoning I found dubious. You had the time on similar dubious grounds to doubt the veracity of the information you were given. Erwan David has my apologies if what was said came through as dictating how to spend his time. You basically insulted anyone who dared to point out that many thinking, experienced engineers have said they would not have chosen the particular modularization that the systemd engineers have chosen. Yeah. Lists of components cannot be chosen arbitrarily. They reflect and expose the design. And your response is a prime example of the reason systemd advocates are seen as more than pushy. If giving a technical answer to a technical question (Can you run systemd without logind or journald?) is seen as advocacy we are in a bad way. Do you really think you answered his question? Even the part you quoted here? The way I saw this part of the conversation, there was concern expressed that logs would not exist for humans without being first passed off to a separate daemon. One that could not easily be replaced. And you said that, when that logging daemon was up and running in your configuration, the logs made it to the disk. And he said you had not addressed his concerns and then you insulted his lack of interest in your anecdotes. (Sorry to be doing the he-said, he-said with your words, Erwan.) So, your setup works for you. And therefore we should all quit complaining, ignore the concerns that experience has taught us, and just dig into your chosen brand of the next best thing since sliced bread. -- Joel Rees Be careful where you see conspiracy. Look first in your own heart. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/caar43imwefd1gcjxpdrtkxsym1wm6oyfsr_hn+nebll5yl1...@mail.gmail.com
Re: I'm not a huge fan of systemd
Le 05.07.2014 20:50, B a écrit : On Sat, 5 Jul 2014 14:25:57 -0400 Steve Litt sl...@troubleshooters.com wrote: My plan is to switch to systemd, see how I like it, and if I don't, install the old boot system, or if that can no longer be done, switch distros. I don't see systemd as the end of the world. *But*, I think a discussion of a plan B is very ontopic, because if the conversion to systemd turns out to be even 1/10 the fiasco that the kmail to kmail2 change was, we all need a systemd alternative, and a plan to make that switch. I just made a re-installation on my last laptop and it installed by itself when upgrading to sid. AFAICS, it is really fast; now, we'll see what problem will be raised in the future… (hoping it won't turn to a frigging mess). From what I know about systemd's behavior, and official documents I have read from it's authors, systemd was not meant to be faster to boot. Plus, systemd will only be faster to boot if your system is bloated, which is quite common for gnome/kde users. Let me explain that point. Systemd uses an on-demand strategy to boot services, so, something which is not needed will not be started at boot, only when it'll be needed by something. So, on a system like my personal desktops for which I try hard to keep them minimal but highly usable anyway, it's useless: only things I use are installed, and when I have some daemon that I know I use only rarely, I simply disable it: cups, graphical network manager (when I am in hotel them are useful, because I have no idea about how to configure a wlan when there is no wpa protection...) or even ssh or some ftp servers. Ok, now it should be clear why the faster boot is achievable on computers. Now, the question I would like to ask is: does not it feels like a false speed? We all know about the windows' DE which is unusable for a random period of time after login, won't systemd's on demand strategy expose people to the same issue? I think it might, but do not mind: it won't happen to me and people like me. Quite selfish, you'll think? Not really: I will be happy to teach other my way, which will probably make other's systems faster and better autonomy on batteries. Now, for servers, it have an interest. A server only boots once in a while, for example after a failure, or an upgrade. Systemd will probably reduce the out of order time of servers. If, of course, you have more than one service per server, but I do not feel like it is the common way nowadays: visualization thing sounds like encouraging to have one system per service, so the on-demand thing sounds useless for me there too. The true advantages I can see of systemd, because I think it have some even if I do not like various ideas behind it are: * easier to maintain configuration. Damn easier, I can say it, as a beginner in Linux systems (You probably know that here now, since I'm on this list since some times: I say lot of wrong things, but I always try --and hopefully often am-- to be helpful.) * dependency based (yes, I know that it is doable by other systems) * parallel startup (but, as for my opinion about minimal systems, I'm not sure it's really useful. Plus the fact it can also be done by scripts, but in a less readable way imho) My conclusion: the systemd approach have some interesting points, and is an alternative to classic systems, but I would be very sad if no proper alternative subsists. If there is really no alternative, I'll probably take the opportunity to switch on a different kernel, which does not support it and do not intend to. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/2cf72bae3b7231e8c40bc7bae12e8...@neutralite.org
Re: why do we use systemd?
On Mon, 07 Jul 2014 09:01:43 -0400 Jerry Stuckle jstuc...@attglobal.net wrote: What's wrong with that? I also have to use Windows, even when I'm working on Linux device drivers (and have been for 20+ years). Sometimes you don't have a choice in the matter. This is because you don't work hard enough *;-) -- The future isn't what it used to be. (It never was.) signature.asc Description: PGP signature
Re: strangely odd
On Mon, 07 Jul 2014 15:05:59 +0200 Floris jkflo...@dds.nl wrote: Mooo??? When I answered the first time, synaptic was closed and restarted without success. Now, an hour later, the quick search zone's here !? Thanks! -- Hamburg was fantastic. Between the whores and the groupies our dicks all just about dropped off. -- John Lennon, on the Beatles' early career in Germany signature.asc Description: PGP signature
Re: strangely odd
Op Mon, 07 Jul 2014 16:05:25 +0200 schreef B lazyvi...@gmx.com: On Mon, 07 Jul 2014 15:05:59 +0200 Floris jkflo...@dds.nl wrote: Mooo??? When I answered the first time, synaptic was closed and restarted without success. Now, an hour later, the quick search zone's here !? Thanks! apt-xapian-index runs update-apt-xapian-index as a cron job daily. Synaptic will also runs this command in the background to rebuild the database. You can also run it manually as root and see how long it takes. Especially when you rebuild the entire database instead of an update. floris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/op.ximsld2i5k9...@alice.jkfloris.demon.nl
Re: I'm not a huge fan of systemd
Le 07.07.2014 15:40, berenger.mo...@neutralite.org a écrit : Le 05.07.2014 20:50, B a écrit : On Sat, 5 Jul 2014 14:25:57 -0400 Steve Litt sl...@troubleshooters.com wrote: My plan is to switch to systemd, see how I like it, and if I don't, install the old boot system, or if that can no longer be done, switch distros. I don't see systemd as the end of the world. *But*, I think a discussion of a plan B is very ontopic, because if the conversion to systemd turns out to be even 1/10 the fiasco that the kmail to kmail2 change was, we all need a systemd alternative, and a plan to make that switch. I just made a re-installation on my last laptop and it installed by itself when upgrading to sid. AFAICS, it is really fast; now, we'll see what problem will be raised in the future… (hoping it won't turn to a frigging mess). From what I know about systemd's behavior, and official documents I have read from it's authors, systemd was not meant to be faster to boot. Plus, systemd will only be faster to boot if your system is bloated, which is quite common for gnome/kde users. Let me explain that point. Systemd uses an on-demand strategy to boot services, so, something which is not needed will not be started at boot, only when it'll be needed by something. So, on a system like my personal desktops for which I try hard to keep them minimal but highly usable anyway, it's useless: only things I use are installed, and when I have some daemon that I know I use only rarely, I simply disable it: cups, graphical network manager (when I am in hotel them are useful, because I have no idea about how to configure a wlan when there is no wpa protection...) or even ssh or some ftp servers. Ok, now it should be clear why the faster boot is achievable on computers. Now, the question I would like to ask is: does not it feels like a false speed? We all know about the windows' DE which is unusable for a random period of time after login, won't systemd's on demand strategy expose people to the same issue? I think it might, but do not mind: it won't happen to me and people like me. Quite selfish, you'll think? Not really: I will be happy to teach other my way, which will probably make other's systems faster and better autonomy on batteries. Now, for servers, it have an interest. A server only boots once in a while, for example after a failure, or an upgrade. Systemd will probably reduce the out of order time of servers. If, of course, you have more than one service per server, but I do not feel like it is the common way nowadays: visualization thing sounds like encouraging to have one system per service, so the on-demand thing sounds useless for me there too. The true advantages I can see of systemd, because I think it have some even if I do not like various ideas behind it are: * easier to maintain configuration. Damn easier, I can say it, as a beginner in Linux systems (You probably know that here now, since I'm on this list since some times: I say lot of wrong things, but I always try --and hopefully often am-- to be helpful.) * dependency based (yes, I know that it is doable by other systems) * parallel startup (but, as for my opinion about minimal systems, I'm not sure it's really useful. Plus the fact it can also be done by scripts, but in a less readable way imho) My conclusion: the systemd approach have some interesting points, and is an alternative to classic systems, but I would be very sad if no proper alternative subsists. If there is really no alternative, I'll probably take the opportunity to switch on a different kernel, which does not support it and do not intend to. I forgot that systemd is able to spy processes it starts, IIRC, to avoid tricks like the double fork, which means a better control on zombie processes. Don't know much about that, though. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/e280e61d5ad335fa346766970457b...@neutralite.org
Re: strangely odd
On Mon, 07 Jul 2014 16:16:15 +0200 Floris jkflo...@dds.nl wrote: apt-xapian-index runs update-apt-xapian-index as a cron job daily. Synaptic will also runs this command in the background to rebuild the database. You can also run it manually as root and see how long it takes. Especially when you rebuild the entire database instead of an update. That was my conclusion (~1H passed before re-opening), but I didn't launched anything manually (!). -- A real friend isn't someone you use once and then throw away. A real friend is someone you can use over and over again. signature.asc Description: PGP signature
Re: Is grub perfect? (was Re: Does LXDE really require lightdm?)
Le 30.06.2014 20:33, Ric Moore a écrit : On 06/30/2014 06:24 AM, berenger.mo...@neutralite.org wrote: Le 28.06.2014 05:14, slitt a écrit : On Sat, 28 Jun 2014 09:33:57 +0900 Joel Rees joel.r...@gmail.com wrote: On Sat, Jun 28, 2014 at 7:48 AM, [...] Grub is a *boot loader*. Lately (last few years), it seems to be trying to do a lot more. What do you expect it to do? Mind read? I'd almost say that's one of the things the devs are trying to make it do. I have a feeling that a lot of this thread got procmailed to my /dev/null, but for the person who asked what I wanted it to do, that's simple: Boot the damn computer with a menu to choose predefined kernel/initrd/disk combinations, and nothing else. And for gosh sakes, keep it in one file. If a config option is about pretty, leave that feature out. In other words, grub1. SteveT Otherwise, if you do not like grub, there are other boot loaders. LILO at least works fine, and seems to be ok for your requirements: a single easy text file as configuration. It's what I'm doing, excepted at work for 2 reasons: it does not seems to support the new crap named... how is it named? Secure boot? Something like that. The fun thing about that is that the grub installation did not allowed me to have a dual boot with the original windows, so I could be using LILO right now it would not change anything. The other reason is that I do prefer mainstream stuff on computers that I do not want to tinker. Never had any problem with LILO, but just in case... I installed grub-customizer from source and it works a charm, with grub2. Ric Oh, and (sorry for long time reply, I did not found lot of time to read my personal mails) there is another bootloader in the wild. Extlinux. I'm tinkering with it, since I want to build an external disk able to boot various live ISOs (tails and kali to name them) plus 3 distros (probably Debian for real uses, plus gentoo and a *BSD for experimenting). For now my disk was not bootable, but that's a story for another thread, in the case I won't be able to solve my issue myself. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/4ebd17ad78c9be7b9fd1a5be4a4a8...@neutralite.org
Re: strangely odd
Op Mon, 07 Jul 2014 16:21:30 +0200 schreef B lazyvi...@gmx.com: On Mon, 07 Jul 2014 16:16:15 +0200 Floris jkflo...@dds.nl wrote: apt-xapian-index runs update-apt-xapian-index as a cron job daily. Synaptic will also runs this command in the background to rebuild the database. You can also run it manually as root and see how long it takes. Especially when you rebuild the entire database instead of an update. That was my conclusion (~1H passed before re-opening), but I didn't launched anything manually (!). synaptic has launched it when you open it an hour ago. floris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/op.xims30s45k9...@alice.jkfloris.demon.nl
Re: strangely odd
On Mon, 07 Jul 2014 16:27:26 +0200 Floris jkflo...@dds.nl wrote: synaptic has launched it when you open it an hour ago. I should sleep more, that didn't came to my mind :( Thanks for your helpful answers. -- Melethon: not a bad picture… a real mermaid Paupau: you really think that :D you're so cute! Melethon: for sure, half-tuna half-human, this is quite unusual * Paupau is now offline signature.asc Description: PGP signature
Re: building .debs with +b1 on the end
Packages in the archive with a +bN version suffix, such as +b1, have been 'binNMUd': essentially rebuilt without any source changes because the environment has changed (such as a version bump of a library dependency). In your case it would be worthwhile documenting the fact your package differs from the archive anyway; so I'd recommend just adding a new changelog stanza with an NMU version number. If you have devscripts installed, 'dch -n' will insert the correct stanza for you. -- Jonathan Dowland -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707145522.ga4...@bryant.redmars.org
Re: Learning package building - tutorial issue
On Mon, Jul 07, 2014 at 03:12:28PM +1200, Chris Bannister wrote: On Sun, Jul 06, 2014 at 09:58:14PM +0200, Linux-Fan wrote: I found a much simpler solution: Your `debian/compat` file is called `debian/compact` (with an additional ``c''). Just rename it to `compat` (without the second ``c'') and the problem fixes itself. So the makefile was OK after all? Yes. A long time ago, debian packages would have their file trees constructed at debian/tmp, prior to being tarred up for inclusion in the binary .deb. This wasn't great for source packages which built multiple binary packages, so now the helper tools use debian/binarypackagename. The compat file determines what behaviour level debhelper(1) uses (the most prominent debian build helper tool). Without it being present, debhelper reverts to an old compatibility version. These sort of questions are best asked on the Debian Mentors mailing list debian-ment...@lists.debian.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707150123.gb4...@bryant.redmars.org
exim4 with spamassassin ... confused
After digging around in several wiki pages and other google hits on 'debian exim4 spamassassin' I'm thoroughly confused by now. One of the sources: https://wiki.debian.org/Exim#Spam_scanning Under the `Spam scanning' header it tells me exim has a default configuration for spamassassin (-ed HP included with exim4-daemon-heavy) I have the `heavy' version installed and working so far as sending mail. So, if exim4 has a default config for SA does that mean I need not edit anything? well apparently not The cited page goes on after saying the config is default, to tell me what edits to make. From there it starts getting into what seems to be some really complex settings. ... is all that necessary... given the config is default? --- --- ---=--- --- --- Here is another example of the googled material: http://www.maretmanu.org/homepage/inform/exim-spam.php#spam Down at the bottom of page is has an example called: `All in one' Is that intended to replace my current /etc/exim4/exim4.conf.template? It does not really say. --- --- ---=--- --- --- Any pointers to a basic SA/exim4 setup that leaves less to guess at would be really appreciated. I am not an exim4 or SA adept and don't have a keen desire to become so just to get a working setup that at least puts something into incoming messages showing a spam analysis. Any known working examples would be greatly useful. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87y4w58alg@reader.local.lan
Re: simple database solution without root access
On Sun, 6 Jul 2014 21:05:10 -0600 Joe Pfeiffer jos...@pfeifferfamily.net wrote: My typical experience is that when people distinguish text vs binary files, they mean the whole file can reasonably be made sense of in a text editor (that's not a precise definition, of course, but I think it serves the purpose). When I open an SQLite database I have handy with emacs, it is rife with nulls and other non-printing characters. Similarly, when I try to run 'less' on it, the response is babs:506$ less house.db house.db may be a binary file. See it anyway? Arguably, as people typically use the distinction, it's not a text file. Yes, I can extract the text fields, as human-readable ASCII, but that does not make it a text file. I've always thought that's *exactly* what makes it a text file. If every character's ascii value is between 32 and 126, along with CarriageReturn and Linefeed, it's a text file, regardless of how readable it is, because it's a whole lot more readable than stuff with the upper 129 chars and the miscellaneous control characters (Bell, pagefeed, etc). Now being a text file doesn't guarantee reasonable readability or parsability, as anyone who's looked at M$ XML or ODF can attest. But with a text file, at least you've got a fighting chance to reverse engineer it. Now that we have UDF-8, my definition is no longer valid, but if you've worked a lot with ascii, you kind of know what I mean. Okay, thinking about it a bit, the lack of delimiters, and the puzzling nature of binary zero when trying to read it as text, might be what Nuno was referring to. Comma delimited files provide visible, understandable delimiters, And what just about anybody else would mean by a text file, as well. Oh, and the INTEGER PRIMARY KEY is never readable as TEXT. I think the requirement is that the primary key is meaningless. Whether it's an integer or a string is an implementation detail, I believe. And of course, people violate the requirement all the time: How many use social security number as the primary key (what could *possibly* go wrong?). For some people seeking to keep data in text format, that might disqualify SQLite. Apparently not the OP? My impression (I'd have to go back and recheck) is that it disqualified it for the OP, as well. I don't remember all the OP's requirements, but there's an excellent database with the unfortunate name NoSQL, available at http://www.strozzi.it/cgi-bin/CSA/tw7/I/en_US/NoSQL/Home%20Page This database was called NoSQL long before the word NoSQL was a buzzword adjective. Basically, what it does is map storage and retrieval commands to sets of Unix directories and commands like cut, sort, grep, awk and the like. NoSQL tables are trivial to read with the naked eye, but it gives you Unix-command based readers to put headers and column spacers and the like. It's pretty cool, and it's surprisingly fast. So SQL isn't a requirement, this can be an excellent choice. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707114532.7d9a9...@mydesq2.domain.cxm
Re: Deluge disappears
Le 02.07.2014 14:57, criego duncan a écrit : I'm running debian testing and keep it pretty up-to-date. I did 'aptitude update' then 'aptitude dist-upgrade' both yesterday and the day before. Last night i noticed that deluge was completely gone from my system. I never intentially uninstalled it. So i looked through the dpkg aptitude logs in /var/log and the string deluge does not appear in any of these files. The one unusual thing is that the day before yesterday i deleted everything that had to do with enlightenment (e17), which i had been using and installed openbox lxpanel. This seems totally bizarre to me. All the deluge packages i had installed (i was running the classic interface) were gone. I reinstalled and so now they're back, but my configuration is not being picked up because it no longer recognizes any torrents as being present. How could several packages disappear from my system (a) without my explicitly doing it (deluge deluge-gtk would not be automatically removed due to dependencies because they're not dependent on anything) and (b) with no trace of this happening in /var/log/aptitude* /var/log/dpkg* ??? There was a thread recently about removal of packages when using aptitude's update commands. Did you verify when you did that update the list of packages which were planned to be added, removed and updated? Aptitude may have warned you about this, since deluge may have been installed as a dependency of another package (a DE meta-package for example). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/95886ab417ad055f3353280b87241...@neutralite.org
Re: I'm not a huge fan of systemd
On Sun 06 Jul 2014 at 19:01:38 +0100, Brian wrote: You had the time on similar dubious grounds to doubt the veracity of the information you were given. It is possible the last mail did not fully or clearly address your major concern. With systemd-journald running or not running ('systemctl mask systemd-journald') 'ps ax' shows /usr/sbin/rsyslogd listening. Messages are logged to the usual places in /var/log. You can be confident that the information you already had about binary logs with journald was not false. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707165324.gh27...@copernicus.demon.co.uk
Re: simple database solution without root access
Ahoj, Dňa Mon, 7 Jul 2014 11:45:32 -0400 Steve Litt sl...@troubleshooters.com napísal: On Sun, 6 Jul 2014 21:05:10 -0600 Joe Pfeiffer jos...@pfeifferfamily.net wrote: I've always thought that's *exactly* what makes it a text file. If every character's ascii value is between 32 and 126, along with CarriageReturn and Linefeed, it's a text file, regardless of how readable it is, because it's a whole lot more readable than stuff with the upper 129 chars and the miscellaneous control characters (Bell, pagefeed, etc). Now being a text file doesn't guarantee reasonable readability or parsability, as anyone who's looked at M$ XML or ODF can attest. But with a text file, at least you've got a fighting chance to reverse engineer it. Your text file is not able to contain text in languages, which have more than 26 letters, then it is not a text file. My language, for example, has 43 letters... Pure ASCII is very old definition, which was enhanced by ISO-8859-X (more than 15 years ago) to respect other languages, and these are deprecated now by the UTF-X (Unicode). Despite that in this ML we are writing in English, it is a international ML, then please, do not think in English only, but think internationally, when you are trying to generalize. BTW, one from my first big computer things, was learn my old 8 bit computer to write in the (something as equivalent of current) Latin2 and Cyrillic, cca 25 years ago. regards -- Slavko http://slavino.sk signature.asc Description: PGP signature
Re: IEEE 802.11-USB adapters with RTL8187L
From: Andrew M.A. Cater amaca...@galactic.demon.co.uk Date: Thu, 12 Jun 2014 17:06:51 + It doesn't _have_ to be metallic - a small dish shaped thing in any material that isn't actually RF lossy may show some focussing effect. It also doesn't have to be solid - for some RF frequencies, chicken wire with big air holes in it will also work correctly. Two biscuit tin lids will make a good enough corner reflector. Thanks. From: B lazyvi...@gmx.com Date: Thu, 12 Jun 2014 19:28:37 +0200 ... check your local regulations for EIRP max power, as 1.5W is way beyond most of countries legislations (ie: UE has an EIRP of 100mW). The relevant limit in Canada and the USA appears to be 1 W. http://www.bcwireless.net/moin.cgi/Regulatory#Using_the_Unlicensed_2.4GHz_radio_spectrum http://www.ic.gc.ca/eic/site/smt-gst.nsf/eng/sf01320.html http://www.afar.net/tutorials/fcc-rules/ (For both Debian and Windows!) A laptop marketed in Canada or the USA might be illegal for use in Europe, even if Debian is replaced with LiMux? http://en.wikipedia.org/wiki/LiMux Power density should be more pertinent to interference than total radiated power. Location should also be pertinent. In an urban location, the neighbour can be a few m away whereas in a rural location the neighbour can be half a km away. But reference to density and location might introduce unaccepable complexity. Thanks for the replies, ... Peter E. -- 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12 Tel +1 360 639 0202 http://carnot.yi.org/ Bcc: peter at easthope. ca -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/E1X4AA1-0002Yy-I8@dalton.invalid
Re: I'm not a huge fan of systemd
On Mon 07 Jul 2014 at 17:53:24 +0100, Brian wrote: With systemd-journald running or not running ('systemctl mask systemd-journald') 'ps ax' shows /usr/sbin/rsyslogd listening. Messages are logged to the usual places in /var/log. You can be confident that the information you already had about binary logs with journald was not false. And if this reassurance is not convincing there is https://lists.debian.org/debian-devel/2014/02/msg00772.html With my rsyslog (and systemd maintainer) hat on, let me add a few remarks here: We still do install rsyslog by default and will continue to do so for the forseeable future (for reasons like the one you mentioned). So your text-based logs won't be gone with the switch to systemd. Let me repeat that: Jessie will have text-based logs, nothing in that regard changes. Actually it does: systemd can feed additional information into syslog (e.g. from daemons stdout/stderr), so you'll get a syslog with more complete information when running under systemd. As for journald, we currently don't enable persistent logging in journald (persistent logging can be done by creating a folder /var/log/journal with the appropriate permissions). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707181026.gi27...@copernicus.demon.co.uk
Re: apt-get update: unnecessary use of disk space
On Du, 06 iul 14, 23:30:28, Bob Proulx wrote: Andrei POPESCU wrote: Bob Proulx wrote: Of course now with SSDs that standard thinking needs to be thought out again. I haven't seen any benchmark data for full SSDs. I imagine that it will have much flatter performance curves up to very full on an SSD. It would super awesome if someone has already done this performance benchmarking and would post a link to it so that we could all learn from it. As far as I understand SSDs can drop performance significantly when full, but for entirely different reasons. Probably a good start would be this Wikipedia article: https://en.wikipedia.org/wiki/Write_amplification , especially the section on over-provisioning. Over-provisioning is the reserved space that the vendor keeps to so that the physical layer of the storage device never actually becomes very full. The more the vendor does over-provisioning the less full the drive can get. Even if the logical layer appears full. The drive needs big blocks of free space in order to be able to operate since it will erase in large blocks. And of course that reduces the impact of not using trim. This is why I don't think an SSD would degrade in performance very much at all when the logical layer of the file system is very full. Well, my point was that the reserved blocks would be useful for SSDs as well, even if for entirely different reasons ;) Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature
Re: building .debs with +b1 on the end
On Mon, 7 Jul 2014 15:55:22 +0100 Jonathan Dowland j...@debian.org wrote: Packages in the archive with a +bN version suffix, such as +b1, have be 'binNMUd': essentially rebuilt without any source changes because the environment has changed (such as a version bump of a library dependency). Ah! Thank you! binNMU is the magic word. Found the following in google: https://wiki.debian.org/binNMU http://manpages.ubuntu.com/manpages/precise/man1/sbuild.1.html So I would have to install/learn sbuild. In your case it would be worthwhile documenting the fact your package diffe from the archive anyway; so I'd recommend just adding a new changelog stanz I was wrong, it turns out that binNMUs _do_ (usually) add a changelog entry, but it's a sort of ephemeral entry (e.g. the changelog entry for 2.12-1+b2 won't show in the changelog for 2.12-2 because it doesn't go into the source package) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707145140.2989d838.debian-users-l...@brisammon.fastmail.fm
Re: building .debs with +b1 on the end
On 2014-07-07 20:51 +0200, Brian Sammon wrote: On Mon, 7 Jul 2014 15:55:22 +0100 Jonathan Dowland j...@debian.org wrote: Packages in the archive with a +bN version suffix, such as +b1, have be 'binNMUd': essentially rebuilt without any source changes because the environment has changed (such as a version bump of a library dependency). Ah! Thank you! binNMU is the magic word. Found the following in google: https://wiki.debian.org/binNMU http://manpages.ubuntu.com/manpages/precise/man1/sbuild.1.html So I would have to install/learn sbuild. If you just want to rebuild packages locally, this is not really necessary. In your case it would be worthwhile documenting the fact your package diffe from the archive anyway; so I'd recommend just adding a new changelog stanz I was wrong, it turns out that binNMUs _do_ (usually) add a changelog entry, but it's a sort of ephemeral entry (e.g. the changelog entry for 2.12-1+b2 won't show in the changelog for 2.12-2 because it doesn't go into the source package) Right, the entry only ends up in the binary packages and you can see it in /usr/share/doc/package, but packages.debian.org uses debian/changelog from the source package, so you won't find it there. Why do you want to rebuild the packages in the first place, and do you want your local packages to be replaced by newer versions in the archive? Cheers, Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/87zjgl0yxb@turtle.gmx.de
Re: I'm not a huge fan of systemd
On Sb, 05 iul 14, 14:25:57, Steve Litt wrote: First things first: I'm Steve Litt, using the same email address I've used since 1996. You may or may not believe me a troll, but you have to admit I'm not some guy coming around yet again with new email address, trying to fool everybody. ... conformant to the Unix Philosophy. Now comes systemd, which, from what I've heard, is a further step away from the Unix Philosophy, in that it ^ is more monolithic and exerts more control and more continuous control over all programs, from what I understand. And most un-Unix of all, from what I understand it has binary log files. ^^ In other words, from what I hear about systemd, it would be more ^^^ It looks to me like the main goals are to boot faster, and to tie You say you don't want to troll, yet you make a lot of claims based, as you yourself admit, on hearsay. My plan is to switch to systemd, see how I like it, and if I don't, install the old boot system, or if that can no longer be done, switch distros. I don't see systemd as the end of the world. *But*, I think a discussion of a plan B is very ontopic, because if the conversion to systemd turns out to be even 1/10 the fiasco that the kmail to kmail2 change was, we all need a systemd alternative, and a plan to make that switch. Change is difficult and there will be problems. On the other hand systemd is used by a lot of distros already and the alternatives either bitrot (sysv-init) or aren't really viable (OpenRC, etc.). Usually I'm not going with the crowd in my choices, but so far systemd has worked fine for me (according to my git log I made the switch last December) and I have no reason to even look at the alternatives. Kind regards, Andrei (currently involved in another major transition at work and eagerly waiting for it) -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature
Re: building .debs with +b1 on the end
On Mon, Jul 07, 2014 at 02:51:40PM -0400, Brian Sammon wrote: So I would have to install/learn sbuild. sbuild can be used to do it, but you don't need sbuild. I think dpkg-buildpackage would be sufficient, but you'd ideally do it in a chroot of some sort, which sbuild manages. Another tool to do similar is pbuilder. I was wrong, it turns out that binNMUs _do_ (usually) add a changelog entry, but it's a sort of ephemeral entry (e.g. the changelog entry for 2.12-1+b2 won't show in the changelog for 2.12-2 because it doesn't go into the source package) You're right: but not only will that entry not be in 2.12-2, it won't be in 2.12-3 either; it also doesn't show up on (e.g.) packages.debian.org (which shows the changelog from the source package, not binary packages). So there are few places it *does* show up. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707193906.ga11...@bryant.redmars.org
Re: I'm not a huge fan of systemd
[Please mind I'm not an expert on this stuff and I had a beer. Please do correct any factual mistakes I might have made] On Lu, 07 iul 14, 15:40:35, berenger.mo...@neutralite.org wrote: From what I know about systemd's behavior, and official documents I have read from it's authors, systemd was not meant to be faster to boot. Plus, systemd will only be faster to boot if your system is bloated, which is quite common for gnome/kde users. Let me explain that point. Systemd uses an on-demand strategy to boot services, so, something which is not needed will not be started at boot, only when it'll be needed by something. So, on a system like my personal desktops for which I try hard to keep them minimal but highly usable anyway, it's useless: only things I use are installed, and when I have some daemon that I know I use only rarely, I simply disable it: cups, graphical network manager (when I am in hotel them are useful, because I have no idea about how to configure a wlan when there is no wpa protection...) or even ssh or some ftp servers. Ok, now it should be clear why the faster boot is achievable on computers. Now, the question I would like to ask is: does not it feels like a false speed? We all know about the windows' DE which is unusable for a random period of time after login, won't systemd's on demand strategy expose people to the same issue? I think it might, but do not mind: it won't happen to me and people like me. Quite selfish, you'll think? Not really: I will be happy to teach other my way, which will probably make other's systems faster and better autonomy on batteries. I think you're missing something. Assume you have a service foo depending on service bar, where bar listens on some port for requests from foo (these may be for a desktop or a server, doesn't really matter). 1. sysv-init + sysv-rc + static, sequential ordering (pre-insserv): a) order foo after bar b) hope bar starts fast enough so that foo doesn't do strange things, or crash or whatever, insert a big enough 'sleep' in the initscript of foo if it doesn't 2. sysv-init + sysv-rc + dynamic, dependency based ordering and parallel boot (insserv): a) dependency is encoded in the initscript header (Debian specific) b) same as 1a. 3. systemd with socet activation a) dependency is encoded in the unit file (mostly reusable across distros) b) systemd creates the listening socket used by bar and will start it as soon as foo starts sending requests 3a usually does bring speed improvements (test for yourself), but the main benefit is that foo can rely on the *fact* that the socket is available for use (systemd will takes care of that, assuming unit files are correct), no need for arbitrary delays that may or may not work on a specific setup for various reasons. To prove my point (on a laptop with LXDE and just a few services): $ grep sleep /etc/init.d/* | wc -l 27 $ ls /etc/init.d/* | wc -l 75 (that's more than a third of the initscripts) Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature
Re: I'm not a huge fan of systemd
On Mon, 7 Jul 2014 22:03:53 +0300 Andrei POPESCU andreimpope...@gmail.com wrote: On Sb, 05 iul 14, 14:25:57, Steve Litt wrote: First things first: I'm Steve Litt, using the same email address I've used since 1996. You may or may not believe me a troll, but you have to admit I'm not some guy coming around yet again with new email address, trying to fool everybody. ... conformant to the Unix Philosophy. Now comes systemd, which, from what I've heard, is a further step away from the Unix Philosophy, in that it ^ is more monolithic and exerts more control and more continuous control over all programs, from what I understand. And most un-Unix of all, from what I understand it has binary log files. ^^ In other words, from what I hear about systemd, it would be more ^^^ It looks to me like the main goals are to boot faster, and to tie You say you don't want to troll, yet you make a lot of claims based, as you yourself admit, on hearsay. My plan is to switch to systemd, see how I like it, and if I don't, install the old boot system, or if that can no longer be done, switch distros. I don't see systemd as the end of the world. *But*, I think a discussion of a plan B is very ontopic, because if the conversion to systemd turns out to be even 1/10 the fiasco that the kmail to kmail2 change was, we all need a systemd alternative, and a plan to make that switch. Change is difficult and there will be problems. On the other hand systemd is used by a lot of distros already and the alternatives either bitrot (sysv-init) or aren't really viable (OpenRC, etc.). Usually I'm not going with the crowd in my choices, but so far systemd has worked fine for me (according to my git log I made the switch last December) and I have no reason to even look at the alternatives. Kind regards, Andrei (currently involved in another major transition at work and eagerly waiting for it) -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt Why do you think that OpenRC isn't viable alternative? AFAIK on Gentoo it works quite well. I'm currently playing with it on Debian and i haven't had any problems so far. Best regards, Miroslav Hrabal -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707213354.87cac140ae7cb6420879a...@gmail.com
Re: I'm not a huge fan of systemd
Am 07.07.2014 21:29, schrieb Andrei POPESCU: To prove my point (on a laptop with LXDE and just a few services): $ grep sleep /etc/init.d/* | wc -l 27 $ ls /etc/init.d/* | wc -l 75 Yup, the boot speed improvements come from doing things correctly and event based. Socket activation doesn't necessarily mean things are delayed but simply that explicit orderings are unnecessary. The numbers you have posted are depressing, but doing that over the complete archive is even more so. The last time I did an archive wide check on this was early 2014, at that time we had 1235 SysV init scripts and 1124 occurences of sleep. Yikes. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Re: I'm not a huge fan of systemd
On Du, 06 iul 14, 11:15:14, The Wanderer wrote: (As far as I can tell, logind itself exists only as the binary 'systemd-logind', which is packaged as part of the systemd package rather than in its own logind or systemd-logind package. The same sort of thing appears to be true of journald, hostnamed, localed, shutdownd, and timedated, the latter four of which I hadn't even heard of. That's another aspect of the can't get one without the others factor which is what leads people to describe systemd as monolithic.) Please... $ dpkg-query --show --showformat='${Installed-Size}\n' coreutils 13001 $ dpkg -L coreutils | grep -c /bin/ 102 $ dpkg-query --show --showformat='${Installed-Size}\n' systemd 5121 $ dpkg -L systemd | grep -c /lib/systemd/systemd 29 Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature
Re: IEEE 802.11-USB adapters with RTL8187L
pe...@easthope.ca wrote: According to https://wiki.debian.org/rtl818x these inexpensive adapters should work for Wheezy and later. http://www.ebay.ca/itm/171177227057 ... And an incidental question: has anyone examined an adapter with a dish antenna such as the first on the list above. Without a metalic surface the dish can have little effect. It is a decoy. There's a metal layer under the plastic? I have no first hand experience with that model but I believe it to be a purely cosmetic piece of plastic designed to *look* like a satellite receiver and therefore appeal to the non-technical masses. I don't see how it can be functional. I think it looks very silly. http://www.ebay.ca/itm/161013787436 I have one of the WiFi SKY USB adapters and while it works it hasn't been a very good unit for me. This is very subjective. It has not Access Point capability so that was one mark against it. Mine doesn't want to stay connected 24x7 in client mode. I won't be buying another one. YMMV. http://www.ebay.ca/itm/151155525479 I have no experience with this brand. Of the three you proposed this one seems like the one I would try. But for me the logic is the logic of the Monty Hall problem of three doors. You pick one. Monty reveals the other one that contains the goat. Do you then want to stick with your original choice or switch to the other still unknown door? Statistically you should switch! For me since the WiFi Sky isn't a good model and the cosmetic plastic is silly I would therefore try this one. It doesn't mean that it is good though. For me it is still unknown. But perhaps better than the other two. Or try one of the Blueway models. Probably the same though. Does anyone have an advice or warning before I invest a little time and money? I have had good luck with the Blueway USB WiFi devices. I have a couple of different models and they have all worked well for me. I am using half of them in Access Point mode in a point-to-point configuration. I have two of them in use as general purpose access points. https://duckduckgo.com/?q=blueway+usb+wifi+site%3Aebay.com I worry about endorsing any particular brand or model though. Vendors change the internals of the products very quickly. In other things I have had two devices that looked very similar but were completely different inside with one working perfectly and the other being impossible to use. Sorry. Best I can say is about the ones I have in my hand. And I am not so sure about those! :-) For a general purpose Access Point I recommend getting one of the dual antenna models. (For point-to-point just a single antenna is best.) The relevant limit in Canada and the USA appears to be 1 W. http://www.bcwireless.net/moin.cgi/Regulatory#Using_the_Unlicensed_2.4GHz_radio_spectrum http://www.ic.gc.ca/eic/site/smt-gst.nsf/eng/sf01320.html http://www.afar.net/tutorials/fcc-rules/ (For both Debian and Windows!) You didn't say how you were using those devices. Use makes a difference in what power is legal. If you are feeding a directional antenna in a point-to-point link then it is less than 1 watt at the antenna according to the antenna gain. But if there is a lossy feedline then you may need to produce more than 1 watt in order to get up to the legal limit. Basically if you start to mix and match any components (transmitter, feedline, antenna) then you are required to know what you are doing. Let me mention the crda package. It isn't installed by default but contains the regulatory information for specific regions. Without it everything will default to a reasonable global value. But with crda installed your specific region may allow more or less power. Power density should be more pertinent to interference than total radiated power. Location should also be pertinent. In an urban location, the neighbour can be a few m away whereas in a rural location the neighbour can be half a km away. But reference to density and location might introduce unaccepable complexity. Agreed. In the US depending upon what you are doing (for example a commercial installation) you may be required to hold an FCC General Operators license. Just so that you can be held to the higher standard of knowing these things. :-) Bob cul es 73 de kf0uw signature.asc Description: Digital signature
Re: I'm not a huge fan of systemd
On Mon, 07 Jul 2014 16:03:31 +0200 berenger.mo...@neutralite.org wrote: I forgot that systemd is able to spy processes it starts, IIRC, to avoid tricks like the double fork, which means a better control on zombie processes. Don't know much about that, though. Dam, dude, doublefork is how my Umenu hierarchical menu works. If that breaks, a program I've used since 1998 goes down the toilet. Let me ask you this: If doublefork is banned, how does one keep working with the child program when the parent is terminated, without using that stupid nohup command that continually grows its own, huge and insecure nohup.out files, in whatever its current directory happens to be? I certainly hope that systemd isn't cancelling a design pattern used since the dawn of time. SteveT Steve Litt* http://www.troubleshooters.com/ Troubleshooting Training * Human Performance -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140707161425.548dd...@mydesq2.domain.cxm
Re: I'm not a huge fan of systemd
On Lu, 07 iul 14, 21:33:54, Miroslav Hrabal wrote: Why do you think that OpenRC isn't viable alternative? AFAIK on Gentoo it works quite well. I'm currently playing with it on Debian and i haven't had any problems so far. Because the two major DEs (KDE and Gnome) depend on functionality not provided by OpenRC. It's possible that even the smaller ones will have to start using systemd-logind as well, sooner rather than later, just to be able to provide basic functions like reboot, shutdown, auto mounting, etc. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt signature.asc Description: Digital signature
Re: Time synchronization problem
Erwan David wrote: Roman Gelfand a écrit : I have just installed ntpd using apt-get. It appears that after sync the time is 22 minutes ahead of the true time. when I do ntpq -p, I get remote refid st t when poll reach delay offset jitter == time3.chpc.utah .INIT. 16 -- 6400.0000.000 0.000 vps3.cobryce.co .INIT. 16 -- 6400.0000.000 0.000 142.54.181.202 .INIT. 16 -- 6400.0000.000 0.000 propjet.latt.ne .INIT. 16 -- 6400.0000.000 0.000 Any help is appreciated. It seems you cannot reach any ntp server. Are you sure your provider does not filter the protocol ? To expand a little... Since we haven't heard a response. The .INIT. means that your local ntpd is in the init state trying to make the first connection to the upstream time servers. It has never been able to contact them. That is why all of the later numbers are all zeros. The st stratum level is maxed at 16. They are being polled at the minimum time of every 64 seconds. The reach field indicates they have never been reached. Network connectivity appears to be a problem for your system. Bob signature.asc Description: Digital signature
Re: I'm not a huge fan of systemd
On Monday, July 07, 2014 03:49:52 PM Michael Biebl wrote: Am 07.07.2014 21:29, schrieb Andrei POPESCU: To prove my point (on a laptop with LXDE and just a few services): $ grep sleep /etc/init.d/* | wc -l 27 $ ls /etc/init.d/* | wc -l 75 Yup, the boot speed improvements come from doing things correctly and event based. Socket activation doesn't necessarily mean things are delayed but simply that explicit orderings are unnecessary. The numbers you have posted are depressing, but doing that over the complete archive is even more so. The last time I did an archive wide check on this was early 2014, at that time we had 1235 SysV init scripts and 1124 occurences of sleep. Whatever happened to semaphores (flags)? Seems to me that if a daemon is a dependency, the second-last startup thing it should do is connect to itself (since it may well be asynchronous); on success, it should run a flag up the pole (touch a file somewhere) to tell the world that it is up and ready to process requests. All of its dependents should wait for that flag to appear before they make their own services available. And later during operation, removal of the flag should cause dependent daemons to withdraw their services. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/201407071625.41808.neal.p.mur...@alum.wpi.edu
Re: Slow mirror connections
On 03/07/14 13:46, B wrote: On Thu, 3 Jul 2014 21:31:47 +0900 Joel Rees joel.r...@gmail.com wrote: My ISP swears it's not them. Yeah, they always do that until a leak tells otherwise :( Check tcp window scaling:- http://en.wikipedia.org/wiki/TCP_window_scale_option off may just fix a slowdown as described on some routers. Berni -- Confidence is what you have before you understand a problem - Woody Allen -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53bb0806.6050...@gmail.com
Re: SSD optimization on Debian (2014)
KS wrote: I have done the following for optimization (ref: https://wiki.debian.org/SSDOptimization?action=showredirect=SSDoptimization): I wanted to say that I think that page needs an update for Wheezy. At one time there were many things needed for SSDs. The biggest being alignment to 4k Advanced Format partitions. But if installing Wheezy Stable then I think the entirety of that page can be ignored. 1) Kernel: Linux localhost 3.14-1-amd64 #1 SMP Debian 3.14.9-1 (2014-06-30) x86_64 GNU/Linux Good to go. But so is the default 3.2 Wheezy kernel too. Either is fine. My main laptop is still running the 2.6.32 Squeeze kernel on an SSD. 2) Updated the firmware for the Intel 530 240GB disk Sure. 3) I have not gone into partition alignment for two reasons: 1) the article on debian wiki refers to is from a long time ago, 2) blockdev doesn't indicate misalignment (see below): $ sudo blockdev --getalignoff /dev/sda1 0 $ sudo blockdev --getalignoff /dev/sda2 0 $ sudo blockdev --getalignoff /dev/sda5 0 If you installed Wheezy then the default installer would do the Right Thing with respect to partitions by default. There isn't a need to do anything. (Now if you were to go back and try to install Woody or Sarge or Lenny or ... that would not be true. But Wheezy is fine.) 4) For mounting file systems, I have added discard in /etc/fstab and also enabled issue_discards in lvm.conf Sure. I personally have not gone to this trouble. The wiki does say this: * The discard options is not needed if your SSD has enough overprovisioning (spare space) or you leave (unpartitioned) free space on the SSD. See http://www.spinics.net/lists/raid/msg40866.html The referenced thread has much good information concerning trim (aka the discard option) and I recommend reading through the entire thread. You are fine with trim enabled. In some cases using trim may help. In some cases using trim may hurt. I haven't enabled it on my main laptop. I am using a high quality SSD that has a signfican't amount of internal over-provisioning. 6) Added vm.swappiness as kernel option in /etc/sysctl.d/local.conf There is a lot of FUD concerning swappiness. I wish there were more objective data to remove the emotional decision making concerning it. But the best tuning is different depending upon the workload. Therefore there isn't any one single canonical correct answer. But I think most people use the wrong one. For my laptop I never have enough ram and therefore I like more swappiness. The best tuned answer for you depends upon how much ram you have available. I think this article describes it fairly well. http://www.linuxvox.com/2009/10/what-is-the-linux-kernel-parameter-vm-swappiness/ Linux-Fan wrote: KS wrote: What I want to know at this point is: Is there anything else that is recommended? Nothing that I am aware of. I agree with Linux-Fan's response. I don't know of anything more that is needed. And actually you didn't need to do as much as you have done. The section on RAMDISK options on tmpfs, does that help? As long as your /tmp does not normally exceed your RAM size it might be a good idea. Still, it is not really SSD specific: It will of course save a few writes, but as long as /tmp is always smaller than your RAM, there are obviously not that many writes anyway. The choice of tmpfs for /tmp or not is somewhat contentious since it depends upon your use model. It isn't good for very large (many gigs exceeding ram size) scratch work areas. But it is nice for random small systems. It is really a personal choice. As to tuning it specifically for an SSD I wouldn't bother. I don't see a need to hold off commits to an SSD for 10 minutes for example. There isn't any disk to consume power spinning up. I think that is really more appropriate for a spinning hard drive than for an SSD. I would rather let the file system buffer cache handle that layer. As with all things actual benchmarks would be best. But unfortunately those are few and far between. Lastly, the partition alignment discussion on http://tytso.livejournal.com/2009/02/20/ is from 2009 - is it relevant today? Using today's Debian you do not normally need to bother with alignment as all partitions will be automatically aligned at 1 MiB boundaries by most of the tools anyway. Agreed. No need to worry about it with a default Wheezy or later installation. All handled automatically. Are any of the above modifications really necessary? None of the modifications is necessary. You can simply replace a HDD with a SSD without having to worry much. Still, a ramdisk for /tmp could be useful (also in HDD environments). Agreed. With the current Wheezy Stable or later there isn't really any need to do anything special. Bob signature.asc Description: Digital signature
watching films full screen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bonjour, I don't know how to configure apps for watching films full screen: 1- I would like to configure kaffeine for a real full screen ie. without any visible xfce panels. There are only one option in the menu configuration: choosing the startup mode! 2- How to prevent dpms action when on fullscreen mode? Thank you - -- François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlO7DC8ACgkQdE6C2dhV2JXX+wCg0F0IfIhbAC5OUB+s2+i1gM09 uI8Anj2hE6J8H2+XWX4YP30Zwc0rCn7Y =LlnH -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/53bb0c35.9040...@mi.parisdescartes.fr
Re: SSD optimization on Debian (2014)
Bob Proulx: I am using a high quality SSD that has a signfican't amount ^^^ of internal over-provisioning. That's the funniest typo I have seen in a long time! :) J. -- I can tell a Whopper[tm] from a BigMac[tm] and Coke[tm] from Pepsi[tm]. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature