Re: Save and restore window positions with openbox

2018-07-22 Thread Craig Sanders via luv-main
tl;dr version: * shell: xdotool or (probably better for your use case) wmctrl * perl: X11::GUITest https://metacpan.org/pod/X11::GUITest * python: emwh http://ewmh.readthedocs.io/en/latest/ewmh.html or xdohttps://github.com/rshk/python-libxdo or

Re: real time log watching

2018-07-15 Thread Craig Sanders via luv-main
On Sun, Jul 15, 2018 at 04:33:46PM +1000, russ...@coker.com.au wrote: > What's a good real-time log watching program? > > This is something I've wanted for a while but not had the inclination to get > it going. [...] > > Any suggestions? Perl's File::Tail module is made for this. It shouldn't

radeon video acceleration (was Re: swap vs cache)

2018-07-09 Thread Craig Sanders via luv-main
NOTE: I am not an expert with video decoding, but hopefully some of the following will be of use in improving your video playback... On Mon, Jul 09, 2018 at 09:19:34PM +1000, Russell Coker wrote: > [...] I've started seeing the following errors in the kernel message log > when using mplayer

Re: Biting the bullet - RAID

2018-05-24 Thread Craig Sanders via luv-main
On Thu, May 24, 2018 at 05:51:11PM +1000, Paul van den Bergen wrote: > Is zfs in kernel space yet? or still user land only? Kernel. I don't think anyone has used the ZFS FUSE module for anything real for years - zfsonlinux (ZoL) has been around since 2008. I've been using it since 2010.

Re: Biting the bullet - RAID

2018-05-24 Thread Craig Sanders via luv-main
On Thu, May 24, 2018 at 03:38:15PM +1000, Paul van den Bergen wrote: > I currently take the approach that unless I have specific IO needs for a > volume, I will work with one partition for OS and data as it is the most > efficient use of disk space. This is true for standard partitioning, or LVM

Re: Biting the bullet - RAID

2018-05-24 Thread Craig Sanders via luv-main
On Wed, May 23, 2018 at 10:42:01PM +1000, russ...@coker.com.au wrote: > On Wednesday, 23 May 2018 1:10:08 PM AEST Craig Sanders via luv-main wrote: > http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-113-size-zfs-dedup-1354231.html > > Some Google results suggest i

Re: Biting the bullet - RAID

2018-05-22 Thread Craig Sanders via luv-main
On Wed, May 23, 2018 at 01:08:22AM +1000, Craig Sanders wrote: > BTW, this is a generally useful thing to know how to do: use half a raid > (i.e. a "degraded" raid) to store your data while you're setting up its > replacement. > > e.g. if your 2 TB array is currently mdadm RAID-1 and you want to

Re: Biting the bullet - RAID

2018-05-22 Thread Craig Sanders via luv-main
On Tue, May 22, 2018 at 11:11:02PM +1000, Andrew Greig wrote: > Then, with 2 x 2Tb and 2 x 1xTb I will connect all drives and load the DVD > to perform a server install if your 2 TB array is already set up as you want it, you don't have to re-build it. Just remove it from the system, build it

Re: Docker for "drivers"

