Re: apt key handling needs to be properly documented--what to do?
Quoting Ross Boylan (2022-06-11 09:07:14) > The apt-secure man page in Debian 11 notes that repository signing is > a key part of the Debian security infrastructure. But key parts of it > are not documented. In my opinion that is a significant security > problem, but the apt maintainers clearly do not share that view. > > apt-secure's man page says to use apt-key to manage repository keys, > and provides no other information on how to manage them, not even > mentioning /etc/apt/trusted.gpg.d/. The apt-key manpage, on the other > hand, says the program is deprecated and you should not use it. But > it provides no clue about what you should do instead, aside from > referring you to apt-secure (!). Nor does it seem to be documented in > other man pages or /usr/share/doc/apt, or apt-doc. > > Bugs have been filed about this going back to 2020: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968148 and > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990521. The > maintainers have consistently minimized the problem, first of all by > downgrading the priority of those bugs to minor, and second by > offering a variety of sometimes inconsistent responses: >1. The priority is to get people to stop using apt-key. Apparently > this is not served by offering them any guidance about what they > should do instead, but just by putting in deprecation warnings. So > the failure to document an alternative leads to people sticking with > apt-key, and the fact they stick with apt-key is given as a reason to > "deprioritize" giving them guidance. >2. There are obvious alternatives. The fact that they are obvious > to the maintainers doesn't help the rest of us. >3. The best alternative isn't obvious. This seems a poor reason to > leave people adrift. > > As noted in other parts of those bugs, and in other bugs, people > continue to do the "wrong" thing, like trying to use keys in the wrong > format (for that matter, add-apt-repository does that itself, as I > recently discovered, > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012649) or > selecting wrong, or at least security-questionable, options, when they > try to populate /etc/apt/trusted.gpg.d/. > > An additional problem is that stable is frozen, so that the bar for > updates is higher (one of the reasons given for lack of action earlier > was that a release freeze was in effect). > > The lack of documentation seems to me to merit both a higher priority > and a faster response. And the security concerns seem to me clear > justification for an update to stable. > > Any suggestions about how to do that? > > I hasten to add, in anticipation of the inevitable "submit a patch", > that the patch should come from someone who actually understands the > security infrastructure. Which is not me, because it's not documented. Maybe you were looking for documentation like this: https://salsa.debian.org/apt-team/apt/-/commit/4a012436ce6a07dd435dca33b7ee2c41ea94c844 Is anything missing from that addition to the documentation that you'd like to add? Here is a version of the apt-key man page with better formatting: https://manpages.debian.org/unstable/apt/apt-key.8.en.html#DEPRECATION Thanks! cheers, josch signature.asc Description: signature
Re: Question related to Sbuild CLEAN_SOURCE
Hi, please keep me in CC as I'm not subscribed to debian-user@l.d.o. Quoting quirin.gylsto...@siemens.com (2022-02-08 15:40:40) > we are currently testing the integration of sbuild in ISAR[1] and have a > question related to the CLEAN_SOURCE behavior. > > > "When running sbuild from within an unpacked source tree, run the > 'clean' target before generating the source package. This might require > some of the build dependencies necessary for running the 'clean' target > to be installed on the host machine. Only disable if you start from a > clean checkout and you know what you are doing."[2] > > > As noted in [2] we observe that we need dh- in the host > environment to execute the dh clean -with . > > Our questions are: > > - Is there are reason sbuild executes clean outside of the chroot? Yes because if you don't know what you are doing (as it says in the manpage you cite) and you run sbuild from within an unpacked dirty source tree without running the clean target, then you might be building something that is not the source package you expect to be built. > - How does the buildd infrastructure deal with this behavior? The buildd infrastructure doesn't run sbuild from within an unpacked source tree so it will not run the clean target outside the chroot and thus doesn't need to have the necessary dependencies for running the clean target installed. The fact that sbuild is able to run from inside an unpacked source tree is a convenience feature which allows you to run sbuild without having to first create the source package. But the actual input to sbuild is the source package (the dsc). Don't use sbuild to create a source package. The source package is the input to sbuild. The output of sbuild are binary packages, not source packages. Thanks! cheers, josch signature.asc Description: signature
Debian-raspberrypi buster does not boot up properly without a monitor connected
Good morning everyone! I installed the latest 24.11.21 tested bullseye image on ssd disk connected via USB adapter to a raspberry pi 4. As long as a Monitor is connected via HDMI adaptor to the pi everything works fine. I can log in directly on the machine or via ssh remotely. In case no monitor is connected and the pi is powered up it is not even possible to ping the device. It seems the boot /startup process hangs somewhere. Can someone point me to what to check for? Thanks in advance and Best regards Johannes Pieper
Heute ist der perfekte Tag, um dir zu schreiben. Geht es dir gut?
Irgendwie hatte ich Sehnsucht. Ist bei dir alles in Ordnung? https://scorloytreatej1897.blogspot.tw/ johannes nortje 8/11/2020 12:09:48 PM
Re: Cross debootstrap without root rights
Hi, (please CC me, I'm not subscribed to d-user@l.d.o) Quoting Christoph Müllner (2020-02-09 12:54:56) > I'd like to run the second stage of debootstrap without root rights, but for > another architecture (host is x86_64 and target is arm64). > > I know how to do all that with root rights (i.e qemu-aarch64-static works > perfectly here, also, I can recommend using qemu-debootstrap), but I can't > figure out a way how to do that without root rights. > > I was expecting that fakechroot and fakeroot will do the necessary "magic" to > make chroot work for my use-case, but that's not the case (I need to have > libfakeroot.so and libfakechroot.so in the target rootfs, but I could not > find a reliable way to get them in). > > I found some emails in the archives about similar use cases (from ~10 years > ago). But I failed to identify the solution in those cases. > > Therefore I'd like to ask if anyone has a solution for my use case or some > hints/pointers. yes, there are several solutions. Either: a) You can use mmdebstrap which is a debootstrap replacement that focuses on not requiring superuser privileges and has foreign architecture support built in: $ mmdebstrap --arch=arm64 unstable debian-unstable.tar b) There is a proof-of-concept that allows one to run debootstrap with unprivileged usernamespaces here: https://bugs.debian.org/829134 This will probably also work with --second-stage c) Getting fakechroot and fakeroot to work with foreign architectures is tricky and requires the right libfakechroot.so being installed and several environment variables to be set differently. You can have a look at how mmdebstrap does this so that you can maybe replicate that for debootstrap: https://sources.debian.org/src/mmdebstrap/0.6.0-4/mmdebstrap/#L1942 Thanks! cheers, josch signature.asc Description: signature
Screen goes blank after "EDID checksum is invalid" errors
Hi there, not sure if this is the right newsgroup, but it's worth a shot. I've just installed Jessie i586 on an Intel Atom board. The board has has DVI output which is connected to a monitor. When booting, I can perfectly see the image during grub2 and also during early printk. Then comes the handoff to userspace (/bin/init), it executes some stuff (much too fast for me to see) and then I see some of these messages (they're copied from another problem report, but look exactly like this): [2.123456] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 43 [2.123456] Raw EDID: [2.123456] ∘00 ff ff ff ff ff ff 00 4c 5b ff ff ff ff ff ff [2.123456] ∘ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [2.123456] ∘ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [2.123456] ∘ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [2.123456] ∘ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [2.123456] ∘ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [2.123456] ∘ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [2.123456] ∘ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff This message comes about 3-4 times within 500ms (all guessed values, it all runs very fast), then the screen goes dark. My guess is that it's trying to do some font switching or frame buffer stuff, can't read what the monitor has to offer and switches to a weird setting. The system is alive (can ssh into it), but I'd like console output as well. So I've tried adding "nomodeset", "nofb" and "vga=normal" to my kernel cmdline, changed grub to GRUB_TERMINAL=console. The problem remains. Can anyone's crystal ball reveal some clues on what's going on here and how I could fix that? Thanks for your help, Cheers, Johannes -- >> Wo hattest Du das Beben nochmal GENAU vorhergesagt? > Zumindest nicht öffentlich! Ah, der neueste und bis heute genialste Streich unsere großen Kosmologen: Die Geheim-Vorhersage. - Karl Kaos über Rüdiger Thomas in dsa <hidbv3$om2$1...@speranza.aioe.org>
Re: Screen goes blank after "EDID checksum is invalid" errors
that the kernel actually oopses when I rmmod the module again. Somethign is really wrong, but I can't be bothered to find out what exactly it is (don't need the module).. Thanks for your hints, Best regards, Johannes -- >> Wo hattest Du das Beben nochmal GENAU vorhergesagt? > Zumindest nicht öffentlich! Ah, der neueste und bis heute genialste Streich unsere großen Kosmologen: Die Geheim-Vorhersage. - Karl Kaos über Rüdiger Thomas in dsa <hidbv3$om2$1...@speranza.aioe.org>
Wireless Hard Lock on a Dell XPS 15in (releasable only during waking up from suspend)
Hi, I have installed Jessie on a Dell XPS 9530 (late 2013) and am encountering problems (that are shared by others on the web) using the wireless card: it appears hard locked upon boot under all tested circumstances and no mocking with blacklisting wmi, dell-laptop, or other googled remedies have helped. The only thing so far that gets the wireless up and running is suspending the machine and hitting the FN-PrtScreen combination DURING wake-up, as described here: http://tinyurl.com/lsp3wyx I'm at a loss and would appreciate any advise on how to proceed or what to try. Sincerely, Joh -- 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/mjfh1t$q9j$1...@ger.gmane.org
jessie and unpriviledged lxc containers
Hello, I'm playing with unpriviledged lxc containers according to http://tinyurl.com/kvzxlvj on jessie. In order to lxc-create as a non-root user I have to do PROMPT echo 1 /sys/fs/cgroup/cpuset/cgroup.clone_children PROMPT echo 1 /proc/sys/kernel/unprivileged_userns_clone How can I make those setting persistent such that they are automatically (re)set upon reboot? Thanks for any hints. Sincerely, Joh -- 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/mi4g1i$fbo$1...@ger.gmane.org
Re: LXC unprivileged containers
Darren Baginski wrote: Hello! I'm trying to spawn unprivileged LXC containers as described here http://www.flockport.com/lxc-using-unprivileged-containers/ , however getting: lxc-create -n myvm -t debian -- -r jessie unshare: Operation not permitted read pipe: No such file or directory lxc_container: lxccontainer.c: do_create_container_dir: 760 Failed to chown container dir lxc_container: lxc_create.c: main: 271 Error creating container myvm My setups is testing / unstable (stable doesn't support unprivileged containers due to lxc version at least ): ~$ uname -v #1 SMP Debian 3.16.7-ckt9-3 (2015-04-23 ~$ lxc-info --version 1.0.7 What could be wrong ? Try to set PROMPT sudo echo 1 /sys/fs/cgroup/cpuset/cgroup.clone_children PROMPT sudo echo 1 /proc/sys/kernel/unprivileged_userns_clone before the lxc-creat' call. Sincerely, Joh -- 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/mi4g4r$fbo$2...@ger.gmane.org
Re: jessie and unpriviledged lxc containers
Christian Seiler wrote: On 05/03/2015 08:43 AM, Johannes Graumann wrote: I'm playing with unpriviledged lxc containers according to http://tinyurl.com/kvzxlvj on jessie. In order to lxc-create as a non-root user I have to do PROMPT echo 1 /sys/fs/cgroup/cpuset/cgroup.clone_children PROMPT echo 1 /proc/sys/kernel/unprivileged_userns_clone How can I make those setting persistent such that they are automatically (re)set upon reboot? The second one is trivial: create a file /etc/sysctl.d/10-unpriv-lxc with the following contents: kernel.unprivileged_userns_clone = 1 Then on boot this setting will be automatically applied. If you want to activate clone_children for the cgroup automatically at boot, you kind-of need to do that manually. I'm going to assume you're using systemd as init system on the host (because it's the default and you didn't mention anything else [1]). The easiest way is to simply create a file /etc/systemd/system/setup-clone-children.service: [Unit] Description=Setup cpuset cgroup clone_children for LXC DefaultDependencies=no Conflicts=shutdown.target Before=sysinit.target shutdown.target [Service] Type=oneshot ExecStart=/bin/sh -c echo 1 /sys/fs/cgroup/cpuset/cgroup.clone_children StandardOutput=null RemainAfterExit=yes [Install] WantedBy=sysinit.target (the ExecStart= is one line, my mail client just likes to wrap) Then you can just do systemctl enable setup-clone-children.service and the next time you reboot, the setting will be applied. Hope that helps. Many thanks. Implemented and awaiting testing. Joh -- 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/mi55pi$v6u$1...@ger.gmane.org
Re: NetworkManager tun/br enigma
Johannes Graumann wrote: Johannes Graumann wrote: Hello, I'm trying to get a NetworkManager-independent bridg up and running to be able to have my firewall manage traffic to/from lxc containers. My '/etc/network/interfaces' looks like this: auto lo iface lo inet loopback # tun/tap/bridge combo for lxc container networking auto tun0 iface tun0 inet manual tunctl_user root upip link set tun0 up down ip link set tun0 down auto br0 iface br0 inet static bridge_ports tun0 bridge_maxwait0 bridge_stpoff address 172.16.0.1 netmask 255.255.255.0 dns-searchvirt.local No matter what I do to the [ifupdown] managed=true/false parameter in '/etc/NetworkManager/NetworkManager.conf', 'ifconfig' doesn't show me the tun0/br0 interfaces. When I manually call 'service networking re/start', the process gets stuck unresponsively. 'CTRL-C'ing out 'ifconfig' now shows the tun/br interfaces. 'tail /var/log/messages' reports: IPv6: ADDRCONF(NETDEV_UP): tun0: link is not ready Any hints on what may be wrong and how to proceed? Sincerely, Joh Turns out this was a (shot?) systemd issue. After reinstalling it my setup works as expected: eth/wlan managed by NM (as nos present in /etc/network/interfaces), tun/br come up and are not NM managed. Joh Turns out I was wrong with my first explanation above - what really is/was amiss is the fact that installation of NetworkManager seems to imply 'update-rc.d networking disable' - the inverse fixed my situation. Sorry for the noise. Joh -- 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/mfasa0$9oj$1...@ger.gmane.org
Re: NetworkManager tun/br enigma
Johannes Graumann wrote: Hello, I'm trying to get a NetworkManager-independent bridg up and running to be able to have my firewall manage traffic to/from lxc containers. My '/etc/network/interfaces' looks like this: auto lo iface lo inet loopback # tun/tap/bridge combo for lxc container networking auto tun0 iface tun0 inet manual tunctl_user root upip link set tun0 up down ip link set tun0 down auto br0 iface br0 inet static bridge_ports tun0 bridge_maxwait0 bridge_stpoff address 172.16.0.1 netmask 255.255.255.0 dns-searchvirt.local No matter what I do to the [ifupdown] managed=true/false parameter in '/etc/NetworkManager/NetworkManager.conf', 'ifconfig' doesn't show me the tun0/br0 interfaces. When I manually call 'service networking re/start', the process gets stuck unresponsively. 'CTRL-C'ing out 'ifconfig' now shows the tun/br interfaces. 'tail /var/log/messages' reports: IPv6: ADDRCONF(NETDEV_UP): tun0: link is not ready Any hints on what may be wrong and how to proceed? Sincerely, Joh Turns out this was a (shot?) systemd issue. After reinstalling it my setup works as expected: eth/wlan managed by NM (as nos present in /etc/network/interfaces), tun/br come up and are not NM managed. Joh -- 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/mf9c5o$5dd$1...@ger.gmane.org
NetworkManager tun/br enigma
Hello, I'm trying to get a NetworkManager-independent bridg up and running to be able to have my firewall manage traffic to/from lxc containers. My '/etc/network/interfaces' looks like this: auto lo iface lo inet loopback # tun/tap/bridge combo for lxc container networking auto tun0 iface tun0 inet manual tunctl_user root upip link set tun0 up down ip link set tun0 down auto br0 iface br0 inet static bridge_ports tun0 bridge_maxwait0 bridge_stpoff address 172.16.0.1 netmask 255.255.255.0 dns-searchvirt.local No matter what I do to the [ifupdown] managed=true/false parameter in '/etc/NetworkManager/NetworkManager.conf', 'ifconfig' doesn't show me the tun0/br0 interfaces. When I manually call 'service networking re/start', the process gets stuck unresponsively. 'CTRL-C'ing out 'ifconfig' now shows the tun/br interfaces. 'tail /var/log/messages' reports: IPv6: ADDRCONF(NETDEV_UP): tun0: link is not ready Any hints on what may be wrong and how to proceed? Sincerely, Joh -- 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/mf844o$ra5$1...@ger.gmane.org
nullmailer, cron email email provider requiring appropriate From field
Hello, I have setup nullmailer on a debian stable system of mine to forward email to the smtp server of my mykolab.com account. That account requires that From in the header matches the account email. Cron on my system insists to send email (as e.g. produced by a logcheck cron job) using From as derived from the user the executed script runs under (logcheck, in this case) and the provider accordingly refuses the email. Googling leeds to the conclusion, that while cron on debian (stable) is accepting MAILTO in crontab, it doesn't accept MAILFROM, which other distributions (Centos?) seem to have ... Can anyone propose an elegant way to solve this issue? Thank you for your consideration, Sincerely, Joh -- 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/maj5cp$a7k$1...@ger.gmane.org
Re: nullmailer, cron email email provider requiring appropriate From field
Chris Bannister wrote: On Sun, Feb 01, 2015 at 08:01:23AM +1300, Chris Bannister wrote: On Sat, Jan 31, 2015 at 09:03:44PM +0300, Johannes Graumann wrote: Hello, I have setup nullmailer on a debian stable system of mine to forward email to the smtp server of my mykolab.com account. That account requires that From in the header matches the account email. Cron on my system insists to send email (as e.g. produced by a logcheck cron job) using From as derived from the user the executed script runs under (logcheck, in this case) and the provider accordingly refuses the email. Googling leeds to the conclusion, that while cron on debian (stable) is accepting MAILTO in crontab, it doesn't accept MAILFROM, which other distributions (Centos?) seem to have ... Can anyone propose an elegant way to solve this issue? Thank you for your consideration, Does this help: http://www.debianhelp.co.uk/logcheck.htm First hit on google searching for 'logcheck email from' Oooops, I should have checked that page more carefully, doesn't mention setting the from. Might be easier just to install postfix :) But saw this: http://opensourcehacker.com/2013/01/02/sendmail-using-nullmailer-and-gmail-account-on-linux-server/ Switched to postfix and with the help of canonical_maps got it to work: postfix is now rewriting from in all outgoing headers ... Joh -- 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/majhhv$683$1...@ger.gmane.org
Re: How to change installer image?
Hello, Outstanding! Thank you, both Steve and Thomas! Based on Steve's hint I had it mostly right, but the isobybrid business was beyond my capabilities (and would have come to bite me once actually in front of the machine to be installed). I'll report back once I got a chance to try the new image ... Joh Thomas Schmitt wrote: Hi, Steve McIntyre wrote: You'll also need to use xorriso rather than genisoimage. Thank you for flying xorriso. :) If you look in the file .disk/mkisofs on the original CD, you'll see the exact command that was used to make the original image, .disk/mkisofs is one of my favorites. So i can see what Steve does with my program. One needs some background knowledge, though, to derive the options for a new run: The option -isohybrid-mbr, which is essential for BIOS USB stick, needs an MBR input file, which has to stem from the same SYSLINUX version as isolinux/isolinux.bin in the ISO: -isohybrid-mbr syslinux/usr/lib/syslinux/isohdpfx.bin The first 512 bytes of the original isohybrid ISO image are a harmlessly modified copy of the original input file. So one may retrieve the new isohybrid MBR template by: dd if=debian-7.8.0-i386-CD-1.iso bs=512 count=1 of=/tmp/isohdpfx.bin and use it in the xorriso run as -isohybrid-mbr /tmp/isohdpfx.bin Further one may leave out the Jigdo producing options: -checksum_algorithm_iso md5,sha1,sha256,sha512 ... -jigdo-jigdo /org/cdbuilder.debian.org/dst/deb-cd/out/2amd64/debian-7.7.0-amd64- NETINST-1.jigdo -jigdo-template /org/cdbuilder.debian.org/dst/deb-cd/out/2amd64/debian-7.7.0-amd64- NETINST-1.template -jigdo-map Debian=/org/cdbuilder.debian.org/src/ftp/debian/ -jigdo-exclude boot1 -md5-list /org/cdbuilder.debian.org/src/deb-cd/tmp/2amd64/wheezy/md5-check -jigdo-min-file-size 1024 -jigdo-exclude 'README*' -jigdo-exclude /doc/ -jigdo-exclude /md5sum.txt -jigdo-exclude /.disk/ -jigdo-exclude /pics/ -jigdo-exclude 'Release*' -jigdo-exclude 'Packages*' -jigdo-exclude 'Sources*' ... So i propose to do for an i386 ISO: dd if=debian-7.8.0-i386-CD-1.iso bs=512 count=1 of=/tmp/isohdpfx.bin xorriso -as mkisofs \ -r \ -V 'Debian 7.8.0 i386 1' \ -o debian-7.8.0-i386-CD-1-mod.iso \ -J \ -isohybrid-mbr /tmp/isohdpfx.bin \ -partition_offset 16 \ -joliet-long \ -cache-inodes \ -b isolinux/isolinux.bin \ -c isolinux/boot.cat \ -no-emul-boot \ -boot-load-size 4 \ -boot-info-table \ ./debian-7.8.0-i386-CD-1-mod/ rm /tmp/isohdpfx.bin The amd64 ISOs get some extra options for EFI after -boot-info-table: -eltorito-alt-boot \ -e boot/grub/efi.img \ -no-emul-boot \ -isohybrid-gpt-basdat \ -isohybrid-apm-hfsplus \ The last option -isohybrid-apm-hfsplus is actually useless here, because no HFS+ flesystem tree gets produced. If you get xorriso-1.3.8 from http://www.gnu.org/software/xorriso then you can inspect the result's boot equipment: xorriso -indev debian-7.8.0-i386-CD-1-mod.iso \ -report_el_torito plain \ -report_system_area plain My test (with debian-7.3.0-i386-netinst.iso) yields: El Torito catalog : 1658 1 El Torito cat path : /isolinux/boot.cat El Torito images : N Pltf B Emul Ld_seg Hdpt Ldsiz LBA El Torito boot img : 1 BIOS y none 0x 0x00 4 1659 El Torito img path : 1 /isolinux/isolinux.bin El Torito img opts : 1 boot-info-table isohybrid-suitable System area options: 0x0102 System area summary: MBR isohybrid cyl-align-on ISO image size/512 : 571392 Partition offset : 16 MBR heads per cyl : 64 MBR secs per head : 32 MBR partition table: N Status TypeStart Blocks MBR partition : 1 0x80 0x17 64 571328 Else have a look at the MBR partition table by fdisk : $ /sbin/fdisk -lu debian-7.8.0-i386-CD-1-mod.iso ... 64 heads, 32 sectors/track, 0 cylinders, total 0 sectors Units = sectors of 1 * 512 = 512 bytes Device Boot Start End Blocks Id System debian-7.8.0-i386-CD-1-mod.iso1 * 64 571391 285664 17 Hidden HPFS/NTFS Have a nice day :) Thomas -- 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/m9l2cm$ngd$1...@ger.gmane.org
How to change installer image?
Hello, To fix some configurations needed to install via a serial connection, I would like to edit txt.cfg in isolinux of the stable installation CD. Following https://wiki.debian.org/DebianInstaller/Modify/CD I try: 1) mkdir /tmp/debian-7.8.0-i386-CD-1-mod 2) bsdtar -C /tmp/debian-7.8.0-i386-CD-1-mod -xf debian-7.8.0-i386-CD-1.iso 3) nano /tmp/debian-7.8.0-i386-CD-1-mod/isolinux/txt.cfg ... 4) genisoimage -o debian-7.8.0-i386-CD-1-mod.iso -r -J -no-emul-boot -boot- load-size 4 -boot-info-table -b isolinux/isolinux.bin -c isolinux/boot.cat ./debian-7.8.0-i386-CD-1-mod/ 5) dd if=debian-7.8.0-i386-CD-1-mod.iso of=/dev/MYMEMSTICK bs=4M; sync Contrary to the original image, the resulting usb stick is NOT recognized as bootable ... What am I doing wrong? Thank you for your time. Sincerely, Joh -- 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/m9jlda$83e$1...@ger.gmane.org
Re: unable to boot with systemd (works with sysvinit)
Hi, Quoting Selim T. Erdoğan (2015-01-12 22:38:08) On Sat, Jan 10, 2015 at 12:33:36PM +0100, Johannes Schauer wrote: I'm unable to boot my laptop with systemd which worked before. I'm unable to tell the changes I made since the last time it worked because according to my uptime, the last time I rebooted was September last year. I see you already have a bug report, so including it for the list: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758808 this is the right bug report. Downgrading to 204-14 fixes the problem I encountered in my first email. My apologies for not having supplied that bug report in my initial email. I honestly forgot that I already faced the same problem in August last year. It looks to me like it's not fsck as much as not being able to access /boot, /home and swap. If you want to check this, you can probably tell systemd not to run fsck at boot. (How to do this was the topic of some recent threads on debian-user, but I didn't follow them so I can't help with that.) Searching the archives you might've meant to add fsck.mode=skip to my kernel command line. I tried that but it didn't fix the problem. I wonder if the problem is with decryption (under systemd), which then leads to the timeout when accessing everything inside it? Unfortunately, I don't know enough to suggest a good way to test this. This is a possibility. Thank you for your help! cheers, josch signature.asc Description: signature
unable to boot with systemd (works with sysvinit)
Hi, I'm not subscribed, so please keep me CC-ed. I'm unable to boot my laptop with systemd which worked before. I'm unable to tell the changes I made since the last time it worked because according to my uptime, the last time I rebooted was September last year. The output of `journalctl -xb` in the systemd rescue console is here: https://mister-muffin.de/p/AabX.txt My system contains up-to-date package versions with Debian Jessie. This means I'm running systemd and udev version 215-8. Since the problem seems to be related to a failed fsck job, according to above log, here is my fstab (minus comment lines): proc/proc procdefaults0 0 /dev/mapper/volumegroup-root/ ext4errors=remount-ro 0 1 UUID=ac034ff5-d28a-4ad1-8bac-97d554395e3e /boot ext2defaults 0 2 /dev/mapper/volumegroup-home /home ext4defaults0 2 /dev/mapper/volumegroup-swap noneswapsw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 cgroup /sys/fs/cgroup cgroup defaults 0 0 tmpfs /tmptmpfs nodev,nosuid,size=8G 0 0 tmpfs /runtmpfs nodev,nosuid,size=8G 0 0 I also booted my system into the initramfs busybox by passing break to the kernel command line and did an `fsck -f` on my root and home partitions and everything seems to be clean. Booting my laptop with sysvinit instead works fine, so my fstab should be correct. How can I further debug this problem? The journalctl output seems inconclusive. Thanks! signature.asc Description: signature
Updating remote system (testing) through aptitude - non-bootable ... was it intel-microcode?
Hi, I administer a remote server running testing and updated it yesterday (apt history and dpkg log below). After that the system wouldn't reboot. I have access through the hosting companies rescue system and can rummage around, but am at a loss how to trouble shoot this, as messages,dmesg etc seem empty - the system just wont boot the upgraded debian installation. Can anyone point out what might have been the problem from the logs below? How about the microcode update? Could that lead to this? Any ideas on how to proceed? thanks for any hints. Joh apt history Start-Date: 2013-07-02 17:31:24 Install: libpython2.7:amd64 (2.7.5-5, automatic) Upgrade: libsystemd-login0:amd64 (44-11, 44-12), multiarch-support:amd64 (2.17-3, 2.17-6), hostname:amd64 (3.12, 3.13), libc-bin:amd64 (2.17-3, 2.17-6), libc6:amd64 (2.17-3, 2.17-6), python-libxml2:amd64 (2.8.0+dfsg1-7+nmu1, 2.9.1+dfsg1-2), curl:amd64 (7.30.0-2, 7.31.0-2), initramfs-tools:amd64 (0.112, 0.113), libxml2:amd64 (2.8.0+dfsg1-7+nmu1, 2.9.1+dfsg1-2), libcurl3:amd64 (7.30.0-2, 7.31.0-2), intel-microcode:amd64 (1.20130222.1, 1.20130222.4), locales:amd64 (2.17-3, 2.17-6), libcurl3-gnutls:amd64 (7.30.0-2, 7.31.0-2) End-Date: 2013-07-02 17:32:07 dpkg log 2013-07-02 17:31:24 startup archives unpack 2013-07-02 17:31:24 upgrade hostname:amd64 3.12 3.13 2013-07-02 17:31:24 status half-configured hostname:amd64 3.12 2013-07-02 17:31:24 status unpacked hostname:amd64 3.12 2013-07-02 17:31:24 status half-installed hostname:amd64 3.12 2013-07-02 17:31:25 status triggers-pending man-db:amd64 2.6.3-7 2013-07-02 17:31:25 status half-installed hostname:amd64 3.12 2013-07-02 17:31:25 status unpacked hostname:amd64 3.13 2013-07-02 17:31:25 status unpacked hostname:amd64 3.13 2013-07-02 17:31:25 trigproc man-db:amd64 2.6.3-7 2.6.3-7 2013-07-02 17:31:25 status half-configured man-db:amd64 2.6.3-7 2013-07-02 17:31:26 status installed man-db:amd64 2.6.3-7 2013-07-02 17:31:27 startup packages configure 2013-07-02 17:31:27 configure hostname:amd64 3.13 none 2013-07-02 17:31:27 status unpacked hostname:amd64 3.13 2013-07-02 17:31:27 status half-configured hostname:amd64 3.13 2013-07-02 17:31:27 status installed hostname:amd64 3.13 2013-07-02 17:31:28 startup archives unpack 2013-07-02 17:31:28 upgrade libc-bin:amd64 2.17-3 2.17-6 2013-07-02 17:31:28 status half-configured libc-bin:amd64 2.17-3 2013-07-02 17:31:28 status unpacked libc-bin:amd64 2.17-3 2013-07-02 17:31:28 status half-installed libc-bin:amd64 2.17-3 2013-07-02 17:31:28 status triggers-pending man-db:amd64 2.6.3-7 2013-07-02 17:31:29 status half-installed libc-bin:amd64 2.17-3 2013-07-02 17:31:29 status unpacked libc-bin:amd64 2.17-6 2013-07-02 17:31:29 status unpacked libc-bin:amd64 2.17-6 2013-07-02 17:31:29 trigproc man-db:amd64 2.6.3-7 2.6.3-7 2013-07-02 17:31:29 status half-configured man-db:amd64 2.6.3-7 2013-07-02 17:31:31 status installed man-db:amd64 2.6.3-7 2013-07-02 17:31:31 startup packages configure 2013-07-02 17:31:31 configure libc-bin:amd64 2.17-6 none 2013-07-02 17:31:31 status unpacked libc-bin:amd64 2.17-6 2013-07-02 17:31:31 status unpacked libc-bin:amd64 2.17-6 2013-07-02 17:31:32 status unpacked libc-bin:amd64 2.17-6 2013-07-02 17:31:32 status unpacked libc-bin:amd64 2.17-6 2013-07-02 17:31:32 status unpacked libc-bin:amd64 2.17-6 2013-07-02 17:31:32 status half-configured libc-bin:amd64 2.17-6 2013-07-02 17:31:32 status installed libc-bin:amd64 2.17-6 2013-07-02 17:31:32 startup archives unpack 2013-07-02 17:31:33 upgrade libc6:amd64 2.17-3 2.17-6 2013-07-02 17:31:33 status half-configured libc6:amd64 2.17-3 2013-07-02 17:31:33 status unpacked libc6:amd64 2.17-3 2013-07-02 17:31:33 status half-installed libc6:amd64 2.17-3 2013-07-02 17:31:34 status half-installed libc6:amd64 2.17-3 2013-07-02 17:31:34 status unpacked libc6:amd64 2.17-6 2013-07-02 17:31:34 status unpacked libc6:amd64 2.17-6 2013-07-02 17:31:35 startup packages configure 2013-07-02 17:31:35 configure libc6:amd64 2.17-6 none 2013-07-02 17:31:35 status unpacked libc6:amd64 2.17-6 2013-07-02 17:31:35 status unpacked libc6:amd64 2.17-6 2013-07-02 17:31:35 status half-configured libc6:amd64 2.17-6 2013-07-02 17:31:36 status installed libc6:amd64 2.17-6 2013-07-02 17:31:36 status triggers-pending libc-bin:amd64 2.17-6 2013-07-02 17:31:37 trigproc libc-bin:amd64 2.17-6 none 2013-07-02 17:31:37 status half-configured libc-bin:amd64 2.17-6 2013-07-02 17:31:37 status installed libc-bin:amd64 2.17-6 2013-07-02 17:31:37 startup archives unpack 2013-07-02 17:31:38 upgrade libxml2:amd64 2.8.0+dfsg1-7+nmu1 2.9.1+dfsg1-2 2013-07-02 17:31:38 status half-configured libxml2:amd64 2.8.0+dfsg1-7+nmu1 2013-07-02 17:31:38 status unpacked libxml2:amd64 2.8.0+dfsg1-7+nmu1 2013-07-02 17:31:38 status half-installed libxml2:amd64 2.8.0+dfsg1-7+nmu1 2013-07-02 17:31:38 status half-installed libxml2:amd64 2.8.0+dfsg1-7+nmu1 2013-07-02 17:31:38
Re: Battery problem
On 12/03/13 11:17, Darac Marjal wrote: On Tue, Mar 12, 2013 at 09:24:20AM +, Andrea Neroni wrote: Have a look at the output of cat /proc/acpi/battery/BAT0/info. In particular, compare the values of design capacity and last full capacity. If last full capacity is significantly lower than design capacity, then the battery is dying. The jump you're seeing is due to the charge profile calibration being out of date in the battery (this might be updatable, but it won't alter your run time). This would not explain, why the same battery runs for 3 hours on windows. Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/513f02b7.2070...@aktendiener.de
Keeping backups until storage runs short (deja-dup style) with command line tools?
Hi, deja-dup has an option to keep backups forever or until storage on the drive backed up to runs short (at which point it starts deleting old backups). Does someone have any pointers on how to copy that behavior using duplicity and/or other CLI tools? Cheers, Joh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/kg51br$br$1...@ger.gmane.org
Make your life happier - uninstall FGLRX drivers!
Hi, I thought I might share my experience regarding the FGLRX drivers, as they are still widely used, possibly also by many on this list. I own a Thinkpad W500 with an ATI Mobility Radeon HD 3650 graphics card. When I installed Debian Squeeze on it, I didn't seriously consider not installing the proprietary FGLRX drivers as they were by that time the only drivers providing hardware acceleration. Over the last year I noticed that my laptop would behave strangely in a variety of situations, most notably waking up from Hibernate and Resume would sometimes take unbelievably long, i.e. up to ten minutes or even more. I never managed to identify the culprit. I saw that there was high CPU usage, but I couldn't identify what was causing it. Sometimes, the X process seemed to be the cause. But, hey, I didn't really think that this might have something to do with the drivers. Now, over the last few weeks, things got worse: Occasionally, up to two-three times a day my laptop would suddenly freeze so that I had to hard reset it. (tried to reach it via SSH, but that didn't work either). I never found any entries hinting towards a possible cause in /var/log/syslog, so, no kernel panic or anything to that effect, the system simple froze. Now, when I installed wheezy on a USB disk I noticed that 3D graphics work nicely now without FGLRX, so I installed X from squeeze-backports and removed the FGLRX driverse and since then I am a happy person again: Not only have the freezes gone away, but also the mysterious delays in resuming from hibernate and suspend are gone. My laptop works completely flawlessly, including 3D graphics, and all just because I purged the proprietary drivers. So, my advise to any Debian user would be: If you want a happy life - get rid of the proprietary fglrx drivers. Thanks, Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/kd0ofr$uoq$1...@ger.gmane.org
Elegant solution for network-dependent cifs/smb mounting?
Hi, I am looking for a debian- (and optimally kde-) compatible solution that would allow me to mount cifs/smb network drives ONLY if on the network where they are expected to exist. I there was a solution that would upon attempted access to adrive a) check whether on the right network b) check whether the corresponding server is up c) if not b) was able to WakeOnLan the server - and wait for/monitor its sucessful boot d) mount the drive That would be the perfect solution ... Thanks for any pointers. Sincerely, Joh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k442im$nbk$1...@ger.gmane.org
python-augeas enigma: error on lxc-container, none on desktop
Hi, I have to wheezy setups. One is my desktop and another one is a lxc container. Their python setup seems identical and the same version of python-augeas is installed on both. On the desktop calling $ python from augeas import Augeas works just fine, but on the container I get Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17) [GCC 4.6.3] on linux2 Type help, copyright, credits or license for more information. from augeas import Augeas Traceback (most recent call last): File stdin, line 1, in module File /usr/lib/python2.7/dist-packages/augeas.py, line 55, in module class Augeas(object): File /usr/lib/python2.7/dist-packages/augeas.py, line 61, in Augeas for _v in (%d.%d, %d%d)]) File /usr/lib/python2.7/dist-packages/augeas.py, line 52, in _dlopen raise ImportError(Unable to import lib%s! % args[0]) ImportError: Unable to import libpython2.7! Any idea where this may go wrong and how to fix it? Sincerely, Joh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k36l2t$h0i$1...@ger.gmane.org
Re: Backup
On 17/08/12 10:40, Emil Payne wrote: I have a 1 TB external USB drive with 362 GB used. I'd like to do a full backup to DVDs and then an incremental (or something) backup every month or two, also to DVDs or CDs. I'd like the backups to be compressed in order to save space (i.e. - the number of DVDs/CDs used). What is a good program to do this with? Or, what is a good step of different programs to do this with? I'm a home user with decent knowledge of Debian/Linux, but not a shell programmer. FWIW, I gave up backing up to DVD when my data reached about 1/10 of the size of yours. Too slow, too cumbersome (having to change disks), too unreliable, to expensive etc. I suggest to buy one or better two other 1TB usb disks and backup to them (alternately). You don't need to be a shell programmer, a simple $ rsync -av /path/to/disk /path/to/backup followed by $ cp -al /path/to/backup /path/to/backup- where could be a number or a date, should be more efficient (and cheaper in the long run) than a pile of optical disks. Occasionally, you could use rsync's -c option to verify that your backup is ok. (/path/to/disk is the mount point of your existing disk; /path/to/backup is mountpoint and path of your backup disk) My 2ct, Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/502eba27.2070...@aktendiener.de
Re: which one is faster?
On 08/08/12 09:14, lina wrote: It's a bit big data to transfer, around 1.1 T, from one server to another server. I checked that rsync is faster than scp, but in my situations rsync has elapsed for 1 hour, I guess the network is also a problem, Here I wish to know are there some tools (better default) can use for fast transferring, regardless the security reason, my data is just some data, no need special security care. IIUC, the question is not just, which is the fastest tool. If you have network problems (ie. intermittent connections) or fear thereof, you need a fast *and* a reliable tool. I suggest you stick with rsync. IMHO it is the best tool for your task. With the -c option, eg. you could check, whether all files transferred correctly, without much demand on the network. Cheers, Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/502226a7.9030...@aktendiener.de
Re: wheezy: non-free latex fonts no longer work
Thanks for your help! On 23/05/12 18:55, Camaleón wrote: On Tue, 22 May 2012 22:40:56 +0200, Johannes Wiedersich wrote: According to this bug report (message #30) the script is not available anymore: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664646 Yes, that's the problem: 1. the installed font was removed / disconfigured during the upgrade. 2. the script to reinstall the font is gone. :-( How could I install or reactivate the optima font? I'd start by reading the mentioned missfont.log maybe there's something of usefulness there :-? Well, probably not: $ cat missfont.log mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 uopr8r mktexpk --mfmode / --bdpi 600 --mag 0+456/600 --dpi 456 uopb8r Cheers, Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fbe3a11.8050...@aktendiener.de
wheezy: non-free latex fonts no longer work
Dear list, some time ago I installed and use some non-free fonts for latex. They were installed by getnonfreefonts-sys --verbose -a After the latest texlive update of wheezy some days ago, these fonts do not work any more: [...] kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+456/600 --dpi 456 uopb8r mktexpk: don't know how to create bitmap font for uopb8r. mktexpk: perhaps uopb8r is missing from the map file. kpathsea: Appending font creation commands to missfont.log. [...] Apparently, the command getnonfreefonts-sys is no longer available. How could I install or reactivate the optima font? Thanks, Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4fbbf9d8.4030...@aktendiener.de
unix tool as precise counter/timer for periodic print/exec
Hi, I'm looking for a unix tool that does nothing else than increment and print an integer with a fixed frequency. As a bonus it should be able to execute a command with a fixed frequency. The special requirement: it should precise in the interval. Thus, the following will not work: #!/bin/sh while true; do print_counter sleep 1 done because each loop iteration will take one second plus how long print_counter takes to execute. Even the following will not work: #!/bin/sh while true; do print_counter sleep 1 done Because even the time it takes to fork print_counter will accumulate over time. Another inconvenience of the above is, that not all sleep(1) implementations do accept floating point arguments to run the above faster than every second. What I need is something that on each step recalculates how long to sleep based on the current time so that the overall frequency remains stable. I do not need each print_counter to be executed exactly at a very precise moment but just that the overall frequency stays the same. After having it run 1000 times with a frequency of 1Hz I want 1000 seconds to have passed. Some libraries like glib provide functions like g_timout_add or g_timeout_add_seconds but that does not 'catch up' as I require above. Is there some library that does? There is the watch(1) tool which already partly does what I want using the --precise switch. But it runs in fullscreen and even when using --precise, it will not compensate for commands that take longer than the given interval length as it doesnt fork them. Also, watch(1) will not allow intervals smaller than 0.1 seconds. So basic requirement: print a counter (counting up or down) in a fixed frequency. Either a tool that does that or a library that I can use to code it. Bonus: execute a command with a fixed frequency and in contrast to watch(1) even when executing the command takes longer than the interval. So is there a utility that just implements a simple, precise counter? Is there a better version of watch(1) that is not fullscreen, allows faster than 0.1 second intervals and forks the application so that their runtime can exceed the interval time? cheers, josch -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120502082011.GA8564@hoothoot
Re: unix tool as precise counter/timer for periodic print/exec
Hi Darac, I'm not entirely sure if such a tool exists, but one thing you will need to bear in mind is that you will need to make sure you're running a real-time kernel (apt-cache search linux-image-rt). This will allow you to run your look with real-time priority. If you don't have real-time priority, then you basically have no way of ensuring that you will be able to run print_counter at the specified time - you could always get delayed because the kernel is writing to disk or some other process is doing work. I dont require that. Let me quote my original email: I do not need each print_counter to be executed exactly at a very precise moment but just that the overall frequency stays the same. After having it run 1000 times with a frequency of 1Hz I want 1000 seconds to have passed. This is also why I made the comparison to watch(1) with the --precise argument, which does what I want but has other deficiencies. Thank you for your input. cheers, josch -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120502104526.GA19488@hoothoot
Re: unix tool as precise counter/timer for periodic print/exec
Hi Paul, Use crontab (see man crontab). But as far as I see, cron doesnt do what I want. First of all, it will run as a daemon in the background so there is no way (at least as far as I am aware) to make it output a counter/timer in my terminal. Second, as also mentioned in my initial email, I would also like a resolution higher than once per second which is (afaik) also not what cron is made for. Thank you for your reply! cheers, josch -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120502150656.GA15709@hoothoot
Re: unix tool as precise counter/timer for periodic print/exec
Hi Karl, Perhaps the sleepenh package will help you? Not a solution per se, but possibly a useful building block.. It works perfectly and was exactly what I was looking for! Thanks a lot! In case anybody ever finds this thread later on, this is what I now wrote based on sleepenh which does exactly what I was looking for in my initial email: --%--- #!/bin/sh usage() { echo Usage: $0 [ARGS] [COMMAND] echo echo It counts upward (default) or downward (-d) starting at START (-s) echo with a configurable floating point interval of SECS seconds (-n, echo default 1.0) until infinity (default) or up to a maximum number of echo COUNT intervals (-c). It optionally prints this counter (-p) and/or echo the current date (-t) at each interval. It optionally executes a echo COMMAND per interval which it can also fork (-f) in case the command echo is expected to take longer than SECS seconds. echo echo -f fork COMMAND echo -p print counter echo -d count downward (default: upward) echo -n SECS interval of SECS (can be floating point) echo -c COUNT only run for COUNT interval(s) echo -s START start counting at START echo -t print the output of date(1) every interval echo -h print this help message } INTERVAL=1.0 MAX_COUNT=-1 DOWN=0 PRINT=0 FORK=0 PRINT_DATE=0 START=0 while getopts fpdn:c:s:th option; do case $option in f) FORK=1 ;; p) PRINT=1 ;; d) DOWN=1 ;; n) INTERVAL=$OPTARG ;; c) MAX_COUNT=$OPTARG ;; s) START=$OPTARG ;; t) PRINT_DATE=1 ;; h) usage exit 0 ;; [?]) usage 12 exit 1 ;; esac done shift $(($OPTIND - 1)) TIMESTAMP=`sleepenh 0` I=$START while true; do if [ $# -ne 0 ]; then if [ $FORK -eq 1 ]; then $@ else $@ fi fi if [ $PRINT -eq 1 ]; then echo $I if [ $DOWN -eq 0 ]; then I=$((I+1)) else I=$((I-1)) fi fi if [ $PRINT_DATE -eq 1 ]; then date fi if [ $DOWN -eq 0 ]; then [ $((I-START)) -gt $MAX_COUNT ] break else [ $((START-I)) -gt $MAX_COUNT ] break fi TIMESTAMP=`sleepenh $TIMESTAMP $INTERVAL`; done --%--- Feel free to use the above in any way you want. cheers, josch -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120502161840.GB15709@hoothoot
libfprint: configure pam to only (and exclusively) use for xscreensaver
Hi, Below you find my (testing stock) /etc/pam.d/common-auth xscreensaver files. I have endlessly played around but this eludes me, so any help would be appreciated ... I'm trying to configure pam such that normal password authentication is used UNLESS we are unlocking xscreensaver, when it should fall bak on the fingerprint reader. Any ideas on how to achieve that? Thanks for any hints. Sincerely, Joh # # /etc/pam.d/xscreensaver - PAM behavior for xscreensaver # @include common-auth @include common-account # # /etc/pam.d/common-auth - authentication settings common to all services # # This file is included from other service-specific PAM config files, # and should contain a list of the authentication modules that define # the central authentication scheme for use on the system # (e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the # traditional Unix authentication mechanisms. # # As of pam 1.0.1-6, this file is managed by pam-auth-update by default. # To take advantage of this, it is recommended that you configure any # local modules either before or after the default block, and use # pam-auth-update to manage selection of other modules. See # pam-auth-update(8) for details. # here are the per-package modules (the Primary block) auth[success=2 default=ignore] pam_fprint.so auth[success=1 default=ignore] pam_unix.so nullok_secure try_first_pass # here's the fallback if no module succeeds authrequisite pam_deny.so # prime the stack with a positive return value if there isn't one already; # this avoids us returning an error just because nothing sets a success code # since the modules above will each just jump around authrequiredpam_permit.so # and here are more per-package modules (the Additional block) authoptionalpam_cap.so # end of pam-auth-update config -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jk589j$pbg$1...@dough.gmane.org
Re: is there no sane, minimal, graphical RSS feed reader in existance?
Hi again, about half a year ago, I complained about the lack of a good, minimal RSS reader: On Fri, Jul 15, 2011 at 10:20:47AM +0200, Johannes Schauer wrote: I've been looking for a good RSS feed reader for years now but I still seem not to be able to find a sane, minimal graphical RSS reader. What I'm using now is liferea which is okay but could be more minimal and mainly, is way too slow to enjoy using it (search for the fsync issue). [...] What I'm looking for is not much: it would just depend on either gtk/qt/efl/whatever for its UI, would have one list of the feeds, another list for recent feed items and another frame with a gecko or webkit plugin for presenting the item. Why this feature/dependency bloat everywhere? Why is there no simple reader with minimal dependencies? Am I just overlooking one? Are my requirements too weird? I'm not afraid to compile from source either, should it not be in Debian. Should I like it I would also package it for Debian. As I said, liferea is close (just had to bear with the gconf2 dependency) but slow as hell (and no, I refuse to use the fsync workaround). Are there others that share my need? If there is really no such thing as a real minimal graphical RSS reader, I'm close to writing one myself. Well, I wrote one myself and here it is: https://github.com/josch/pyferea Posting it here, as there were some others also interested in a solution. cheers, josch -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120224151225.GA23926@hoothoot
Re: is there no sane, minimal, graphical RSS feed reader in existance?
Hi Tony, aptitude isntall newbeuter http://www.newsbeuter.org/ In my original email (that I was replying to with my last mail) I wrote: - There are readers for the terminal but I have several feeds with images and I dont want to open another window of my browser each time. I'm in great love with having as much of my applications terminal based but my RSS reader cannot be one of them as there are quite a number of them that are based on pictures (photo blogs, webcomics, mangas...) thank you for your input! :) cheers, josch -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120224204227.GA18153@hoothoot
Re: More than 150 up-to-date Debian howtos tutorials online (server, virtualization, etc)
On 07/26/2011 08:18 AM, Christoph Pilka wrote: Hi folks, in the last months I've published more than 150 Debian howtos which are online now at http://www.asconix.com/howtos/debian The howtos are covering the following topics so far: * Debian as infrastructure (BIND, Samba ...) * Webservers (Apache2, Nginx, Lighttpd ...) * Databases (MySQL, PostgreSQL, CouchDB, Redis, ...) * CMS's (Plone, Drupal, ...) * Virtualization (Xen, VMware ESX ...) * Backup (Bacula, rsync ...) * E-Mail Groupware (Postfix, Dovecot, OpenXchange, Zarafa ...) * VoIP (Asterisk, Gemeinschaft ...) * E-Commerce (Magento, OXID VirtueMart ...) * Media (XBMC, MediaTomb, Coherence, Fuppes ...) * Desktop Environments Window Managers (XFCE, Awesome, XMonad, StumpWM ...) * Development (Ruby on Rails, Java, Lua ...) ... and so much more ;-) Few of the howtos are translated, the non- translated are self-explanatory (I hope so ;-)). And if anyone of you has time and fun to work on this documentation project, please let me know. I've some further drafts in my pipeline for the next few weeks (e.g. Hadoop Cassandra, Dropbox clone, High Availability etc.). So stay tuned and please leave comments at the bottom of the howtos. Cheerio, Chris I really like the idea of a howto collection, but I would like it even more if it were available under something.debian.org btw where would be the appropriate place for such howtos in the debian infrastructure? wiki? ..? cheers -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e318d2c.9010...@gmx.at
Re: Unison hangs on copy
Hi On Saturday 23 Jul 2011 06:07:58 Victor Munoz wrote: Today, I lost the ability to synchronize between two machines, one had I just wonder, are there any changes on this? If not, should we submit a bug report in Debian? Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201107260016.49383.newslet...@fichtinger.org
Re: Unison hangs on copy
Hi Victor Am Samstag, 23. Juli 2011 schrieb Victor Munoz: Today, I lost the ability to synchronize between two machines, one had lenny until today morning, and the other was sid. I was using apt-pinning to keep both unison versions compatible. Yesterday night I was able to sync both machines for the last time. Then, today morning, I was not. It connects to the server, it recognizes the changes, and it offers me all the changes for approval. Then, when it has to start copying, it just waits for ever, and no progress is done. From yesterday morning on I see exactly the same problem on my machine. I am running latest SID here. On another machine with SID updated the last time one week ago running unison 2.32.52-3+b1 unison works perfectly. Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201107231336.33384.newslet...@fichtinger.org
Re: firewall?
On 07/18/2011 05:27 AM, hadi motamedi wrote: Dear All I have put my windows machine behind my debian firewall server with just one NIC. At now, the windows machine can ping 192.9.9.3 but cannot resolve valid url (like www.google.com). I have set DNS for it as well. Can you please let me know what is the missing step? Thank you Did you check whether your firewall blocks port 53 (DNS)? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4e244ac6.6060...@gmx.at
Re: is there no sane, minimal, graphical RSS feed reader in existance?
Hi, On Sat, Jul 16, 2011 at 01:21:53PM -0700, Mike Castle wrote: On Fri, Jul 15, 2011 at 1:20 AM, Johannes Schauer j.scha...@email.de wrote: Our of curiosity, why choose a local app over a central service like Reader or any of the others out there? I used to be a big fan of such local apps, but since I could be on any number of machines (2 home desktops, a couple of laptops, few machines at work), I've found a web app a lot more convenient. My reason is: I only have one machine with Xorg and access all other machines (home desktops, home servers, few clusters and other machines at work) via ssh. Since there is no other machine with a screen, I would only read my rss on that one machine and thus, having a local app is sufficient. Even though I have a umts flatrate as well, I mostly use umts when traveling (mostly via train) and there the connection is very flaky. So for me it is very useful to have my reader try downloading it periodically and then reading it all offline. Of course my other machine with a screen is my smartphone but due to limitations of screen size I dont use it for my rss feeds as some of them heavily rely on big photos/images (like photo blogs and webcomics). To the fsync issue: even with replacing fsync calls by empty ones, liferea is very slow. It's faster than before but far slower than a small python/gtk/webkit rss reader I hacked together in the meanwhile which reacts in an instant to any user input of mine instead of taking a few seconds to react. Since other users on the web report similar issues with liferea (even with fsync disabled) I dont think this is a misconfiguration of my system and liferea is just slow in general. thanks for your input! cheers, josch -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110716205005.GA1983@hoothoot
is there no sane, minimal, graphical RSS feed reader in existance?
Hi, I've been looking for a good RSS feed reader for years now but I still seem not to be able to find a sane, minimal graphical RSS reader. What I'm using now is liferea which is okay but could be more minimal and mainly, is way too slow to enjoy using it (search for the fsync issue). So what is left? - There is a bunch of web based readers but I treasure having my stuff offline as well. - There are readers for the gnome or KDE environment. Since I use neither it would mean to get 100s of MB (literally) of dependencies - There are firefox extensions but why would I have to install a web browser to read my RSS feeds? - There are thunderbird, evolution and opera but same argument: why would I want to install an email-client/browser for my feeds? - There are clients like blam that are written in .NET/mono and would also require dozens of dependencies (not talking about .NET evilness) - There are readers for the terminal but I have several feeds with images and I dont want to open another window of my browser each time. I can't imagine there are no others who do not use Gnome/KDE (having a more minimal setup) but would want to have a graphical RSS reader? What I'm looking for is not much: it would just depend on either gtk/qt/efl/whatever for its UI, would have one list of the feeds, another list for recent feed items and another frame with a gecko or webkit plugin for presenting the item. Why this feature/dependency bloat everywhere? Why is there no simple reader with minimal dependencies? Am I just overlooking one? Are my requirements too weird? I'm not afraid to compile from source either, should it not be in Debian. Should I like it I would also package it for Debian. As I said, liferea is close (just had to bear with the gconf2 dependency) but slow as hell (and no, I refuse to use the fsync workaround). Are there others that share my need? If there is really no such thing as a real minimal graphical RSS reader, I'm close to writing one myself. Since I'm not subscribed, please dont forget to CC me. Thanks! cheers, josch -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110715082047.GA15129@hoothoot
Re: is there no sane, minimal, graphical RSS feed reader in existance?
Hi, On Fri, Jul 15, 2011 at 06:55:01AM -0400, Eike Lantzsch wrote: Try gpodder? Depends only on python and some python libs. Reads podcasts and rss feeds. Enjoy I really like the minimalism of that piece of software - my ideal rss reader would be exactly like that! Unfortunately I didnt manage to abuse gpodder as an RSS reader. It doesnt seem to cope at all with feeds that do not contain podcasts? cheers, josch -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110715111349.GA26932@hoothoot
Re: Multiple Network Gateways
Hi, reyiz# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 10.10.98.96 0.0.0.0 255.255.255.240 U 0 00 eth0 192.168.100.0 0.0.0.0 255.255.255.0 U 0 00 eth1 0.0.0.0 192.168.100.98 0.0.0.0 UG0 00 eth1 0.0.0.0 10.10.98.1100.0.0.0 UG0 00 eth0 --8---cut here---end---8--- The problem here is that there exists two entries in the routing table for 0.0.0.0 network pointing to both eth0 and eth1. But I just want to have 192.168.100.0 network requests to be handled by eth1, the rest should be redirected to eth0. That is, the desired routing table is as follows. --8---cut here---start-8--- Destination Gateway Genmask Flags Metric RefUse Iface 10.10.98.96 0.0.0.0 255.255.255.240 U 0 00 eth0 192.168.100.0 192.168.100.98 255.255.255.0 U 0 00 eth1 0.0.0.0 10.10.98.1100.0.0.0 UG0 00 eth0 --8---cut here---end---8--- How should I configure /etc/network/interfaces to have such a routing scheme? 1) To get rid of the second default route, your /etc/network/interfaces should like this: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 10.10.98.100 netmask 255.255.255.240 network 10.10.98.96 broadcast 10.10.98.111 gateway 10.10.98.110 dns-nameservers 10.10.10.11 10.10.10.12 dns-search ozun.int auto eth1 iface eth1 inet static address 192.168.100.100 netmask 255.255.255.0 so you just have to remove the following line: gateway 192.168.100.98 then you should get: --8---cut here---start-8--- reyiz# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 10.10.98.96 0.0.0.0 255.255.255.240 U 0 00 eth0 192.168.100.0 0.0.0.0 255.255.255.0 U 0 00 eth1 0.0.0.0 10.10.98.1100.0.0.0 UG0 00 eth0 --8---cut here---end---8--- 2) As lee already wrote, it seems a bit strange that you want to use 192.168.100.98 as gateway to the 192.168.100.0 network. AFAIK you have to do it in a startup script or manually (as you did), I don't know of any way to specify this in your /etc/network/interfaces file. The man page of route says the following: gw GW route packets via a gateway. NOTE: The specified gateway must be reachable first. This usually means that you have to set up a static route to the gateway beforehand. If you specify the address of one of your local interfaces, it will be used to decide about the interface to which the packets should be routed to. This is a BSDism compatibility hack. The problem is, that with your current routing table: reyiz# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.10.98.96 0.0.0.0 255.255.255.240 U 0 0 0 eth0 0.0.0.0 10.10.98.1100.0.0.0 UG0 0 0 eth0 --8---cut here---end---8--- you don't have a static route to the 192.168.100.98, therefore it gives you the error message. So what you have to do is to set up a static route to 192.168.100.98 first and then add your route to 192.168.100.0 that goes through 192.168.100.98. That should work. Anyway, why exactly do you want to route the packets to 192.168.100.0 through 192.168.100.98? Moreover, I tried to create such a routing scheme manually. First, I removed the eth1 entries: --8---cut here---start-8--- reyiz# route del -net 192.168.100.0 netmask 255.255.255.0 dev eth1 reyiz# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 10.10.98.96 0.0.0.0 255.255.255.240 U 0 00 eth0 0.0.0.0 10.10.98.1100.0.0.0 UG0 00 eth0 --8---cut here---end---8--- So far, so good. But I couldn't add a new routing entry for eth1. That is, --8---cut here---start-8--- reyiz# route add -net 192.168.100.0 netmask 255.255.255.0 gw 192.168.100.98 SIOCADDRT: No such process --8---cut here---end---8--- I will be really appreciated for any help. Best. PS: sry for the bad formatting -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive:
Re: is there no sane, minimal, graphical RSS feed reader in existance?
Hi, On Fri, Jul 15, 2011 at 06:11:56PM +0200, Aniruddha wrote: I prefer RSSOwl: www.rssowl.org They have Debian repository. Thanks for the tip! Unfortunately, if you want a html renderer, you need libswt-gnome-gtk-3-jni which (since I do not use gnome) pulls in a few hundred megabytes of libgnome-* and other gnome related dependencies (like gvfs - wtf?). cheers, josch -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110715170004.GA13646@hoothoot
Re: Finnishing apt/aptitude runs with a script?
Sven Joachim wrote: On 2011-03-31 08:49 +0200, Andrei Popescu wrote: On Jo, 31 mar 11, 08:01:46, Johannes Graumann wrote: I'm running a host-based intrusion detection system (HIDS) and have to update it's database whenever I upgrade the system using apt/aptitude. Does that package management suite provide the functionality to run a script/shell command when it's quitting? I'd prefer such a solution over the current scripting approach as I all to aften find myself automatically typing aptitude instead of Myscript ... I think what you need can be achieved with dpkg hooks. Yes, but those hooks will be run more often than necessary, since apt typically invokes dpkg several times during an installation. Hope this hint helps, since I never used them and can't tell you exactly where to put them. /etc/dpkg/dpkg.cfg is the place for that (or drop a file into /etc/dpkg/dpkg.cfg.d). Thank you for that hint. But as you said: dpkg is run multiple time per apt invocation, which doesn't make the option very feasible in my scenario ... no such thing as apt/aptitude hooks? Joh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/in1lnm$91b$1...@dough.gmane.org
Finnishing apt/aptitude runs with a script?
Hi, I'm running a host-based intrusion detection system (HIDS) and have to update it's database whenever I upgrade the system using apt/aptitude. Does that package management suite provide the functionality to run a script/shell command when it's quitting? I'd prefer such a solution over the current scripting approach as I all to aften find myself automatically typing aptitude instead of Myscript ... Thank you for any pointers, Joh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/in11p8$v49$1...@dough.gmane.org
Re: Squeeze: No sound in YouTube
On 2011-02-21 17:17, Mauricio Contreras wrote: I have just installed Squeeze from 3 DVDs with KDE. I did a clean install. I can hear system sounds, and Amarok plays my mp3 files. I installed flash non-free: I can see Flash files but I cannot hear any sound on YouTube and similar sites. I have two sound cards, indexed 0 on the motherboard (Intel chipset) and 1 a SoundBlaster Live (emu10k1) FWIW: I have two sound cards as well, and kde is configured to use the second sound card (1). AFAICT this works for all applications -- except for flash!!! Hence, I guess that this is rather a bug in flash than a problem of debian, but would like to know, if there is a work around. I have tried to blacklist and 'modprobe -r' the other sound card (as I did on lenny), yet this does not seem to work for squeeze. How and where can I point the system to use my #1 card instead of #0? What utilities might I be missing to solve the issue? From what you write, it seems it is not the 'system' that uses the wrong card, but just flashplugin-nonfree. Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d6441aa.3010...@aktendiener.de
replacement for amarok 1.4. in squeeze?
Dear all, now with the imminent release of squeeze, I'd like to know what is a good replacement of lenny's amarok as both an audio player and application to access my ipod. I've upgraded to squeeze about a month ago, and I can't find the following features in squeeze's amarok (all of which were pleasantly usable in lenny's): - ability to synchronize and manage media files on my ipod classic (a google search tells me I should install amarok-ipod, but there is no amarok-ipod in squeeze). - import my old podcasts. Somehow amarok managed to ignore the existing podcasts in my /home/audio folder. (There is no 'media device' setting in the configuration menue.) - ability to show recently added files and albums - ability to import my 'old' mysql database (amarok 1.4.10-2lenny1) into amarok 2.3.1. (I guess I could do without that in case of a good replacement for amarok). I also find the new user interface quite annoying. It appears more 'clean' than the old one, but lacks many of the features that I found useful. amarok has always been quite a huge monster application, slow to start and rather wasteful on resources. In the past this disadvantage has been compensated by a large feature set. The 'new' amarok on kde4 by comparison, appears to be even slower to start and shows only a fraction of the features compared to lenny. (I guess this is generally the case with many applications for kde4). The most pressing need at the moment is to find a way to download podcasts and synchronize mp3s and podcasts with the ipod. Thanks for any suggestions! Cheers, Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d4d2f5c.1060...@aktendiener.de
Re: KDE4 and other WM: user-specific avoiding of plasma-autostart?
Liam O'Toole wrote: On 2011-01-18, Johannes Graumann johannes_graum...@web.de wrote: Hi, This is an u to date Debian testing installation. I'm running kde4 through awesome (having set the KDEWM environment variable). To prevent plasma to start in this environment, I have renamed both plasma-desktop.desktop and plasma-netbook.desktop, yet I do not like this setup, as it is system-wide and not user-specific. Where in Debian might I prevent plasma's autostart in a user-specific manner? Thanks for any hints. Sincerely, Joh The following article shows you how: http://www.sharpley.org.uk/node/8 Thank you very much, it does indeed. Joh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ih3nlt$7h6$1...@dough.gmane.org
KDE4 and other WM: user-specific avoiding of plasma-autostart?
Hi, This is an u to date Debian testing installation. I'm running kde4 through awesome (having set the KDEWM environment variable). To prevent plasma to start in this environment, I have renamed both plasma-desktop.desktop and plasma-netbook.desktop, yet I do not like this setup, as it is system-wide and not user-specific. Where in Debian might I prevent plasma's autostart in a user-specific manner? Thanks for any hints. Sincerely, Joh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/ih3dse$ql7$1...@dough.gmane.org
Re: when does one change from testing to stable in sources.list
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Furie wrote: On 09/12/2010 22:19, Johannes Wiedersich wrote: As others have mentioned, though you might not have seen the replies if you weren't CC'd on them, you could change from 'testing' to 'squeeze' now as they are currently the same thing. Then when squeeze goes stable you could change to 'stable', this will allow you to track the stable distribution and it will upgrade to the next stable 'wheezy', when that is released. Ehm, no. If you have 'squeeze' in your /etc/apt/sources.list it will stay at 'squeeze' until you change 'squeeze' to something else, no matter if debian moves beyond wheezy or not. In order to upgrade to 'wheezy' you'd have to edit your /etc/apt/sources.list again (no big deal for me). Ehm, no, what? Re-read what I typed. Once squeeze is stable, changing your sources to stable means you will track stable, whether it is lenny, squeeze, wheezy, or whatever is coming after that. Sorry for the noise. I read your sentence as 'squeeze becomes stable' not as 'change your apt.sources another time'. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk0CToIACgkQC1NzPRl9qEVhWACdF4UDv906W52qo7jAK56ndJsj mTAAn1DIktQYmwvnpQX0m5PtvW6H50HW =0EJS -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: http://lists.debian.org/4d024e82.6000...@physik.blm.tu-muenchen.de
Re: when does one change from testing to stable in sources.list
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Furie wrote: Why? What's the difference between having stable in the source list and automatically upgrading when the new stable is released - all upgrade issues *should* be worked out by then - versus switching the codename once the new version becomes stable? You miss reading the upgrade instructions and release notes before performing the upgrade. YMMV, of course, but I prefer to spend 10 minutes reading the upgrade instructions to having to revert the upgrade procedure for all my machines, because I missed a simple but important point. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk0CT10ACgkQC1NzPRl9qEVHLACdGTcBz3M6XdAWhmCyRh6KAxpG 4loAn3Bty0kdFofu9VWma0cCljrOKUlc =m1v3 -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: http://lists.debian.org/4d024f5e.50...@physik.blm.tu-muenchen.de
Re: when does one change from testing to stable in sources.list
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 shirish शिरीष wrote: At bottom :- 2010/12/10 Tom Furie t...@furie.org.uk: snipped As others have mentioned, though you might not have seen the replies if you weren't CC'd on them, you could change from 'testing' to 'squeeze' now as they are currently the same thing. Then when squeeze goes stable you could change to 'stable', this will allow you to track the stable distribution and it will upgrade to the next stable 'wheezy', when that is released. Ehm, no. If you have 'squeeze' in your /etc/apt/sources.list it will stay at 'squeeze' until you change 'squeeze' to something else, no matter if debian moves beyond wheezy or not. In order to upgrade to 'wheezy' you'd have to edit your /etc/apt/sources.list again (no big deal for me). - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAk0BVfIACgkQC1NzPRl9qEUzGgCfe8P/YZP2oMJ4E/bhibilXu17 afIAnR6mBIZZv6ZelpcVR4vHQH66P63C =H+xe -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: http://lists.debian.org/4d0155f2.7060...@physik.blm.tu-muenchen.de
Re: jpg2pdf :-)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pol Hallen wrote: Howdy :-) #!/bin/sh convert $1 ${1/.jpg/.pdf} using this script correctly convert jpg file to pdf (I use it with service menu in kde). Now, I'd like convert any files to pdf (like png, txt, etc.) but I don't how do. convert will work on most graphics files; ps2pdf is better for ps and eps files, though. For other files there are various options. txt could be converted to ps by a2ps and then via ps2pdf to pdf. etc. Office documents are probably best converted by opening and exporting to pdf manually. Except for graphic formats, there is now universal tool, as far as I know. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkz3lroACgkQC1NzPRl9qEXbMACggYjWCI78MB8t/iFvgQE4/Rts misAnjfLgOsDTeeZsCVsrSy0eo0kAFFA =JZ4j -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: http://lists.debian.org/4cf796ba.1010...@physik.blm.tu-muenchen.de
Re: jpg2pdf :-)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joao Ferreira gmail wrote: works for txt too: convert abc.txt abc.pdf not on my lenny system: $ convert abc.txt abc.pdf convert: Improper image header `abc.txt'. convert: missing an image filename `abc.pdf'. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkz3mK8ACgkQC1NzPRl9qEV8ZgCfdOzunArzaVuacLzsHKKrsIAp 0+QAnAyh+/mQ/3sN+NtzVRZlVJtsFf3Z =fOsz -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: http://lists.debian.org/4cf798af.5000...@physik.blm.tu-muenchen.de
Re: Seeking advice and documentation on non-standard software RAID1 setup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 deloptes wrote: I am doing a backup once a month ... I don't use any raid ... no issues in the past. After 4 years of use, I have disassembled the notebook and cleaned it up with a spray. I think it will work for the next 4 years ... FWIW, good experience in the past is not a reliable guide as to how often one should back up data, as it could be just caused by good luck. The interval of backups should match how much you can 'afford' to lose. I usually backup my data daily [1], because that is about the maximum work that I am prepared to recreate in case of failure. I have had disks running reliably for 10-15 years and others failing within 4 weeks from purchase. Of course it is also a question of how much time you will spend on backing up the data compared to how much time you will spend to recreate the data in case of loss. Backups can be automated, though ;-) YMMV, of course. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkz2DgsACgkQC1NzPRl9qEVnzACdG3iOYQ3M881sl1QxlPlwTnd3 HfQAnAnIG2jFh2QlADvFP+rAWtpsTtJN =llB2 -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: http://lists.debian.org/4cf60e0b.5060...@physik.blm.tu-muenchen.de
Re: Seeking advice and documentation on non-standard software RAID1 setup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrei Popescu wrote: On Ma, 30 nov 10, 15:39:15, Johannes Wiedersich wrote: 1. Is this setup possible and/or feasible? Probably yes, though I have never tried this. This would mean that your disks ie. the raid has to be rebuild each time you reconnect the disks. From my experience this is a rather time consuming. Are we talking minutes or hours? The current plan is to use the fastest 16GB SD card I can find. Last time I used this it took many hours on an 200GB file system on an 'ordinary' hard disk. That was my thinking. Can unison be used for the entire system (not just some files under my /home)? , | Unison is a user-level program: there is no need to modify the kernel or | to have superuser privileges on either host. ` This seems to imply it can't. I have never done this; I use rsync for '/' backups. I read 'no need' as 'you can use it as an ordinary user' and not as 'you cannot use it as root'. It should be straightforward to try. ;-) I've been using both unison and rsync for years now for synchronisation and backup, respectively. I really like unison for keeping my laptop in sync with my workstation. I don't have to worry, if both sets are changed between synchronisations and unison works fast and reliable. My 2ct. Cheers, - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkz2NWMACgkQC1NzPRl9qEXNxgCfVDB8N1WEUPCMKlpjpSIJYw8V 8HQAniQfqTlmDfobpbZmCeg8bNsAR2vO =ardq -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: http://lists.debian.org/4cf63563.5070...@physik.blm.tu-muenchen.de
Re: Seeking advice and documentation on non-standard software RAID1 setup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrei Popescu wrote: So here is what I thought of: - make a software RAID1 on my laptop between a SD card and a partition on the builtin HDD - whenever I want or need to use the other laptop I use the SD card to boot from it and work in my environment This way I can enjoy my work environment on whatever machine I work and also have a sort of backup. My questions are: 1. Is this setup possible and/or feasible? Probably yes, though I have never tried this. This would mean that your disks ie. the raid has to be rebuild each time you reconnect the disks. - From my experience this is a rather time consuming. You also get a problem, if for some reason you modify both disks independently. (Say you quickly edit some stuff on A while the second disk is attached to B or unplugged). 2. Where should I start? 3. Any other issues I haven't thought of (I have zero experience with RAID) I'd suggest using unison or some other application to keep both disks in sync. unison is rather fast at syncing the disks and even has some capabilities of merging (mainly usefull for text files) in case you modify your files on both replicas in between two runs of unison. Effectively you will always have one 'offline' backup: either the external disk (when working on the home laptop) or the laptop at home (when working with the external disk). Just my 2ct, - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkz1DJMACgkQC1NzPRl9qEXMfgCeLN0S7C0JdUm/RI2cWBAdJ0E4 0XUAn3HErBE1i89rb0w2BRdPjP/VEBr1 =OGtb -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: http://lists.debian.org/4cf50c93.8090...@physik.blm.tu-muenchen.de
Re: Can Debian Backup ntfs File System?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Camaleón wrote: On Sun, 28 Nov 2010 18:48:18 +0100, Axel Freyn wrote: A similiar point is true for scandisk / chkdsk: Again, independent on the filesystem: Once the filesystem is corrupted, the recovery tool has to make assumptions about what is the correct information -- and if it makes the wrong assumption, it WILL destroy data. For example: How can chkdsk guarantee that, whenever it writes some information on the disk, it uses a truely free part of the disc? maybe on this place was a piece of an important file, which was lost by the file-system corruption? Well, no need to worry. You are thinking in the worst scenario but even if the file system structure is completey destroyed, defrag is also capable of performing a test only disk analysis and so does chkdsk. Well, it depends on the value of the data whether to worry or not. If it really is important data and the disk already shows some harddisk errors (one possible reason for the failure to boot), then it might be really dangerous to strain the fragile device with time consuming windows defrag instead on focussing on getting the data off the dying disk. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEUEARECAAYFAkzzgT0ACgkQC1NzPRl9qEUG9gCfdu4mZjpzlu0IsJx+LWyrayFC NFcAlRvQhXinjXTqy3hL23vYO92Fx2k= =r8bN -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: http://lists.debian.org/4cf3813d.80...@physik.blm.tu-muenchen.de
Re: Can Debian Backup ntfs File System?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Camaleón wrote: On Mon, 29 Nov 2010 11:32:29 +0100, Johannes Wiedersich wrote: Last backup was from a year ago, that should give you some hints about how valuable is data for the user. Daughter is a banker, not computer scientist. IMHO many of those underestimate the importance of backups. NTFS is quite robust. In fact, it survives better to unforeseen shutdowns than other linux filesystems. And again, if you are concerned about the fragile status of the file system, run the diagnosis tools in test mode. My point was not related to the robustness of the file system, it was related to the robustness of the hardware. If it turns out that the hardware is ok, there is still time to fix the fs AFTER the data have been copied. Cheers, - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkzz0ssACgkQC1NzPRl9qEVJ2gCdHqajkNyh21XixZUzNu9Mlkhr CFwAnRQ9rFpsDtAvCOmaz6i/HoYzQ5HK =xRap -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: http://lists.debian.org/4cf3d2cb.5030...@physik.blm.tu-muenchen.de
[OT] Re: sed with several lines, how?
Arthur Bela wrote: i just can't figure it out, how to sed when having several lines [nor in awk, perl..] I have not really understood your question, but maybe this will help you: http://www.grymoire.com/Unix/Sed.html#uh-51 I would go someway along the lines of removing the newline at the end, then replacing the full expression. Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4cf12c37.3000...@aktendiener.de
Re: linux-image for i586
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sthu Deus wrote: Thank You for Your time and answer, Brad: Probably because, like the AMD (32 bit) builds, there was insufficient benefit to warrant all the extra work (to say nothing of storage space) to do it. Then. may You know why they have chosen i486 instead of i386? This has been decided for the release of sarge (around 2005). From lenny's installation guide [1]: However, Debian GNU/Linux lenny will not run on 386 or earlier processors. Despite the architecture name i386, support for actual 80386 processors (and their clones) was dropped with the Sarge (r3.1) release of Debian. (No version of Linux has ever supported the 286 or earlier chips in the series.) All i486 and later processors are still supported and We have long tried to avoid this, but in the end it was necessary due a unfortunate series of issues with the compiler and the kernel, starting with an bug in the C++ ABI provided by GCC. You should still be able to run Debian GNU/Linux on actual 80386 processors if you compile your own kernel and compile all packages from source, but that is beyond the scope of this manual. [1] http://www.debian.org/releases/stable/i386/ch02s01.html.en#id2756691 - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkzS9ZEACgkQC1NzPRl9qEWdPgCdGC1GCIDRs00Qc2hXWNFVmL+c 7Y8AnRm3qmTL/PEcQu8PRP/G4h2zLNGw =I9DZ -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: http://lists.debian.org/4cd2f592.8010...@physik.blm.tu-muenchen.de
Re: Debian VServer in Germany
David Jardine wrote: On Mon, Sep 13, 2010 at 10:44:36PM +0200, Johannes Graumann wrote: Hi, I'm looking for a hosting outfit in Germany that will provide a virtual server running debian with =75GB HD space, full root access and backup management. I'm with strato.de right now and happy, BUT they will NOT allow me to set an MX-Record for the server-associated domain directly. I'm looking for a provider that allows that while providing a backup mailserver, so no mail gets lost if my own vserver goes down for a bit ... Any ideas, I don't know about all your particular requirements, but 1und1.de provides a wide range and in my (small-scale) experience is very reliable. Thanks! I have had very spotty customer service experiences with 1und1 in the past - that wasn't a problem for you? Thanks, Joh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/i6nad7$uj...@dough.gmane.org
Re: Debian VServer in Germany
Decided to solve my issues with migrating my domain to dyndns.org's custom offering. Joh Johannes Graumann wrote: Hi, I'm looking for a hosting outfit in Germany that will provide a virtual server running debian with =75GB HD space, full root access and backup management. I'm with strato.de right now and happy, BUT they will NOT allow me to set an MX-Record for the server-associated domain directly. I'm looking for a provider that allows that while providing a backup mailserver, so no mail gets lost if my own vserver goes down for a bit ... Any ideas, Thanks, Joh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/i6oob5$8t...@dough.gmane.org
Debian VServer in Germany
Hi, I'm looking for a hosting outfit in Germany that will provide a virtual server running debian with =75GB HD space, full root access and backup management. I'm with strato.de right now and happy, BUT they will NOT allow me to set an MX-Record for the server-associated domain directly. I'm looking for a provider that allows that while providing a backup mailserver, so no mail gets lost if my own vserver goes down for a bit ... Any ideas, Thanks, Joh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/i6m2fl$s2...@dough.gmane.org
Re: Package Name Confusion
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! PRAKHAR gaur wrote: I think I did not put the question properly. The question is... There is a package called as kernel-devel in Fedora, what is the equivalent one in Debian? Since most of us know more about debian than about fedora, it might be helpful, if you could just tell us what you would like to do with that package... My guess is that its name would start with linux- (there are not only linux kernels in debian). You could just search and check the descriptions of these packages with aptitude. HTH, - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkyI2NQACgkQC1NzPRl9qEXoQQCfc9KwQPh9+OLyVtzK0m3j+3Qm 0F8An1IVBJmfVm/eMTVZXQpx0tjMBHgc =RsZn -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: http://lists.debian.org/4c88d8d4.6030...@physik.blm.tu-muenchen.de
Re: Maildrop problem
I found the problem. maildrop seems to not like it when it is called with the user it becomes to deliver the mail. When I call it from my normal user account, the mail is delivered correctly. And if I change the user=vmail (which owns the mails and maildrop does setuid() to) to user=mail, then everything's alright. I'm pretty sure maildrop should not be setuid root, since postfix is supposed to change to the user of the recipient before calling maildrop. I would totally agree, but unfortunately this doesn't seem to be possible for the reasons stated above. I will fill a bug report. Also, getuid() returns the real user ID, geteuid() returns the effective user ID. Ah, nice to know, maildrop only uses getuid(), maybe that's part of the problem. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c876679.5070...@blackmole.de
Maildrop problem
Hey guys, I'm quite desperate getting maildrop to work. I use postfix and courier with a mysql backend (virtual mailboxes). maildrop connects to authlib and gets the proper information, but only as root, it delivers it to the right mailbox. When i call maildrop from sudo -u vmail -i, it creates/appends the mail to ~/Maildir. Here is some output: # maildrop -V5 -d m...@my-domain.de mail.eml maildrop: authlib: groupid=2000 maildrop: authlib: userid=2000 maildrop: authlib: logname...@my-domain.de, home=/var/kunden/mail/, mail=johannes/m...@my-domain.de/ maildrop: Changing to /var/kunden/mail/ Message start at 0 bytes, envelope sender...@my-domain.de maildrop: Attempting .mailfilter maildrop: Delivery complete. # sudo -u vmail -i $ maildrop -V5 -d m...@my-domain.de mail.eml maildrop: authlib: groupid=2000 maildrop: authlib: userid=2000 maildrop: authlib: logname...@my-domain.de, home=/var/kunden/mail/, mail=johannes/m...@my-domain.de/ maildrop: Changing to /var/kunden/mail Message start at 0 bytes, envelope sender=vmail maildrop: Attempting .mailfilter maildrop: Delivering to ./Maildir maildrop: Flock()ing ./Maildir. maildrop: Appending to ./Maildir. maildrop: Delivery complete. So the only difference before delivery is the envelope sender, which I can set manually, but which does not give a different result in terms of delivery. Has anybody got an idea what is wrong there? I use Lenny with standard repos, so a quite common setup. It's running in VirtualBox from Lenny-Backports. Btw: What can go wrong with a setuid? I straced the above command, but as vmail I was not allowed to connect to the authdaemon socket, the first getuid() returned 2000 before any setuid. After chowning the socket, the connection to the authdaemon seems to be fine, but I don't understand why getuid() does not return a 0, because maildrop has -rwsr-sr-x. Maybe that's the problem? Any ideas? Thanks for any hints! Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c86cbf1.4010...@blackmole.de
[OT] permissions on samba share
Dear all! I have some problem with permissions of files saved from a windows XP to a samba share. Some files from a proprietary software are saved with permissions -rwxrw 1 johannes tandem 4686 2010-09-06 11:24 BCK2000.DAT other data from the same software are saved with permissions -rw--w 1 tandem tandem 5870 2010-09-06 11:01 das-A040g-90deg-20VV.DAT I would ideally save all files with permissions -rw-rw. The directories of the files have the permissions drwxrws--- 2 johannes tandem 4096 2010-09-03 09:09 backup/ drwxrws--- 4 johannes tandem 69632 2010-09-06 11:03 pmma-film/ Is there any way that I am missing to force all files stored from that 'guest OS' to have -rw-rw ? Thanks for help! Cheers, Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c84b519.2000...@aktendiener.de
Re: [OT] permissions on samba share
Camaleón wrote: On Mon, 06 Sep 2010 11:32:09 +0200, Johannes Wiedersich wrote: I have some problem with permissions of files saved from a windows XP to a samba share. Some files from a proprietary software are saved with permissions (...) Is there any way that I am missing to force all files stored from that 'guest OS' to have -rw-rw ? Have you tried by setting create mask¹ value for the share? ¹ http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#CREATEMASK Yes, plus the 'force create mode'. The relevant part of my smb.conf is /== [winshare] comment = xxx path = /home/projekte valid users = xxx, read only = No create mask = 0664 force create mode = 0660 directory mask = 0770 force directory mode = 0770 \== Greetings, Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c84dfad.5050...@aktendiener.de
control apt-get selection for packages having multiple virtual package alternatives
hi!let me explain with the example of xserver-xorg. amongst others it has dependencies of xserver-xorg-input-all and xserver-xorg-video-all but both dependencies can also be provided by the packages xserver-xorg-input-7 and xserver-xorg-video-6. as you all know, the difference is that the meta-packages of xserver-xorg-input-all and xserver-xorg-video-all will pull all video and input packages while the virtual packages of xserver-xorg-input-7 and xserver-xorg-video-6 allow only one of the drivers to be installed to satisfy the dependency.as a result apt-get install xserver-xorg-video-foobar will not install all video drivers and apt-get install xserver-xorg-input-baz will not install all input drivers. my problem now is, that when i do apt-get install xserver-xorg-video-foobar i will still get xserver-xorg-input all and when i do apt-get install xserver-xorg-input-baz i will still get xserver-xorg-video all.trying to resolv this by doing apt-get install xserver-xorg-video-foobar xserver-xorg-input-baz doesnt help and will still get the *-all package of input or video whichever is not mentioned first.so in the general case of having a package with several dependencies that are satisfied by either one *-all metapackage or one virtual package where i can select the package providing it - how do i tell apt to select the specific package i want in BOTH cases?and in particular: how do i do that for an installation of xserver-xorg without removing the unwanted packages later?cheers josch -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/509156684.1654211.1281992923543.javamail.fm...@mwmweb027
debian-multimedia.org gone?
Dear all, does anyone know, what has happened to debian-multimedia.org? The web page is gone and the repository is empty. Has Christian Marillat given up? Thanks Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87iq5s9f2p@lenny.babel
Re: backing up LVM volumes
Bernard wrote: Hi to Everyone ! On my previous systems, I used to create overall backups of partitions, using 'SystemRescueCD'. This is no longer possible ever since 2007 that I have a RAID1 mirroring system on my Debian. SystemRescueCD does not backup LVM volumes, or, if it does, that must be a very new feature, and I have not found any doc on this. Why do you want to backup LVM volumes instead of simply backing up your data? rsync -a /mounted/partition /directory/on/mounted/backup backs up all I need. Read man rsync for its options. So, what should I do so as to backup my system ? I once tried 'dd', but I think I remember it took forever, and I don't really know whether I would have been able to use the resulting file to successfully restore the partitions if needed. dd will copy everything, including empty space. Could someone suggest something that has been successfully tried ? Even 'dd' could do, if it is OK with LVM and if I get some details. I understand that I would have to unmount the partitions, but this is not a problem. I have two IDE mirrored disks of 200 GB each. Why not just copy the data off the mounted partition. Even more simple and faster. -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - Galileo Galilei, physicist and astronomer (1564-1642) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4bd70a07.6040...@physik.blm.tu-muenchen.de
Re: PDF is blocked for printing, etc. OK for acroread (it behaves as expected), but KPDF allows me to print it, even if it is protected! Why?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Merciadri Luca wrote: Johannes Wiedersich wrote: Just use a grey-by-dotting watermark for black text, merge the layers and it will be rather difficult to remove the watermark. I did not merge the layers before sending it to them. Problematic? Difficult to judge, since I somehow lost track of what exactly you tried to achieve and what is the nature of the document. If you are simply afraid, that someone would use this document as her/his own work you could watermark the pdf and convert it to a low resolution bitmap (as others have already suggested). If the document was later misused, you could just show your nice, high quality printout without watermarks to prove that you are the real author. Another way might be to hand out that bad quality printout on some special paper, either coloured or with rules and keep the pdf version to yourself. It will be about as difficult to retype/recreate such a document from paper as from retyping it from screen, which was your first choice (disallow printing, allow screen viewing). I think you might have gotten better replies in shorter time, if you had been more explicit and clear about what you try to achieve. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkvOssIACgkQC1NzPRl9qEVFsgCfVRlKyYWkvwPViEKl1j1mWOVj 7GUAn2knZWl/41ciugK7HRDfXVmKgI62 =18lF -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: http://lists.debian.org/4bceb2c2.6050...@physik.blm.tu-muenchen.de
Re: PDF is blocked for printing, etc. OK for acroread (it behaves as expected), but KPDF allows me to print it, even if it is protected! Why?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Merciadri Luca wrote: Johannes Wiedersich wrote: Why would an honest soul ever allow information to be read, but not printed? To maintain honesty? An honest soul (i.e. me, here) has to send some data to some dishonest person. The problem is: either you give data to some dishonest person or you don't give that data to some dishonest person. Tertium non datur. Even with acroread it is possible to print screenshots of the documents. Might be a pain to reconstruct a multipage document, but not impossible. I know, and we all know this. But this needs some determination, because it needs some time. And when such problems arise, one often thinks (or should, at least, think) `Do I really need to copy this using that painful way, to bypass some limitation which is actually imposed to me by an honest person?' This is another aspect of security. There are the technical means, and all the infringements which can be done. But, sometimes, `le jeu n'en vaut pas la chandelle.' FWIW, if you'd like to rely on such a scheme for security by obstacles, you'd have to use something else than pdf. pdf's scheme is broken. That's all. The reason that it is broken for pdfs is that the specifications for pdf are freely available, and thus alternative pdf readers have been developed. Your scheme would require closed specifications and closed software to work. This list, however, is all about free software. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEUEARECAAYFAkvNS+oACgkQC1NzPRl9qEVM2wCfQpAVsTAx7GnbTUminwiqUIlp cm4AlRF4NIAhaaT6neYDcg0rYaXGs+k= =XYrP -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: http://lists.debian.org/4bcd4bea.2090...@physik.blm.tu-muenchen.de
Re: PDF is blocked for printing, etc. OK for acroread (it behaves as expected), but KPDF allows me to print it, even if it is protected! Why?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Merciadri Luca wrote: John Hasler wrote: What do you mean by real protection? If they possess a copy that they can read they can print it. It should be obvious that there is nothing you can do to stop them. Not so obvious, simply because if they are using some software that is license-limited, and if they are `beginners' in the field, they might simply never find any way to deal with your document in another fashion than the one you only wanted them to work in. Yeah, and 'beginners' bank robbers can be mislead by not writing bank above the door of banks. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkvNTPQACgkQC1NzPRl9qEWe1QCfXoPqfFqWriUF+Uju+T0qaxPC 2NcAnRNEFi+kmCojaGjIQmDANar/c5L3 =5LqS -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: http://lists.debian.org/4bcd4cf4.6080...@physik.blm.tu-muenchen.de
Re: Plagiarism (was Re: PDF is blocked for ...)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ron Johnson wrote: On 2010-04-20 07:27, Merciadri Luca wrote: [snip] Yes, but there are some nuances. Let's take my example: how would you have done this? You need to transmit the document, but the receivers are sufficiently dishonest to print it and to claim they are the authors. Haven't Academicians had this problem for centuries? How have the rest of them solved it in the past 30 years? The usual solution in academia is just to publish the results. Once they are published with your name on it, it will be easy to prove later plagiarism. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkvN/s8ACgkQC1NzPRl9qEUcNwCdFsU3+gXyUzfqUgRzXpTaxrR3 5rYAnih+re/hm9XwHWxfW7KWKGseuAPc =FvS0 -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: http://lists.debian.org/4bcdfecf.9080...@physik.blm.tu-muenchen.de
Re: PDF is blocked for printing, etc. OK for acroread (it behaves as expected), but KPDF allows me to print it, even if it is protected! Why?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Merciadri Luca wrote: Gunnar Wolf wrote: Merciadri Luca dijo [Tue, Apr 20, 2010 at 02:00:13PM +0200]: Yet, you say in your previous reply they would be able to remove the watermark from the document. That is clearly more complicated. Sure, but I think that PDFs are composed `in layers,' aren't they? If `layers' were not merged together, it might still be possible to remove the watermark. Gunnar did not suggest not to merge the layers, did he? Just use a grey-by-dotting watermark for black text, merge the layers and it will be rather difficult to remove the watermark. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkvN/zkACgkQC1NzPRl9qEVbgQCfaeFmKH9N6M4sLW0cRoCTTLGB lBcAn3mrhaC5sEGADzJXh0grXtQ38jFn =BFUN -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: http://lists.debian.org/4bcdff39.4000...@physik.blm.tu-muenchen.de
Re: Which kernel for ThinkPad 760XD ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Merciadri Luca wrote: Ionreflex wrote: [quote] Linux lol 2.4.27-3-586tsc #1 Tue Dec 5 22:06:26 UTC 2006 i586 GNU/Linux [/quote] What does `lol' mean here? I guess it's just the hostname of the computer in question. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkvMlJgACgkQC1NzPRl9qEVFuACfaFup6BswvPWXItEaOros2WxV 5oAAnj8CaoKKXS5UgHRvb2+j0I+ryuyP =D5LC -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: http://lists.debian.org/4bcc9498.7090...@physik.blm.tu-muenchen.de
Re: Which kernel for ThinkPad 760XD ?
Merciadri Luca wrote: I have no answer to your question, but I am wondering... NB: Apparently, the original post you replied to was to debian-laptop, not debian-user... -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - Galileo Galilei, physicist and astronomer (1564-1642) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4bcc958c.2090...@physik.blm.tu-muenchen.de
Re: PDF is blocked for printing, etc. OK for acroread (it behaves as expected), but KPDF allows me to print it, even if it is protected! Why?
Merciadri Luca wrote: Mikhail Gusarov wrote: Twas brillig at 17:32:51 19.04.2010 UTC+02 when luca.mercia...@student.ulg.ac.be did gyre and gimble: Pdf anti-features are fake security. Don't trust on them, never. ML And what do you suggest if one wants some real protection _and_ the ML benefits of a format like PDF? Thanks. There is no real protection. Okay. Simple, but definitive. The real protection would be not to send that information. Why would an honest soul ever allow information to be read, but not printed? Even with acroread it is possible to print screenshots of the documents. Might be a pain to reconstruct a multipage document, but not impossible. -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - Galileo Galilei, physicist and astronomer (1564-1642) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4bcc9735.90...@physik.blm.tu-muenchen.de
Re: GUI for IPv6
Alexander Samad wrote: On Tue, Mar 30, 2010 at 5:07 AM, Curt Howland howl...@priss.com wrote: [snip] Anyway, WICD is the only networking GUI I've used that worked for me, but is there another that handles IPv6? gvim /etc/network/interfaces gvim /etc/wpa_supplicant/wpa_supplicant.conf works for me :) Yeah! I too love debian's text only configuration files. However, WICD is /my/ exception for using a config-gui instead of an editor. Just select the network you'd like to connect, optionally enter the password and done. (Wireless) network is configured and autoconnects. Don't even bother to authenticate as root. It's damn smart simple. 8-) YMMV, of course, Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4bb369f5.2070...@aktendiener.de
Re: No updates seen in a while
John Hasler wrote: S.D.A. writes: Precisely, far too many lists on Debian and they could use some consolidation. My view is if an issue affects users of Debian; then it should be posted to the 'user' lists. No. debian-user is for Help and discussion among users of Debian. debian-announce is for Important announcements. cf. http://lists.debian.org/users.html There are many different needs of different people. A higher number of mailing lists makes it just easier to accommodate all these needs. (It is rather simple to subscribe and unsubscribe). Many users cannot tolerate the high volume of debian-user but need to see announcements. These people subscribe only to the low-volume announce lists. On the other hand it is hard to see why those who can tolerate the high volume here cannot also subscribe the the low-volume announce lists. And even users tolerating the high volume of d-u might want to have an important announcement stand out (with a different 'to') for easy filtering. Cheers, Johannes -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4bb36f83.9070...@aktendiener.de
Re: ext4dev stability
Jason Voorhees wrote: I just want to use an ext4 filesystem without having to recompile my kernel nor using testing repositories nor losing the stability group of packages provided by Debian Lenny. I haven't used ext4 yet, so no comment on that. FWIW, there is also http://www.backports.org/ if you want a more recent kernel without compiling your own. -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - Galileo Galilei, physicist and astronomer (1564-1642) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4b856121.40...@physik.blm.tu-muenchen.de
Re: netstat ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Hasler wrote: Jordan Metzmeier writes: Etch security support ended 2010-02-15: http://wiki.debian.org/DebianEtch A huge slug of Etch security updates came out yesterday. Look at debian-changes. - From one respective security announcement [1]: NOTE: This kernel update marks the final planned kernel security update for the 2.6.18 kernel in the Debian release 'etch'. Although security support for 'etch' officially ended on Feburary 15th, 2010, this update was already in preparation before that date. [1] http://lists.debian.org/debian-security-announce/2010/msg00043.html So, I would not expect any further security updates. I read this as 'get this on courtesy of the security team, but don't expect more' ;-) - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkuFas0ACgkQC1NzPRl9qEV7IwCdGhsJocKwCQccIW0eNoLansNt LzYAnjhGeCzCOd35AVWxuTywuFUKszQm =CsUn -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: http://lists.debian.org/4b856acd.8070...@physik.blm.tu-muenchen.de
Re: how to find bad blocks
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vadkan Jozsef wrote: We have a samsung hdd, that keeps falling out of raid, but there are no bad blocks on it, according to badblocks prog. we would like to return it [warranty], but it would be better to find e.g. bad blocks on it..:\ :D As others wrote, use the smartctl program from smartmontools. I had some strange problems with a samsung drive, I bought recently. I just run 'long' smartctl tests on the drive and it would fail them. I sent the drive back with the output of 'smartctl -a /dev/whatever' and got a replacement from the shop. HTH, Johannes === SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted: read failure 90% 265 1651557882 # 2 Extended offlineCompleted: read failure 90% 221 1651557882 # 3 Short offline Completed: read failure 20% 171 1651557882 # 4 Extended offlineCompleted: read failure 90% 171 1651557882 # 5 Extended offlineCompleted: read failure 90% 168 1651557882 # 6 Short offline Completed without error 00% 165 - # 7 Short offline Aborted by host 10% 165 - # 8 Short offline Completed without error 00% 161 - # 9 Short offline Aborted by host 90% 161 - #10 Extended offlineCompleted: read failure 40% 150 165100 #11 Extended offlineCompleted: read failure 50% 141 1170387107 #12 Extended offlineCompleted: read failure 50% 130 1170387107 #13 Extended offlineCompleted without error 00% 108 - #14 Extended offlineInterrupted (host reset) 40%96 - #15 Extended offlineCompleted: read failure 40%83 1651556392 #16 Extended offlineCompleted: read failure 50%57 1334488458 #17 Extended offlineCompleted: read failure 50%52 1334488458 === - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktyexoACgkQC1NzPRl9qEWM5QCePoHcL85JNhGe+uwiQeQTbdIO MzAAnR/hwJP62YDQm3NtOFl0Px3D3ldH =LJoT -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Where is Bash Prompt Set??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stan Hoeppner wrote: Maybe you misunderstood my example shell prompt code. [11:14:14][s...@greer]/etc/postfix$ [11:16:09][r...@greer]/etc/postfix$ There. No color. Root does has a different prompt. The prompt says root instead of user. What about your concern am I missing? Well, never mind. It's really cool that anyone can customize to his or her liking. For my purposes, I usually just document the command and the '#', not the whole prompt. As I wrote, YMMV. Have fun! - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktyfLwACgkQC1NzPRl9qEWBlwCfR/0cdXqCcC5SChqyPNM0aMis xjAAnj3+xtXMJz6Su3Z6YnaaGbYN7/8T =PXE8 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Where is Bash Prompt Set??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stan Hoeppner wrote: Also, I've always _hated_ that # for root's prompt, so I killed it and use a $ now. No need for it since root is now all red. :) FWIW, if I document my work, eg. by copy-pasting the command into a doc-file, the color information is lost. IMHO it is therefore usefull to have a different prompt for root. YMMV, of course. Just my humble 2ct. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. - - Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktxlrwACgkQC1NzPRl9qEUNDwCdGnD3m/+pJGfQ03noerHlOZkV i+sAnjkq8aJTpxS/wTwFphV15RHIqVoC =+oec -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Can Anyone Explain the over-all view of Wireless Networking?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kent West wrote: If I understood all that, I bet I could figure out how to get my wireless network working. However, I've been googling/studying off and on for the past year, everytime I try to put Debian (or Ubuntu, or whatever) on a laptop that comes across my path (and failing pretty much every time on the wireless), but I've never found a site that actually has gotten me to an understanding of the process. Some sites talk about gui configuration clients I don't have, or compiling drivers manually which I don't need to do, or using ndiswrapper (?!), etc. Maybe the process is just WAY too complex to be explained for mere mortals who aren't in the mechanics of Linux networking on a daily basis. I was in a similar situation like you before I started using wicd. (People on lenny should use backport's wicd). It just hides all the unnecessary complexity of wireless behind a rather intuitive and simple interface. You configure it once for a new environment and it will work henceforth. I have multiple different wireless and wired networks configured on my laptop that just work, now. - -- Johannes In questions of science, the authority of a thousand is not worth the humble reasoning of a single individual. -- Galileo Galilei, physicist and astronomer (1564-1642) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktokucACgkQC1NzPRl9qEWrLACfRs5zuYhTTIXAOqx9zIOrgMaH yMsAnR+u1HgNIqF2Yx4usS5yr9aR7Gq8 =bGPf -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Recording website audio
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank McCormick wrote: I have spent several hours and Googled myself to death trying to figure out how to record website audio. I've been using Sox and ffmpeg but so far have got nowhere. I have a list of audio devices but none seems to work. [snip] Does anyone have some hints ? I use streamripper, ie. avoid the use of the sound card altogether: streamripper url of mp3 stream -d ~/some/path -D %D%A%T -l 3600 - -- Johannes Three nations have not officially adopted the International System of Units as their primary or sole system of measurement: Burma, Liberia, and the United States. http://en.wikipedia.org/wiki/Si_units -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktiotIACgkQC1NzPRl9qEVTQgCaAz0LFmNutK3NwERkyC0vmw/+ wOkAnA/n+2r/J1pYsG5IhQ+7S9Yp7wJG =Iqw/ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: selected debian questions: raid performance tips
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dino Vliet wrote: Questions 1) Can you show me the definitive debian lenny guide to create a software RAID-1 array from within the debian installer (I searched with google but wasn't that sucessfull and the manual is brief) The OS and data will be on the same disks as I don't have a spare OS disks only. The Debian GNU/Linux Installation Guide [1] has always been sufficient for my needs. You should get help from reading the section about partitioning. [1] http://www.debian.org/releases/stable/i386/ch06s03.html.en#di-partition 2) What OS tweaks do you advice, with my current setup plan (custom kernel, setting values, other filesystems like ext2)? None. You should be essentially fine with ext3 and the debian kernel for your demonstration purposes. You might get a better performance by tweaking, but for a proof of concept, I'd think that is overkill. YMMV. - -- Johannes Three nations have not officially adopted the International System of Units as their primary or sole system of measurement: Burma, Liberia, and the United States. http://en.wikipedia.org/wiki/Si_units -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktgxVIACgkQC1NzPRl9qEWh4gCeMqUEUr4XOvdiOYDZgRnO+ODO FTEAnRckH0VK9ISqwwJfKHSKhtDLXZ7Y =GvDJ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: opening and searching old staroffice mails
Camaleón wrote: On Mon, 25 Jan 2010 23:05:58 +0100, Bernard wrote: [...] I don't know what are the capabilities of your e-mail client, but in the event it can handle IMAP accounts, the easiest way to transfer the e- mails from one MUA to another, is by setting up a local IMAP server and manually copy the e-mails from one application to another. IMHO, this does not only apply to _transfering_ between applications but also to *archiving*. You will be able to access your mails with _any_ MUA and from any computer, as long as both computers are on and online 8-) -- Johannes Three nations have not officially adopted the International System of Units as their primary or sole system of measurement: Burma, Liberia, and the United States. http://en.wikipedia.org/wiki/Si_units -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: chrooted rssh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vadkan Jozsef wrote: Does someone has an easy howto for only allowing e.g.: scp with rssh [chrooted]? aptitude install scponly or aptitude install rssh and configure the passwd for the respective user(s) 10:18:20-johan...@e13-v21:~$ aptitude show scponly Description: Restricts the commands available to scp- and sftp-users scponly is an alternative 'shell' (of sorts) for system administrators who would like to provide access to remote users to both read and write local files without providing any remote execution priviledges. Functionally, it is best described as a wrapper to the mostly trusted suite of ssh applications. 10:18:57-johan...@e13-v21:~$ aptitude show rssh Description: Restricted shell allowing only scp, sftp, cvs, rsync and/or rdist rssh is a restricted shell, used as a login shell, that allows users to perform only scp, sftp, cvs, rdist, and/or rsync operations. It can also optionally chroot user logins into a restricted jail. Cheers, - -- Johannes Three nations have not officially adopted the International System of Units as their primary or sole system of measurement: Burma, Liberia, and the United States. http://en.wikipedia.org/wiki/Si_units -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktdZHsACgkQC1NzPRl9qEVfvgCeKm5CHUPyQF9SidFm9xHgLk4O M4oAn3qG/knF3sO/inVCwbEZzlFYnu/Q =O0if -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: only sftp
Vadkan Jozsef wrote: Now this is funny. Your mail is funny. There are solutions for your problem. It appears you just have been too lazy to search properly. 3 - missing thing: that they can only use chrooted sftp [with shell like: /bin/false]. Why? Why can't I create a normal chrooted SFTP server? Like with scponly or rssh? Developers are very lazy. It seems *you* have just been lazy in looking at the software archives, search the web, etc. While you are insulting our developers: Where is your contribution to debian? What have you achieved in providing good software to others for free? Why isn't there a GOOD solution to replace the old FTP to SFTP???. There is. See my other post. With posts like yours the only thing you achieve with respect to developers is an increase in frustration that will cause them to have less energy to persue their work on improving all our software. -- Johannes Three nations have not officially adopted the International System of Units as their primary or sole system of measurement: Burma, Liberia, and the United States. http://en.wikipedia.org/wiki/Si_units -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: How to shrink a LVM partition
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Boyd Stephen Smith Jr. wrote: On Sunday 24 January 2010 11:25:19 vitaminx wrote: I'd like to shrink a LVM partition on my harddisk. Is it possible without any data loss? Yes, but it is tricky. Check your file systems. Make sure they are clean before the process starts. Take backups. First make sure you have enough free space in your LVs. Then use a combination of pvmove and pvresize to shrink your PE that corresponds to that partition. Then shrink the partition in the partition table. Shouldn't vitaminx first resize the underlying file system(s)??? - -- Johannes Three nations have not officially adopted the International System of Units as their primary or sole system of measurement: Burma, Liberia, and the United States. http://en.wikipedia.org/wiki/Si_units -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktdcIoACgkQC1NzPRl9qEV5zwCfaLoEHmIwPef2HNSTMvN4onBk uboAniI9WFx+UBuaxCjepnq55hGr7XEt =BK/V -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Security Support for Debian 4.0 to be terminated
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bret Busby wrote: Why, in the time that Debian 5 has replaced Debian 4 as Debian stable, especially, as Debian 4 will no longer be supported, has a workable process of upgrading from Debian 4 to Debian 5, not been released? It has been released. It's called release notes. Since you seem to have missed it, just pick the first result on a google search on debian release notes. Chapter 4 Upgrading from previous releases should be especially interesting for you. From the above information, that Debian 5 was released as the latest Debian stable, on 15 February last year, it is unfortunate that a workable process to upgrade from Debian 4, is still not available, and that support for Debian 4 is to be eliminated within a couple of weeks, before it is possible to upgrade from Debian 4 to Debian 5. The release notes have been published at the time of the release, ie. on 15 Feb last year. I can assure you with the help of the release notes most upgrades are rather simple and straightforward. - -- Johannes Three nations have not officially adopted the International System of Units as their primary or sole system of measurement: Burma, Liberia, and the United States. http://en.wikipedia.org/wiki/Si_units -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktcMJ4ACgkQC1NzPRl9qEUaCwCfSZ7+hD2cVbk1QuTc8kyKjDUf oGoAnjRi/jjOt/u3hMSVxU3c6FtW+vNW =jYPx -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Synchronize two computers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rodolfo Medina wrote: It doesn't work either. I think that the two pcs don't see each other: also the command `ssh 192.168.0.2' produces nothing. Check and possibly post the output of /sbin/ifconfig ssh -v u...@192.168.0.2 might also help to diagnose your problem. - -- Johannes Three nations have not officially adopted the International System of Units as their primary or sole system of measurement: Burma, Liberia, and the United States. http://en.wikipedia.org/wiki/Si_units -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktZcL4ACgkQC1NzPRl9qEWtPQCdErh05t400nXwG4zAiElA30Fb bqIAn10/iG0DbjgF2VSBjp0kbzDU6nUA =PMyJ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
[solved 2] Re: pretty print diff OR print terminal output in color
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johannes Wiedersich wrote: Hi list, I don't seem to be able to figure this out with google or /usr/share/doc, aptitude search etc.: Does Debian (lenny) have any tools to pretty print coloured terminal output (from colordiff, git diff etc.)? Preferably, I would like to print in colours just as or similar as on the console/terminal. Just copy/paste to kate or redirect to a file to be opened with kate. kate has a highlight mode for 'diff' output: Tools -- Highlighting -- Other -- diff It is possible to print with the highlighting preserved on paper. I assume that vim and emacs might have similar capabilities. - -- Johannes Three nations have not officially adopted the International System of Units as their primary or sole system of measurement: Burma, Liberia, and the United States. http://en.wikipedia.org/wiki/Si_units -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktYLU0ACgkQC1NzPRl9qEWZrQCfcl0S6T2S4iOKC5NWdsVjMl70 Cu0An1Zn3iYl4nJDSl/ZVLmqFTDeXBaf =eyEq -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org