Re: [DNG] Speak now, or forever hold your peace

2018-10-28 Thread Irrwahn
KatolaZ wrote on 28.10.18 12:18:
> On Sun, Oct 28, 2018 at 12:05:11PM +0100, aitor_czr wrote:
>> Hi,
>>
>> On 10/27/2018 09:56 PM, Steve Litt wrote:
>>> I assume from your response that the util-linux issue is solved.
>> The live-sdk failed retreiving util-linux. I downloaded the sources, but
>> they didn't build succesfully at the first attempt.
>> I've just packaged it and now i'm going to build a repo with the customized
>> grub and the util-linux packages using amprolla, and try again with the
>> live-sdk.
>> Time to go for a walk :)
>>
> 
> Aitor, if you tried a couple of days ago, please consider tha
> util-linux was updated in ceres on Friday. Now
> debootstrapping/upgrading to ceres works again. 
> 

Hi KatolaZ,

not sure if it helps, but I had a few minutes to spare and tried to
debootstrap a ceres image using my own (in)famous wrapper script[1] 
using various mirrors. Debootstrap reproducible fails with error 
code 2 on the "Extracting util-linux..." step.

The debootstrap incantation of my latest attempt (in this particular
case using our own mirror, as I can reliably check it's rsync'd 
twice per hour from pkgmaster.d.o) reads:

sudo debootstrap --verbose --arch amd64 
--include=linux-image-amd64,grub-pc,firmware-linux-free,firmware-realtek,console-setup,console-setup-linux,locales,keyboard-configuration,busybox-static,live-boot,firmware-linux-nonfree,acpi-support,cron,dbus,rsyslog,netbase,net-tools,ntp,telnet,openssh-server,openssh-client
 --components=main,contrib,non-free --merged-usr ceres 
/home/urban/projects/irrvuan/mnt/minsys-ceres 
http://devuan.packet-gain.de/merged

Some relevant parts of the log (for full output see [2] below):

  I: Retrieving InRelease 
  I: Checking Release signature
  I: Valid Release signature (key id E032601B7CA10BC3EA53FA81BB23C00C61FC752C)
[... cut retrieval of lots of packages, and dependency resolution]
  I: Retrieving login 1:4.4-4.1
  I: Validating login 1:4.4-4.1
[...]
  I: Retrieving sysvinit-utils 2.88dsf-59.3+devuan2
  I: Validating sysvinit-utils 2.88dsf-59.3+devuan2
[...]
  I: Retrieving util-linux 2.32.1-0.1+devuan1
  I: Validating util-linux 2.32.1-0.1+devuan1
[...]
  I: Chosen extractor for .deb packages: dpkg-deb
[...]
  I: Extracting login...
[...]
  I: Extracting sysvinit-utils...
[...]
  I: Extracting util-linux...
  2018-10-28T13:17:41 * ERROR 2: debootstrap *

Unfortunately I could not find a way to make the debootstrap output even 
more verbose to get a better hint at what exactly makes it throw up.

However, on closer inspection using `dpkg-deb -e` I see that util-linux 
2.32.1-0.1+devuan1 has a "Breaks:" on "sysvinit-utils (<< 2.88dsf-59.4~)", 
but version 2.88dsf-59.3+devuan2 was retrieved. Moreover, it "Depends:" 
on "login (>= 1:4.5-1.1~)", but version 1:4.4-4.1 was retrieved.

I wonder if any of those might be part of the problem?

FWIW, the same overall process works flawlessly for ascii (as it did ever 
since), as well as for beowulf. Though for the latter I did not check if 
it results in a working system image, but at the very least it did not 
faceplant during the debootstrap step.


[OT]
Although I'm still following this list and on IRC on an almost daily basis, 
I'm unfortunately tight on resources to put into Devuan. It may take some
time for me to reply to any potential follow-ups. Still cheering for you 
from the side line though, y'all doing an incredibly fine job!
[/OT]

Hope that helped, best regards
Urban