2018-05-22 Thread Craig Sanders via luv-main
On Tue, May 22, 2018 at 11:13:05PM +1000, russ...@coker.com.au wrote: > It seems to me that Docker and similar technologies are a good solution to > this. They can encapsulate the shared objects needed (a driver from a badly > made .deb or from a .tar.ge won't stop "apt autoremove" from removing

Re: Epson XP-6000 + Linux drivers

2018-05-21 Thread Craig Sanders via luv-main
On Tue, May 22, 2018 at 01:13:27AM +1000, Andrew Greig wrote: > Andrew Greig wrote > > I need to install some drivers for an Epson XP 6000 and it depends on Linux > Standard Base 3.2 > > Craig replied > > It's always a bad idea to install proprietary drivers from manufacturers. > > IMO, that

Re: How to find out if LSB 3.2 is installed in Ubuntu

2018-05-21 Thread Craig Sanders via luv-main
On Mon, May 21, 2018 at 11:37:44PM +1000, Andrew Greig wrote: > I was a very happy RPMer but now I am on the other side > > before, I could enter #rpm -q lsb apt-cache search -n lsb That will list all packages with 'lsb' in the package name, along with a brief one-line description. e.g. on

Re: Biting the bullet - RAID

2018-05-21 Thread Craig Sanders via luv-main
On Mon, May 21, 2018 at 05:23:39PM +1000, pushin.linux wrote: > Reply to list wasnt offered in my phone. Apologies. no problem. I'll reply back to the list, so it goes to the right place. > My photographic data is critical. Music, videos etc are unimportant. You've probably heard this before

Re: Biting the bullet - RAID

2018-05-21 Thread Craig Sanders via luv-main
On Mon, May 21, 2018 at 04:04:18AM +1000, Andrew McGlashan wrote: > Perhaps a better question for a new thread, but it would be interesting to > know whether or not the whole ECC only for ZFS is really a thing and if it > gives anybody grief without ECC. ECC RAM is recommended, but not essential.

Re: Biting the bullet - RAID

2018-05-20 Thread Craig Sanders via luv-main
On Mon, May 21, 2018 at 12:59:11AM +1000, Russell Coker wrote: > > Is there any reason why you want your OS on a single separate drive with > > no RAID? > > Some people think that it's only worth using RAID for things that you can't > lose. But RAID also offers convenience. If your system with

Re: servers and fans (was Re: RAM sizes)

2018-05-20 Thread Craig Sanders via luv-main
On Sun, May 20, 2018 at 11:20:36PM +1000, Rohan McLeod wrote: > Yes rack-mount sounds like no extra space, the radiator unit is almost > precisely the size of a standard 120mm case-fan; it mounts directly under > it, the pump unit on the other hand is much smaller  and lighter than the >

Re: Biting the bullet - RAID

2018-05-20 Thread Craig Sanders via luv-main
On Mon, May 21, 2018 at 12:24:09AM +1000, Russell Coker wrote: > You have to be careful when using dd on disk images as matching UUIDs cause > problems. > > Also for RAID configurations using the DOS partition table you can use "dd > if=sda of=sdb bs=1024k count=10" to copy the partition table and

Re: Biting the bullet - RAID

2018-05-20 Thread Craig Sanders via luv-main
On Mon, May 21, 2018 at 12:16:18AM +1000, Russell Coker wrote: > One recent thing I've done is to fork the "mon" monitoring system and > significantly improve a lot of the monitoring scripts. [...] /proc/mdstat > doesn't have the UUID of the RAID array, so checking by UUID would add some >

Re: servers and fans (was Re: RAM sizes)

2018-05-20 Thread Craig Sanders via luv-main
On Sun, May 20, 2018 at 07:32:03PM +1000, Rohan McLeod wrote: > > Or they could replace the shitty server fans with high-quality low noise > > fans. > > Or  for $50 - $100; they could just replace the "shitty server fans", > with a  proprietary water-cooler; - removing both the noise and the >

Re: Biting the bullet - RAID

2018-05-20 Thread Craig Sanders via luv-main
Yawn. You are demonstrably, provably wrong but i have no interest in indulging you in yet another round of your favourite game of "Infallible Rick Can Never Be Wrong". craig -- craig sanders ___ luv-main mailing list

Re: Biting the bullet - RAID

2018-05-20 Thread Craig Sanders via luv-main
On Sun, May 20, 2018 at 12:09:22AM -0700, Rick Moen wrote: > Quoting Craig Sanders (c...@taz.net.au): > > The trouble is that unless you want to use UUIDs there isn't any > > alternative. > > Well, speak for yourself. > > I've been using /dev/sdX (never used IDE ;-> ) on Linux since 1992, and for

Re: Biting the bullet - RAID

2018-05-20 Thread Craig Sanders via luv-main
On Sat, May 19, 2018 at 11:09:12PM -0700, Rick Moen wrote: > Quoting Craig Sanders (c...@taz.net.au): > > > Fortunately, you can assign labels to partitions or filesystems when you > > create them (or add one later), and these are much easier to read and use. > > Care to learn hour to make a Linux

Re: Biting the bullet - RAID

2018-05-20 Thread Craig Sanders via luv-main
On Sat, May 19, 2018 at 10:38:48PM -0700, Rick Moen wrote: > And very handy all the other virtual consoles are, too. (1994 thanks you > for that tip, Craig. ;-> ) i think that these days some people don't even realise that their linux box has multiple vts, what with booting directly into fancy

Re: kvm network problem

2018-05-19 Thread Craig Sanders via luv-main
On Tue, May 15, 2018 at 03:15:17PM +1000, russ...@coker.com.au wrote: > It seems that there is some sort of race condition related to kvm on one > of my servers where starting kvm virtual machines will cause networking to > stop. [...] > > This first happened in March, so I think it was some

servers and fans (was Re: RAM sizes)

2018-05-19 Thread Craig Sanders via luv-main
On Sun, May 20, 2018 at 01:17:24AM +1000, Russell Coker wrote: > One of the more dedicated members of this list got a free server system from > LUV and uses it as his personal workstation. It has something like 96G of > RAM but makes more noise than most people want in the same building they are

Re: Biting the bullet - RAID

2018-05-19 Thread Craig Sanders via luv-main
On Sun, May 20, 2018 at 01:08:42PM +1000, George Georgakis wrote: > On 20/05/2018 12:54 PM, Rick Moen via luv-main wrote: > > > ISTR that mdadm.conf can be fully reconsructed from that stored > > metadata, even. > > mdadm --detail --scan > /etc/mdadm.conf ? or (on debian at least):

Re: Biting the bullet - RAID

2018-05-19 Thread Craig Sanders via luv-main
On Sat, May 19, 2018 at 07:25:23PM -0700, Rick Moen wrote: > Personally, I always do partitioning and initial mkfs operations using > whatever live-CD distribution I most have confidence in (currently > Siduction), and then separately let the distro installer use the filesystems > and disc layout

Re: Biting the bullet - RAID

2018-05-19 Thread Craig Sanders via luv-main
On Sun, May 20, 2018 at 12:02:57PM +1000, Andrew Pam wrote: > On 20/05/18 11:39, Andrew Greig wrote: > > Now I am thinking that I should unplug the 2 x 2Tb disks and install the > > system on sda1 with a 1Gb /boot and lvm selected. > > Note that if you do this the drive names can still change when

Re: Biting the bullet - RAID

2018-05-19 Thread Craig Sanders via luv-main
On Sun, May 20, 2018 at 10:40:23AM +1000, Andrew Greig wrote: > I have a more fundamental issue now, the installer has named my former sda > (in a one hdd system) to sdc. Disk device names ARE NOT GUARANTEED TO REMAIN THE SAME ACROSS REBOOTS. Lots of different things can affect this - including

Re: Biting the bullet - RAID

2018-05-19 Thread Craig Sanders via luv-main
On Sun, May 20, 2018 at 12:04:13AM +1000, Andrew Greig wrote: > So the time has come when I have backed up all my data, cleaned out the > /home directory, and in the morning I should expect that all of my data in > Dropbox has finished synching. i have downloaded and tested the Ubuntu 18.04 > LTS

Re: basic git use

2018-05-19 Thread Craig Sanders via luv-main
On Sat, May 19, 2018 at 03:09:35PM +1000, Brian May wrote: > Russell Coker writes: > > > Well I can't create a repository, check files in, and then pull and push > > to it from other systems. I need to create an empty repository, push to it > > from somewhere, and then I can

Re: disk usage in perl without modules or /bin/df

2018-03-20 Thread Craig Sanders via luv-main
On Tue, Mar 20, 2018 at 08:21:44PM +1100, Tim Connors wrote: > I have a very minimal system where I can't use df because I want an > extended output df can't do, and I can't install CPAN modules (there isn't > Filesys::Df, Filesys::Statfs, etc) > > I want it to take args of a given file/directory.

