[DNG] adblocking using /etc/hosts

2016-06-05 Thread emninger
I don't know, if it is the right place here to ask such trivial questions, if not please tell me, no problem at all. I wanted to suggest, for the future, may be for a better user experience, if it is possible and reasonable to create a small script, which would configure /etc/hosts in a way that a

Re: [DNG] adblocking using /etc/hosts

2016-06-05 Thread Rob van der Putten
Hi there emnin...@riseup.net wrote: I don't know, if it is the right place here to ask such trivial questions, if not please tell me, no problem at all. I wanted to suggest, for the future, may be for a better user experience, if it is possible and reasonable to create a small script, which w

Re: [DNG] adblocking using /etc/hosts

2016-06-05 Thread Adam Borowski
On Sun, Jun 05, 2016 at 09:01:49AM +0200, emnin...@riseup.net wrote: > I wanted to suggest, for the future, may be for a better user > experience, if it is possible and reasonable to create a small script, > which would configure /etc/hosts in a way that ad servers and that like > were redirected t

Re: [DNG] adblocking using /etc/hosts

2016-06-05 Thread info at smallinnovations.nl
Date: Sun, 5 Jun 2016 09:01:49 +0200 From: To:dng@lists.dyne.org Subject: [DNG] adblocking using /etc/hosts I don't know, if it is the right place here to ask such trivial questions, if not please tell me, no problem at all. I wanted to suggest, for the future, may be for a better user experie

Re: [DNG] use zram for /tmp - how?

