Re: Installing package *NOT* in repository

2018-08-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 13, 2018 at 07:05:33PM -0700, Patrick Bartek wrote:
> On Mon, 13 Aug 2018 17:49:08 +0200
>  wrote:

[...]

> > As I said already, dpkg does install dependencies. Actually, I don't
> > know any (Debian) tool which wouldn't, by default.
> 
> It never did for me [...]

I already retracted somewhere else in this thread-forest. Sorry.

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltyfREACgkQBcgs9XrR2kYZdACdHq+hfsnjw0dBNMH+Y5J/IQJG
otMAn0hL38SYJOYiPTrhwvLvAE0zahe4
=Waq6
-END PGP SIGNATURE-



Slow boot

2018-08-13 Thread Johann Spies
I can push the power on button on my laptop, go and make coffee and
come back and wait a few minutes before I can work.

The following services each takes longer than 10 seconds to activate:

 systemd-analyze blame
1min 21.617s apt-daily.service
 1min 2.473s systemd-tmpfiles-setup.service
  1min 926ms console-setup.service
 47.192s postgresql@10-main.service
 38.873s exim4.service
 29.176s shorewall.service
 23.365s wicd.service
 22.402s mariadb.service
 18.925s nmbd.service
 13.917s udisks2.service
 13.177s ModemManager.service
 11.865s libvirtd.service

I can disable apt-daily.service but I do not think the system will
work properly if I disable the second.  The third one (console-setup)
seems to have a bug:

systemd[1]: Failed to start Set console font and keymap.
It is looking for a file (symbols/us-intl) that does not exist
Aug 14 08:02:55 sitasie console-setup.sh[769]: setupcon: The keyboard
model is unknown, assuming 'pc105'. Keyboard may be configured
incorrectly.
Aug 14 08:03:55 sitasie console-setup.sh[769]: /usr/bin/ckbcomp: Can
not find file "symbols/us-intl" in any known directory

This is the joy that I get since systemd became the standard.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Installing package *NOT* in repository

2018-08-13 Thread Erik Christiansen
On 13.08.18 06:47, Richard Owlett wrote:
> PREAMBLE:
> I've downloaded a .deb file.
> I've recently done such an install but don't remember how.
> Looking at the man pages for apt, apt-get, aptitude didn't help.
> Couldn't come up with useful search term for wiki.
> Eventually recalled "dpkg -i" which worked.
> 
> QUESTION:
> How would someone find the answer if the answer wasn't already known?
> I went thru the same sequence last time.

Personal survival notes, arranged by topic, focused on how a task was
accomplished last time, and with searchable tags of some sort. My 420+
pages of bumpf has accumulated over 3 decades, so some of it is perhaps
dated now, but still preserves what sanity remains.

If I search for "PACKAGE INSTALL:" or "\.DEB:", it's my first hit, as I
uppercase headings & tags shoved over to the RHS for minimal
intrusiveness. The trailing ':' may be superfluous, but reminds me I
intend it to be a tag.

The whole thing is just a plain text file, edited and read with Vim,
using multi-level folding, so it all presents as a one-page TOC. My
version is probably of limited use to anyone else, as it e.g. only deals
with dpkg and apt-get in the current context. All else is completely
unknown.

Now that we have google, I must admit that there's an alternative, but
it won't tell you whether that's what you did last time, giving the
particular outcome which you prefer, or confidence of the same result.

Erik



need help: some words is not easy to understand in /Bugs/server-request

2018-08-13 Thread Byung-Hee HWANG (황병희, 黃炳熙)
Hellow, i'm translating to Korean /Bugs section -- WWW. Though i try 3
times for reading again again, i don't understand what means. See below:

#+BEGIN_SRC: text from /Bugs/server-request
The Subject of the message is ignored, except for generating the Subject
of the reply.
#+END_SRC

Help me, please...

Sincerely, Byung-Hee from South Korea.

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//



Re: non-blocking stdin from bash

2018-08-13 Thread Richard Hector
On 14/08/18 02:40, Greg Wooledge wrote:
> So, yeah.  It's warranted.

Perhaps.

>  Idiot.

That bit isn't, though.

Richard



signature.asc
Description: OpenPGP digital signature


Re: Installing package *NOT* in repository

2018-08-13 Thread songbird
Richard Owlett wrote:

> PREAMBLE:
> I've downloaded a .deb file.
> I've recently done such an install but don't remember how.
> Looking at the man pages for apt, apt-get, aptitude didn't help.
> Couldn't come up with useful search term for wiki.
> Eventually recalled "dpkg -i" which worked.
>
> QUESTION:
> How would someone find the answer if the answer wasn't already known?
> I went thru the same sequence last time.

  i usually start with man pages by habit so:


$ man -k deb


  and then look through the list of replies and
see what catches my interest and then look at what
those man pages say:

  one is:

"dpkg (1) - package manager for Debian"


$ man dpkg


  there are other more general references available
too that describe overall operation of a Debian system
and what can be done.


  debian-reference and debian-handbook...


  songbird



Re: Installing package *NOT* in repository

2018-08-13 Thread Patrick Bartek
On Mon, 13 Aug 2018 17:49:08 +0200
 wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Mon, Aug 13, 2018 at 08:35:50AM -0700, Patrick Bartek wrote:
> > On Mon, 13 Aug 2018 06:47:02 -0500
> > Richard Owlett  wrote:
> >   
> > > PREAMBLE:
> > > I've downloaded a .deb file.
> > > I've recently done such an install but don't remember how.
> > > Looking at the man pages for apt, apt-get, aptitude didn't help.
> > > Couldn't come up with useful search term for wiki.
> > > Eventually recalled "dpkg -i" which worked.
> > > 
> > > QUESTION:
> > > How would someone find the answer if the answer wasn't already
> > > known? I went thru the same sequence last time.
> > >   
> > 
> > I use gdebi to install local .deb files. It handles the
> > dependencies, too.  
> 
> As I said already, dpkg does install dependencies. Actually, I don't
> know any (Debian) tool which wouldn't, by default.

It never did for me. Not when I was using Sarge, Etch and Wheezy, that
is. Also, apt-get wouldn't install a downloaded and locally saved .deb
file either. I'm sure those caveats have been corrected with apt, but
I've yet to try under Stretch.  Gdebi still works just fine.

To each his own. 

B



Re: USB2 or 3 WiFi dual band adapters

2018-08-13 Thread Ben Caradoc-Davies

On 12/08/18 15:12, Ben Caradoc-Davies wrote:
I am using a TP-Link TL-WN722N (ath9k_htc). I have two. Inexpensive, 
high-gain antenna, quite reliable despite regular hard work.


Since my broadband upgrade from ADSL to gigabit fibre three days ago, I 
can put greater load on my WiFi, and my TL-WN722N hangs under this heavy 
load. Downloads or uploads of 3-4 GB files succeed only about a third of 
the time. Hangs require USB disconnection and reconnection. I must 
withdraw my recommendation.


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: Monitoring copy file security

2018-08-13 Thread Zenaan Harkness
(Please bottom post.)

I'd have the program creating a file, either change file permissions
after writing, or call/trigger some other/ "external" script (which
you write) to do the tidy ups.

Good luck,


