Format for rsyslog configurations

2018-03-06 Thread CamZie
Hi,
Which format should I use for the rsyslog configuration on Debian 9?
According to the rsyslog documentation, I should use the new "advanced" format, 
but I saw that the default rsyslog.conf uses some of the "obselete legacy" 
(with $) format but sometimes it does not. Is both format still possible in 
Debian 9?

Re: requesting assistance troubleshooting Kmail

2018-03-06 Thread charlie derr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Sat, 24 Feb 2018 15:28:37 -0500
m...@neidorff.com wrote:

> This may or may not be helpful to Charlie, but others might find it
> helpful
> 
> 

For the sake of others with a similar problem with the stock kmail
from within debian 9 stretch, I'm following up here to explain what it
is that solved things for me. Almost all of the responses I received
were from people who are using newer versions of kmail (as I explained
(perhaps over in the other thread) earlier, I'm using 5.2.3 -- while
I've run debian sid in the past (mostly quite successfully), I'm very
much interested in sticking with the stable distro for the moment).

Anyhow, one of the suggestions (I think again over on the other thread)
was to delete the problematic IMAP account and recreate it using the
wizard. This immediately fixed the problem (on both computers -- it was
the realization that the laptop had recently developed the same issue
that had happened on the desktop back in late January which spurred me
into trying this answer).

Thanks so very much for all of the feedback you all gave,
 and have a great day,
  ~c
-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEETiJHl0qlojpckrtNu4s9czGpNn8FAlqeZvoACgkQu4s9czGp
Nn+Uxw//WEcVel/4Dxf0usyYBsBppaTDVloPQLUQewwVnN4oOkQ33Joylm3nkchT
AeYarRl+DF5u+gjThGwxGc1Ge5OHzlgV3ltCElUILolk0wGB4yBBNbP1YnCRRYXR
EkBBkCjngzSCBbGFJmtU1FHdo1MOKgTpxHWTgGCey6uByG3+AMyx8wPuRYFZBCRb
8YrP0CaZMjlZ0xnQRAVY/I7PyptHA9Kqxc1CfOkD4+3RXe47HZD923zEs5jE0wrM
iWYF04nj2tvuAXu/0B9ZhDIBoBrBaov8SG4q8CDSE1DaVcEPks12ykzO1awSue2T
bqdV8Jk5eU1IUGj/h9ieW/QAHQsrrCqfNgsOtqV1dv3x1jrg+0V5ghu2D0iO8/tm
04OF7X3ZzjocdhEVHGfvBCy7M+GN4K5L3ey4hwpni1ZbhvMaZnh3sbg3D5X6ezH0
N7NMdeMIshEPO4yodkvQSDqNm3H5W+xUAk3Lp1oqt3yxdynOWpbIjKxusmfpeIW0
YMIb8yJekwkDfJhQTocnqQRFFMqxsBQ0Kc+m75yBnuTKJ2LwyTa8cuFiMiQol65V
vH+LNOTSysdmAzvSFRnafmn8VYHyP6SV3b3LOvAkfyLlco+CJrvizkyEzEIcG3F4
w6xgbk2Rex+nUojiDIHy4WtLKx0fcUfnd8fzMCYG9+6T6Hxs8VY=
=aNXd
-END PGP SIGNATURE-


Re: nagios

2018-03-06 Thread Dan Purgert
Gokan Atmaca wrote:
> hello
>
> I added 5 servers to Nagios. When I add the sixth, I can not see it in
> the web interface. But when I check it, it seems to exist. What would
> be the reason ?

Been a while since I've dealt with nagios, but don't you have to restart
/ reload it in order for it to read teh config files again?


-- 
|_|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: nagios

2018-03-06 Thread Gokan Atmaca
> Been a while since I've dealt with nagios, but don't you have to restart
> / reload it in order for it to read teh config files again?

hello

I restarted and reloaded. Nothing changed.

thanks.

On Tue, Mar 6, 2018 at 2:40 PM, Dan Purgert  wrote:
> Gokan Atmaca wrote:
>> hello
>>
>> I added 5 servers to Nagios. When I add the sixth, I can not see it in
>> the web interface. But when I check it, it seems to exist. What would
>> be the reason ?
>
> Been a while since I've dealt with nagios, but don't you have to restart
> / reload it in order for it to read teh config files again?
>
>
> --
> |_|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: nagios

2018-03-06 Thread emmanuel segura
show us your nagios host definition

2018-03-06 14:26 GMT+01:00 Gokan Atmaca :

> > Been a while since I've dealt with nagios, but don't you have to restart
> > / reload it in order for it to read teh config files again?
>
> hello
>
> I restarted and reloaded. Nothing changed.
>
> thanks.
>
> On Tue, Mar 6, 2018 at 2:40 PM, Dan Purgert  wrote:
> > Gokan Atmaca wrote:
> >> hello
> >>
> >> I added 5 servers to Nagios. When I add the sixth, I can not see it in
> >> the web interface. But when I check it, it seems to exist. What would
> >> be the reason ?
> >
> > Been a while since I've dealt with nagios, but don't you have to restart
> > / reload it in order for it to read teh config files again?
> >
> >
> > --
> > |_|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
> >
>
>