Re: quotas and reservations (was Re: Looking at RAID)

2018-03-11 Thread Craig Sanders via luv-main
On Sun, Mar 11, 2018 at 07:56:37PM +1100, Russell Coker wrote: > On Sunday, 11 March 2018 6:37:56 PM AEDT Craig Sanders via luv-main wrote: > > On Fri, Mar 09, 2018 at 07:49:48PM +1100, Russell Coker wrote: > > > Unlike BTRFS, you can expect every feature of ZFS to

Re: quotas and reservations (was Re: Looking at RAID)

2018-03-10 Thread Craig Sanders via luv-main
On Fri, Mar 09, 2018 at 07:49:48PM +1100, Russell Coker wrote: > Unlike BTRFS, you can expect every feature of ZFS to just work. It may be > a total PITA to get it working, it may not be something you even want to ZFS just works, and I've never found it to be a PITA at all. I've been using it

quotas and reservations (was Re: Looking at RAID)

2018-03-08 Thread Craig Sanders via luv-main
I forgot to mention one very useful difference between 1. partitions & LVM Logical Volumes (LV) and 2. btrfs sub-volumes & ZFS datasets. Partitions & LVs are created with a fixed size. The size can be changed later, but if you create a 50G /data partittion and a 100G /home partition it's easily

Re: Looking at RAID

2018-03-07 Thread Craig Sanders via luv-main
On Wed, Mar 07, 2018 at 11:48:05PM +1100, Paul Dwerryhouse wrote: > Yup, me too. It gets worse, many of the build systems seem to go out of > their way to make it difficult to package things; attempting to package > anything that needs Maven or Gradle to build it is bordering on futile > because

Re: brawndo-installer (was Re: Looking at RAID)

2018-03-07 Thread Craig Sanders via luv-main
On Wed, Mar 07, 2018 at 08:22:45PM +1100, Mark Trickett wrote: > > http://blog.taz.net.au/2018/03/07/brawndo-installer/ > > I know and relate to your pet peeve. Red Hat have done a lot, but I > shifted to Debian because of the package management, particularly > handling dependencies. They all have

Re: host name - domain name