[1] https://github.com/irrwahn/irrvuan

[2] Full debootstrap log:

2018-10-28T13:13:26 sudo debootstrap --verbose --arch amd64 
--include=linux-image-amd64,grub-pc,firmware-linux-free,firmware-realtek,console-setup,console-setup-linux,locales,keyboard-configuration,busybox-static,live-boot,firmware-linux-nonfree,acpi-support,cron,dbus,rsyslog,netbase,net-tools,ntp,telnet,openssh-server,openssh-client
 --components=main,contrib,non-free --merged-usr ceres 
/home/urban/projects/irrvuan/mnt/minsys-ceres 
http://devuan.packet-gain.de/merged
I: Retrieving InRelease 
I: Checking Release signature
I: Valid Release signature (key id E032601B7CA10BC3EA53FA81BB23C00C61FC752C)
I: Retrieving Packages 
I: Validating Packages 
I: Retrieving Packages 
I: Validating Packages 
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: adduser debian-archive-keyring fdisk 
gcc-8-base gpgv init-system-helpers insserv libacl1 libapt-pkg5.0 libattr1 
libaudit1 libaudit-common libbz2-1.0 libc6 libcap-ng0 libcom-err2 libdb5.3 
libdebconfclient0 libext2fs2 libffi6 libgcc1 libgcrypt20 libgmp10 libgnutls30 
libgpg-error0 libhogweed4 libidn2-0 liblz4-1 liblzma5 libncursesw6 libnettle6 
libp11-kit0 libpam0g libpcre3 libseccomp2 libselinux1 libsemanage1 
libsemanage-common libsepol1 libss2 libstdc++6 libtasn1-6 libtinfo6 libudev1 
libunistring2 libzstd1 login startpar sysvinit-core zlib1g 
I: Found additional 

Re: [DNG] Speak now, or forever hold your peace

2018-10-28 Thread aitor_czr

Hi KatolaZ,

On 10/28/2018 12:18 PM, KatolaZ wrote:

Aitor, if you tried a couple of days ago, please consider tha
util-linux was updated in ceres on Friday. Now
debootstrapping/upgrading to ceres works again.

My2cents

KatolaZ


Here you are the changelog:

util-linux (2.32.1-0.1+devuan1) unstable; urgency=medium

  [ KatolaZ ]
  * amended changelog
  * merged 2.32.1-0.1

 -- Vincenzo (KatolaZ) Nicosia   Thu, 25 Oct 2018 
00:06:12 +0100


Dated on thursday.

Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-28 Thread KatolaZ
On Sun, Oct 28, 2018 at 12:05:11PM +0100, aitor_czr wrote:
> Hi,
> 
> On 10/27/2018 09:56 PM, Steve Litt wrote:
> > I assume from your response that the util-linux issue is solved.
> The live-sdk failed retreiving util-linux. I downloaded the sources, but
> they didn't build succesfully at the first attempt.
> I've just packaged it and now i'm going to build a repo with the customized
> grub and the util-linux packages using amprolla, and try again with the
> live-sdk.
> Time to go for a walk :)
> 

Aitor, if you tried a couple of days ago, please consider tha
util-linux was updated in ceres on Friday. Now
debootstrapping/upgrading to ceres works again. 

My2cents

KatolaZ


-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-28 Thread aitor_czr

Hi,

On 10/27/2018 09:56 PM, Steve Litt wrote:

I assume from your response that the util-linux issue is solved.
The live-sdk failed retreiving util-linux. I downloaded the sources, but 
they didn't build succesfully at the first attempt.
I've just packaged it and now i'm going to build a repo with the 
customized grub and the util-linux packages using amprolla, and try 
again with the live-sdk.

Time to go for a walk :)

Cheers,

Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-27 Thread Steve Litt
On Sat, 27 Oct 2018 20:12:05 +0200
KatolaZ  wrote:

> On Fri, Oct 26, 2018 at 05:05:39PM -0400, Steve Litt wrote:
> 
> [cut]
> 
> > 
> > Am I now able to download the util-linux issue-solved ceres?
> > 
> > Where can I get a Ceres qcow2 as to work on it in a qemu VM?  
> 
> I guess the easiest is to either upgrade from an ascii qcow:
> 
>   
> https://files.devuan.org/devuan_ascii/virtual/devuan_ascii_2.0.0_amd64_qemu.qcow2.xz
> 
> Or to debootsrap a new one. 
> 
> HTH
> 
> KatolaZ
> 

I assume from your response that the util-linux issue is solved. I've
looked around various mirrors and can't find CERES. Am I supposed to
git clone it from somewhere? Is there a tag name I should use so I know
I'm getting working stuff?

Thanks,

SteveT
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-27 Thread KatolaZ
On Fri, Oct 26, 2018 at 05:05:39PM -0400, Steve Litt wrote:

[cut]

> 
> Am I now able to download the util-linux issue-solved ceres?
> 
> Where can I get a Ceres qcow2 as to work on it in a qemu VM?

I guess the easiest is to either upgrade from an ascii qcow:

  
https://files.devuan.org/devuan_ascii/virtual/devuan_ascii_2.0.0_amd64_qemu.qcow2.xz

Or to debootsrap a new one. 

HTH

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-26 Thread Steve Litt
On Thu, 25 Oct 2018 00:26:11 +0200
KatolaZ  wrote:


> > > Steve, please work on Ceres, not ASCII.   
> > 
> >* *
> > \ o /
> >  \|/ 
> >   |C O O L
> >  / \  _  
> > /   \/
> >/
> >   -
> > 
> > I'm glad you told me now, when I'm in the planning stage and have
> > only converted one runscript (ssh).
> > 
> > What's the best way for me to get a Ceres qcow2 as to work on it in
> > a qemu VM?
> >   
> 
> Just wait for a few hours, since we are solving an issue with
> util-linux on ceres. Will keep you posted.

Am I now able to download the util-linux issue-solved ceres?

Where can I get a Ceres qcow2 as to work on it in a qemu VM?

I live in Florida, United States. What's my best download location?

Thx,
 
SteveT

Steve Litt 
September 2018 featured book: Quit Joblessness: Start Your Own Business
http://www.troubleshooters.com/startbiz
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-25 Thread Didier Kryn

Le 25/10/2018 à 05:37, chill...@protonmail.com a écrit :

I like the idea of logs being in /var/log by default.

But it would be great if this was modular so that we could disable this default 
behaviour, or even do without a logger package installed. So perhaps a switch 
to change this default behaviour, so that the logger is just a recommended 
package.


    Logger does not write to /var/log. It passes the messages to the 
syslog server rsyslog. The default config of rsyslog is to dispatch the 
messages into various files in /var/log. But you can relatively easily 
make it do pretty much anythng you want with these messages. Just need 
to read the documentation.


        Didier


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-25 Thread Jim Jackson



On Wed, 24 Oct 2018, Jimmy Johnson wrote:
 
> Thank you Olaf,
> 
> $ logger -h
> 
> Now to study what this is all about.

man logger


will give more information
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-25 Thread KatolaZ
On Thu, Oct 25, 2018 at 03:37:16AM +, chill...@protonmail.com wrote:
> I like the idea of logs being in /var/log by default.
> 
> But it would be great if this was modular so that we could disable this 
> default behaviour, or even do without a logger package installed. So perhaps 
> a switch to change this default behaviour, so that the logger is just a 
> recommended package.
> 

I understand the concern, but logger(1) is actually part of bsdutils,
which is Essential: yes, so always installed. 

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread Steve Litt
On Thu, 25 Oct 2018 00:26:11 +0200
KatolaZ  wrote:


> > What's the best way for me to get a Ceres qcow2 as to work on it in
> > a qemu VM?
> >   
> 
> Just wait for a few hours, since we are solving an issue with
> util-linux on ceres. Will keep you posted.