On Mon, Aug 13, 2018 at 11:34:40PM +0200, Ilyass Kaouam wrote:
> Thank you for you all,
> I will all  this.
> For other friends, if you have other suggestions please do not hesitate :)
> 
> Le lun. 13 août 2018 à 22:57, Roberto C. Sánchez  a
> écrit :
> 
> > On Mon, Aug 13, 2018 at 10:30:02PM +0200, Martin wrote:
> > >
> > > Oh, yes! How simple. Unfortunately, 'apt-cache search fam' returns 578
> > hits. 'apt-cache search famd' gives zero. Not that smart naming I guess.
> > >
> >
> > Try 'apt-cache pkgnames fam' instead.
> >
> > 'pkgnames' considers only package names, where 'search' considers
> > package names and descriptions.
> >
> > Regards,
> >
> > -Roberto



Re: Monitoring copy file security

2018-08-13 Thread Ilyass Kaouam
Thank you for you all,
I will all  this.
For other friends, if you have other suggestions please do not hesitate :)

Le lun. 13 août 2018 à 22:57, Roberto C. Sánchez  a
écrit :

> On Mon, Aug 13, 2018 at 10:30:02PM +0200, Martin wrote:
> >
> > Oh, yes! How simple. Unfortunately, 'apt-cache search fam' returns 578
> hits. 'apt-cache search famd' gives zero. Not that smart naming I guess.
> >
>
> Try 'apt-cache pkgnames fam' instead.
>
> 'pkgnames' considers only package names, where 'search' considers
> package names and descriptions.
>
> Regards,
>
> -Roberto
>
> --
> Roberto C. Sánchez
>
>

-- 
*Ilyass kaouam*
*Systems administrator*
* Mastère européen Manager de Projets Informatiques*


Re: USB2 or 3 WiFi dual band adapters

2018-08-13 Thread Michael Stone

On Tue, Aug 14, 2018 at 08:46:36AM +1200, Joel Wirāmu Pauling wrote:

Huh? Intel cards are numerous and cheap - they come in PCIe / NGFF form factors
(like the easily available ath) - get a PCIe/USB to MiniPCIe converter card for
a few pennies off Aliexpress and you are in business.


Everyone has their own tolerance for cobbling together grey market stuff 
off aliexpress. If it floats your boat then I guess you're set.


Mike Stone



Re: Monitoring copy file security

2018-08-13 Thread Roberto C . Sánchez
On Mon, Aug 13, 2018 at 10:30:02PM +0200, Martin wrote:
> 
> Oh, yes! How simple. Unfortunately, 'apt-cache search fam' returns 578 hits. 
> 'apt-cache search famd' gives zero. Not that smart naming I guess.
> 

Try 'apt-cache pkgnames fam' instead.

'pkgnames' considers only package names, where 'search' considers
package names and descriptions.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: USB2 or 3 WiFi dual band adapters

2018-08-13 Thread Joel Wirāmu Pauling
Huh? Intel cards are numerous and cheap - they come in PCIe / NGFF form
factors (like the easily available ath) - get a PCIe/USB to MiniPCIe
converter card for a few pennies off Aliexpress and you are in business.

On 14 August 2018 at 08:33, Michael Stone  wrote:

> On Wed, Aug 08, 2018 at 08:12:37AM -0700, tony mollica wrote:
>
>> I need to find a good, reliable WiFi adapter.  I have an Alfa AWUS036ACH
>> using
>> a RTL8812au chip
>> and there is support but it's unreliable.  Connects sometimes, mostly
>> not.  My
>> older adapters work
>> but they're slow but maybe that's the compromise I need to resolve.
>>
>> What's being used reliably?
>>
>
> Intel, but as far as I know you can only buy one with a new laptop.
> Your other options are the rtl* stuff which tends to be flaky, or the ath*
> stuff which is impossible to find. It's not a good time for open source
> wifi.
>
> Mike Stone
>
>


Re: USB2 or 3 WiFi dual band adapters

2018-08-13 Thread Michael Stone

On Wed, Aug 08, 2018 at 08:12:37AM -0700, tony mollica wrote:

I need to find a good, reliable WiFi adapter.  I have an Alfa AWUS036ACH using
a RTL8812au chip
and there is support but it's unreliable.  Connects sometimes, mostly not.  My
older adapters work
but they're slow but maybe that's the compromise I need to resolve.

What's being used reliably?


Intel, but as far as I know you can only buy one with a new laptop.
Your other options are the rtl* stuff which tends to be flaky, or the 
ath* stuff which is impossible to find. It's not a good time for open 
source wifi.


Mike Stone



Re: Monitoring copy file security

2018-08-13 Thread Martin
Am 13.08.2018 um 22:16 schrieb Thomas Schmitt:
> Hi,
> 
> Martin wrote:
>> There is -or was, quite some time ago I've last seen this- a software called
>> famd (File Alteration Monitor ->
>> https://en.wikipedia.org/wiki/File_Alteration_Monitor). Looks like there is
>> no .deb in a current repo, but may be the name has changes.
> 
> Maybe this ?
>   https://tracker.debian.org/pkg/fam

Oh, yes! How simple. Unfortunately, 'apt-cache search fam' returns 578 hits. 
'apt-cache search famd' gives zero. Not that smart naming I guess.

>   https://packages.debian.org/unstable/fam
> 
> Last change of the Debian package was two years ago, last change of
> upstream version was 15 years ago. (A case of completely finalized
> development ? All problems solved ?)

This was made by SGI: Of cause, all problems solved! :-)Man, 15 years ago... 
But this was quite a cool company.

> 
> Have a nice day :)
> 
> Thomas
> 



Re: Monitoring copy file security

2018-08-13 Thread Thomas Schmitt
Hi,

Martin wrote:
> There is -or was, quite some time ago I've last seen this- a software called
> famd (File Alteration Monitor ->
> https://en.wikipedia.org/wiki/File_Alteration_Monitor). Looks like there is
> no .deb in a current repo, but may be the name has changes.

Maybe this ?
  https://tracker.debian.org/pkg/fam
  https://packages.debian.org/unstable/fam

Last change of the Debian package was two years ago, last change of
upstream version was 15 years ago. (A case of completely finalized
development ? All problems solved ?)


Have a nice day :)

Thomas



Re: Monitoring copy file security

2018-08-13 Thread Martin
Am 13.08.2018 um 20:52 schrieb Ilyass Kaouam:
> Hi,
> 
> I have a database server in which I save the database (dump)
> let say
>  /home/backup directory.
> I would like to monitor this directory and find out if anyone is doing a cp
> or mv or.
> Any idea?
> Thank you very much
> 

