Re: Securing development environment

2018-05-18 Thread Chris
On Fri, 18 May 2018 23:43:45 +0200 Hubert Hauser wrote: > Which option is best solution? I am considering use VPN but I am not > sure is too complicated and that problem can be solved simpler by > nginx basic_auth mechanism and fail2ban. What are your > recommendations? Make those services listen

Re: filter network traffic of KVM guests.

2018-05-18 Thread Chris
On Thu, 17 May 2018 23:11:51 +0300 Reco wrote: > Either ebtables (for a conventional brigde) or macvtap in private mode > will do it. Openvswitch will work too, but it's nowhere near in > simplicity compared to macvtap. Thank you for your quick reply, Reco. Unfortunately, I described improperly

Re: Correct: System Thinks Hardware Clock is UTC

2018-05-18 Thread David Wright
On Fri 18 May 2018 at 17:13:07 (-0700), Patrick Bartek wrote: > Okay, it's my fault: I admit it. During the Base Only, Terminal-only > install of Stretch, I clicked UTC instead of Local for the hardware > clock time. Honestly, I thought the clock was set to UTC. Haven't > installed any other OS on

Re: lightdm (testing): Long waiting time after login

2018-05-18 Thread Ben Caradoc-Davies
On 19/05/18 11:28, Ben Caradoc-Davies wrote: The cause is xfce4-session. I will file a bug report. Bug#899080: xfce4-session hangs in getrandom if crng not ready https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899080 I think this is a symptom of Bug#898088 in libbsd0: Bug#898088: arc4random

Re: Correct: System Thinks Hardware Clock is UTC

2018-05-18 Thread Ben Finney
Patrick Bartek writes: > I could use hwclock --set --date= with the --localtime > option, etc., to correct this but is there an easier way? There is only one clock involved in this: the hardware clock. By telling the operating system that your hardware clock is set to UTC, you have told the ope

Correct: System Thinks Hardware Clock is UTC

2018-05-18 Thread Patrick Bartek
Okay, it's my fault: I admit it. During the Base Only, Terminal-only install of Stretch, I clicked UTC instead of Local for the hardware clock time. Honestly, I thought the clock was set to UTC. Haven't installed any other OS on this system since Wheezy 5 years ago. So, now system time on Stretch i

Re: lightdm (testing): Long waiting time after login

2018-05-18 Thread Ben Caradoc-Davies
On 19/05/18 09:59, Ben Caradoc-Davies wrote: I can reproduce the hang in a VM with a testing system installed from the 14 May weekly testing iso. I will try using a custom kernel with a printk in getrandom to confirm the guilty process, as I did for #897572. The cause is xfce4-session. I will

Re: Laptop randomly reboots

2018-05-18 Thread Sam Smith
On 09/04/2017 11:46 PM, Sam Smith wrote: On 08/28/2017 03:32 PM, Sam Smith wrote: On 06/13/2017 02:27 PM, Sam Smith wrote: On 05/12/2017 03:38 PM, Sam Smith wrote: On 01/20/2017 08:04 PM, Sam Smith wrote: I'll try to keep this short. I bought a used Lenovo T520 back in May. It had the motherb

Re: lightdm (testing): Long waiting time after login

2018-05-18 Thread Ben Caradoc-Davies
On 19/05/18 01:57, Dino wrote: Surprisingly, this behaviour does not occur on my desktop running testing with all packages upgraded to the same versions... If you have a wired network device and are on a busy network, your network device might generate enough entropy. One other possibility is

Securing development environment

2018-05-18 Thread Hubert Hauser
Hello everybody! I have been renting a VPS with installed Debian Stretch. I want to host a my personal website that includes basic functionality as blog, chat, portfolio etc. Entire website will be written using Django framework and Python 3.x, HTML5, CSS3, JS programming languages. These parts of

Re: List words separated by comma and without duplicates

2018-05-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, May 18, 2018 at 08:50:48PM +0200, Rodolfo Medina wrote: [...] > Thanks to all who helped. I adopted Tomas' solution: Hey, glad you liked it :-) Cheers - -- t -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlr

Re: List words separated by comma and without duplicates