Cool. I can't work on anything til Friday, or very possibly Saturday.

SteveT

Steve Litt 
September 2018 featured book: Quit Joblessness: Start Your Own Business
http://www.troubleshooters.com/startbiz
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread chillfan
I like the idea of logs being in /var/log by default.

But it would be great if this was modular so that we could disable this default 
behaviour, or even do without a logger package installed. So perhaps a switch 
to change this default behaviour, so that the logger is just a recommended 
package.

Cheers,

chillfan
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread Arnt Karlsen
On Wed, 24 Oct 2018 18:05:54 -0400, Steve wrote in message 
<20181024180554.4f657...@mydesk.domain.cxm>:

> On Wed, 24 Oct 2018 07:31:04 +0200
> "J. Fahrner"  wrote:
> 
> 
> > One wish: please use /bin/sh (dash) for the shell, don't use bash.
> > Bash has a lot more overhead because it is optimized for interactive
> > usage. Many developers don't mind about that and always use bash,
> > even for simple start scripts were they don't need it.
> > 
> > Jochen  
> 
> Thanks Jochen,
> 
> I always, always, ALWAYS use #!/bin/sh and never use #!/bin/bash.
> 
> #!/bin/sh is a computer language.
> 
> #!/bin/bash is a development environment.
> 
> It's not dash on every computer, but it's almost always something more
> secure and less bloaty than bash.
> 
> I promise I'll use #!/bin/sh to start every run script, and will ask
> all who help me to do the same.

..a viable nag function idea for these run scripts:
if #!/bin/sh is #!/bin/bash or #!/bin/zsh etc fancy bloat,
recommend installing safer etc #!/bin/dash.  
 
..can be done annoyingly, e.g. with a pop-up with 2 buttons,
"Dismiss AGAIN..." and "Ok, install /bin/dash Now, so this 
Damned Pop-Up NEVER Pops Up Again!!!"

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread KatolaZ
On Wed, Oct 24, 2018 at 06:09:38PM -0400, Steve Litt wrote:
> On Wed, 24 Oct 2018 09:40:45 +0200
> KatolaZ  wrote:
> 
> > On Tue, Oct 23, 2018 at 06:58:32PM -0400, Steve Litt wrote:
> > > Hi all,
> > > 
> > > I'm about to start adapting runscripts to Devuan ASCII. Many/most
> > > daemons do log messages themselves, but for the ones that don't,
> > > I'll be using logger to capture stdout and stderr and put them in
> > > the logs.
> > > 
> > > If anybody has an objection to this, speak now or forever hold your
> > > peace.
> > >   
> > 
> > Steve, please work on Ceres, not ASCII. 
> 
>* *
> \ o /
>  \|/ 
>   |C O O L
>  / \  _  
> /   \/
>/
>   -
> 
> I'm glad you told me now, when I'm in the planning stage and have only
> converted one runscript (ssh).
> 
> What's the best way for me to get a Ceres qcow2 as to work on it in a
> qemu VM?
> 

Just wait for a few hours, since we are solving an issue with
util-linux on ceres. Will keep you posted.

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread Steve Litt
On Wed, 24 Oct 2018 09:40:45 +0200
KatolaZ  wrote:

> On Tue, Oct 23, 2018 at 06:58:32PM -0400, Steve Litt wrote:
> > Hi all,
> > 
> > I'm about to start adapting runscripts to Devuan ASCII. Many/most
> > daemons do log messages themselves, but for the ones that don't,
> > I'll be using logger to capture stdout and stderr and put them in
> > the logs.
> > 
> > If anybody has an objection to this, speak now or forever hold your
> > peace.
> >   
> 
> Steve, please work on Ceres, not ASCII. 

   * *
\ o /
 \|/ 
  |C O O L
 / \  _  
/   \/
   /
  -

I'm glad you told me now, when I'm in the planning stage and have only
converted one runscript (ssh).

