Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Michael Milliman
On 04/16/2016 12:11 PM, Aero Maxx wrote: On 16/04/2016 17:45, Gene Heskett wrote: On Saturday 16 April 2016 12:01:28 Aero Maxx wrote: On 16/04/2016 16:23, Gene Heskett wrote: But when I run it with dash, it doesn't seem to work right, and spams the terminal with its error messages. One tha

Re: Beginning of the End for Wheezy [sigh!]

2016-04-16 Thread Michael Milliman
On 04/16/2016 07:52 PM, Patrick Bartek wrote: > >choice of inits as a standard option during installs on future > >releases, but I very much doubt it. > > > >B > > > I use Linux Mint on one of my machines. It is init based, not systemd, and has Debian and Ubuntu as it's underpinnings. All o

Re: searching for hosts in domain local

2016-04-16 Thread Andy Smith
Hi Dan, On Sat, Apr 16, 2016 at 10:14:29PM -0700, Dan Hitt wrote: > I would like to drop the '.local' because it's an extra six characters > with absolutely no value. > > In principle, i think it should be possible to by just adding > search local > to my /etc/resolv.conf, but this absolutel

searching for hosts in domain local

2016-04-16 Thread Dan Hitt
In my local network, the machines generally know each other by names like first_host.local second_host.local third_host.local ... So if i'm on first_host, i can ssh to second_host with ssh my_account@second_host.local and i can ping second_host by ping second_host.local I

Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 22:18:34 David Wright wrote: > On Sat 16 Apr 2016 at 19:06:42 (-0400), Gene Heskett wrote: > > On Saturday 16 April 2016 14:02:16 Thomas Schmitt wrote: > > > Gene Heskett wrote: > > > > There are too many places where a conditional would be needed > > > > > > The classic

Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread David Wright
On Sat 16 Apr 2016 at 19:06:42 (-0400), Gene Heskett wrote: > On Saturday 16 April 2016 14:02:16 Thomas Schmitt wrote: > > Gene Heskett wrote: > > > There are too many places where a conditional would be needed > > > > The classic way is to use only gestures which are supported by the > > Bourne sh

Re: lxc, systemd and getty

2016-04-16 Thread Richard Hector
On 16/04/16 03:29, Richard Hector wrote: > Hi all, > > I'm just getting into lxc, and, I guess like most, I'm also fairly > new to systemd. > > I'm using the standard jessie template to create my containers, > and they come up working, but a little misconfigured - they only > have tty1 - tty4, bu

Re: Beginning of the End for Wheezy [sigh!]