2018-05-18 Thread Rodolfo Medina
Rodolfo Medina writes: > Suppose I have a file made by a list of names and surnames, e.g.: > > Arvo Part > Harold Pinter > Lucio Battisti > Antonio Amurri > Eduardo De Filippo > Eduardo De Filippo > > and that I want them listed all on one line, separated by a comma and without > duplicates, i.e.

Re: UEFI/"BIOS" booting

2018-05-18 Thread David Wright
On Wed 16 May 2018 at 00:23:43 (+0200), Pascal Hambourg wrote: > Le 15/05/2018 à 03:37, David Wright a écrit : > > > >>But GRUB is not the only available bootloader. > > > >No. > > > >It's difficult to divine which bootloaders the author is familiar with. > >My own experience of the last twenty yea

Re: UEFI/"BIOS" booting, was Re: USB Install Fails, Complains about CD-ROM

2018-05-18 Thread David Wright
On Wed 16 May 2018 at 00:35:33 (+0200), Pascal Hambourg wrote: > Le 15/05/2018 à 03:23, David Wright a écrit : > > > >In this particular instance (the Lenovo), its PDF says: > (...) > > The default boot mode for your computer is UEFI mode. If you need to > > install a legacy operating syste

Re: Encrypted containers & the Debian installer.

2018-05-18 Thread David Wright
On Thu 17 May 2018 at 22:24:01 (-0700), Diagonal Arg wrote: > > > > On Wed, 16 May 2018 07:42:42 -0700 David Wright > wrote > > On Tue 15 May 2018 at 23:05:10 (-0700), Diagonal Arg wrote: > > > On my first tries with the Debian installer, I am struggling with the > limited reso

Re: lightdm (testing): Long waiting time after login

2018-05-18 Thread Dino
On 18.05.2018 12:07 songbird wrote: Dino wrote: On 18.05.2018 01:07 Ben Caradoc-Davies wrote: On 17/05/18 21:02, Dino wrote: Yes, you're right! When I wiggle the mouse the wait ends sooner. Indeed, if I don't move the mouse at all and don't press any key the screen just stays blank (I waited a

Re: making more room in root partition for distribution upgrade

2018-05-18 Thread Andy Smith
Hello, On Fri, May 18, 2018 at 04:00:45AM -0700, Rick Thomas wrote: > Contrary to Andy’s recommendation, though, I would also > put swap on LVM — if only just to simplify things when I do find > myself needing to adjust it Well, OK. But… Should I need more swap then I don't really find adding an

Re: Help with udev trigger

2018-05-18 Thread songbird
Bhasker C V wrote: > Hi, > > Version: buster > I do a manual cryptsetup to create my home directory after system boots up > I want to run fsck every time the device node is created from luks > > I added this udev rule > > ACTION="change",DEVTYPE="disk",ID_FS_UUID="cf1b64cf-7a62-4a43-ad44-6c68f2

Re: Help with udev trigger

2018-05-18 Thread Reco
Hi. On Fri, May 18, 2018 at 09:26:47AM +0100, Bhasker C V wrote: > Hi, > > Version: buster > I do a manual cryptsetup to create my home directory after system boots up > I want to run fsck every time the device node is created from luks > > I added this udev rule > > ACTION="change"

Re: making more room in root partition for distribution upgrade

2018-05-18 Thread Rick Thomas
On May 17, 2018, at 6:19 PM, Andy Smith wrote: > If using multiple partitions per disk, consider using LVM in future > as otherwise this sort of thing nearly always becomes a chore. I strongly second the recommendation to use LVM wherever possible. It greatly simplifies the process of re-sizi

Re: lightdm (testing): Long waiting time after login

2018-05-18 Thread songbird
Dino wrote: > On 18.05.2018 01:07 Ben Caradoc-Davies wrote: >> On 17/05/18 21:02, Dino wrote: >>> Yes, you're right! When I wiggle the mouse the wait ends sooner. >>> Indeed, if I don't move the mouse at all and don't press any key the >>> screen just stays blank (I waited approx. 5 minutes and i

Help with udev trigger

2018-05-18 Thread Bhasker C V
Hi, Version: buster I do a manual cryptsetup to create my home directory after system boots up I want to run fsck every time the device node is created from luks I added this udev rule ACTION="change",DEVTYPE="disk",ID_FS_UUID="cf1b64cf-7a62-4a43-ad44-6c68f2bbdec5" RUN+="/bin/btrfsck /dev/ma