2018-03-07 Thread Craig Sanders via luv-main
On Wed, Mar 07, 2018 at 05:51:58AM -0800, Rick Moen wrote: > Quoting Craig Sanders (c...@taz.net.au): > > > The domain itself needs, at minimum, an SOA record, two or more NS records, > > and an MX record. > > [...] > > This is very good, Craig. (I would want to also include appropriate SPF >

Re: host name - domain name

2018-03-07 Thread Craig Sanders via luv-main
On Wed, Mar 07, 2018 at 01:15:27PM +1100, Nic Baxter wrote: > I host a number of domains on a Centos 7 VPS. Now I am setting up a VPS with > only one domain hosted. I am trying to get my head around issues with naming > especially regarding RDNS and a mail server. Should I name the server >

brawndo-installer (was Re: Looking at RAID)

2018-03-06 Thread Craig Sanders via luv-main
On Wed, Mar 07, 2018 at 06:09:59PM +1100, Craig Sanders wrote: > "I know what users crave, it's my brawndo-installer, 'curl|sudo sh' - It's > got electrolytes!" http://blog.taz.net.au/2018/03/07/brawndo-installer/ craig -- craig sanders

Re: Looking at RAID

2018-03-06 Thread Craig Sanders via luv-main
On Tue, Mar 06, 2018 at 10:52:35PM +1100, Andrew Greig wrote: > I had a looked for Raid 1 + Tumbleweed and it seems that there are a few > "gotchas" in using btrfs in opensuse TW > > It is interestig that Yast2 is held in such high regard for its installation > and configuration abilities. But for

Re: Looking at RAID

2018-03-06 Thread Craig Sanders via luv-main
On Tue, Mar 06, 2018 at 11:22:17PM +1100, Russell Coker wrote: > If you have any sort of enterprise use then you will have matched pairs. I've been doing that at home for a long time. I resigned myself many years ago to always paying double the going price for storage because I always want

Re: Looking at RAID

2018-03-06 Thread Craig Sanders via luv-main
[ replying back to the list. i think you accidentally replied only to me ] On Tue, Mar 06, 2018 at 08:36:21PM +1100, pushin.linux wrote: > Thanks to all contributors to this thread, I think I have a light grip on > this. > > Recipe, Using Yast2 download and install mdadmin on my 1 Tb Sata disk

Re: Looking at RAID

2018-03-06 Thread Craig Sanders via luv-main
On Tue, Mar 06, 2018 at 06:36:51PM +1100, Russell Coker wrote: > On Tuesday, 6 March 2018 6:29:11 PM AEDT Craig Sanders via luv-main wrote: > > With btrfs or ZFS it's easy to add additional drives for more space later. > > With ZFS you only add them one RAID set at a time a

Re: Looking at RAID

2018-03-05 Thread Craig Sanders via luv-main
On Mon, Mar 05, 2018 at 10:54:10PM +1100, Andrew Pam wrote: > [ ... ] it's also possible to set up mirroring using LVM, btrfs or ZFS > if you prefer. With btrfs or ZFS it's easy to add additional drives for more space later. You can do that with just LVM or mdadm but there's more work required.

Re: Intel CPUs

2018-01-04 Thread Craig Sanders via luv-main
On Fri, Jan 05, 2018 at 03:14:28PM +1100, Rohan McLeod wrote: > as these day  it is unusual for anyone to reply to my emails ; I find your messages extremely difficult to read because of the bizarre formatting. It obviously makes sense to you and follows your own rules, but to me it seems like

Re: Intel CPUs

2018-01-03 Thread Craig Sanders via luv-main
On Wed, Jan 03, 2018 at 03:11:02PM +1000, Arjen Lentz wrote: > > https://www.theregister.co.uk/2018/01/02/intel_cpu_design_flaw/ > > A nuisance indeed, most hosted VMs will be impacted - with the % performance > loss, companies may need to scale up or out additionally, incurring extra > cost.

Re: dynamic IPs, remote access, poor internet

2017-10-06 Thread Craig Sanders via luv-main
tl;dr version: 1. yes it does require a host with a static IP 2. VPN clients generally auto-reconnect by themselves. > On Sat, Oct 7, 2017 at 11:56 AM, James Harper wrote: > > I would use an IPSEC or OpenVPN (or whatever) connection back to a central > > location and

Re: device naming (was Re: Ethernet port setup part2)

2017-09-08 Thread Craig Sanders via luv-main
On Thu, Sep 07, 2017 at 11:02:52PM -0700, Rick Moen wrote: > > b) driver modules being loaded in a different order (same cause, different > > incarnation) - this could be partially solved by listing the modules you > > want loaded in /etc/modules, they'll load in the order listed (unless > >

device naming (was Re: Ethernet port setup part2)

2017-09-07 Thread Craig Sanders via luv-main
On Thu, Sep 07, 2017 at 12:14:02PM -0700, Rick Moen wrote: > Quoting Craig Sanders (c...@taz.net.au): > > > You can't rely on the kernel assigning any name to any particular network > > interface - same as you can't rely on a hard disk getting the same > > /dev/sdX name on every reboot. > > For

Re: Ethernet port setup part2

2017-09-07 Thread Craig Sanders via luv-main
On Wed, Sep 06, 2017 at 07:20:56PM +1000, luv-main@luv.asn.au wrote: > On 06.09.17 18:14, Ray via luv-main wrote: > > enx0c5b8f279a64 is NOT random 0c5...64 is the MAC address of the 4G > > dongle so will only change if the dongle changes. Why it does not use a > > USB ethernet naming

Re: Ethernet port setup part2