2016-04-16 Thread Patrick Bartek
On Sun, 17 Apr 2016, Paul Trevethan wrote: > On Sat, 16 Apr 2016 15:27:17 -0700 > Patrick Bartek wrote: > > > Much to my regret (and others, too, I'm sure), yesterday, on 15 > > April 2016, the beginning of the end began for Wheezy. Google, as > > announced months ago, finally ceased support for

Re: Beginning of the End for Wheezy [sigh!]

2016-04-16 Thread Paul Trevethan
On Sat, 16 Apr 2016 15:27:17 -0700 Patrick Bartek wrote: > Much to my regret (and others, too, I'm sure), yesterday, on 15 April > 2016, the beginning of the end began for Wheezy. Google, as announced > months ago, finally ceased support for its browser on Wheezy. I > double checked just to be s

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 16:30:19 Jeremy Nicoll wrote: > On Sat, 16 Apr 2016, at 16:33, Gene Heskett wrote: > > And I still miss ARexx. > > Even bash cannot do the intimate to the os things that ARexx could > > do. > > Have you considered using Regina REXX or ooREXX instead? Yes, but typically b

Re: Repository Problem

2016-04-16 Thread Stephen P. Molnar
On 04/16/2016 06:15 PM, Jeremy Nicoll wrote: On Sat, 16 Apr 2016, at 22:42, Stephen P. Molnar wrote: On 04/16/2016 10:12 AM, Sven Hartge wrote: All of his sources.list lines are using http://http.us.debian.org. The issue is that http://http.us.debian.org/debian/dists/wheezy/updates does not e

Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 14:02:16 Thomas Schmitt wrote: > Hi, > > Gene Heskett wrote: > > if [[ ${InMail} = 'gene' ]] > > test(1) is supposed to be portable > > if test "${InMail}" = 'gene' > Thats slightly different, printed for tomorrows experiments. Thank you. I need to rebo

Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 13:11:54 Aero Maxx wrote: > On 16/04/2016 17:45, Gene Heskett wrote: > > On Saturday 16 April 2016 12:01:28 Aero Maxx wrote: > >> On 16/04/2016 16:23, Gene Heskett wrote: > >>> But when I run it with dash, it doesn't seem to work right, and > >>> spams the terminal with i

Beginning of the End for Wheezy [sigh!]

2016-04-16 Thread Patrick Bartek
Much to my regret (and others, too, I'm sure), yesterday, on 15 April 2016, the beginning of the end began for Wheezy. Google, as announced months ago, finally ceased support for its browser on Wheezy. I double checked just to be sure, and in the course of that check also discovered "official"

Pressing ` on Macbook in Debian produces §

2016-04-16 Thread Eric Andrew Lewis
Hi, I notice that when I press the backtick key, the section symbol (§) is produced instead. This bug has been reported on Ubuntu (#1245081 ). I've found a workaround by placing this in ~/.Xmodmap keycode 94 = grave asciitilde grave

Re: Repository Problem

2016-04-16 Thread Jeremy Nicoll
On Sat, 16 Apr 2016, at 22:42, Stephen P. Molnar wrote: > > On 04/16/2016 10:12 AM, Sven Hartge wrote: > >> All of his sources.list lines are using http://http.us.debian.org. > >> The issue is that > >> http://http.us.debian.org/debian/dists/wheezy/updates does not exist. > >> A casual look with

Re: Repository Problem

2016-04-16 Thread Stephen P. Molnar
On 04/16/2016 10:12 AM, Sven Hartge wrote: Michael Milliman wrote: On 04/15/2016 03:18 PM, Sven Hartge wrote: Dan Ritter wrote: On Fri, Apr 15, 2016 at 01:06:18PM -0400, Stephen P. Molnar wrote: I just had a catastrophic crash which necessitated reinstalling Debian. I had been running v-

Re: cannot use debian because of too many problems...

2016-04-16 Thread Floris
The change from Windows to Debian is not always easy. You have to learn how to use it. When I have to explain what Debian is, I often compare it with LEGO. There are a lot of "bricks" which make your OS. And you can/ must decide which "bricks" (packages) you use. So in time you build an OS,

Re: What happened to the info tutorial?

2016-04-16 Thread Stephen Powell
On Sat, Apr 16, 2016, at 17:31, Stephen Powell wrote: > The "info" command in jessie has a tutorial which can be accessed by pressing > the "H" key. Oops!, I meant to say the "h" key, not the "H" key. Otherwise, the question remains as written. -- .''`. Stephen Powell : :' : `. `

What happened to the info tutorial?

2016-04-16 Thread Stephen Powell
The "info" command in jessie has a tutorial which can be accessed by pressing the "H" key. You must have the texinfo-doc-nonfree package installed for this to work; but if this package is installed, it works. But under stretch, it does not work, even if the texinfo-doc-nonfree package is insta

Weekly and daily builds are not working

2016-04-16 Thread amd amd
Weekly and daily builds are not working . You do check that release ? The last working test builds released on 14.03.2016 . All of the following - do not work!

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Jeremy Nicoll
On Sat, 16 Apr 2016, at 16:33, Gene Heskett wrote: > And I still miss ARexx. > Even bash cannot do the intimate to the os things that ARexx could do. Have you considered using Regina REXX or ooREXX instead? -- Jeremy Nicoll - my opinions are my own.

Re: cannot use debian because of too many problems...

2016-04-16 Thread Aero Maxx
On 16/04/2016 20:49, Bob Holtzman wrote: On Sat, Apr 16, 2016 at 09:22:24AM +, Arnoud van der Veer wrote: Too many problems for me I must say! For a normal pc user this is not a good alternative for using Windows. Windows costs money, yes, but I have never, ever encountered so many problems

Re: cannot use debian because of too many problems...

2016-04-16 Thread Bob Holtzman
On Sat, Apr 16, 2016 at 09:22:24AM +, Arnoud van der Veer wrote: > Too many problems for me I must say! For a normal pc user this is not a good > alternative for using Windows. Windows costs money, yes, but I have never, > ever > encountered so many problems on a pc running on Windows in comp

Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Andy Smith
Hi Matthias, On Sat, Apr 16, 2016 at 08:15:43PM +0200, Matthias Bodenbinder wrote: > I am using Mint LMDE2 with debian backports. So I do have kernel > 4.4+71~bpo8+1 running. > btrfs tools are from debian stable, which has version 3.17. I am wondering if > it would make sense to also get the too

Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Matthias Bodenbinder
Hello Andy, I am trying to stay with newest versions as long as it does not jeopardize stability. I am using Mint LMDE2 with debian backports. So I do have kernel 4.4+71~bpo8+1 running. btrfs tools are from debian stable, which has version 3.17. I am wondering if it would make sense to also ge

Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Matthias Bodenbinder
You are right. I did the same test with dd. It took a while ;-) 23# dd if=/dev/zero of=file.zero dd: Schreiben in „file.zero“: Auf dem Gerät ist kein Speicherplatz mehr verfügbar 1462670786+0 Datensätze ein 1462670785+0 Datensätze aus 748887441920 Bytes (749 GB) kopiert, 14831,9 s, 50,5 MB/s 24#

Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Thomas Schmitt
Hi, Gene Heskett wrote: > if [[ ${InMail} = 'gene' ]] test(1) is supposed to be portable if test "${InMail}" = 'gene' > There are too many places where a conditional would be needed The classic way is to use only gestures which are supported by the Bourne shell and to avoid

Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread David Christensen
On 04/16/2016 12:00 AM, Matthias Bodenbinder wrote: I have 3 hard drive with 750 GB, 500 GB and 250 GB. I want to use btrfs as filesystem. This will be my first test installation of btrfs. My target is to get redundancy as well as a 750 GB data capacity. So I was thinking to create a raid0 wit

Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Andy Smith
Hello, On Sat, Apr 16, 2016 at 01:35:20PM +0200, Luis Felipe Tabera Alonso wrote: > Still btrfs is quite young, I am not sure if there are serious issues in > 3.17, > I would make some experiments before actual use. If you are going to use btrfs I would consider it essential to be subscribed to

Re: Installing tt-rss

2016-04-16 Thread Jochen Spieker
Rainer Dorsch: > Hi, > > I tried to install tt-rss on a stretch system. During the configuration of tt- > rss, debconf asks for a username and a password confirmation for the tt-rss > database ... but it never asked for the password itself. > > /usr/share/doc/tt-rss/README.* does also not give m

Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Linux-Fan
[Sat, 16 Apr 2016 13:07:38 -0400] Gene Heskett wrote: > On Saturday 16 April 2016 12:44:55 Sven Joachim wrote: > > > > https://wiki.ubuntu.com/DashAsBinSh has some information how to make > > scripts portable. The checkbashisms command in the devscripts > > package can help you detect common non-

Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Aero Maxx
On 16/04/2016 17:45, Gene Heskett wrote: On Saturday 16 April 2016 12:01:28 Aero Maxx wrote: On 16/04/2016 16:23, Gene Heskett wrote: But when I run it with dash, it doesn't seem to work right, and spams the terminal with its error messages. One that appears to kill its function is the bashis

Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 12:44:55 Sven Joachim wrote: > > https://wiki.ubuntu.com/DashAsBinSh has some information how to make > scripts portable. The checkbashisms command in the devscripts package > can help you detect common non-portable constructions in your scripts. > > Cheers, >Sven

Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 12:01:28 Aero Maxx wrote: > On 16/04/2016 16:23, Gene Heskett wrote: > > But when I run it with dash, it doesn't seem to work right, and > > spams the terminal with its error messages. One that appears to > > kill its function is the bashism of using [[ ]] to surround st

Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Sven Joachim
On 2016-04-16 11:23 -0400, Gene Heskett wrote: > This bash script has lived in ~/bin for years, but the mention of dash as > a replacement for bash made me want to test it with dash by changing the > bang line to #!/bin/sh, which is of course (this is wheezy) a softlink > to /bin/dash. FWIW, d

Re: My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Aero Maxx
On 16/04/2016 16:23, Gene Heskett wrote: But when I run it with dash, it doesn't seem to work right, and spams the terminal with its error messages. One that appears to kill its function is the bashism of using [[ ]] to surround string variables, reported like this: bin/mailwatcher: 64: bin/mail

Re: cannot use debian because of too many problems...

2016-04-16 Thread Patrick Bartek
On Sat, 16 Apr 2016, Arnoud van der Veer wrote: > Hello, > > I am running into many problems unfortunately while using Debian.I > wish I knew how to solve them, but I don't.I tried to install DEVEDE > as a new package yesterday in order to be able to burn dvd's.I do not > succeed in this, since

Re: What boot manager do use for an OSX/Debian Dual Boot?

2016-04-16 Thread Eric Andrew Lewis
Thanks for your notes! > If you want to multiple boot, put grub on the blessed partition on your next install. I found that this is the default behavior after install, so perhaps after Debian installs Grub, it interacts with the system's firmware to use GRUB as a boot manager. And you can always

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 10:47:24 Aero Maxx wrote: > On 16/04/2016 14:08, to...@tuxteam.de wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote: > >> I have a number of bash scripts that work perfectly fine on fedora > >> 2

My script almost works but spams the terminal its launched from if useing dash.

2016-04-16 Thread Gene Heskett
Greetings; This bash script has lived in ~/bin for years, but the mention of dash as a replacement for bash made me want to test it with dash by changing the bang line to #!/bin/sh, which is of course (this is wheezy) a softlink to /bin/dash. I am launching it with this command as I don't want

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Aero Maxx
On 16/04/2016 14:08, to...@tuxteam.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote: I have a number of bash scripts that work perfectly fine on fedora 23, but do not work on debian 8. I've tried to sort it out myself, but am a l

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Thomas Schmitt
Hi, Aero Maxx wrote: > >wordpress_beta.sh: 8: bashtest.sh: [[: not found If it is called "bashtest.sh" then it is plausible that it wants to be run by bash. Obviously it expects /bin/sh to be bash. to...@tuxteam.de wrote: > try running the script with "bash

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread David Wright
On Sat 16 Apr 2016 at 15:08:58 (+0200), to...@tuxteam.de wrote: > On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote: > > I have a number of bash scripts that work perfectly fine on fedora > > 23, but do not work on debian 8. I've tried to sort it out myself, > > but am a little stuck now h

Re: Repository Problem

2016-04-16 Thread Sven Hartge
Michael Milliman wrote: > On 04/15/2016 03:18 PM, Sven Hartge wrote: >> Dan Ritter wrote: >>> On Fri, Apr 15, 2016 at 01:06:18PM -0400, Stephen P. Molnar wrote: I just had a catastrophic crash which necessitated reinstalling Debian. I had been running v-7.2,but decided to upgrade to v

KVM Qemu libvirtd virtual bridged with bond advanced-alb

2016-04-16 Thread Mimiko
Hello. Recently I started to use qemu-kvm for virtualisation. I've setup a bridged network and use it in virtual machine: default test hvm function='0x0'/> When the bond used in the bridge setup is set to 802.3ad,

Installing tt-rss

2016-04-16 Thread Rainer Dorsch
Hi, I tried to install tt-rss on a stretch system. During the configuration of tt- rss, debconf asks for a username and a password confirmation for the tt-rss database ... but it never asked for the password itself. /usr/share/doc/tt-rss/README.* does also not give more insight. Did anybody man

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote: > I have a number of bash scripts that work perfectly fine on fedora > 23, but do not work on debian 8. I've tried to sort it out myself, > but am a little stuck now hopefully someone is able

Re: cannot use debian because of too many problems...

2016-04-16 Thread Dan Ritter
On Sat, Apr 16, 2016 at 09:22:24AM +, Arnoud van der Veer wrote: > Hello, I understand you are frustrated. If you are interested in solving these problems with Debian, you will need to lay out each problem individually. Let's see what we can do. First, reformatting your text... > I am runn

Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Aero Maxx
I have a number of bash scripts that work perfectly fine on fedora 23, but do not work on debian 8. I've tried to sort it out myself, but am a little stuck now hopefully someone is able to give me a nudge in the right direction. Ideally I would like them to work on both. On Fedora 23 $ ls -

Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Luis Felipe Tabera Alonso
On sábado, 16 de abril de 2016 12:05:05 (CEST) Matthias Bodenbinder wrote: > 38# df -h /mnt/test/ > Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf > /dev/sdg 699G 17M 466G 1% /mnt/test df is not reliable for btrfs raids, it is better to use btrfs fi df to check actual used space. Using b

Re: Call for testing: upcoming samba security update

2016-04-16 Thread cbannister
[please don't top post] On Thu, Apr 14, 2016 at 06:25:01PM +0100, Birgit Berger (UV Wien) wrote: > is it better to wait to update samba 4.1.17 to 4.2.10 on jessie? There aren't any new packages in the stable release, or has this changed for some reason? -- The media's the most powerful entity

RE: Repository Problem - SOLVED

2016-04-16 Thread Stephen P. Molnar
From: Stephen P. Molnar [mailto:s.mol...@sbcglobal.net] Sent: Saturday, April 16, 2016 6:37 AM To: 'Michael Milliman'; debian-user@lists.debian.org Subject: RE: Repository Problem From: Michael Milliman [mailto:michael.e.milli...@gmail.com] Sent: Friday, April 15, 2016 11:27 PM To

RE: Repository Problem

2016-04-16 Thread Stephen P. Molnar
From: Michael Milliman [mailto:michael.e.milli...@gmail.com] Sent: Friday, April 15, 2016 11:27 PM To: debian-user@lists.debian.org Subject: Re: Repository Problem On 04/15/2016 12:06 PM, Stephen P. Molnar wrote: I just had a catastrophic crash which necessitated reinstalling Debian.

Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Matthias Bodenbinder
And: 39# btrfs filesystem show Label: none uuid: 35db7af4-a116-45fa-8611-97aeb5d4a8d3 Total devices 3 FS bytes used 640.00KiB devid1 size 698.64GiB used 2.02GiB path /dev/sdg devid2 size 465.76GiB used 1.01GiB path /dev/sdh devid3 size 232.88GiB used 1.

Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Matthias Bodenbinder
Hello Luis, I followed that link which confirms that a btrfs raid1 out of these three devices should give 750 GB of data capacity. But his is not what I get. This is what I have: Disk /dev/sdg: 698,7 GiB, 750156374016 bytes, 1465149168 sectors Disk /dev/sdh: 465,8 GiB, 500107862016 bytes, 97677

Re: btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Luis Felipe Tabera Alonso
On sábado, 16 de abril de 2016 9:00:00 (CEST) Matthias Bodenbinder wrote: > Hello, > > I have 3 hard drive with 750 GB, 500 GB and 250 GB. I want to use btrfs as > filesystem. This will be my first test installation of btrfs. > > My target is to get redundancy as well as a 750 GB data capacity. S

btrfs: mixing raid0 and raid1 - How?

2016-04-16 Thread Matthias Bodenbinder
Hello, I have 3 hard drive with 750 GB, 500 GB and 250 GB. I want to use btrfs as filesystem. This will be my first test installation of btrfs. My target is to get redundancy as well as a 750 GB data capacity. So I was thinking to create a raid0 with the 500 and 250 GB drive. This would result