What's the best way for me to get a Ceres qcow2 as to work on it in a
qemu VM?

Thanks,

SteveT

Steve Litt 
September 2018 featured book: Quit Joblessness: Start Your Own Business
http://www.troubleshooters.com/startbiz
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread Steve Litt
On Wed, 24 Oct 2018 07:31:04 +0200
"J. Fahrner"  wrote:


> One wish: please use /bin/sh (dash) for the shell, don't use bash.
> Bash has a lot more overhead because it is optimized for interactive
> usage. Many developers don't mind about that and always use bash,
> even for simple start scripts were they don't need it.
> 
> Jochen

Thanks Jochen,

I always, always, ALWAYS use #!/bin/sh and never use #!/bin/bash.

#!/bin/sh is a computer language.

#!/bin/bash is a development environment.

It's not dash on every computer, but it's almost always something more
secure and less bloaty than bash.

I promise I'll use #!/bin/sh to start every run script, and will ask
all who help me to do the same.

Thanks,

SteveT

Steve Litt 
September 2018 featured book: Quit Joblessness: Start Your Own Business
http://www.troubleshooters.com/startbiz
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread Jimmy Johnson

On 10/24/2018 04:21 AM, Olaf Meeuwissen wrote:

Hi,

Jimmy Johnson writes:


On 10/23/18 3:58 PM, Steve Litt wrote:

using logger to capture stdout and stderr


Steve, I found this:

https://unix.stackexchange.com/questions/124455/linux-how-to-redirect-stdout-stderr-to-logger

What software do I need to install to follow you?  Package 'logger' is a
bit obscure.


On a Devuan system, none.  The bsdutils package which includes the
logger command as well as bash and dash are essential packages.  These
are always installed no matter how minimal your Devuan install is unless
you go out of your way to remove them forcibly.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
  GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
  Support Free Softwarehttps://my.fsf.org/donate
  Join the Free Software Foundation  https://my.fsf.org/join



Thank you Olaf,

$ logger -h

Now to study what this is all about.
--
Jimmy Johnson

Devuan Beowulf - Trinity R14.0.6 - Intel i7-3540M - EXT4 at sda7
Registered Linux User #380263

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread KatolaZ
On Wed, Oct 24, 2018 at 11:51:07AM +0200, Evilham wrote:

[cut]

> 
> I'll just add that when I use runit, I use svlogd. The main reason for
> this being that it is guaranteed to just do the right thing with the
> signals sent by sv and it is flexible enough.
> 
> That being said, logger probably does work well; I just haven't given it
> a shot :-).
> 
> Basically: if I were to do this, I'd probably go with svlogd because it
> feels more future-safe (packaged together, signal interactions
> documented, thought to work with runit).
> But also it is unlikely that logger changes too much to make it
> incompatible with runit.

If I could add my 2 cents, I would avoid to use a custom logger daemon
like svlogd, for the simple reason that there is a standard to manage
syslog events already, and a pretty flexible one, which works in any
POSIX environment. And this standard is the syslogd protocol (whatever
is the actual system log daemon you are using, i.e., rsyslogd,
busybox-syslogd, syslog-ng, etc.).

If runit needs to have stuff that does not/cannot call use the
standard syslog() interface, then it's much better to stick with
`logger(1)`, which can read from standard input and use the syslog()
interface on behalf of its users. This way, you don't need to have
both a system log daemon (that you will have around anyway) and svlogd
just to manage those cases.  Unless there is something specific that
runit needs about svlogd and of which I am unaware (ignorance is
bliss, sometimes ;))

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread Olaf Meeuwissen
Hi,

Jimmy Johnson writes:

> On 10/23/18 3:58 PM, Steve Litt wrote:
>> using logger to capture stdout and stderr
>
> Steve, I found this:
>
> https://unix.stackexchange.com/questions/124455/linux-how-to-redirect-stdout-stderr-to-logger
>
> What software do I need to install to follow you?  Package 'logger' is a
> bit obscure.