2017-09-07 Thread Craig Sanders via luv-main
On Wed, Sep 06, 2017 at 02:52:21PM +1000, luv-main@luv.asn.au wrote: > Incidentally, it's not necessary to endure the loony Systemdix¹ interface > naming, taken from /dev/urandom, just to annoy users. On debian 9.0, > I've adopted the now common: I'm not a fan of these overly verbose network

Re: Auto-remove

2017-08-22 Thread Craig Sanders via luv-main
On Tue, Aug 22, 2017 at 02:49:34PM +1000, russ...@coker.com.au wrote: > On Tuesday, 22 August 2017 4:06:37 AM AEST stripes theotoky via luv-main > wrote: > > > I use aptitude as a package manager. I'm running out of disk space. > > How much disk space is in use and how much do you have? Hard

Re: Office suite functionality without an office suite?

2017-07-02 Thread Craig Sanders via luv-main
On Sun, Jul 02, 2017 at 09:47:08AM +, Dede Lamb wrote: > Yes! This is all good info. In the meantime I've been doing some experiments > of my own. Python interpreter has replaced trivial math stuff that I used to > do in spreadsheets. For "trivial" math stuff, there's also bc (or dc if you

Re: Office suite functionality without an office suite?

2017-07-01 Thread Craig Sanders via luv-main
On Sun, Jul 02, 2017 at 01:50:58PM +1000, Andrew Pam wrote: > On 02/07/17 13:21, Craig Sanders via luv-main wrote: > > if i was less lazy, or needed to write complex documents more often, > > I'd make the effort to learn TeXI can do simple things in it easily > > eno

Re: Office suite functionality without an office suite?

2017-07-01 Thread Craig Sanders via luv-main
I somehow missed this message when you first posted it. here's what I use, or have used in the past. NOTE: my needs for "Office" type programs are quite simple and minimalist - easily met by even basic software. It sounds like your needs are similar. On Tue, Jun 06, 2017 at 11:13:27PM +,

Re: loudness of mp4 etc files

2017-06-28 Thread Craig Sanders via luv-main
On Wed, Jun 28, 2017 at 08:51:08AM +1000, zlin...@virginbroadband.com.au wrote: > For any music I download, I convert it to an ogg file with Audacity > but first use Effect>Amplify to normalise the gain, in order to get a > reasonably close range of loudness. I use Audacity rather than one of >

Re: IDE & Tasks Lists ~ Cross Platform

2017-05-26 Thread Craig Sanders via luv-main
On Thu, May 25, 2017 at 02:59:47PM +1000, luv-main@luv.asn.au wrote: > > and following the required coding style, > > As for "required", I let the team drive the coding style requirement, as > my only needs were consistency and readability. Since the team had set > the style standard (mostly

Re: IDE & Tasks Lists ~ Cross Platform

2017-05-24 Thread Craig Sanders via luv-main
I just saw Erik's reply to this, hadn't noticed your original post until now. On Fri, May 19, 2017 at 07:22:20AM +1000, Piers Rowan wrote: > We have grown quite a bit and having each dev running their pet dev > environment seems eclectic and difficult to manage (aka manage down > when you need

Re: command line XMPP presence monitoring

2017-05-24 Thread Craig Sanders via luv-main
On Tue, May 23, 2017 at 10:09:05PM +1000, Russell Coker wrote: > I am using sendxmpp to send notifications of system errors. That requires > the XMPP client keep running. Xabber on Android sometimes stops for no > apparent reason (I have it configured to always have a notification so it > should

Re: Resizing jpegs, limiting file size

2017-05-22 Thread Craig Sanders via luv-main
On Sun, May 14, 2017 at 07:02:41PM +1000, Tony White wrote: > #!/bin/sh > # run this is script in the image folder > # change the value 320 to whatever width you want > response = 320 > for f in *; do > # prefix the results with sm_ or change to what you want > convert $f -resize $response

Re: Reworking filenames

2017-05-05 Thread Craig Sanders via luv-main
On Fri, May 05, 2017 at 08:16:52PM +1000, Mark Trickett wrote: > > Most rename scripts you'll write are just one or more > > 's/search/replace/' one-liner statements, but they can be a quite > > complicated perl script if required. > > I need to learn perl, but will do a lot better around other

Re: Reworking filenames

2017-05-04 Thread Craig Sanders via luv-main
On Thu, May 04, 2017 at 02:42:00PM +1000, Andrew McGlashan wrote: > That's okay, so long as there is at least one target file, otherwise it > fails. > > I've added a test before now and dropped the ls in the for. or you could just set nullglob in the script. From the bash man page: nullglob

Re: Reworking filenames

2017-05-02 Thread Craig Sanders via luv-main
On Mon, May 01, 2017 at 10:19:02PM +1000, David wrote: > I recommend the perl rename tool. On debian you would install this > package: > https://packages.debian.org/jessie/rename i second this recommendation. the perl rename utility is great. bulk rename via regular expression.or ANY perl

Re: Viewing iView and flash

2017-03-26 Thread Craig Sanders via luv-main
On Sat, Mar 25, 2017 at 06:23:05PM +1100, russ...@coker.com.au wrote: > deb http://www.coker.com.au wheezy misc > deb http://www.coker.com.au jessie misc > deb http://www.coker.com.au stretch misc > > The above APT repositories have Python-iview built for Debian, it was built > for wheezy but

Re: simple web proxy

2017-03-22 Thread Craig Sanders via luv-main
On Thu, Mar 23, 2017 at 02:07:33AM +1100, russ...@coker.com.au wrote: > Can anyone recommend a very simple web proxy that works reliably with apt-get > (unlike Squid)? What I want is to just allow access to apt repositories and > nothing else. Caching isn't really required as the bandwidth

Re: rsync; how to preserve Windows permissions

2017-03-09 Thread Craig Sanders via luv-main
On Fri, Mar 03, 2017 at 02:48:56PM +1100, Bill Yang wrote: > I now have another issue. Some of the files/directories I transferred > from source storage server (Red Hat) are Windows files/directories > (Those Windows files were backed up using a backup software). rsync > didn’t preserve Windows

Re: DNS resolution weirdness whilst using OpenConnect

2017-03-09 Thread Craig Sanders via luv-main
On Mon, Mar 06, 2017 at 01:23:05PM +1100, Anthony wrote: > What goes screwy is DNS resolution... > > Sometimes, for no obvious reason, I can resolve internal hostnames > that resolve to destinations reached by the host using things like the > "host" command... IMO the best solution is to run your

Re: rsync with multiple threads

2017-02-20 Thread Craig Sanders via luv-main
On Fri, Feb 17, 2017 at 06:25:38PM +1100, Joel W. Shea wrote: > Are you maxing out your disk/network bandwidth already? This is key, IMO, to whether running multiple rsyncs in parallel is worth it or not. Almost all of the time, rsync is going to be I/O bound (disk and network) rather than CPU

Re: reproducibility of results

2016-12-25 Thread Craig Sanders via luv-main
On Sun, Dec 25, 2016 at 04:56:05PM +1100, Paul van den Bergen wrote: > Funny, I was asked about exactly the same problem when I started > @WEHI... only there was no attempt made to even start tackling the > problem... yeah, we were constantly getting individual academics and research groups

Re: reproducibility of results

2016-12-23 Thread Craig Sanders via luv-main
On Sat, Dec 24, 2016 at 12:51:01AM +1100, russ...@coker.com.au wrote: > https://github.com/docker/docker/issues/28705 > https://lwn.net/Articles/446528/ thanks, i'll have to read those later today. > So the kernel command-line option might be the best option for etch. possibly. worth a try,

Re: reproducibility of results

2016-12-23 Thread Craig Sanders via luv-main
On Fri, Dec 23, 2016 at 09:41:30PM +1100, russ...@coker.com.au wrote: > Debian/Unstable has a new version of GCC that has deprecated a lot of the > older STL interfaces. It also has a kernel that won't work with the amd64 > libc from Wheezy. yeah, i know. i had to build frankenwheezy

reproducibility of results

2016-12-23 Thread Craig Sanders via luv-main
On Fri, Dec 23, 2016 at 08:22:45PM +1100, russ...@coker.com.au wrote: > I've heard a lot of scientific computing people talk about a desire to > reproduce calculations, but I haven't heard them talking about these > issues so I presume that they haven't got far in this regard. it was a big issue

Re: /usr/bin/env

2016-12-23 Thread Craig Sanders via luv-main
On Fri, Dec 23, 2016 at 06:02:54PM +1100, russ...@coker.com.au wrote: > While it is documented to work that way doesn't mean it's a good idea to do > it. the issue isn't about bash and '-e', it's about env breaking the ability to pass options on the #! line. '-e' is just a trivial illustrative

Re: /usr/bin/env

2016-12-22 Thread Craig Sanders via luv-main
On Fri, Dec 23, 2016 at 02:44:28PM +1100, Andrew Mather wrote: > Module files are generally set up by the admins, so they don't require > anything more from the user than including the appropriate loading > statements in their scripts. It's not unlike a wrapper script really. it sounds similar

Re: /usr/bin/env

2016-12-22 Thread Craig Sanders via luv-main
On Fri, Dec 23, 2016 at 02:35:06PM +1100, Russell Coker wrote: > Putting the -e in the first line of the shell script is considered bad > practice anyway. that's debatable. some think it's bad practice. some think it's using bash as it's documented to work. 'bash -e' was just a simple example

Re: luv-main Digest, Vol 64, Issue 15

2016-12-22 Thread Craig Sanders via luv-main
On Fri, Dec 23, 2016 at 01:06:47PM +1100, Andrew Mather wrote: > We use the "modules" environment (TACC's lmod implementation specifically) > for this type of thing. > > https://www.tacc.utexas.edu/research-development/tacc-projects/lmod > > It allows multiple versions of packages to exist

Re: /usr/bin/env

2016-12-22 Thread Craig Sanders via luv-main
On Fri, Dec 23, 2016 at 12:26:54PM +1100, Sean Crosby wrote: > > that's one of the things that symlinks are for. > > > > e.g. I have python2.6, 2.7, 3.1, 3.2, 3.4, and 3.5 all installed in > > /usr/bin, with symlinks python & python2 pointing to 2.7, and python3 > > pointing to 3.5 > > All well

Re: /usr/bin/env

2016-12-22 Thread Craig Sanders via luv-main
On Fri, Dec 23, 2016 at 08:11:15AM +1100, Sean Crosby wrote: > I've taken to using /usr/bin/env a bit more because of the max length > limit in shebang lines. We store newer versions of Ruby, Python etc > on a separate filesystem, where there are many versions of these > directories, and they are

Re: /usr/bin/env

2016-12-22 Thread Craig Sanders via luv-main
On Fri, Dec 23, 2016 at 01:37:11AM +1100, Craig Sanders wrote: > one of the worst problems with doing it is that it breaks the ability > to pass command-line options to the interpreter in the #! line - e.g. > '#!/bin/bash -e' works, but with '#!/usr/bin/env bash -e' the '-e' is > ignored by bash.

/usr/bin/env

2016-12-22 Thread Craig Sanders via luv-main
On Fri, Dec 23, 2016 at 12:57:48AM +1100, Andrew McGlashan wrote: > #!/usr/bin/env bash please don't promote thet obnoxious brain-damage. it's bad enough seeing the #!/usr/bin/env disease on sites like stackexchange (where at least they have the excuse of catering to non-linux systems - and even

Re: Every 2 Minutes cronjob

2016-12-22 Thread Craig Sanders via luv-main
On Thu, Dec 22, 2016 at 07:13:21PM +1100, David Zuccaro wrote: > Yes it's a screen capture script. > > Am I setting DISPLAY properly? As Morrie said, there's a lot more to it than just setting the DISPLAY variable. This doesn't seem like a good task for cron. IMO you'd be better off with

Re: phone support

2016-12-01 Thread Craig Sanders via luv-main
On Thu, Dec 01, 2016 at 09:43:46PM +1100, russ...@coker.com.au wrote: > I encourage anyone with Android phones in such situations to give them > to the LUV hardware library. Even 5yo Android phones are nice little > embedded Linux systems that can be used for running your own programs. they also

Re: Virtualbox

2016-11-30 Thread Craig Sanders via luv-main
On Wed, Nov 30, 2016 at 03:35:24PM +1100, russ...@coker.com.au wrote: > As Allan noted DKMS is the ideal solution to that problem. But it's > still a reason for me to avoid it. I currently have DKMS in place > for zfsonlinux on some of my systems and don't want the added pain of >

Re: [luv-announce] Notice of resumption of adjourned Special General Meeting, Tuesday 6 Dec 2016

2016-11-30 Thread Craig Sanders via luv-main
On Wed, Nov 30, 2016 at 03:26:45PM +1100, russ...@coker.com.au wrote: > On Tuesday, 29 November 2016 1:47:47 PM AEDT Craig Sanders via luv-main wrote: > > > *That Linux Users of Victoria apply to become a subcommittee of > > > Linux Australia [...] > > > > what

Re: Configuration and automation query

2016-11-21 Thread Craig Sanders via luv-main
On Tue, Nov 22, 2016 at 11:52:03AM +1100, Peter Ross wrote: > The default configuration may change, according to best practice(e.g. > which encryption protocols are safe to use etc). so you are happy to > use whatever the package provides (if it is well-maintained) > > However, some things you

Re: How to make systemd more reliable

2016-10-11 Thread Craig Sanders via luv-main
On Wed, Oct 12, 2016 at 03:35:34PM +1100, russ...@coker.com.au wrote: > On Wednesday, 12 October 2016 2:46:01 PM AEDT Craig Sanders via luv-main > wrote: > > yes, but you can't pipe `btrfs send` to `zfs recv` and expect to get > > anything useful. my backup pool is zfs. >

Re: How to make systemd more reliable

2016-10-11 Thread Craig Sanders via luv-main
On Wed, Oct 12, 2016 at 11:18:40AM +1100, russ...@coker.com.au wrote: > On Wednesday, 12 October 2016 1:31:33 AM AEDT Craig Sanders via luv-main > wrote: > > the only time i've ever seen something similar was my own stupid > > fault, i rebooted and just pulled out the old SSD

Re: How to make systemd more reliable

2016-10-11 Thread Craig Sanders via luv-main
On Wed, Oct 12, 2016 at 10:42:03AM +1100, Allan Duncan wrote: > On my todo list. It happens when I boot after failing to alter fstab > to match the actual disks connected. it seems to happen at the slightest excuse, whether the machine ends up booting or not. just what everyone needs, one or

Re: How to make systemd more reliable

2016-10-11 Thread Craig Sanders via luv-main
On Tue, Oct 11, 2016 at 11:13:34PM +1100, russ...@coker.com.au wrote: > On Tuesday, 11 October 2016 10:30:01 PM AEDT Craig Sanders via luv-main wrote: > > I was rebooting anyway in order to replace a failed SSD on one > > machine and convert both of them to root on ZFS.

Re: How to make systemd more reliable

2016-10-11 Thread Craig Sanders via luv-main
On Tue, Oct 11, 2016 at 09:29:37PM +1100, russ...@coker.com.au wrote: > On Tuesday, 11 October 2016 8:14:29 PM AEDT Erik Christiansen via luv-main > wrote: > > (Though I'm not sure that systemd's rapacious appetite for > > monolithic hegemony does a lot more than stultify its own > > development.

Re: How to make systemd more reliable

2016-10-11 Thread Craig Sanders via luv-main
On Tue, Oct 11, 2016 at 08:14:29PM +1100, luv-main@luv.asn.au wrote: > On 01.10.16 01:34, Craig Sanders via luv-main wrote: > > anyway, systemd's borging of every function it possibly can will > > inevitably lead to the death of innovation in linux and bring about > > a

Re: How to make systemd more reliable

2016-10-02 Thread Craig Sanders via luv-main
[edited to put the interesting stuff at the top, and the boring stuff at the bottom where it's easily ignored.] On Sat, Oct 01, 2016 at 08:05:31PM +1000, russ...@coker.com.au wrote: > Bash is still quite a bit bigger than busybox and links with a couple > of libraries that busybox doesn't link

Re: How to make systemd more reliable

2016-09-30 Thread Craig Sanders via luv-main
On Fri, Sep 30, 2016 at 02:38:54PM +1000, russ...@coker.com.au wrote: > > I'm sure you're aware that this variety of rhetoric suffers a rather > > serious 'if so, so what?' problem (residing somewhere among the > > It's "if so don't deal with those people" as so many people have done. > There are

Re: How to make systemd more reliable

2016-09-30 Thread Craig Sanders via luv-main
On Thu, Sep 29, 2016 at 06:14:49PM +1000, russ...@coker.com.au wrote: > On Thursday, 29 September 2016 3:20:37 PM AEST Paul van den Bergen via > luv-main wrote: > > > I'm going to be critical here - it is rare that you have personal choice > > over the tools your system uses. i haven't found it

Re: Orbital simulation

2016-09-26 Thread Craig Sanders via luv-main
On Mon, Sep 26, 2016 at 01:46:29PM +1000, Paul van den Bergen wrote: > the biggest drawback for both the Niven ring and the Dyson sphere is > there is no gravitational attraction inside the ring or sphere to the > sphere - only towards the sun, or only on the outside i'm surprised that

system monitoring (was Re: ZFS error logging)

2016-09-23 Thread Craig Sanders via luv-main
On Fri, Sep 23, 2016 at 04:06:42PM +1000, russ...@coker.com.au wrote: > The Nagios model is to have a single very complex monitoring system while > the mon model tends towards multiple simple installations. Nagios has a > nrpe daemon on each monitored server while with Mon you have Mon on each >

Re: Can anyone make suggestions for training / learning resources wrt databases.

2016-09-17 Thread Craig Sanders via luv-main
On Sun, Sep 18, 2016 at 10:54:06AM +1000, h wrote: > There are two areas I have been unable to find information on: > > * Writing sql / script files An sql script file is just a bunch of sql commands in a sequence. There are numerous ways to run such a script, including piping or redirecting

Re: pdns security update (was Re: NBN satelite setup)

2016-09-17 Thread Craig Sanders via luv-main
On Fri, Sep 16, 2016 at 03:27:38PM -0700, Rick Moen wrote: > > good page that, i've read it before but not for some time. IMO a > > useful addition to it would be a list of authoritative servers that > > use bind9 RFC-1034 zonefiles. > > You know, they kind of _could_ have called that format the

Re: pdns security update (was Re: NBN satelite setup)

2016-09-16 Thread Craig Sanders via luv-main
On Fri, Sep 16, 2016 at 01:12:07AM -0700, Rick Moen wrote: > _But_ that is completely unrelated to pdnsd. ah, my mistake. i assumed he was talking about powerdns. > http://linuxmafia.com/faq/Network_Other/dns-servers.html good page that, i've read it before but not for some time. IMO a useful

pdns security update (was Re: NBN satelite setup)

2016-09-16 Thread Craig Sanders via luv-main
On Wed, Sep 14, 2016 at 07:10:43AM +1000, zlin...@virginbroadband.com.au wrote: > I am using pdnsd FYI, I saw this DSA come in a few days ago: https://www.debian.org/security/2016/dsa-3664 Debian Security Advisory DSA-3664-1 pdns -- security update Date Reported: 10 Sep 2016 Affected

<    1   2   3   >