Linux

Tech to solve post-Brexit customs woes doesn't exist yet, peers say

The Register - Thu, 09/20/2018 - 09:29
Stop us if you've heard this one before...

The UK’s post-Brexit customs arrangements have today come under even greater pressure, as peers warned the tech doesn’t exist to back up the plans.…

Tech to solve post-Brexit customs woes doesn't exist yet, peers say

The Register - Thu, 09/20/2018 - 09:29
Stop us if you've heard this one before...

The UK’s post-Brexit customs arrangements have today come under even greater pressure, as peers warned the tech doesn’t exist to back up the plans.…

Bad weather, baulky booster keep ISS 'naut snacks on the ground

The Register - Thu, 09/20/2018 - 08:59
Fresh fruit, fresh batteries stuck on Japanese launchpad as HTV-7 hopes to catch a break

International Space Station astronauts looking forward to feasting on some fresh food have a little longer to wait as Japan’s cargo ship has suffered yet another launch delay.…

Roast my provisioning

Hello /r/linuxadmin!

I figured it's a good way to learn to have a big community of Linux admins see if my thinking is any good. So I ask you if you could critique the way my provisioning works right now? The environment is:

  • Proxmox for virtual machines
  • Only Debian and Ubuntu machines
  • Puppet for config management

We're a pretty small company so we didn't look at the more enterprisey solutions mostly because we think it's too much to do for not enough gain. We used to provision vm's manually - install and connect to puppet and let it deal with all the rest. But now we wanted to automate it so I wrote a simple python script to do it:

  • Script is called from puppet (when we create a new virtual machine resource on hypervisor)
  • It generates preseed files with all the needed configuration, including networking. Then it generates puppet certificates on puppet master and copies all of that to a unique location on the hypervisor which can be accessed trough Nginx.
  • It runs the qm create command, with all the hardware options set and location to pressed configs in the -args section
  • Installation is completely automatic and after it ends, installer runs a script to install puppet and copy hypervisors public key to its' authorized_keys, turn on serial port access, update packages and add needed hosts file entries.
  • Before the first boot the -args section is deleted so it won't install again
  • After it boots the script checks when port 22 opens and copies puppet certificates over to the vm
  • Script configures puppet trough ssh and runs it. At this time vm is fully working
  • After it's all done we get a message on slack that we can use the machine

So I'm wondering if there's any better way to do it? Is my script totally over engineered? Or maybe it's too inflexible? Maybe there are some ready solutions I don't know about?

I looked at puppet razor but to be honest I don't really understand it. With FAI I ran into some issues setting up the PXE server and just gave up. I also tried cloudinit but proxmox has a very limited support for it and I had a lot of problems with setting up my own image. I'm still pretty junior, only got like a year and a half of experience so probably that's why :P

Should I pursue those solutions instead of making my own? Or if it works it works? One big disadvantage of this I guess is I can't provision bare metal servers, but currently we have like only 5 or 6 of them so I don't care that much.

submitted by /u/ivyjivy
[link] [comments]

Intel co-founder's Silicon Valley pad goes on the market for $22m

The Register - Thu, 09/20/2018 - 08:25
Includes vineyard, a separate guest house and Chipzilla history

A California home once owned by Intel founder Robert Noyce where the dining room served as Chipzilla’s boardroom in its early days is up for sale.…

Dive deep into AWS Lambda, FaaS and more

The Register - Thu, 09/20/2018 - 08:11
Our Serverless Computing early bird offer finishes in 36 hours

If you’re not already using AWS Lambda, Azure Functions or FaaS it’s highly likely they’ll be appearing on your project schedule soon.…

All signs are that Solus OS is heading forward without Ikey Doherty...so what now does Solus do that separates itself from other distros..

Linux - Thu, 09/20/2018 - 08:04

Ikey is what drawn many users to this exciting distro.

But it seems he has left for good. With budgie DE dead.

Solus seems like another rolling-release with no USP as it ships with your typical DE's e.g. kde, mate.

What exactly is the direction of innovation/design going forward? And what does it do better than other distros?

Bear in mind, the technical drive (Budgie DE, tooling) has been driven by Ikey.

The other Solus devs, although hugely valuable, are essentially maintainers keeping updates ticking along.