On a Devuan system, none.  The bsdutils package which includes the
logger command as well as bash and dash are essential packages.  These
are always installed no matter how minimal your Devuan install is unless
you go out of your way to remove them forcibly.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread Evilham
Am 24/10/2018 um 0:58 schrieb Steve Litt:
> Hi all,
> 
> I'm about to start adapting runscripts to Devuan ASCII. Many/most
> daemons do log messages themselves, but for the ones that don't, I'll
> be using logger to capture stdout and stderr and put them in the logs.
> 
> If anybody has an objection to this, speak now or forever hold your
> peace.
> 

Hello Steve, thanks for working on this :-).

I myself use runit, quite a bit. Not as an init system though, but it'd
interesting.

Now, disclaimer: I've had a busy week and haven't thoroughly read on the
thread that seemed to be about this; so I may have missed something
important.


I'll just add that when I use runit, I use svlogd. The main reason for
this being that it is guaranteed to just do the right thing with the
signals sent by sv and it is flexible enough.

That being said, logger probably does work well; I just haven't given it
a shot :-).

Basically: if I were to do this, I'd probably go with svlogd because it
feels more future-safe (packaged together, signal interactions
documented, thought to work with runit).
But also it is unlikely that logger changes too much to make it
incompatible with runit.
-- 
Evilham



signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread KatolaZ
On Wed, Oct 24, 2018 at 10:09:15AM +0200, Edward Bartolo wrote:
> On 24/10/2018, KatolaZ  wrote:
> > On Wed, Oct 24, 2018 at 08:38:59AM +0200, Edward Bartolo wrote:
> >> This smells bad, really bad, I dare say, like a putrifying animal. Is
> >> the difficulty to keep up with startup scripts so great that Devuan
> >> will have to bow its head to using a single supported init? This
> >> reminds me of systemd. The excuse was, that Debian did not have enough
> >> man-power to keep using sysvinit as its init, as more upstream
> >> developers were using features from systemd.
> >>
> >> Sorry for being the Devil's Advocate.
> >
> > o_O
> >
> > Devuan already support both sysvinit and OpenRC. And the discussion is
> > about adding support for more init/supervisors like runit. Where do
> > you read "bow its head to using a single supported init", if it's not
> > too much to ask?
> >
> 
> Yes, smart-ass! It is too much to ask. What about the misleading title
> "Speak now, or forever hold your peace"? It sounds more like a falling
> guillottine. Oh, yes, the smart-ass understands readers must be
> spoonfed and they must read literally. He is the only one to have a
> mind, and he is the only one enabled to read between the lines.

o_O

Have you ever heard of "irony"? It's a nice thing that makes our
useless and short lives much more fun. We should all give it a try :)

And we should also try to read a post in full, and understand it,
before calling for "Sanctuary!".

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Speak now, or forever hold your peace

2018-10-24 Thread Edward Bartolo
On 24/10/2018, KatolaZ  wrote:
> On Wed, Oct 24, 2018 at 08:38:59AM +0200, Edward Bartolo wrote:
>> This smells bad, really bad, I dare say, like a putrifying animal. Is
>> the difficulty to keep up with startup scripts so great that Devuan
>> will have to bow its head to using a single supported init? This
>> reminds me of systemd. The excuse was, that Debian did not have enough
>> man-power to keep using sysvinit as its init, as more upstream
>> developers were using features from systemd.
>>
>> Sorry for being the Devil's Advocate.
>
> o_O
>
> Devuan already support both sysvinit and OpenRC. And the discussion is
> about adding support for more init/supervisors like runit. Where do
> you read "bow its head to using a single supported init", if it's not
> too much to ask?
>