2016-06-05 Thread Florian Zieboll
On Sun, 5 Jun 2016 06:50:11 +0200 wrote: > Thanks Florian! That might be an idea - if it is not working the other > way around: like parazyd suggested. May be raise the space of zram > swap and set then tmpfs (which should then, if i understand it > correctly, should use the mem including the vir

Re: [DNG] use zram for /tmp - how?

2016-06-05 Thread Didier Kryn
Le 04/06/2016 21:44, emnin...@riseup.net a écrit : Anyone of you knows a way how to use zram for /tmp ? (I inherited a sony_vaio with 16 gb of ram - which i never ever will/could use, so i thought to use the excessive ram configuring zram). I have a laptop with 16GB of ram. I configured i

Re: [DNG] Devuan Top100 on DistroWatch

2016-06-05 Thread hellekin
On 06/03/2016 04:58 AM, Jim Murphy wrote: > > Just out of curiosity does anyone know where > DW gets the package lists they post? > Jesse explained that the package list is taken from `dpkg -l` running on the default installation medium (when there are multiple versions, they choose, e.g., the DV

Re: [DNG] Init compatibility

2016-06-05 Thread hellekin
On 06/03/2016 10:42 PM, Florian Zieboll wrote: > > That said, I wonder, what information any > arbitrary init system would need, that can not be delivered e.g. in a > simple XML file, packaged with the daemon. > An XML file, however simple it may be, is probably the last thing you want to add to

Re: [DNG] Init compatibility

2016-06-05 Thread Florian Zieboll
On Sun, 5 Jun 2016 10:58:37 + hellekin wrote: > On 06/03/2016 10:42 PM, Florian Zieboll wrote: > > > > That said, I wonder, what information any > > arbitrary init system would need, that can not be delivered e.g. in > > a simple XML file, packaged with the daemon. > > > > An XML file, how

Re: [DNG] Init compatibility

2016-06-05 Thread Adam Borowski
On Sun, Jun 05, 2016 at 02:08:02PM +0200, Florian Zieboll wrote: > On Sun, 5 Jun 2016 10:58:37 + > hellekin wrote: > > On 06/03/2016 10:42 PM, Florian Zieboll wrote: > > > That said, I wonder, what information any > > > arbitrary init system would need, that can not be delivered e.g. in > > >

Re: [DNG] Init compatibility

2016-06-05 Thread Steve Litt
On Sun, 5 Jun 2016 10:58:37 + hellekin wrote: > On 06/03/2016 10:42 PM, Florian Zieboll wrote: > > > > That said, I wonder, what information any > > arbitrary init system would need, that can not be delivered e.g. in > > a simple XML file, packaged with the daemon. > > > > An XML file, h

Re: [DNG] Init compatibility

2016-06-05 Thread Jaromil
On Sun, 05 Jun 2016, Steve Litt wrote: > Which is pretty much what Florian was suggesting: Change and convert > the XML only when something about the boot changes, and put the output > file into an rc file or something like that. OK but can we avoid polarization and use "markup (language definiti

Re: [DNG] Init compatibility

2016-06-05 Thread KatolaZ
On Sun, Jun 05, 2016 at 10:58:37AM +, hellekin wrote: > On 06/03/2016 10:42 PM, Florian Zieboll wrote: > > > > That said, I wonder, what information any > > arbitrary init system would need, that can not be delivered e.g. in a > > simple XML file, packaged with the daemon. > > > > An XML fil

Re: [DNG] Init compatibility

2016-06-05 Thread KatolaZ
On Sun, Jun 05, 2016 at 10:38:33AM -0400, Steve Litt wrote: > On Sun, 5 Jun 2016 10:58:37 + > hellekin wrote: > > > On 06/03/2016 10:42 PM, Florian Zieboll wrote: > > > > > > That said, I wonder, what information any > > > arbitrary init system would need, that can not be delivered e.g. in >

Re: [DNG] use zram for /tmp - how?

2016-06-05 Thread emninger
Am Sun, 05 Jun 2016 12:00:01 + schrieb Didier Kryn : > I have a laptop with 16GB of ram. I configured it like this with > the primary goal of not using swap at all. And my /tmp is a tmpfs > with a 4G limit. This allows me to use an SSD as hard disk drive. I > didn't want to swap to an SS

Re: [DNG] adblocking using /etc/hosts

2016-06-05 Thread shraptor
... I mentioned before on this list Pi-hole https://pi-hole.net/ which does do something like that and is well maintained. At the moment it is just a script and it will have to be packaged and such but it works well on all kinds of De*an versions. I have it running on RPi 2 with Devuan beta and i

Re: [DNG] Init compatibility

2016-06-05 Thread Rainer Weikusat
Florian Zieboll writes: > Simon Hobson wrote: >> Florian Zieboll wrote: >> >> > Seriously, what else besides dependencies on other daemons that >> > have to be running and some testing for the existence of certain >> > (everything is) files would be necessary to pass to a parser >> > script, wh

Re: [DNG] Init compatibility

2016-06-05 Thread Hendrik Boom
On Sun, Jun 05, 2016 at 03:58:45PM +0100, KatolaZ wrote: > On Sun, Jun 05, 2016 at 10:38:33AM -0400, Steve Litt wrote: > > On Sun, 5 Jun 2016 10:58:37 + > > hellekin wrote: > > > > > On 06/03/2016 10:42 PM, Florian Zieboll wrote: > > > > > > > > That said, I wonder, what information any > >

Re: [DNG] Init compatibility

2016-06-05 Thread Steve Litt
On Sun, 5 Jun 2016 16:41:22 +0200 Jaromil wrote: > OK but can we avoid polarization and use "markup (language > definition)" instead of XML here? I share and understand well > everyone's concerns about XML here and think it won't help mutual > understanding of what you point out if we keep the u

Re: [DNG] Init compatibility (was: SoylentNews discussion)

2016-06-05 Thread Simon Hobson
Florian Zieboll wrote: > i was not talking about replacing sysvinit's shellscripts, but suggest > to implement a routine that creates them "on the fly" on installation > of a new daemon, from /one/ init-independent "meta" configuration file, > packaged with the daemon. OK, my experience in this

Re: [DNG] Init compatibility

2016-06-05 Thread Florian Zieboll
On Sun, 05 Jun 2016 18:54:12 +0100 Rainer Weikusat wrote: > What's "a daemon"? > > (...) > > And no 'package' not specifically created for this use case could > provide the meta-information needed here. Hallo Rainer, this sounds much like a rhetoric question. I think for any attempt to unify

Re: [DNG] Init compatibility

2016-06-05 Thread Edward Bartolo
Hi, I would like to suggest as a text template format for the automatic generation of init scripts to use a format similar to the one used in package control files. This uses sections that can easily be parsed without using complex parsers. I would go like this: Requires: Requires_Running: Start

Re: [DNG] use zram for /tmp - how?

2016-06-05 Thread Didier Kryn
Le 05/06/2016 17:24, emnin...@riseup.net a écrit : Am Sun, 05 Jun 2016 12:00:01 + schrieb Didier Kryn : I have a laptop with 16GB of ram. I configured it like this with the primary goal of not using swap at all. And my /tmp is a tmpfs with a 4G limit. This allows me to use an SSD as h

[DNG] how to make xterm window not close automatically after executing a command?

2016-06-05 Thread emninger
If i do 'xterm -T Htop -e htop' the terminal window rests open, if i do 'xterm -T Sysinfo -e inxi -F' the window closes. In some way it's logical, to me, since htop has not finished its job until i do not do F10. Inxi, otoh, has finished. But how can i make, that also the windows with the -inxi -F

Re: [DNG] Init compatibility

2016-06-05 Thread Steve Litt
On Sun, 5 Jun 2016 21:22:04 +0200 Florian Zieboll wrote: > On Sun, 05 Jun 2016 18:54:12 +0100 > Rainer Weikusat wrote: > > > What's "a daemon"? > > > > (...) > > > > And no 'package' not specifically created for this use case could > > provide the meta-information needed here. > > > Hallo

Re: [DNG] Init compatibility

2016-06-05 Thread Steve Litt
Ahh, but you're forgetting that sysvinit thang I wish never happened: runlevels. And of course that 5 function thing with start, stop, restart, and the other two, whatever they are. But yeah, Edward, your requires, requires_running, start_parameters and stop_parameters are a good start. And you al

Re: [DNG] how to make xterm window not close automatically after executing a command?

2016-06-05 Thread KatolaZ
On Mon, Jun 06, 2016 at 12:46:39AM +0200, emnin...@riseup.net wrote: > If i do 'xterm -T Htop -e htop' the terminal window rests open, if i do > 'xterm -T Sysinfo -e inxi -F' the window closes. > > In some way it's logical, to me, since htop has not finished its job > until i do not do F10. Inxi,

Re: [DNG] Init compatibility

2016-06-05 Thread KatolaZ
On Sun, Jun 05, 2016 at 07:01:39PM -0400, Steve Litt wrote: > Ahh, but you're forgetting that sysvinit thang I wish never happened: > runlevels. And of course that 5 function thing with start, stop, > restart, and the other two, whatever they are. > > But yeah, Edward, your requires, requires_runn

[DNG] I'm on the list

2016-06-05 Thread Steve Litt
Hi all, I'd like to ask you a favor. When replying to my post on the list, please just send your reply to the list, no copy direct to me necessary or desired. I'm on the list. When people reply to me on the list only, their reply goes right in my dng mailbox, in its thread. A copy to me personall

Re: [DNG] Init compatibility

2016-06-05 Thread Steve Litt
On Mon, 6 Jun 2016 00:06:11 +0100 KatolaZ wrote: > On Sun, Jun 05, 2016 at 07:01:39PM -0400, Steve Litt wrote: > > Ahh, but you're forgetting that sysvinit thang I wish never > > happened: runlevels. And of course that 5 function thing with > > start, stop, restart, and the other two, whatever th

Re: [DNG] I'm on the list

2016-06-05 Thread Nate Bargmann
Full agreement, Steve. As I use Mutt, the L command ensures replies are sent only to the list, just like this one. - Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Ham radio, Linux, bikes, and more: http://www.n0nb.us _

Re: [DNG] man init

2016-06-05 Thread Simon Walter
On 06/04/2016 09:39 PM, Didier Kryn wrote: Le 04/06/2016 14:00, Nate Bargmann a écrit : * On 2016 04 Jun 04:52 -0500, Jaromil wrote: On Fri, 03 Jun 2016, Joel Roth wrote: My system is devuan/jessie, upgraded from debian. It's interesting that 'man init' brings up the systemd man page. stran

Re: [DNG] ifconfig vs ip

2016-06-05 Thread Simon Walter
On 06/05/2016 12:16 AM, Rainer Weikusat wrote: Simon Walter writes: [...] I am adding containers (LXC) and virtual network to the box, I think I will add an tap and bridge interface to an /etc/network/interface.d/ file. If I use something like: auto br0 iface br0 inet static pre-up ip t

Re: [DNG] how to make xterm window not close automatically

2016-06-05 Thread emninger
Buon dì, KatolaZ Am Mon, 06 Jun 2016 00:16:43 + schrieb KatolaZ : > You should try ' -e "inxi | less" Thx for the hint! But unfortunately,that does *NOT* work in any terminal program (sakura, lxterminal & cie) within X. Using the command with xterm though, produces a nearly unreadable outp

Re: [DNG] how to make xterm window not close automatically

2016-06-05 Thread Adam Borowski
On Mon, Jun 06, 2016 at 07:07:54AM +0200, emnin...@riseup.net wrote: > Am Mon, 06 Jun 2016 00:16:43 + > schrieb KatolaZ : > > > You should try ' -e "inxi | less" > > Thx for the hint! But unfortunately,that does *NOT* work in any > terminal program (sakura, lxterminal & cie) within X. > > U

Re: [DNG] how to make xterm window not close automatically after executing a command?

2016-06-05 Thread Dr. Nikolaus Klepp
xterm -T Sysinfo -e inxi -F -hold enjoy :-) Nik Am Montag, 6. Juni 2016 schrieb emnin...@riseup.net: > If i do 'xterm -T Htop -e htop' the terminal window rests open, if i do > 'xterm -T Sysinfo -e inxi -F' the window closes. > > In some way it's logical, to me, since htop has not finished its j