There is -or was, quite some time ago I've last seen this- a software called 
famd (File Alteration Monitor -> 
https://en.wikipedia.org/wiki/File_Alteration_Monitor). Looks like there is no 
.deb in a current repo, but may be the name has changes. This software is based 
on Inotify.

Not sure, if this helps, Martin



Re: Monitoring copy file security

2018-08-13 Thread Roberto C . Sánchez
On Mon, Aug 13, 2018 at 08:52:35PM +0200, Ilyass Kaouam wrote:
>Hi,
>I have a database server in which I save the database (dump)
>let say /home/backup directory.
>I would like to monitor this directory and find out if anyone is doing a
>cp or mv or.
>Any idea?
>Thank you very much 

The best tool I have found for this sort of thing is incron.  In my case
I have a requirement that published build artifacts not be accidentally
removed, replaced, etc.  To ensure that, I have incron monitor the
directory where publish mechanism deposits the artifacts and when incron
detects that a file is closed at the conclusion of writing (i.e., when
the copy operation is completed), it changes the permissions to 444 and
sets the immutable attribute.

It sounds like you could do something similar to notify when something
interesting happens or it could even take action.

Incidentally, it has been some time but I recall making an attempt to
use inotify-tools first for my particular solution.  However, it did not
work in the way that I needed it to so I went with incron instead.

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: Monitoring copy file security

2018-08-13 Thread Greg Wooledge
On Mon, Aug 13, 2018 at 08:52:35PM +0200, Ilyass Kaouam wrote:
> I have a database server in which I save the database (dump)
> let say
>  /home/backup directory.
> I would like to monitor this directory and find out if anyone is doing a cp
> or mv or.

1) Set the permissions correctly, so you don't have to worry about strangers
   reading your private data.

2) You can use inotifywait or similar tools, but they won't be able to
   differentiate "cp commands" from any other reads (rsync, etc.).  At that
   level, an open is just an open, and a read is just a read.



Monitoring copy file security

2018-08-13 Thread Ilyass Kaouam
Hi,

I have a database server in which I save the database (dump)
let say
 /home/backup directory.
I would like to monitor this directory and find out if anyone is doing a cp
or mv or.
Any idea?
Thank you very much


Re: Installing package *NOT* in repository

2018-08-13 Thread Brian
On Mon 13 Aug 2018 at 16:58:18 +, Curt wrote:

> On 2018-08-13, Brian  wrote:
> >> > 
> >> > I really don't know what you're talking about, dpkg knows nothing about 
> >> > apt
> >> > and its repositories, it can't install any dependency.
> >> 
> >> You're right: it won't download & install dependencies. It'll just
> >> list those and complain.
> >
> > This needn't be a disaster. 'apt -f install' fixes the dependencies.
> >
> 
> 
> 'apt install ./foo.deb' (if .deb is in the current directory) will kill
> both birds with a single stone it appears (famous final weasel words).

Stoatly agree with you.

-- 
Brian.



Re: Installing package *NOT* in repository

2018-08-13 Thread Curt
On 2018-08-13, Brian  wrote:
>> > 
>> > I really don't know what you're talking about, dpkg knows nothing about apt
>> > and its repositories, it can't install any dependency.
>> 
>> You're right: it won't download & install dependencies. It'll just
>> list those and complain.
>
> This needn't be a disaster. 'apt -f install' fixes the dependencies.
>


'apt install ./foo.deb' (if .deb is in the current directory) will kill
both birds with a single stone it appears (famous final weasel words).

-- 
"She was a blank wall, fresh painted." 
Louise Erdrich, Love Medicine



Re: Installing package *NOT* in repository

2018-08-13 Thread Brian
On Mon 13 Aug 2018 at 18:16:28 +0200, to...@tuxteam.de wrote:

> On Mon, Aug 13, 2018 at 12:56:58PM -0300, Samuel Henrique wrote:
> > > > I use gdebi to install local .deb files. It handles the dependencies,
> > > > too.
> > >
> > > As I said already, dpkg does install dependencies. Actually, I don't
> > > know any (Debian) tool which wouldn't, by default.
> > 
> > 
> > I really don't know what you're talking about, dpkg knows nothing about apt
> > and its repositories, it can't install any dependency.
> 
> You're right: it won't download & install dependencies. It'll just
> list those and complain.

This needn't be a disaster. 'apt -f install' fixes the dependencies.

-- 
Brian.



Re: Installing package *NOT* in repository

2018-08-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 13, 2018 at 12:56:58PM -0300, Samuel Henrique wrote:
> > > I use gdebi to install local .deb files. It handles the dependencies,
> > > too.
> >
> > As I said already, dpkg does install dependencies. Actually, I don't
> > know any (Debian) tool which wouldn't, by default.
> 
> 
> I really don't know what you're talking about, dpkg knows nothing about apt
> and its repositories, it can't install any dependency.

You're right: it won't download & install dependencies. It'll just
list those and complain.

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltxrtwACgkQBcgs9XrR2kb7KgCeKbtxfop8nfFeyrxNTz1Pujvd
9LkAn1JGqpJQ97m5pO7MCZst+wa/mVhv
=arNM
-END PGP SIGNATURE-



Re: Installing package *NOT* in repository

2018-08-13 Thread Samuel Henrique
> > I use gdebi to install local .deb files. It handles the dependencies,
> > too.
>
> As I said already, dpkg does install dependencies. Actually, I don't
> know any (Debian) tool which wouldn't, by default.


I really don't know what you're talking about, dpkg knows nothing about apt
and its repositories, it can't install any dependency.

That's why i recommend using apt to install .deb files.

-- 
Samuel Henrique 


Re: Installing package *NOT* in repository

2018-08-13 Thread Brian
On Mon 13 Aug 2018 at 17:49:08 +0200, to...@tuxteam.de wrote:

> On Mon, Aug 13, 2018 at 08:35:50AM -0700, Patrick Bartek wrote:
> > On Mon, 13 Aug 2018 06:47:02 -0500
> > Richard Owlett  wrote:
> > 
> > > PREAMBLE:
> > > I've downloaded a .deb file.
> > > I've recently done such an install but don't remember how.
> > > Looking at the man pages for apt, apt-get, aptitude didn't help.
> > > Couldn't come up with useful search term for wiki.
> > > Eventually recalled "dpkg -i" which worked.
> > > 
> > > QUESTION:
> > > How would someone find the answer if the answer wasn't already known?
> > > I went thru the same sequence last time.
> > > 
> > 
> > I use gdebi to install local .deb files. It handles the dependencies,
> > too.
> 
> As I said already, dpkg does install dependencies. Actually, I don't
> know any (Debian) tool which wouldn't, by default.

I don't think it does, y'know. That's why apt-get was created.

-- 
Brian.



Re: Installing package *NOT* in repository

2018-08-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 13, 2018 at 08:35:50AM -0700, Patrick Bartek wrote:
> On Mon, 13 Aug 2018 06:47:02 -0500
> Richard Owlett  wrote:
> 
> > PREAMBLE:
> > I've downloaded a .deb file.
> > I've recently done such an install but don't remember how.
> > Looking at the man pages for apt, apt-get, aptitude didn't help.
> > Couldn't come up with useful search term for wiki.
> > Eventually recalled "dpkg -i" which worked.
> > 
> > QUESTION:
> > How would someone find the answer if the answer wasn't already known?
> > I went thru the same sequence last time.
> > 
> 
> I use gdebi to install local .deb files. It handles the dependencies,
> too.

As I said already, dpkg does install dependencies. Actually, I don't
know any (Debian) tool which wouldn't, by default.

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltxqHQACgkQBcgs9XrR2kaeywCfbVpULXhsUxfDOU3wNW7LKBue
o5gAniQsBDtaHO6GT+ckcqj/SUC3f/CB
=zqDq
-END PGP SIGNATURE-



Re: Installing package *NOT* in repository

2018-08-13 Thread Patrick Bartek
On Mon, 13 Aug 2018 06:47:02 -0500
Richard Owlett  wrote:

> PREAMBLE:
> I've downloaded a .deb file.
> I've recently done such an install but don't remember how.
> Looking at the man pages for apt, apt-get, aptitude didn't help.
> Couldn't come up with useful search term for wiki.
> Eventually recalled "dpkg -i" which worked.
> 
> QUESTION:
> How would someone find the answer if the answer wasn't already known?
> I went thru the same sequence last time.
> 

I use gdebi to install local .deb files. It handles the dependencies,
too.

FYI: I installed only gdebi-core, the command line part, as opposed to
gdebi with includes the GUi which is GNOME dependent and installs all
manner of GNOME files. I use only a window manager on my system for
the GUI and want to keep all GNOME crap off of it.

Also, I understand that apt (not apt-get) will install local .deb files
and dependencies, too, but I've never tried it. (I'm still learning the
ins and outs of apt.)

B



Re: non-blocking stdin from bash

2018-08-13 Thread Dan Purgert
Greg Wooledge wrote:
> On Mon, Aug 13, 2018 at 02:58:54PM -, Dan Purgert wrote:
>> Greg Wooledge wrote:
>> > [...]
>> > It's absolutely warranted.  You changed the question, and then you
>> > changed the question AGAIN..
>> 
>> This reminds me of bashphorisms 1 through 3.  Although, I guess they're
>> more related to the IRC channel.
>
> It happens here too, just more slowly.

In either event, I usually learn something; even if it's merely "don't
do this, even if you're not sure why you shouldn't."


-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: non-blocking stdin from bash

2018-08-13 Thread Greg Wooledge
On Mon, Aug 13, 2018 at 02:58:54PM -, Dan Purgert wrote:
> Greg Wooledge wrote:
> > [...]
> > It's absolutely warranted.  You changed the question, and then you changed
> > the question AGAIN.
> 
> This reminds me of bashphorisms 1 through 3.  Although, I guess they're
> more related to the IRC channel.

It happens here too, just more slowly.



Re: non-blocking stdin from bash

2018-08-13 Thread Dan Purgert
Greg Wooledge wrote:
> [...]
> It's absolutely warranted.  You changed the question, and then you changed
> the question AGAIN.

This reminds me of bashphorisms 1 through 3.  Although, I guess they're
more related to the IRC channel.


-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: non-blocking stdin from bash