-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^


Re: there’s something wrong with your site :(

2018-03-06 Thread Louise Levine
Hi, 
 
I understand you are a busy person and your time is valuable but did you have 
some time to look at my last email? (see above). 
 
Would be great to hear from you. If you’re short on time right now — no 
worries. I won’t bug you about it again. 
 
Many thanks 
 
Louise Levine 
UKWebHostReview.com 
 
 
 -Original Message- 
 Hi, 
 
I hope this email finds the correct person. One week ago I sent you an email 
regarding your web page (copy of email below) and I haven’t yet heard back from 
anyone. 
 
I would still love for my site UKWebHostReview.com to be placed as another 
beneficial resource on your page here 
http://www.kangry.com/topics/viewcomment.php?index=323. 
 
Please let me know the correct person to contact regarding my request or if you 
can help me out! I look forward to hearing from you. 
 
Many thanks. 
 
Louise Levine 
UKWebHostReview.com 
 
 
 -Original Message- 
 Hi, 
 
I am Louise Levine and I hope you are well. I was browsing through your great 
list of links on http://www.kangry.com/topics/viewcomment.php?index=323 as I 
was looking through a list of web development-related sources and was 
impressed. Thanks for putting it together – really helpful! Specially the 
http://www.dragon-labs.com/articles/octopus/ and 
http://www.webmaster-toolkit.com/css-menu-generator.shtml ones!! 
 
I'm reaching out today because I thought you might want to know about a few 
broken links on your page- specificaly 
http://www.webreference.com/authoring/style/sheets/layout/advanced/. Other than 
that, it's a great list - thanks! 
 
I co-founded a hosting research site UKWebHostReview.com- which has basically 
been an on-going case study of hosting companies which I have tested (on a 
weekly basis) to try and determine the best performing providers. I have also 
created a number of in-depth articles to help webmasters like yourself improve 
and optimise their site. 
 
I'd love to know your feedback on my site, and I thought your audience would 
find it helpful. 
 
Might be a great replacement for that broken URL. :) 
 
Looking for hearing back from you. 
 
Best Regards, 
 
Louise Levine 
UKWebHostReview.com

Re: nagios

2018-03-06 Thread Gokan Atmaca
> show us your nagios host definition

Hello

as follows:

define host {
use linux-server
host_nameexampletest0
alias exampletest0
address 88.99.84.60
contactsnagiosadmin,gokhan,gokhanmail
max_check_attempts  1
check_period24x7
notification_interval   30
notification_period 24x7
}

define service {
use generic-service
host_name  exampletest0
service_description CPU load
check_command   check_nrpe!check_load
}

define service {
use generic-service
host_name   exampletest0
service_description Total Progress
check_command   check_nrpe!check_total_procs
}