Solus seems to have hit it's peak and is just another distro.

edit: also if you disagree. Can you point to development of Solus, where you can point out significant development of something exciting progress happening with tooling, desktop environment, applications like software center since Ikey stopped etc. I'm not talking about kernel updates, image branding etc

submitted by /u/glihhuhde
[link] [comments]
Categories: Linux

iSCSI: Disk at 100% after initial operation

We have a disk exported via iSCSI. When writing to this particular disk, following issue manifests:

Initial speed is decent, then after a few gigabytes of writes

i) disk becomes 100% busy

ii) disk write speed drops to 10 MB/s

iii) Disk IOPS drop to 80 transfers / sec

Some (alarming) points to consider:

1) All other disks in our network function properly, that is their speeds when exported as iSCSI targets are normal and sustained.

2) This specific disk functions properly when used locally, and not as iSCSI target.

3) Disk's behaviour was duplicated in a virtual environment. That is, iSCSI target and iSCSI initiator are two virtual machines in the same bare metal machine.

If it wasn't for point 2) we would come to the conclusion that disk is faulty. But current behaviour (problems only for 1 specific disk, only for 1 specific environment) cannot be explained.

Your thoughts?

submitted by /u/_padawan
[link] [comments]

Investigating Some Unexpected Bash coproc Behavior

Linux Journal - Thu, 09/20/2018 - 08:00
by Mitch Frazier

Recently while refreshing my memory on the use of Bash's coproc feature, I came across a reference to a pitfall that described what I thought was some quite unexpected behavior. This post describes my quick investigation of the pitfall and suggests a workaround (although I don't really recommend using it).

Go to Full Article

Deliveroo to bike food to hungry fanbois queuing to buy iPhones

The Register - Thu, 09/20/2018 - 07:57
Waiting in line for hours and fancy some avocado on toast? Pathetic!

The most shameless press release of the week award goes to Deliveroo for trying to share the limelight with Apple by offering to bike food to fanbois queuing for the latest iPhones released tomorrow.…

Linus resigns

Linux - Thu, 09/20/2018 - 07:38
Categories: Linux

Alibaba wants to ship its own neural network silicon by H2 2019

The Register - Thu, 09/20/2018 - 07:26
Middle Kingdom calls for international AI arm linkage

Alibaba has created a subsidiary to design and build silicon for artificial intelligence.…

How can I run Custom ROM's such as MIUI, color OS, Lineage OS on android emulator.

Developing Android Apps - Thu, 09/20/2018 - 07:25

I have come across a certain link i.e " https://forum.xda-developers.com/showthread.php?t=1599005 " .

But as cryptic as this method may seem , i can still not run a few Rom's on the emulator , I know Lineage OS can be booted in to your pc , Can I do it with other Rom's , Has anybody ever did it before with MIUI specifically.

submitted by /u/BhishmPitamah
[link] [comments]
Categories: Android, Linux

Battery replacement is horrible nowadays. The removable battery needs a comeback!

Android - Thu, 09/20/2018 - 07:21

Since you can't buy a proper smartphone with removable battery anymore (at least i couldn't find a single new flagship / or normal smartphone that has a removable battery, heck !) the process of getting a new batterie is horrible.

I use a galaxy s7 as my daily driver and the phone is getting to the 2 year mark. I had to send it in for warranty twice already for a new battery because the old ones always lost too much capacity making it hard to use as a daily driver - i think i am a normal smartphone user charging my phone 1x per day over night. In the time I had to fill warranty paperwork and send it to a samsung repair center my phone was gone for roughly 2 weeks every time. In that time i needed a second phone. I mean seriously what the f***.

I know it was repaired under warranty so it didn't cost me anything but i would prefer just buying a new batterie for a fair amount of money replacing it myself on a faster and more reliable base. After my warranty ends i will have to pay a lot more for a proper replacement.

I can understand arguments like the phones can get better features and are manufactured cheaper with built in batteries but in the end it's just bad for the consumer and i think that's not ok.

I want a comeback for the removeable battery. At least give people some phones that can do it.

What's your opinion? Any pro con or other information?

I thought about it for a time now and now i had enough of it so i decided to share my experience here on reddit :)

Thank you!

submitted by /u/CLUBSODA909
[link] [comments]

Pages