2018-08-13 Thread Jim Popovitch
On Mon, 2018-08-13 at 10:40 -0400, Greg Wooledge wrote:
> On Mon, Aug 13, 2018 at 10:34:40AM -0400, Jim Popovitch wrote:
> > On Mon, 2018-08-13 at 08:59 -0400, Greg Wooledge wrote:
> > > On Sat, Aug 11, 2018 at 06:08:34PM -0400, Jim Popovitch wrote:
> > > > What's the best way to grab anything that's in stdin into a
> > > > variable inside a bash script, but won't block if stdin is
> > > > null?
> > > 
> > > On Sun, Aug 12, 2018 at 01:57:09PM -0400, Jim Popovitch wrote:
> > > > Interesting.  I'm using it via a cron script like so:
> > > > 
> > > > * * * * *  grep "unusual" /opt/logs/* | /opt/notify.sh
> > > > `hostname`;
> > > 
> > > On Sun, Aug 12, 2018 at 06:45:23PM -0400, Jim Popovitch wrote:
> > > > That was just an example of what I'm doing.  In reality
> > > > logtail's
> > > > in there, but it made the example line too long.
> > > 
> > > https://mywiki.wooledge.org/XyProblem
> > > https://mywiki.wooledge.org/BashFAQ/064
> > 
> > Come on, that's not warranted or you just like posting links to
> > you
> > own site.  smh.
> 
> It's absolutely warranted.  You changed the question, and then you
> changed the question AGAIN.

Not at all.  Even your original slicey-dicey copy+paste shows that I
used the word "like" when describing the crontab, and my original
question never defined anything about what I was doing, rather it asked
a question about how to do something.

> The original question was about testing whether stdin has input
> characters AVAILABLE

Nope. Go back and read my original question, pls.

-Jim P.




Re: non-blocking stdin from bash

2018-08-13 Thread Greg Wooledge
On Mon, Aug 13, 2018 at 10:34:40AM -0400, Jim Popovitch wrote:
> On Mon, 2018-08-13 at 08:59 -0400, Greg Wooledge wrote:
> > On Sat, Aug 11, 2018 at 06:08:34PM -0400, Jim Popovitch wrote:
> > > What's the best way to grab anything that's in stdin into a
> > > variable inside a bash script, but won't block if stdin is null?
> > 
> > On Sun, Aug 12, 2018 at 01:57:09PM -0400, Jim Popovitch wrote:
> > > Interesting.  I'm using it via a cron script like so:
> > > 
> > > * * * * *  grep "unusual" /opt/logs/* | /opt/notify.sh `hostname`;
> > 
> > On Sun, Aug 12, 2018 at 06:45:23PM -0400, Jim Popovitch wrote:
> > > That was just an example of what I'm doing.  In reality logtail's
> > > in there, but it made the example line too long.
> > 
> > https://mywiki.wooledge.org/XyProblem
> > https://mywiki.wooledge.org/BashFAQ/064
> 
> Come on, that's not warranted or you just like posting links to you
> own site.  smh.

It's absolutely warranted.  You changed the question, and then you changed
the question AGAIN.

The original question was about testing whether stdin has input characters
AVAILABLE, for which the feature "read -t 0" was added in bash version 4.0.

But then the question mutated, and there was no longer any need to probe
for input characters to avoid blocking, because you were simply reading
from a piped grep.

But then the question mutated AGAIN, and in this THIRD version of the
question, there is something called "logtail" involved, and I have no
idea what that even IS, or how it affects the pipeline.  One may speculate
that it works something like "tail -f" or "tail -F", in which case we
are BACK TO THE ORIGINAL QUESTION.  Maybe.  But we can't be sure, since
not only is this a nonstandard tool, but you didn't show or describe
how it's being used.

So, yeah.  It's warranted.  Idiot.



Re: non-blocking stdin from bash

2018-08-13 Thread Jim Popovitch
On Mon, 2018-08-13 at 08:59 -0400, Greg Wooledge wrote:
> On Sat, Aug 11, 2018 at 06:08:34PM -0400, Jim Popovitch wrote:
> > What's the best way to grab anything that's in stdin into a
> > variable inside a bash script, but won't block if stdin is null?
> 
> On Sun, Aug 12, 2018 at 01:57:09PM -0400, Jim Popovitch wrote:
> > Interesting.  I'm using it via a cron script like so:
> > 
> > * * * * *  grep "unusual" /opt/logs/* | /opt/notify.sh `hostname`;
> 
> On Sun, Aug 12, 2018 at 06:45:23PM -0400, Jim Popovitch wrote:
> > That was just an example of what I'm doing.  In reality logtail's
> > in there, but it made the example line too long.
> 
> https://mywiki.wooledge.org/XyProblem
> https://mywiki.wooledge.org/BashFAQ/064

Come on, that's not warranted or you just like posting links to you
own site.  smh.

-Jim P.



Re: Re: question about the kernel

2018-08-13 Thread deloptes
dekkz...@gmail.com wrote:

> On 08/10, deloptes wrote:
>>songbird wrote:
>>
>>> the debian processes are done via the kernel
>>> team and so you can also follow that mailing list
>>> (i read via gmane and usenet).
>>
>>And you can always do "make deb-pkg" on the source and produce a ready for
>>use debian package
>>
>>regards
> 
> How would i go about modifying the .config to enable n3fold in the kernel
> using make deb-pkg?
> 

Best way is
make menuconfig will open the .config (ncurses) and you can find your way to
the driver. You can also look at the documentation for more options
What is n3fold BTW?

regards



Re: mailing list vs "the futur"

2018-08-13 Thread Zenaan Harkness
On Mon, Aug 13, 2018 at 03:53:18PM +0200, to...@tuxteam.de wrote:
> On Mon, Aug 13, 2018 at 09:24:44AM -0400, Greg Wooledge wrote:
> > On Sat, Aug 11, 2018 at 03:26:16PM +0200, to...@tuxteam.de wrote:
> > > [2] Although with the years, I am more and more prone to what I call
> > >tomas's bastard: "Any sufficiently advanced malice can't be
> > >distinguished from stupidity" -- a kind of unholy cross-over
> > >between Hanlon's Razor and Clarke's Third Law. Some call this
> > >"plausible deniability", I guess.
> > 
> > https://en.wikipedia.org/wiki/Poe%27s_law
> > 
> >   "Without a winking smiley or other blatant display of humor, it is
> >   utterly impossible to parody a Creationist in such a way that someone
> >   won't mistake for the genuine article."
> 
> :-)
> 
> I think it's impossible to parody a Creationist. Full stop. And I
> feel one shouldn't do it...

If it is in fact impossible, and that 'so attempting' simply appears
as being a Creationist, therefore there would be no parody (at least,
none observed, only, at most, felt by the creator of said parody) in
any attempt to so parody, and so perhaps your feeling is suggesting
you ought in fact demonstrate the wisdom of "attempting" to so
parody?

Don't get me wrong, you may prefer to fail in your own duty to your
conscience pursuant to your Creator by failing to "attempt to" parody
being a Creationist - IDK, it's frankly a matter for you?

Now, we can debate whether your duty is one owed -only- to your
conscience, or in fact to your Creator, or p'raps most likely to
both, and if the latter, that you might be seriously deficient in
said duty in your failure to "attempt" to parody said Creator, but
notwithstanding, also that doing so could conceivably encroach on the
grounds of cultural creativity intended to be protected (and safe
spaces so created) by the creators of the Debian Code of Conduct, but
it is likely that this would give rise within you to a conflict of
duties - to your Creator, vis a vis, to the Debian CoC creators.

Certainly I do not envy your dilemma here... may you have wisdom in
the exercise of your authority and power in regards to your
"attempts" to parody one or another Creator or creators respectively.



Re: Installing package *NOT* in repository

2018-08-13 Thread Zenaan Harkness
On Mon, Aug 13, 2018 at 07:28:20AM -0500, Richard Owlett wrote:
> On 08/13/2018 06:59 AM, Joe wrote:
> > On Mon, 13 Aug 2018 06:47:02 -0500
> > Richard Owlett  wrote:
> > 
> > > PREAMBLE:
> > > I've downloaded a .deb file.
> > > I've recently done such an install but don't remember how.
> > > Looking at the man pages for apt, apt-get, aptitude didn't help.
> > > Couldn't come up with useful search term for wiki.
> > > Eventually recalled "dpkg -i" which worked.
> > > 
> > > QUESTION:
> > > How would someone find the answer if the answer wasn't already known?
> > > I went thru the same sequence last time.
> > > 
> > 
> > https://www.google.co.uk/search?q=install+.deb&gws_rd=ssl
> > 
> > First hit:
> > https://unix.stackexchange.com/questions/159094/how-to-install-a-deb-file-by-dpkg-i-or-by-apt
> > 
> 
> A partial "mea culpa" ;/
> I was completely focused on Debian tools and never thought of searching the
> whole web.
> 
> My gut feeling is still there should be a way to use Debian tools.

Oki dokey, here ya gokey:

  apt-cache search install | sort | egrep -i debian\ package

Of course this can go in a script, or part of it ...

(In this particular example there's a few too many results really,
but not much you can do about that ... that's what J^BGoogle is for.)



Re: mailing list vs "the futur"

2018-08-13 Thread Zenaan Harkness
On Mon, Aug 13, 2018 at 10:16:17AM -, Dan Purgert wrote:
> Miles Fidelman wrote:
> > [...]
> > Forwarding by email is about the only universal way to share 
> > stuff, or to move it from some service or another to one's personal 
> > storage (I can't tell you how often I email stuff to myself).
> 
> Thankfully I only have to do the "mail it to myself" approach rarely,
> like when some "i'm a pro admin" type locks things down tighter than an
> Everlast Chastity Belt.
> 
> "Look bud, connecting to port 22 is kind of important".
> 
> Although, I have recently started running an owncloud instance for just
> that reason.

Solving tech problems without email is ... like gas chambers with
rickety wooden paling-fence doors.



Re: mailing list vs "the futur"

2018-08-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 13, 2018 at 09:24:44AM -0400, Greg Wooledge wrote:
> On Sat, Aug 11, 2018 at 03:26:16PM +0200, to...@tuxteam.de wrote:
> > [2] Although with the years, I am more and more prone to what I call
> >tomas's bastard: "Any sufficiently advanced malice can't be
> >distinguished from stupidity" -- a kind of unholy cross-over
> >between Hanlon's Razor and Clarke's Third Law. Some call this
> >"plausible deniability", I guess.
> 
> https://en.wikipedia.org/wiki/Poe%27s_law
> 
>   "Without a winking smiley or other blatant display of humor, it is
>   utterly impossible to parody a Creationist in such a way that someone
>   won't mistake for the genuine article."

:-)

I think it's impossible to parody a Creationist. Full stop. And I
feel one shouldn't do it...

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltxjU4ACgkQBcgs9XrR2kZHcQCeMLGdGo4ugWgmD1mGslHsk6w7
JCMAn2g40Z2va4to9k6vtP3iaD8qEDDc
=AbQV
-END PGP SIGNATURE-



Re: Installing package *NOT* in repository

2018-08-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 13, 2018 at 12:54:16PM +, Matthew Crews wrote:
> On 8/13/18 4:47 AM, Richard Owlett wrote:
> > PREAMBLE:
> > I've downloaded a .deb file.
> > I've recently done such an install but don't remember how.
> > Looking at the man pages for apt, apt-get, aptitude didn't help.
> > Couldn't come up with useful search term for wiki.
> > Eventually recalled "dpkg -i" which worked.
> > 
> > QUESTION:
> > How would someone find the answer if the answer wasn't already known?
> > I went thru the same sequence last time.
> > 
> 
> Its possible to use apt to install a file on your disk. For example:
> 
> # apt install /path/to/file.deb
> 
> Apt will also try to do dependency checking. I don't think dpkg will,
> but I'm not sure on that.

Yes, it will install dependencies (although you can fine-tune its
behaviour with --no-force-depends or --ignore-depends, if you so
wish). Cf. the man page.

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltxjGkACgkQBcgs9XrR2kYQpwCfRmk4p+3/3jfwYgUA3NbSKLTg
PR4An1rpd7eXmiJYRHD0ZGOKccYkypTT
=FeW1
-END PGP SIGNATURE-



Re: New su behavior in util-linux 2.32

2018-08-13 Thread Sven Joachim
On 2018-08-13 14:06 +0100, Darac Marjal wrote:

> Actually, util-linux is distributed by the Linux Kernel Organization
> (i.e. the folks at kernel.org). So, yes, Debian has to match what Red
> Hat does inasmuch as Red Hat uses a Linux kernel and so does
> Debian. It just makes sense to use the kernel-provided kernel
> utilities.
>
> As an aside, I don't know what the situation is with the *BSD
> Debians. They presumably don't use util-linux, so I *guess* they're
> still using su from src:shadow?

No, kfreebsd and hurd also use util-linux and its su implementation.
While not all programs in the util-linux suite work on non-Linux
architectures, many of them do.

https://sources.debian.org/src/util-linux/2.32.1-0.1/debian/util-linux.install/

Cheers,
   Sven



Re: mailing list vs "the futur"

2018-08-13 Thread Greg Wooledge
On Sat, Aug 11, 2018 at 03:26:16PM +0200, to...@tuxteam.de wrote:
> [2] Although with the years, I am more and more prone to what I call
>tomas's bastard: "Any sufficiently advanced malice can't be
>distinguished from stupidity" -- a kind of unholy cross-over
>between Hanlon's Razor and Clarke's Third Law. Some call this
>"plausible deniability", I guess.

https://en.wikipedia.org/wiki/Poe%27s_law

  "Without a winking smiley or other blatant display of humor, it is
  utterly impossible to parody a Creationist in such a way that someone
  won't mistake for the genuine article."



Re: /etc/alternatives feedback for presentation

2018-08-13 Thread Greg Wooledge
On Sat, Aug 11, 2018 at 05:28:37PM -0500, Ryan Nowakowski wrote:
> For example if I set the EDITOR env var how does
> that interact with update-alternatives when I run visudo?

The VISUAL or EDITOR variable takes precedence, if one of them is set.
If neither one is set, then visudo uses its compiled-in default, which
on Debian happens to be '/usr/bin/editor'.

The problem is that sometimes, sudo will strip environment variables,
and sometimes, it will not.  So, on any given computer with any given
sudoers configuration, you can't actually know in advance whether
"sudo visudo" will use VISUAL/EDITOR or not.

Isn't Unix *fun*?

Of course, if you simply use "su", then VISUAL/EDITOR will be preserved
in the environment (because "su" does not strip environment variables),
so "su" followed by "visudo" should work fine.

But, wait!  Debian has decided to CHANGE HOW SU WORKS in testing, so
after stretch, who knows how things will work?!

Some people claim you should muscle-memorize "su -" which strips the
environment in order to give you a usable PATH variable.  If you follow
THIS advice, then "su -" will strip VISUAL/EDITOR from the environment,
and then your VISUAL/EDITOR variables won't work when you type visudo.
So, I can't imagine why you would want to do that.  Losing all your
qualify-of-life environment variables is far too high a price to pay to
get a working PATH variable after su.

The other alternatives are:

1) Stay on stretch.
2) Edit /etc/login.defs to restore a functional su command (without needing
   to use "su -").
3) Put /usr/sbin and /sbin in your ordinary account's PATH.

*Fun*!



Re: New su behavior in util-linux 2.32

2018-08-13 Thread Darac Marjal

On Mon, Aug 13, 2018 at 08:43:12AM -0400, Greg Wooledge wrote:

On Sat, Aug 11, 2018 at 11:41:34AM +0200, Pétùr wrote:

The new 'su' is useless for me because it cannot launch root program.
I did the modification in /etc/login.defs and restore the previous
behavior. However I am concern with the statement " Doing plain 'su'
is a really bad idea for many reasons".

Could someone explain to me why this is a bad behavior?


It's not what Red Hat does, and therefore "oh, we have to change to
match what Red Hat does".


Actually, util-linux is distributed by the Linux Kernel Organization 
(i.e. the folks at kernel.org). So, yes, Debian has to match what Red 
Hat does inasmuch as Red Hat uses a Linux kernel and so does Debian. It 
just makes sense to use the kernel-provided kernel utilities.


As an aside, I don't know what the situation is with the *BSD Debians. 
They presumably don't use util-linux, so I *guess* they're still using 
su from src:shadow?




Never mind the fact that it's a completely stupid, intrusive, pointless
change that breaks the behavior that has been working properly in Debian
for decades.  Who cares about things working properly, or backward
compatiblity, or common sense?  GOTTA MATCH RED HAT!


Change should be acceptable IF there is a good reason for it. I'll 
agree, though, that it's not really been well-communicated how "su -" is 
better than "su" and why, apparently, the meaning of the two have been 
swapped over. But if the point is to make things more secure, then 
that's a perfectly acceptable reason for breakage.




Users will be confused?  SCREW 'EM!  GOTTA MATCH RED HAT!

Scripts will break?  SCREW 'EM!  GOTTA MATCH FUCKING RED HAT!

The only reason anyone would think that "plain su is bad" is because
they had to work with Red Hat systems (or perhaps certain BSD-based
systems) where plain su behaves the way testing's su behaves, and
they got used to it.




--
For more information, please reread.


signature.asc
Description: PGP signature


Re: non-blocking stdin from bash

2018-08-13 Thread Greg Wooledge
On Sat, Aug 11, 2018 at 06:08:34PM -0400, Jim Popovitch wrote:
> What's the best way to grab anything that's in stdin into a variable
> inside a bash script, but won't block if stdin is null?

On Sun, Aug 12, 2018 at 01:57:09PM -0400, Jim Popovitch wrote:
> Interesting.  I'm using it via a cron script like so:
> 
> * * * * *  grep "unusual" /opt/logs/* | /opt/notify.sh `hostname`;

On Sun, Aug 12, 2018 at 06:45:23PM -0400, Jim Popovitch wrote:
> That was just an example of what I'm doing.  In reality logtail's in
> there, but it made the example line too long.

https://mywiki.wooledge.org/XyProblem
https://mywiki.wooledge.org/BashFAQ/064



Re: Installing package *NOT* in repository

2018-08-13 Thread Joe
On Mon, 13 Aug 2018 07:28:20 -0500
Richard Owlett  wrote:

> On 08/13/2018 06:59 AM, Joe wrote:
> > On Mon, 13 Aug 2018 06:47:02 -0500
> > Richard Owlett  wrote:
> >   
> >> PREAMBLE:
> >> I've downloaded a .deb file.
> >> I've recently done such an install but don't remember how.
> >> Looking at the man pages for apt, apt-get, aptitude didn't help.
> >> Couldn't come up with useful search term for wiki.
> >> Eventually recalled "dpkg -i" which worked.
> >>
> >> QUESTION:
> >> How would someone find the answer if the answer wasn't already
> >> known? I went thru the same sequence last time.
> >>  
> > 
> > https://www.google.co.uk/search?q=install+.deb&gws_rd=ssl
> > 
> > First hit:
> > https://unix.stackexchange.com/questions/159094/how-to-install-a-deb-file-by-dpkg-i-or-by-apt
> >   
> 
> A partial "mea culpa" ;/
> I was completely focused on Debian tools and never thought of
> searching the whole web.
> 
> My gut feeling is still there should be a way to use Debian tools.

Perhaps so, but you'll usually get a wider perspective from those who
actually use Debian in real life, who have a subtly different
viewpoint from that of the developers. Note the discussion in my link
about alternative ways of dealing with dependencies.

I might also point out that much Debian documentation is in the form of
man pages. As everyone agrees, they are excellent for refreshing the
memory of experienced users, but they are not always that useful to
first-time learners.

-- 
Joe



Re: Installing package *NOT* in repository

2018-08-13 Thread Matthew Crews
On 8/13/18 4:47 AM, Richard Owlett wrote:
> PREAMBLE:
> I've downloaded a .deb file.
> I've recently done such an install but don't remember how.
> Looking at the man pages for apt, apt-get, aptitude didn't help.
> Couldn't come up with useful search term for wiki.
> Eventually recalled "dpkg -i" which worked.
> 
> QUESTION:
> How would someone find the answer if the answer wasn't already known?
> I went thru the same sequence last time.
> 

Its possible to use apt to install a file on your disk. For example:

# apt install /path/to/file.deb

Apt will also try to do dependency checking. I don't think dpkg will,
but I'm not sure on that.

-Matt




Re: Spectre variants 3a and 4 on Debian 8

2018-08-13 Thread Matthew Crews
On 8/13/18 12:03 AM, John Naggets wrote:
> Hello,
> 
> I would like to protect my SuperMicro SYS-5018R-MR server from the
> newest Spectre variants 3a and 4 and hence did the following:
> 
> - updated SuperMicro BIOS to v3.1 from 06/06/2018 which explicitly
> addresses these 2 new variants based on their release notes
> - updated to the latest Debian 8.11 with the kernel 3.16.57-2 (2018-07-14)
> - added non-free/contrib repos and installed intel-microcode package
> - rebooted server
> 
> Still after all that the spectre-meltdown-checker.sh script from
> meltdown.ovh still reports that my server is vulnearble to variants 3a
> and 4 and even to variant 3.
> 
> Is it possible that this is related to me using Debian 8 with a Kernel 3.16?
> 
> Another particularity from this server is that I am using Xen dom0
> hypervisor (official Xen 4.4 packages from Debian 8 repo). So maybe
> this is because of Xen?
> 
> Best regards,
> John
> 

Debian 8 is no longer officially supported. While it is maintained by
the LTS team, there is no guarantee that kernel 3.16.x will be mitigated
against spectre 3, 3a, and 4. You are advised to upgrade your server to
Debian 9.

Having said that...

There are still some Spectre variants that are not patched in Stretch or
Buster. You can track them here. My advice is, unfortunately, to wait
for a patch:

https://security-tracker.debian.org/tracker/source-package/linux

-Matt




Re: New su behavior in util-linux 2.32

2018-08-13 Thread Greg Wooledge
On Sat, Aug 11, 2018 at 11:41:34AM +0200, Pétùr wrote:
> The new 'su' is useless for me because it cannot launch root program.
> I did the modification in /etc/login.defs and restore the previous
> behavior. However I am concern with the statement " Doing plain 'su'
> is a really bad idea for many reasons".
> 
> Could someone explain to me why this is a bad behavior?

It's not what Red Hat does, and therefore "oh, we have to change to
match what Red Hat does".

Never mind the fact that it's a completely stupid, intrusive, pointless
change that breaks the behavior that has been working properly in Debian
for decades.  Who cares about things working properly, or backward
compatiblity, or common sense?  GOTTA MATCH RED HAT!

Users will be confused?  SCREW 'EM!  GOTTA MATCH RED HAT!

Scripts will break?  SCREW 'EM!  GOTTA MATCH FUCKING RED HAT!

The only reason anyone would think that "plain su is bad" is because
they had to work with Red Hat systems (or perhaps certain BSD-based
systems) where plain su behaves the way testing's su behaves, and
they got used to it.



Re: Installing package *NOT* in repository

2018-08-13 Thread Samuel Henrique
If you pass a file as parameter to apt install, like:
apt install ./package.deb
It will work, at least on buster.

A partial "mea culpa" ;/
> I was completely focused on Debian tools and never thought of searching
> the whole web.
>
> My gut feeling is still there should be a way to use Debian tools.
>

It would be nice if this was documented on the apt manpage, i have a strong
feeling that it's just a matter of opening a bug report asking for it, or
even better, sending a patch to the maintainers. Whatever suits you better.

Regards,

-- 
Samuel Henrique 


Re: Installing package *NOT* in repository

2018-08-13 Thread Richard Owlett

On 08/13/2018 06:59 AM, Joe wrote:

On Mon, 13 Aug 2018 06:47:02 -0500
Richard Owlett  wrote:


PREAMBLE:
I've downloaded a .deb file.
I've recently done such an install but don't remember how.
Looking at the man pages for apt, apt-get, aptitude didn't help.
Couldn't come up with useful search term for wiki.
Eventually recalled "dpkg -i" which worked.

QUESTION:
How would someone find the answer if the answer wasn't already known?
I went thru the same sequence last time.



https://www.google.co.uk/search?q=install+.deb&gws_rd=ssl

First hit:
https://unix.stackexchange.com/questions/159094/how-to-install-a-deb-file-by-dpkg-i-or-by-apt



A partial "mea culpa" ;/
I was completely focused on Debian tools and never thought of searching 
the whole web.


My gut feeling is still there should be a way to use Debian tools.

Thank you for your time.





Re: SystemD problem with launching a server

2018-08-13 Thread Didar Hossain
On Thu, Aug 09, 2018 at 08:41:39AM +0200, john doe wrote:
> On 8/9/2018 1:02 AM, Bill wrote:
> >Hi,
> >
> >So I'd like to run rinetd at boot time on Stretch along with sshd.
> >
> >I've no problem running rinetd manually using /usr/sbin/rinetd
> >or in a script using the same command. ps aux |grep rinetd shows it's
> >running and it works as expected.
> >
> >So I've written a service file for systemd,
> >/etc/systemd/system/rinetd.service and enabled it with systemctl enable
> >/etc/systemd/system/rinetd.service. At boot time the file gets run but
> >nothing shows up with ps aux, although sshd is running correctly. I think
> >the problem is with the systemd file. Here's the rinetd.service file:
> >
> ># /etc/systemd/system/rinetd.service
> ># A systemd.service file to start
> ># /usr/sbin/rinetd at boot time.
> >
> >[Unit]
> >Description=Start rinetd server
> >After=multi-user.target network.target sshd.service

Try removing multi-user.target from the "After" directive

> >
> >[Service]
> >Type=oneshot
> >ExecStart=/usr/sbin/rinetd
> >Restart=no
> >
> >[Install]
> >WantedBy=multi-user.target

I am guessing that specifying both "multi-user.target" in both the "After" and
"WantedBy" directives is probably causing this service to fail.

** DISCLAIMER: I am new to SystemD myself




> >
> >Any clues? Is this file too sparse? Or am I pining for the fjords?
> >
> 
> Do you see anything in the log (systemctl status rinetd)?
> 
> From google:
> 
> https://github.com/mixool/rinetd/wiki/System-startup-script
> https://github.com/mixool/rinetd
> 
> Isn't Debian providing a service file?
> 
> -- 
> John Doe
> 



adaptec raid controllers (ASR71605Q, module: aacraid) fail to boot with xen hypervisor 4.8 or 4.10

2018-08-13 Thread Christian Schwamborn
Hi list,

I tried to upgrade some servers this weekend, but failed in my attempts.
the hardware differs except in one component, they all have a Adaptec
raid controller of the 7th generation (ASR71605Q to be specific, using
kernel module accraid).

With debian jessie everything was fine, but upgrading to stretch the
kernel module is unable to initialize the raid controller.

The system seems to be able to init other cards (ie. a pcie Adaptec UW
SCSI Controller) but initializing the ASR71605Q fails with:

aacraid: aac_fib_send - first asynchronous command timed out
...

or

aacraid: Host adapter abort request (0,0,1,0)
aacraid: Host adapter abort request (0,0,116,0)
...
aacraid: Host adapter abort request (0,0,119,0)

on the second system (first is a classic bios machine, second is uefi)

Then at some point the system gives up, root device fails, and you end
up in initramfs.

Booting without xen hypervisor works just fine.

I tried different kernel versions, the old one (3.16) and a current
stretch backports (4.17.8) with the same result: No raid controller,
when running xen.

I also tried xen 4.10: No raid controller.

Also tried upgrading controller and mainboard firmware and the latest
aacraid kernel module from adaptec instead of the original kernel
modules, but nothing seems to help.

I've found several posts in ubuntu (and centos, I think) mailing lists
of the last two years, with people having the same issues, but no
solution except not upgrading. They all have some Adaptec raid
controller using aacraid and try to upgrade from xen ~4.4 to something
newer and they all can boot normally without xen. Some posts suggest
that that the 8th generation is also affected.

A more current card (Adaptec SmartRAID 3154-16i using kernel module
smartpqi) seems to work fine.

My guess would be that something is wrong with the more recent
hypervisor versions.

Anyone seen this behavior before?

Thanks
Chriatian



Re: Installing package *NOT* in repository

2018-08-13 Thread john doe

On 8/13/2018 1:47 PM, Richard Owlett wrote:

PREAMBLE:
I've downloaded a .deb file.
I've recently done such an install but don't remember how.
Looking at the man pages for apt, apt-get, aptitude didn't help.
Couldn't come up with useful search term for wiki.
Eventually recalled "dpkg -i" which worked.

QUESTION:
How would someone find the answer if the answer wasn't already known?
I went thru the same sequence last time.



Googling "installing .deb package" gives the answer.

On Debian managing packages is done by "dpkg".

For security reasons, stability issues, it is not recommended to install 
*.deb pkgs that are not from the Debian repositories.


--
John Doe



Re: Installing package *NOT* in repository

2018-08-13 Thread Joe
On Mon, 13 Aug 2018 06:47:02 -0500
Richard Owlett  wrote:

> PREAMBLE:
> I've downloaded a .deb file.
> I've recently done such an install but don't remember how.
> Looking at the man pages for apt, apt-get, aptitude didn't help.
> Couldn't come up with useful search term for wiki.
> Eventually recalled "dpkg -i" which worked.
> 
> QUESTION:
> How would someone find the answer if the answer wasn't already known?
> I went thru the same sequence last time.
> 

https://www.google.co.uk/search?q=install+.deb&gws_rd=ssl

First hit:
https://unix.stackexchange.com/questions/159094/how-to-install-a-deb-file-by-dpkg-i-or-by-apt

-- 
Joe



Installing package *NOT* in repository

2018-08-13 Thread Richard Owlett

PREAMBLE:
I've downloaded a .deb file.
I've recently done such an install but don't remember how.
Looking at the man pages for apt, apt-get, aptitude didn't help.
Couldn't come up with useful search term for wiki.
Eventually recalled "dpkg -i" which worked.

QUESTION:
How would someone find the answer if the answer wasn't already known?
I went thru the same sequence last time.



Re: mailing list vs "the futur"

2018-08-13 Thread Dan Purgert
Zenaan Harkness wrote:
> [...]
> If your forwardee friend fails to notice your fine coffee art photo,
> simply create a new Facebook group for them to join called
> "MyDebianPrinterProblemForJohn" or something, and then log into that
> group and send an invite to your friend, tweet that you've created
> the group, hope the tweet helps massage your tech cred daily profile,
> tumblr the coffee art and send a reply to the mailing list with links
> to the above if all else fails.
>
> It's like, not exactly, like hard or anything. Like.

I'm pretty sure that just gave me a stroke.

Also, https://xkcd.com/763/


-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: mailing list vs "the futur"

2018-08-13 Thread Dan Purgert
Miles Fidelman wrote:
> [...]
> Forwarding by email is about the only universal way to share 
> stuff, or to move it from some service or another to one's personal 
> storage (I can't tell you how often I email stuff to myself).

Thankfully I only have to do the "mail it to myself" approach rarely,
like when some "i'm a pro admin" type locks things down tighter than an
Everlast Chastity Belt.

"Look bud, connecting to port 22 is kind of important".

Although, I have recently started running an owncloud instance for just
that reason.

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281



Re: Re: question about the kernel

2018-08-13 Thread dekkzz78

On 08/10, deloptes wrote:

songbird wrote:


the debian processes are done via the kernel
team and so you can also follow that mailing list
(i read via gmane and usenet).


And you can always do "make deb-pkg" on the source and produce a ready for
use debian package

regards


How would i go about modifying the .config to enable n3fold in the kernel using 
make deb-pkg?

--
regards.

Dekks Herton

Thinkpad T61 2.0Ghz 2GB WSXGA+

Jabber IM: dekkz...@jabber.hot-chilli.net


signature.asc
Description: PGP signature


Re: USB2 or 3 WiFi dual band adapters

2018-08-13 Thread Curt
On 2018-08-12, Ben Caradoc-Davies  wrote:
>
> You must check the full version as the v2 has a different chipset (see 
> complaints in the Amazon comments). The original is Atheros, the v2 is 
> Realtek:

But you cannot check the full version because the full version is not
specified, thus the complaints to which I alluded in the comment section
from various disappointed penguinites (and my quasi-rhetorical question).

> Atheros: https://wikidevi.com/wiki/TP-LINK_TL-WN722N
> Realtek: https://wikidevi.com/wiki/TP-LINK_TL-WN722N_v2
>
> I suggest contacting the vendor for confirmation.

Right. 

> Kind regards,
>


-- 
"She was a blank wall, fresh painted." 
Louise Erdrich, Love Medicine



Spectre variants 3a and 4 on Debian 8

2018-08-13 Thread John Naggets
Hello,

I would like to protect my SuperMicro SYS-5018R-MR server from the
newest Spectre variants 3a and 4 and hence did the following:

- updated SuperMicro BIOS to v3.1 from 06/06/2018 which explicitly
addresses these 2 new variants based on their release notes
- updated to the latest Debian 8.11 with the kernel 3.16.57-2 (2018-07-14)
- added non-free/contrib repos and installed intel-microcode package
- rebooted server

Still after all that the spectre-meltdown-checker.sh script from
meltdown.ovh still reports that my server is vulnearble to variants 3a
and 4 and even to variant 3.

Is it possible that this is related to me using Debian 8 with a Kernel 3.16?

Another particularity from this server is that I am using Xen dom0
hypervisor (official Xen 4.4 packages from Debian 8 repo). So maybe
this is because of Xen?

Best regards,
John