On Tue, Mar 6, 2018 at 4:44 PM, emmanuel segura  wrote:
> show us your nagios host definition
>
> 2018-03-06 14:26 GMT+01:00 Gokan Atmaca :
>>
>> > Been a while since I've dealt with nagios, but don't you have to restart
>> > / reload it in order for it to read teh config files again?
>>
>> hello
>>
>> I restarted and reloaded. Nothing changed.
>>
>> thanks.
>>
>> On Tue, Mar 6, 2018 at 2:40 PM, Dan Purgert  wrote:
>> > Gokan Atmaca wrote:
>> >> hello
>> >>
>> >> I added 5 servers to Nagios. When I add the sixth, I can not see it in
>> >> the web interface. But when I check it, it seems to exist. What would
>> >> be the reason ?
>> >
>> > Been a while since I've dealt with nagios, but don't you have to restart
>> > / reload it in order for it to read teh config files again?
>> >
>> >
>> > --
>> > |_|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
>> >
>>
>
>
>
> --
>   .~.
>   /V\
>  //  \\
> /(   )\
> ^`~'^



Re: (solved) Re: wireless fail after stretch installation

2018-03-06 Thread Ian Jackson
Brian writes ("Re: (solved) Re: wireless fail after stretch installation"):
> The plain and simple fact is that a user who installs over a wireless
> link and does not have network-manager does not have any connectivity
> to the internet after first boot. Long Wind solved the issue by taking
> the advice given and Charlie S used his initiative and knowledge to
> devise an /e/n/i file which replaced the one the installer had wiped
> out.
> 
> This has been going on since Debian 7.0.0 and is not the first time the
> issue has arisen here. Debian must be the only OS which deliberately
> removes connectivity present during installation.

Can someone point me to the bug report about this ?

Ian.

-- 
Ian JacksonThese opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.



gnats user

2018-03-06 Thread Adam Weremczuk

Hi all,

Can somebody explain why gnats user comes even with a minimalistic 
netinstall Debian?


I briefly used Gnats Bug-Reporting System long time ago but AFAIR this 
project died in 2005.


It just feels weird for me to see it in /etc/passwd all the time.

Thanks
Adam



Re: gnats user

2018-03-06 Thread Reco
Hi.

On Tue, Mar 06, 2018 at 04:32:03PM +, Adam Weremczuk wrote:
> Hi all,
> 
> Can somebody explain why gnats user comes even with a minimalistic
> netinstall Debian?

[1], chapter 12.1.12.1.

Reco

[1] https://www.debian.org/doc/manuals/securing-debian-howto/ch12.en.html



Re: (solved) Re: wireless fail after stretch installation

2018-03-06 Thread Brian
On Tue 06 Mar 2018 at 15:01:03 +, Ian Jackson wrote:

> Brian writes ("Re: (solved) Re: wireless fail after stretch installation"):
> > The plain and simple fact is that a user who installs over a wireless
> > link and does not have network-manager does not have any connectivity
> > to the internet after first boot. Long Wind solved the issue by taking
> > the advice given and Charlie S used his initiative and knowledge to
> > devise an /e/n/i file which replaced the one the installer had wiped
> > out.
> > 
> > This has been going on since Debian 7.0.0 and is not the first time the
> > issue has arisen here. Debian must be the only OS which deliberately
> > removes connectivity present during installation.
> 
> Can someone point me to the bug report about this ?
> 
> Ian.

#694068, #696755, #727740 and #777439.

-- 
Brian.



Re: WTF does Firefox 58?

2018-03-06 Thread Michelle Konzack
Good evening deloptes,

Am 2018-03-05 hackte deloptes in die Tasten:
> I think you should check your setup or your client - perhaps older
> libs
> still somewhere.
>
> look forward to setup UTF-8 and keep it consistent

My systems are since 11 years on UTF-8

> regards

Thanks in advance

-- 
Michelle KonzackMiila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400



cant configure drawing tablet in debian stretch cinnamon

2018-03-06 Thread Thomas Waldl

Hello there!


I  just installed the latest debian stretch net installer with cinnamon, 
and I happen to not be able to configure my wacom tablet throught the 
menu options. Configuring it manually via console and xsetwacom commands 
works perfectly.


I have not found something online to help me with this issue yet, maybe 
you guys know more.



Best regards, Thomas.



Re: (solved) Re: wireless fail after stretch installation

2018-03-06 Thread Ian Jackson
Brian writes ("Re: (solved) Re: wireless fail after stretch installation"):
> #694068, #696755, #727740 and #777439.

Thanks.

I have read the bug logs and Trent Buck's message here
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694068#47
seems to suggest a way forward.

Perhaps someone would care to write and test a patch to d-i's network
configuration arrangements, to implement Trent's suggestion ?  I think
that the people who don't have network-manager would probably prefer
this to use ifupdown, and making a whole new udeb will be work, so
Trent's second suggestion seems sensible.

> > > The plain and simple fact is that a user who installs over a wireless
> > > link and does not have network-manager does not have any connectivity
> > > to the internet after first boot. Long Wind solved the issue by taking
> > > the advice given and Charlie S used his initiative and knowledge to
> > > devise an /e/n/i file which replaced the one the installer had wiped
> > > out.
> > > 
> > > This has been going on since Debian 7.0.0 and is not the first time the
> > > issue has arisen here. Debian must be the only OS which deliberately
> > > removes connectivity present during installation.

I have to say that the tone of this message is rather unfortunate.
You make it sound like someone is deliberately breaking stuff.  That
doesn't seem to be the case.

Comparing to other distros can be very helpful but generalised
statements that they don't have this bug is less useful than looking
into how they solve the problem.

Ian.

-- 
Ian JacksonThese opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.



Re: desktop icons locked

2018-03-06 Thread Hans
Am Dienstag, 6. März 2018, 18:10:01 CET schrieb Eugenia:
Please check your windowmanager settings.

Good luck!

Hans
> Desktop icons on Debian 4.9.65-3+deb9u2 are locked.
> 
> Please provide work around on how to fix this problem.
> 
> Thanks,
> 
> 
> Eugenia Lemberg
> 
>  elemb...@yahoo.com 408 541 03 34 - Land Line
> 408 480 21 74 - CellskypeID - elemberg7
>  *Protection, Prosperity, Sound Money




Re: (solved) Re: wireless fail after stretch installation

2018-03-06 Thread Ian Jackson
bw writes ("Re: (solved) Re: wireless fail after stretch installation"):
> I think the idea needs to be talked over a little better, because using 
> e/n/i for wireless by default after first boot has implications if the 
> user (who is clueless) later installs a desktop environment.

If installing a desktop environment, after putting the wireless in
/e/n/i, does not work, then that is a bug in the desktop environment,
surely ?

In practice I would expect the config in /e/n/i to keep working
because nowadays network-manager will ignore things in /e/n/i.  The
difficulty would only come if you
  - used the installer to install a bare system over wifi
  - later install network-manager or wicd
  - then expect the system to give you a gui prompt for new wifi
networks, rather than expect to have to edit /e/n/i

It would be possible for the n-m and wicd packages to spot when this
is happening and offer to take over the interface.  And I do think
that in the absence of code to do that, it would be more important to
make the barebones system work in the first place, than to improve the
behaviour you later install n-m.

(I'm not sure if what I say about wicd is right.  I use n-m on
machines I have where the user needs to switch between various network
connections, wifi networks, etc.)

> I'd hate to see the bug tracker turned into a discussion forum though.  

The bug tyracker is precisely the right place to discuss how to solve
a particular bug.  So I have CC'd it.

Ian.

-- 
Ian JacksonThese opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.



Re: desktop icons locked

2018-03-06 Thread rv riveravaldez
>> Desktop icons on Debian 4.9.65-3+deb9u2 are locked.
>>
>> Please provide work around on how to fix this problem.
>>
>> Thanks,
>>
>>
>> Eugenia Lemberg
>>
On Tue, Mar 6, 2018 at 3:29 PM, Hans  wrote:
> Am Dienstag, 6. März 2018, 18:10:01 CET schrieb Eugenia:
> Please check your windowmanager settings.
>
> Good luck!
>
> Hans

Right-click on desktop and check preferences.
Usually the icon's behaviour can be set by there.
Regards



Beeping after power irregularities?

2018-03-06 Thread James H. H. Lampert
Our AC power just blinked several times. More or less concurrently with 
that, something in our server cage (we think it's a Debian box); it 
doesn't appear to be an AS/400, any network gear, or our UPS) began 
emitting one-second beeps, approximately every two seconds (i.e., a 
one-second beep alternating with a one-second silence).


Any insights?

--
James H. H. Lampert



Re: Beeping after power irregularities?

2018-03-06 Thread Greg Wooledge
On Tue, Mar 06, 2018 at 10:50:52AM -0800, James H. H. Lampert wrote:
> Our AC power just blinked several times. More or less concurrently with
> that, something in our server cage (we think it's a Debian box); it doesn't
> appear to be an AS/400, any network gear, or our UPS) began emitting
> one-second beeps, approximately every two seconds (i.e., a one-second beep
> alternating with a one-second silence).

Find the model number of the computer (guessing it's a rack-mounted server
of some kind) and find its manual and see if it has diagnostic beep codes.



Re: Multichannel audio listening (was: Live recording)

2018-03-06 Thread Joel Roth
On Mon, Mar 05, 2018 at 10:39:19AM +0100, Rodolfo Medina wrote:
> Hi all.
> 
> After learning, some months ago, thanks to listers' help, how to live record
> into a multi channel audio file, I was wondering about the reverse problem: 
> now
> I have my multi channel audio file, e.g. composed by three different channels.
> Is it possibile (I guess it is), and how?, to send each of the three outputs
> into a different loud speaker and so listen to the song...?
> 

Hi Rodolfo,

Ecasound is pretty convenient for routing audio.

If you connect three powered speakers to the first three
channels of a (sufficiently capable) soundcard and you're
using ALSA (the default low-level linux audio API), it's
pretty simple:

For example,

ecasound -i:3ch.wav -f:16,3,44100 -o:alsa,default
 
If you need to fool around with the routing, you can do
almost anything. For example, assuming  you have an
8-channel soundcard and want to route ch1 to ch5, ch2 to ch6
and ch3 to ch7:

ecasound -i:3ch.wav \
-f:16,8,44100  \
-chmove:1,5 \
-chmove:2,6 \
-chmove:3,7 \
-o:alsa,default

Maybe you need to add separate effects (e.g. volume control) to each channel:

ecasound \
-a:in -i:3ch.wav -o:loop,3ch \
-a:ch1,ch2,ch3 -i:loop,3ch \
-a:ch1 -chmove:1,5 -ea:80 \
-a:ch2 -chmove:2,6 -ea:70 \
-a:ch3 -chmove:3,7 -ea:60 \
-a:ch1,ch2,ch3 -f:16,8,44100 -o:alsa,default

There's a lot more you can do with ecasound, and there are
various front ends that provide a higher level of
abstraction.

Hope this helps,

> I hope I was clear enough...

> Thanks for any help.
> 
> Rodolfo
> 

-- 
Joel Roth
  



Re: (solved) Re: wireless fail after stretch installation

2018-03-06 Thread Brian Potkin
On Tue 06 Mar 2018 at 18:27:29 +, Ian Jackson wrote:

> Brian writes ("Re: (solved) Re: wireless fail after stretch installation"):
> > #694068, #696755, #727740 and #777439.
> 
> Thanks.
> 
> I have read the bug logs and Trent Buck's message here
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694068#47
> seems to suggest a way forward.
> 
> Perhaps someone would care to write and test a patch to d-i's network
> configuration arrangements, to implement Trent's suggestion ?  I think
> that the people who don't have network-manager would probably prefer
> this to use ifupdown, and making a whole new udeb will be work, so
> Trent's second suggestion seems sensible.

I would hazard a guess and say that 100% of users would expect to be
able to use the network they have set up during installation, afterwards.
Without an ethernet interface on the machine it becomes resorting to
setting it up again (5%), resorting to -user or the internet from
another machine (20%) or some head-scratching followed by walking away.
(The percentages are rough estimates).
 
> > > > The plain and simple fact is that a user who installs over a wireless
> > > > link and does not have network-manager does not have any connectivity
> > > > to the internet after first boot. Long Wind solved the issue by taking
> > > > the advice given and Charlie S used his initiative and knowledge to
> > > > devise an /e/n/i file which replaced the one the installer had wiped
> > > > out.
> > > > 
> > > > This has been going on since Debian 7.0.0 and is not the first time the
> > > > issue has arisen here. Debian must be the only OS which deliberately
> > > > removes connectivity present during installation.
> 
> I have to say that the tone of this message is rather unfortunate.
> You make it sound like someone is deliberately breaking stuff.  That
> doesn't seem to be the case.

The message was written to -user. Besides having a really helpful bunch
of users, there can sometimes be a robustness and directness to the
exchanges. Don't let it put you off if you are used to a more gentile
environment.

I hadn't realised the breakage was accidental and unplanned. OTOH, I am
not in possession of the reasons behind it; apart from some conjecture,
they still remain unknown. As you will see from the bug record, even
Debian developers are mystified.

> Comparing to other distros can be very helpful but generalised
> statements that they don't have this bug is less useful than looking
> into how they solve the problem.

We don't know what the problem is.

-- 
Brian.



How to use a particular kernel for only one boot

2018-03-06 Thread John
I am still looking for a clean way to upgrade my Debian box.

Background is that the m/c is the interface to the world from the LAN,
runs headless, and is fairly difficult to access physically.  My
attempt to upgrade from Whezzy to Jessie broke as it would not
run/load the 3.16.0-4-amd64 kernel, and after a painful period I
managed to get Jessie running with the Whezzy 3.2.0-4-amd64 kernel.  I
have uploaded the 3.16.0-5-amd64.  What I would like would be to try a
boot into the new kernel, but if that fails for the next and
subsequent boots to be to the (working) Whezzy kernel.  I think I
heard once that there was such a mechanism but  have not found it.
BTW it is running grub.

Can it be done?
==John ffitch



Re: How to use a particular kernel for only one boot

2018-03-06 Thread Roberto C . Sánchez
On Tue, Mar 06, 2018 at 07:35:37PM +, John wrote:
> I am still looking for a clean way to upgrade my Debian box.
> 
> Background is that the m/c is the interface to the world from the LAN,
> runs headless, and is fairly difficult to access physically.  My
> attempt to upgrade from Whezzy to Jessie broke as it would not
> run/load the 3.16.0-4-amd64 kernel, and after a painful period I
> managed to get Jessie running with the Whezzy 3.2.0-4-amd64 kernel.  I
> have uploaded the 3.16.0-5-amd64.  What I would like would be to try a
> boot into the new kernel, but if that fails for the next and
> subsequent boots to be to the (working) Whezzy kernel.  I think I
> heard once that there was such a mechanism but  have not found it.
> BTW it is running grub.
> 
grub-reboot (8)  - set the default boot entry for GRUB, for the next
boot only

Regards,

-Roberto

-- 
Roberto C. Sánchez



Re: Beeping after power irregularities?

2018-03-06 Thread Joe
On Tue, 06 Mar 2018 10:50:52 -0800
"James H. H. Lampert"  wrote:

> Our AC power just blinked several times. More or less concurrently
> with that, something in our server cage (we think it's a Debian box);
> it doesn't appear to be an AS/400, any network gear, or our UPS)
> began emitting one-second beeps, approximately every two seconds
> (i.e., a one-second beep alternating with a one-second silence).
> 
> Any insights?

Just a little story...

Beeps and other tones of a kilohertz or so within a room with hard walls
are most amazingly non-directional, and can be remarkably hard to
locate. I spent a couple of hours over several days trying to work out
why my server seemed to have acquired an alarm set for midnight. I
eventually found that I had picked up my radio clock/weather station
and had inadvertently pushed a button which enabled an alarm which
defaulted to midnight, which I didn't know the thing could even do...

-- 
Joe



Re: Beeping after power irregularities?

2018-03-06 Thread Dan Ritter
On Tue, Mar 06, 2018 at 10:50:52AM -0800, James H. H. Lampert wrote:
> Our AC power just blinked several times. More or less concurrently with
> that, something in our server cage (we think it's a Debian box); it doesn't
> appear to be an AS/400, any network gear, or our UPS) began emitting
> one-second beeps, approximately every two seconds (i.e., a one-second beep
> alternating with a one-second silence).
> 
> Any insights?

That really sounds like a UPS. Do you have diagnostics access
for it?

Alternatively: do you have machines with redundant power
supplies? You may have just burnt one out. (Or it needs to be
reset.)

-dsr-



Re: (solved) Re: wireless fail after stretch installation

2018-03-06 Thread Brian
On Tue 06 Mar 2018 at 18:34:27 +, Ian Jackson wrote:

> bw writes ("Re: (solved) Re: wireless fail after stretch installation"):
> > I think the idea needs to be talked over a little better, because using 
> > e/n/i for wireless by default after first boot has implications if the 
> > user (who is clueless) later installs a desktop environment.
> 
> If installing a desktop environment, after putting the wireless in
> /e/n/i, does not work, then that is a bug in the desktop environment,
> surely ?

Most probably. But desktop environments were not the subject of this
thread. (Sorry for trying to keep on-topic).

> In practice I would expect the config in /e/n/i to keep working
> because nowadays network-manager will ignore things in /e/n/i.  The
> difficulty would only come if you
>   - used the installer to install a bare system over wifi

That difficulty is  exactly the subject of this thread. The rest of this
post is snipped because it side-steps addressing the issue. What is put
in /e/n/i ceases to work because it is obliterated by the installer for
reasons unknown.

One user calls it a "sick joke". After five years and with no attempt
to rectify the situation, I'm beginning to have sympathy with that view.

(Yes, I know we are all volunteers).

-- 
Brian.




>   - later install network-manager or wicd
>   - then expect the system to give you a gui prompt for new wifi
> networks, rather than expect to have to edit /e/n/i
> 
> It would be possible for the n-m and wicd packages to spot when this
> is happening and offer to take over the interface.  And I do think
> that in the absence of code to do that, it would be more important to
> make the barebones system work in the first place, than to improve the
> behaviour you later install n-m.
> 
> (I'm not sure if what I say about wicd is right.  I use n-m on
> machines I have where the user needs to switch between various network
> connections, wifi networks, etc.)
> 
> > I'd hate to see the bug tracker turned into a discussion forum though.  
> 
> The bug tyracker is precisely the right place to discuss how to solve
> a particular bug.  So I have CC'd it.
> 
> Ian.
> 
> -- 
> Ian JacksonThese opinions are my own.
> 
> If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
> a private address which bypasses my fierce spamfilter.
> 



Re: Beeping after power irregularities?

2018-03-06 Thread Roger Price

On Tue, 6 Mar 2018, Dan Ritter wrote:


On Tue, Mar 06, 2018 at 10:50:52AM -0800, James H. H. Lampert wrote:

Our AC power just blinked several times.
one-second beeps, approximately every two seconds


That really sounds like a UPS. Do you have diagnostics access
for it?


Sounds to me like a UPS buck-boost in action.  What is your UPS unit?

Roger



Re: Beeping after power irregularities?

2018-03-06 Thread James H. H. Lampert

It's the RAID controller card.

Naturally.

--
JHHL



Re: WTF does Firefox 58?

2018-03-06 Thread deloptes
Michelle Konzack wrote:

> My systems are since 11 years on UTF-8

well, there is characater mangling - called double conversion, which we've
seen and then some HTML entities. Usually it happens when you have wrong
iconv or whatever translation mechanism from one charset to another
implemented in the application - this should be (most probably) your mail
client.

regards






Re: (solved) Re: wireless fail after stretch installation

2018-03-06 Thread Charlie S
On Tue, 6 Mar 2018 13:46:24 -0500 (EST) bw sent:

> On Tue, 6 Mar 2018, Ian Jackson wrote:
> 
> > Brian writes ("Re: (solved) Re: wireless fail after stretch
> > installation"):  
> > > #694068, #696755, #727740 and #777439.  
> > 
> > Thanks.
> > 
> > I have read the bug logs and Trent Buck's message here
> >   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694068#47
> > seems to suggest a way forward.
> > 
> > Perhaps someone would care to write and test a patch to d-i's
> > network configuration arrangements, to implement Trent's
> > suggestion ?  I think that the people who don't have
> > network-manager would probably prefer this to use ifupdown, and
> > making a whole new udeb will be work, so Trent's second suggestion
> > seems sensible. 
> 
> Second suggestion being networkd preferred over ifupdown?  yeah, I
> had thought this was going to come up eventually.  State it in plain
> english, if ifupdown is to be replaced, then let's get on with it.
> 


Let's not get rid of ifupdown or that way to bring the connection, wifi
or otherwise, up or down.

[disclaimer] Ifup/down is a personal preference [end disclaimer]

I do not do a "guided" or automagic install. Though I dislike the term,
because I am not, I used the expert install. So the following may be a
stupid suggestion.

The root of the problem appears to be: for someone who has installed
Debian on more machines, through a wifi connection and wants to
continue using that connection type, will know that the actual
connection requirement used by the installer is removed. No surprise.

Then write the /etc/network/interfaces file as required if that's the
way they wish to connect [ifup/down].

Maybe that should just be documented [exampled choices] in the
installer for anyone who doesn't install a Debian O/S all that often or
only once?

Never having used network manager or similar am not certain how they
work. However, the documentation during install at the appropriate time
could read something like: if you wish to continue using a wifi
connection after reboot, please edit /etc/network/interfaces [give an
example] or install network manager or whatever helper to do this?

Just a thought
Charlie



adsl bridge mode

2018-03-06 Thread Gokan Atmaca
Hello

I got ADSL bridge mode. I can get ip address from DHCP from the
service provider.
How do I  configure it ?

thanks...



Origin of /var/run contents

2018-03-06 Thread Jonathan de Boyne Pollard

Greg Wooledge:

Wheezy used sysvinit and related pacakges, not systemd. Jessie does 
have the file-hierarchy(7) man page that Jonathan mentioned.


Debian 7 had systemd, and the sharp-eyed who read the URL will have 
noticed that I pointed to the Debian 7 version of that manual page.


Have a manual page from Ubuntu 14, which likewise did in fact have 
systemd, to go with it:


* http://manpages.ubuntu.com/manpages/trusty/man8/pam_systemd.8.html

This stuff does go back quite a number of years, now.

* 
https://lists.freedesktop.org/archives/systemd-devel/2010-October/000686.html



Greg Wooledge:


All of the stuff Jonathan is describing is from systemd,

The sharp-eyed will have also spotted that that is untrue.  At least one 
of the things that I pointed to most definitely is not systemd.




File and directory permissions

2018-03-06 Thread epsilon491
For example, on terminal window A,

su
whoami # root
mkdir /opt/experiment/
chown aristo:aristo /opt/experiment/

Now on another terminal window, B,

su aristo
whoami # aristo
cd /opt/experiment/
touch aaa
# OK aaa is created

On terminal A,

chown root:root /opt/experiment/
chmod 700 /opt/experiment

On terminal B,

whoami #aristo
touch bbb
# OK bbb is created in /opt/experiment/
cd /opt/experiment/
# Gives permission denied
ls -la
# Gives correct listing
pwd
# Gives /opt/experiment

But on a new terminal C,

su aristo
whoami # aristo
cd /opt/experiment/
# Gives permission denied

In the above scenario, note that on terminal B user aristo can still access the 
directory even after the permission is set to 700 by root. Can you clarify the 
reason? Is it an expected behavior? If so why? It looks non-intuitive and 
invites unexpected security issues. If it is not intentional then what is the 
reason of this behavior?



Re: File and directory permissions

2018-03-06 Thread Ben Caradoc-Davies

On 07/03/18 13:56, epsilon...@tutanota.com wrote:

On terminal A,
chown root:root /opt/experiment/
chmod 700 /opt/experiment
On terminal B,
whoami #aristo
touch bbb
# OK bbb is created in /opt/experiment/
cd /opt/experiment/
# Gives permission denied
ls -la
# Gives correct listing
pwd
# Gives /opt/experiment


I cannot reproduce this behaviour on a local ext4 filesystem. As soon as 
access is removed, a nonprivileged user cannot cd to or list contents of 
the test directory.


Do you have any network filesystems involved in this test?

Kind regards,

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



Re: File and directory permissions

2018-03-06 Thread epsilon491
On 07/03/18 13:56, epsilon...@tutanota.com wrote:

 

> Do you have any network filesystems involved in this test?

No network fs.
It is a local LUKS encrypted disk with ext4 filesystem.
Kernel is latest.
Debian 9.3



Re: How to use a particular kernel for only one boot

2018-03-06 Thread Marc Auslander
Roberto C. Sánchez  writes:

>On Tue, Mar 06, 2018 at 07:35:37PM +, John wrote:
>> I am still looking for a clean way to upgrade my Debian box.
>> 
>> Background is that the m/c is the interface to the world from the LAN,
>> runs headless, and is fairly difficult to access physically.  My
>> attempt to upgrade from Whezzy to Jessie broke as it would not
>> run/load the 3.16.0-4-amd64 kernel, and after a painful period I
>> managed to get Jessie running with the Whezzy 3.2.0-4-amd64 kernel.  I
>> have uploaded the 3.16.0-5-amd64.  What I would like would be to try a
>> boot into the new kernel, but if that fails for the next and
>> subsequent boots to be to the (working) Whezzy kernel.  I think I
>> heard once that there was such a mechanism but  have not found it.
>> BTW it is running grub.
>> 
>grub-reboot (8)  - set the default boot entry for GRUB, for the next
>boot only
>
>Regards,
>
>-Roberto
A caveat - if your boot directory is in a raid parition grub will not
reset the boot environment - it knows how to read but not write raid
partitions.

If you boot successfully you can reset it yourself - but if the boot fails
you will be stuck.



Multifunction (printer + scanner) recommendation?

2018-03-06 Thread Kamil Jońca

I am not sure if it is best group for this question but I am tired with
searching over numerous web pages :(

I need to buy device to scan and print which:
- can scan with sane
- can print from my debian box (strongly prefer without binary/closed
drivers[1], I'm not sure about hplip[2])
- no bigger than ~ (H x D x W) 308 mm x 363 mm x 437 mm [3]
- can be shared to Windows machines (with HP 1120MFP I could not do that)


Any suggestions?

KJ

[1] - like Brother, but I heard that they give source code for driver too?
[2] - hplip has a lot of bloat in his dependecies
[3] - sizes of my current hp 1120 MFP device




-- 
http://wolnelektury.pl/wesprzyj/teraz/
You feel a whole lot more like you do now than you did when you used to.



Re: adsl bridge mode

2018-03-06 Thread Pascal Hambourg

Le 06/03/2018 à 23:17, Gokan Atmaca a écrit :


I got ADSL bridge mode. I can get ip address from DHCP from the
service provider.
How do I  configure it ?


Configure what ?
Please elaborate.



Re: gnats user

2018-03-06 Thread Adam Weremczuk

Thanks, a useful read.
But all it says regarding gnats is "." :)


On 2018-03-06 16:57, Reco wrote:

[1], chapter 12.1.12.1.

Reco

[1]https://www.debian.org/doc/manuals/securing-debian-howto/ch12.en.html




Re: gnats user

2018-03-06 Thread Reco
Hi.

On Wed, Mar 07, 2018 at 05:57:36AM +, Adam Weremczuk wrote:
> Thanks, a useful read.
> But all it says regarding gnats is "." :)

Nothing's perfect ☺. I suggest thinking about it this way:

Along with other uid<100 users, 'gnats' is there for a long time,
nobody's sure what will break if it's removed from passwd(5), and it's
not that someone will use uid=41 for anything else.

Reco



Re: Origin of /var/run contents

2018-03-06 Thread deloptes
Jonathan de Boyne Pollard wrote:

>> Wheezy used sysvinit and related pacakges, not systemd. Jessie does
>> have the file-hierarchy(7) man page that Jonathan mentioned.
>>
> Debian 7 had systemd, and the sharp-eyed who read the URL will have
> noticed that I pointed to the Debian 7 version of that manual page.

$ ls /usr/share/man/man
man1/ man2/ man3/ man4/ man5/ man6/ man7/ man8/

for the record those (1...8) are not the debian version

man man

DESCRIPTION
   man is the system's manual pager.  Each page argument given to man is
normally the name of a program, utility  or  function.   The  manual  page
   associated  with  each  of these arguments is then found and
displayed.  A section, if provided, will direct man to look only in that
section of
   the manual.  The default action is to search in all of the available
sections following a pre-defined order ("1 n l 8 3 2 3posix 3pm 3perl 3am 5
   4  9  6  7"  by default, unless overridden by the SECTION directive
in /etc/manpath.config), and to show only the first page found, even if
page
   exists in several sections.

   The table below shows the section numbers of the manual followed by
the types of pages they contain.

   1   Executable programs or shell commands
   2   System calls (functions provided by the kernel)
   3   Library calls (functions within program libraries)
   4   Special files (usually found in /dev)
   5   File formats and conventions eg /etc/passwd
   6   Games
   7   Miscellaneous (including macro packages and conventions), e.g.
man(7), groff(7)
   8   System administration commands (usually only for root)
   9   Kernel routines [Non standard]


regards



Re: gnats user

2018-03-06 Thread tv.deb...@googlemail.com

On 07/03/2018 11:46, Reco wrote:

Hi.

On Wed, Mar 07, 2018 at 05:57:36AM +, Adam Weremczuk wrote:

Thanks, a useful read.
But all it says regarding gnats is "." :)


Nothing's perfect ☺. I suggest thinking about it this way:

Along with other uid<100 users, 'gnats' is there for a long time,
nobody's sure what will break if it's removed from passwd(5), and it's
not that someone will use uid=41 for anything else.

Reco



A quick "find" on a Sid system for -user gnats and -gid 41 brings back 
only one result : /var/spool/cron/crontabs/gnats


dpkg -S knows nothing of this file, which incidentally dates back to 
2012 and has no actual code in it. apt-file search knows nothing about 
it either. So I went ahead and removed user gnats and group 41, trashed 
the lone empty file, and nothing breaks so far. If I ever install a 
package that needs this group it will be recreated by a post-install 
script anyway. If something complains in the logs I'll recreate it, no 
big deal.

Rinse and repeat for every unwanted group/user, just keep backups ;-)