Yes, smart-ass! It is too much to ask. What about the misleading title
"Speak now, or forever hold your peace"? It sounds more like a falling
guillottine. Oh, yes, the smart-ass understands readers must be
spoonfed and they must read literally. He is the only one to have a
mind, and he is the only one enabled to read between the lines.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread KatolaZ
On Tue, Oct 23, 2018 at 06:58:32PM -0400, Steve Litt wrote:
> Hi all,
> 
> I'm about to start adapting runscripts to Devuan ASCII. Many/most
> daemons do log messages themselves, but for the ones that don't, I'll
> be using logger to capture stdout and stderr and put them in the logs.
> 
> If anybody has an objection to this, speak now or forever hold your
> peace.
> 

Steve, please work on Ceres, not ASCII. Starting with Beowulf, all the
development will be done on ceres, to re-establish the "natural"
workflow unstable/testing/stable. So no new package will land in
ASCII, and new packages will only land in Beowulf after having passed
by Ceres.

HTH

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread KatolaZ
On Wed, Oct 24, 2018 at 08:38:59AM +0200, Edward Bartolo wrote:
> This smells bad, really bad, I dare say, like a putrifying animal. Is
> the difficulty to keep up with startup scripts so great that Devuan
> will have to bow its head to using a single supported init? This
> reminds me of systemd. The excuse was, that Debian did not have enough
> man-power to keep using sysvinit as its init, as more upstream
> developers were using features from systemd.
> 
> Sorry for being the Devil's Advocate.

o_O

Devuan already support both sysvinit and OpenRC. And the discussion is
about adding support for more init/supervisors like runit. Where do
you read "bow its head to using a single supported init", if it's not
too much to ask?

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Speak now, or forever hold your peace

2018-10-24 Thread Edward Bartolo
This smells bad, really bad, I dare say, like a putrifying animal. Is
the difficulty to keep up with startup scripts so great that Devuan
will have to bow its head to using a single supported init? This
reminds me of systemd. The excuse was, that Debian did not have enough
man-power to keep using sysvinit as its init, as more upstream
developers were using features from systemd.

Sorry for being the Devil's Advocate.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-24 Thread aitor_czr


On 10/24/2018 12:58 AM, Steve Litt wrote:

Hi all,

I'm about to start adapting runscripts to Devuan ASCII. Many/most
daemons do log messages themselves, but for the ones that don't, I'll
be using logger to capture stdout and stderr and put them in the logs.

If anybody has an objection to this, speak now or forever hold your
peace.

SteveT


I'll hold my peace forever :)

Aitor.


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-23 Thread J. Fahrner

Am 2018-10-24 00:58, schrieb Steve Litt:

I'm about to start adapting runscripts to Devuan ASCII. Many/most
daemons do log messages themselves, but for the ones that don't, I'll
be using logger to capture stdout and stderr and put them in the logs.

If anybody has an objection to this, speak now or forever hold your
peace.


One wish: please use /bin/sh (dash) for the shell, don't use bash. Bash 
has a lot more overhead because it is optimized for interactive usage. 
Many developers don't mind about that and always use bash, even for 
simple start scripts were they don't need it.


Jochen
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Speak now, or forever hold your peace

2018-10-23 Thread Jimmy Johnson

On 10/23/18 3:58 PM, Steve Litt wrote:

using logger to capture stdout and stderr


Steve, I found this:

https://unix.stackexchange.com/questions/124455/linux-how-to-redirect-stdout-stderr-to-logger 



What software do I need to install to follow you?  Package 'logger' is a 
bit obscure.


Thanks,
--
Jimmy Johnson

Slackware64 Current - KDE 4.14.38 - AMD A8-7600 - EXT4 at sda9
Registered Linux User #380263

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Speak now, or forever hold your peace

2018-10-23 Thread Steve Litt
Hi all,

I'm about to start adapting runscripts to Devuan ASCII. Many/most
daemons do log messages themselves, but for the ones that don't, I'll
be using logger to capture stdout and stderr and put them in the logs.

If anybody has an objection to this, speak now or forever hold your
peace.

SteveT

Steve Litt 
September 2018 featured book: Quit Joblessness: Start Your Own Business
http://www.troubleshooters.com/startbiz
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng