Re: debian-cd baking process

2024-02-13 Thread Kevin Price
Dear Steve:

Am 18.01.24 um 00:37 schrieb Steve McIntyre:
> Kevin Price wrote:
>> I'm not quite sure where to address this to,

> Argh, that's my code in the debian-cd package. "reportbug debian-cd"
> should do the right thing...

Thank you for your help, I should have known. So I've now filed
https://bugs.debian.org/1063858 . Please accept my apology for being
slow in doing that.

Cheers
-- 
Kevin Price



debian-cd baking process

2024-01-17 Thread Kevin Price
Hi all!

I'm not quite sure where to address this to, but I'm certain this is a
bug: If you download debian installer media, for instance
debian-12.4.0-amd64-DLBD-2.iso, they prominenty include the files
"README.txt" and "README.html". Those presumably somehow auto-generated
README files say, in the case of former example:

"this disc is number 2 of a set of 1 discs"

Which is obviously false.

Could anyone please help me find where to file this bug to? Any ideas
much appreciated. Maybe there's a bug already that I didn't find.
-- 
Kevin Price



Re: Debian 12.4.0

2023-12-16 Thread Kevin Price
Am 14.12.23 um 23:01 schrieb David Sawyer:
> I use the password that I wrote down it is not accepted.

Keyboard layout? We've seen that with the kernel that comes with 12.4.0.
-- 
Kevin Price



Re: The bug

2023-12-15 Thread Kevin Price
Am 15.12.23 um 15:47 schrieb Stefan Monnier:
> But that's always true: the GNU/Linux system, like all sufficiently
> complex software systems, is chuck full of bugs, many of which can
> indeed have disastrous effects if they manifest under the
> "right" circumstances.

Here are some foreseeable and preventable ones.

> AFAICT the only thing really different about "the bug"
> (#1057967/#1057969) is that it comes right after a bug that made a lot
> of noise (bug#1057843), so people have temporarily lost faith.

No faith lost on my part. And bugs are not evaluated in the amount of
noise the preceding one made.
-- 
Kevin Price



Re: The bug

2023-12-14 Thread Kevin Price
I largely agree with Greg.

Am 13.12.23 um 16:33 schrieb Greg Wooledge:
> On Wed, Dec 13, 2023 at 04:13:44PM +0100, to...@tuxteam.de wrote:
>> On Wed, Dec 13, 2023 at 10:10:37AM -0500, Greg Wooledge wrote:
>>> On Wed, Dec 13, 2023 at 09:56:46AM -0500, Stefan Monnier wrote:
>>>> If so, then IIUC the answer is a resounding "YES, it is safe!".

Safe not to fry your ext4 by Bug#1057843, yes, Stefan.
Safe in general, as originally asked by Rick? He might be lucky, or
maybe less so.

>>> Safety is subjective.  A great deal will depend on what kind of system
>>> is being upgraded.  If it's a remote server to which you have limited
>>> or no physical access, booting a kernel that may "just be unusable"
>>> (enough to prevent editing GRUB menus and rebooting) could be a disaster.

Absolutely, Greg.

>> ...but that one most probably won't be attached via a Broadcom to the 'net.

Tomas: Servers are most usually not connected through wifi alone. But
"the bug" (#1057967/#1057969) won't only disable the wifi adapter, but
would probably make the running computer largely unusable, even unable
to shut down. That's confirmed. In that case you still might have access
through LAN IOT possibly fix GRUB's configuration, if you find a way to
do that without sudo, and working around whatever problems you'll
encounter attempting that. But even then, that new GRUB configuration
will never come into effect until you forcibly reboot/power cycle the
computer. (which has always been a bad thing to do in the first place)

Under these circumstances, "the bug" can become a huge problem. Maybe
unlikely for many use cases, but then huge.

> My superficial understanding, after skimming through the bug report,
> is that problems could be triggered just by *loading* one of the
> affected wifi driver modules.

With less superficial understanding, I fully agree with Greg.

> This would happen for any machine that
> has one of the "right" kinds of wifi hardware, even if that hardware
> isn't actively being used.

Exactly. Mere presence of wifi adapters will cause debian to load their
respective wifi driver modules, that in turn will invoke cfg80211, maybe
or not triggering cfg80211's bug.

> (Not just Broadcom either; at least one
> person reported an issue with Realtek.)

IIUC, that was Olivier's rtl88x2bu non-free wifi driver too, causing the
bug, but not Alberto's r8169, which is for wired LAN.

> Perhaps I'm reading it incorrectly, but I still feel it's wise to wait
> a little while and see if any more problems pop up, if stability is
> important to you.

Yes. If you're up to gambling, throw in all the computers you're willing
to spare. In case of solely remote controlled servers: I wouldn't.
Risking to lose control of servers is too much of a bet for too little
of a win, IMHO.

> I also salute the courage of those who've tested
> these recent changes.  Thank you all.

Appreciation for my small part (in pointing the problem out in the first
place) accepted, but please send your muchos kudos to Salvatore
Bonaccorso , who deserves credits for solving it.
-- 
Kevin Price



Re: Is it safe to install Bookworm on a new machine now?

2023-12-14 Thread Kevin Price
Rick:

Am 13.12.23 um 02:47 schrieb Rick Thomas:
> Is there a netinst iso that I can use to safely install Bookworm (stable) on 
> a new PC?

Possibly yes, but please read on.

> If so, where can I download it from?

Please always use official sources: https://www.debian.org/CD/

> If not, how much longer is it likely to be before one exists?

My worst guess is 12.5, in a few months from now. But 12.4 might likely
work perfectly fine for you, out of the box. If not, you can make 12.4
work for you right now. Here are some of my findings, assumptions, and
educated guesses for you regarding "the bug". Hoping to help you, no
guarantees. Any risks are yours, as always.

"The bug" (Bug#1057967 & Bug#1057969) occurs only in kernel version
6.1.66-1 (package -6.1.0-15, released with bookworm 12.4). No other
debian kernel version has this bug. It might not affect you, and it can
be remedied/worked around. If it does affect you, it won't fry your
filesystem, but the computer won't run properly under this kernel,
causing a lots of problems, making your computer largely unusable during
this runtime. I don't see any great danger in giving it a shot, if
you're reasonably careful to understand, and prepare for what might go
wrong.

(The much more dangerous kernel would be its predecessor, 6.1.64-1,
package 6.1.0-14, which was briefly released in bookworm 12.3, and very
quickly retracted. It might toast your ext4 filesystem. (Bug#1057843)
For that very reason, no official 12.3 media were ever publically
released. See the latest messages at https://www.debian.org/News/2023/ )

"The bug" (Bug#1057967, Bug#1057969) is within the kernel module
cfg80211, which is used for Wifi in general, regardless of your
adapter's specific WiFi driver. If your computer has WiFi, even if you
don't intend to use it, debian (including installer) will by default try
to load the appropriate driver modules, which will pull in cfg80211.

In case of the non-free broadcom-sta driver, binary "wl.ko" is known to
trigger the bug in cfg80211 in 6.1.66-1/6.1.0-15, which then causes lots
of problems during runtime. Whether any other WiFi drivers trigger this
bug as well, IDK. The _free_ broadcom driver (see
https://wiki.debian.org/bcm43xx ) doesn't seem to trigger this for me, YMMV.

Non-free drivers are not shipped in official bookworm media, but if you
actively choose non-free during the installation process or later,
broadcom-sta might then be installed, triggering "the bug". Don't
confuse this with non-free firmware. This is indeed shipped in official
bookworm media, but most likely won't trigger "the bug".

In your case, I'd try the bookworm 12.4 installer straight. By chance,
everything might turn out well.

If promblems occur that look like "the bug", I'd try one or more of the
following possible remedies/workarounds, each of which _might_ suffice,
but might cause some error messages or other issues. As soon as you've
updated to 6.1.67-1 (6.1.0-16, about to come), any remedies/workarounds
should be safe to be reverted. Maybe try the least inconvenient ones
first. I haven't tested all of them.

* Avoid "non-free". "non-free-firmware" should be O. K.
* Turn off your physical RF kill switch.
* Physically remove your WiFi adapter.
* Blacklist "cfg80211".
* Blacklist "wl".
* Use bookworm 12.2 installer media, but not netinst, without internet
access. Do not allow kernel updates, until 6.1.67-1/6.1.0-16 is
available. Presumably some of the folks in this list/thread might come
up with even more possible remedies/workarounds.

Again: no guarantees. Some of the above is not confirmed or tested. All
you do is at your own risk. But I hope I could help you understand "the
bug" and how to possibly avoid it, giving you more confidence in what
you're attempting to do. Please feel free to ask any further questions
to this list, and any reports I'd welcome here.
-- 
Kevin Price



Re: From which kernel should I upgrade my installed Debian to linux-image-6.1.0-15-amd64?

2023-12-11 Thread Kevin Price
l. Always have one extra, really. This
weekend that little extra carefulness paid for me. Another time, it will
for you.

Given all the above, in conjunction with autoremove, this might have
made some people's computers stranded with only -14 and -15 to boot
from. Out of which one might toast all their data, and the other one
might go nuts if their computer has wifi, and by chance they're using a
driver that cfg80211 can't cope with. Those users would be then out of luck.

What a terrible mess. /o\

I strongly believe in debian's honesty, because debian is based upon its
social contract.[2] Have you read and understood it? (It's a very
pleasant read.) The debian project is designed to be free and open, and
to be incapable of covering up anything that might have gone wrong. Much
better than that: Debian will publish just that in most detail. Having
screwed up twice in a row, debian will confess, big time. Had I
mentioned blog posts? (We might need a word with the moon regarding its
blue occurrence. Maybe don't do that twice in a weekend, please?) Debian
is empowering users. That includes that debian will never accept
liability for making anyone's computer unusable. If that ever happens,
then it's the user who's done it. Debian focuses on providing a free
operating system to anyone, enabling them to make best use of their
computers. And debian goes great lengths to help users prevent screwing up.

In order to get things straight (get kernels working), debian's
Salvatore Bonaccorso has been wonderful in pinpointing the -15's bug to
the cfg80211 module, and developing a remedy, which will hopefully be
introduced with future 6.1.0-16 maybe, soon to come. Not again hastily:
It's ready when it's ready. That's how debian's been excellent for 30 years.

So please feel empowered, use debian as much as you like, and if you
feel gratitude or appreciation, please feel free to express any of that.
Maybe towards the release or kernel teams, who've been working unpaid
nightshifts for 12.3, which suddenly became 12.4, and who still are, for
the folks who need to solve that -15 wifi bug. What are they doing it
for? For the good, expecting nothing in return. Just enjoy!

(Since you'd explicitly asked for advice, I hope there was not too much
mansplaining.)

[1] (installed. or in other cases, not installed, or in a specific
version, etc.)

[2] https://www.debian.org/social_contract
-- 
Kevin Price



Re: From which kernel should I upgrade my installed Debian to linux-image-6.1.0-15-amd64?

2023-12-11 Thread Kevin Price
Am 11.12.23 um 14:16 schrieb Stella Ashburne:
> Suppose I wish to upgrade to linux-image-6.1.0-15-amd64.

If that were the case, or maybe better to a newer one.

> Should I do it after booting my device into
> (1) linux-image-6.1.0-14-amd64 (the problematic kernel)

NO. Don't ever boot that as it might then toast your ext4.

> (2) linux-image-6.1.0-13-amd64 (which precedes the buggy one)

Yes.

> (3) doesn't matter which kernel to upgrade from

Yes, it largely doesn't matter, apart from the exception above.

HTH
-- 
Kevin Price



Re: Debian 12.3 image release delayed

2023-12-11 Thread Kevin Price
Am 11.12.23 um 04:36 schrieb Stella Ashburne:
> As for me, I won't be upgrading to the latest kernel just yet because a user, 
> Kevin Price, reported problems with the latest kernel version (cf. 
> https://lists.debian.org/debian-user/2023/12/msg00570.html)

That _might_ be a good idea. Currently the prime suspect is cfg80211
(WiFi). So there _might_ be a debian 12.4.1 coming up, who knows.

I'd _not_ universally recommend 12.4.0, which uses the faulty kernel
6.1.0-15. For now I'm holding on to 6.1.0-13 for general use, as well as
6.1.0-12 as a functioning backup. YMMV.

See https://bugs.debian.org/1057967 for Follow-up, and possibly
https://bugs.debian.org/1057967, which _might_ be the same bug, in which
case they'll be merged.

Time will tell.
-- 
Kevin Price



Re: 6.1.0-15/6.1.66-1 broken too?

2023-12-11 Thread Kevin Price
Please see https://bugs.debian.org/1057967 for follow-up.

Am 11.12.23 um 06:21 schrieb Stephan Verbücheln:
[...]
> My hardware is a 2014 Macbook Pro (Intel CPU and graphics).

Stephan and all, would you please post your information there? TIA
-- 
Kevin Price



Re: 6.1.0-15/6.1.66-1 broken too?

2023-12-10 Thread Kevin Price
I confirm that 6.1.66-1 (6.1.0-15) severely breaks my
amd64/bookworm/gnome physical machine, which runs fine with 6.1.52-1 and
6.1.55-1.

Am 10.12.23 um 20:24 schrieb Andrew M.A. Cater:
> On Sun, Dec 10, 2023 at 08:02:03PM +0100, Kevin Price wrote:
>> Am 09.12.23 um 19:09 schrieb Dan Ritter:
>>> The new kernel release is reported to contain an ext4 data
>>> corruption bug. It's prudent not to upgrade, or if you have
>>> started to upgrade, not to reboot, until a new kernel release
>>> is prepared.
>>
>> Thanks for your announcement. I'm running out of time to properly report
>> a bug against 6.1.66-1.
>>
>> #1057843 states that it's fixed with 6.1.0-15/6.1.66-1. This I highly
>> doubt. I handpicked that version from
>> https://deb.debian.org/debian/pool/main/l/ , and installed the 6.1.66-1
>> packages[1]. That was totally messed up and made my amd64 system highly
>> unresponsive and erratic to the point it would hang shutting down. So I
>> booted back into 6.1.0-13, which still works fine, and purged 6.1.0-14
>> and 6.1.0-15, and IOT have two working options, I reinstalled 6.0.1-12,
>> which had been autoremoved with the update.
>>
>> [1] Packages I used:
>>
>> [src:linux]
>> linux-compiler-gcc-12-x86_6.1.55-1_amd64.deb
>> linux-headers-6.1.0-13-amd64_6.1.55-1_amd64.deb
>> linux-headers-6.1.0-13-common_6.1.55-1_all.deb
>> linux-kbuild-6.1_6.1.55-1_amd64.deb
>> linux-libc-dev_6.1.55-1_amd64.deb
>>
>> [src:linux-signed-amd64]
>> linux-headers-amd64_6.1.55-1_amd64.deb (optional meta-pkg)
>> linux-image-6.1.0-13-amd64_6.1.55-1_amd64.deb
>> linux-image-amd64_6.1.55-1_amd64.deb (optional meta-pkg)
>>
>> Other versions I tried:
>> 6.1.0-12/6.1.52-1 works
>> 6.1.0-13/6.1.55-1 works
>> 6.1.0-14/6.1.64-1 broken, according to #1057843
>> 6.1.0-15/6.1.66-1 broken as experienced
>>
>> For now, I've purged the broken ones, and put the working ones on hold
>> with dpkg.
>>
>> Any ideas?
>> -- 
>> Kevin Price
>>
> 
> If you hand-picked packages: I would suggest using apt to upgrade the whole
> system .

Done that, now that 6.1.0-15/6.1.66-1 is available through apt.

> Kevin: Do you have any logs to show brokenness?

Which ones?

> For what it's worth,
> there were other updates and fixes besides just #1057843 in the new
> release.

Some of that must be the culprit, breaking my system.

What happens, at a first glance:

1. Bootup to the gdm greeter works, but there I get an unusal keyboard
layout. And everything takes longer.

2. There seems to be no network connectivity. (no WiFi icon)

3. Launching Firefox apparently does nothing.

4. Launching gnome-teminal works, but many commands just stall, such as
"sudo dmesg" or "ip a".

5. Shutting down takes ages, with systemd waiting for a bunch of
services to terminate, most of which seem to be network-related. After
much more that 10 min I used hard power-off.

I'm uncertain whether such an unstable system is even capable of going
through the reportbug script. Any ideas, which logfiles might be useful
to debug this issue, and whom to address this to, IOT to prevent similar
experiences from many more users?

Also what kind of testing could I usefully perform? Any kernel
parameters maybe?
-- 
Kevin Price



6.1.0-15/6.1.66-1 broken too?

2023-12-10 Thread Kevin Price
Am 09.12.23 um 19:09 schrieb Dan Ritter:
> The new kernel release is reported to contain an ext4 data
> corruption bug. It's prudent not to upgrade, or if you have
> started to upgrade, not to reboot, until a new kernel release
> is prepared.

Thanks for your announcement. I'm running out of time to properly report
a bug against 6.1.66-1.

#1057843 states that it's fixed with 6.1.0-15/6.1.66-1. This I highly
doubt. I handpicked that version from
https://deb.debian.org/debian/pool/main/l/ , and installed the 6.1.66-1
packages[1]. That was totally messed up and made my amd64 system highly
unresponsive and erratic to the point it would hang shutting down. So I
booted back into 6.1.0-13, which still works fine, and purged 6.1.0-14
and 6.1.0-15, and IOT have two working options, I reinstalled 6.0.1-12,
which had been autoremoved with the update.

[1] Packages I used:

[src:linux]
linux-compiler-gcc-12-x86_6.1.55-1_amd64.deb
linux-headers-6.1.0-13-amd64_6.1.55-1_amd64.deb
linux-headers-6.1.0-13-common_6.1.55-1_all.deb
linux-kbuild-6.1_6.1.55-1_amd64.deb
linux-libc-dev_6.1.55-1_amd64.deb

[src:linux-signed-amd64]
linux-headers-amd64_6.1.55-1_amd64.deb (optional meta-pkg)
linux-image-6.1.0-13-amd64_6.1.55-1_amd64.deb
linux-image-amd64_6.1.55-1_amd64.deb (optional meta-pkg)

Other versions I tried:
6.1.0-12/6.1.52-1 works
6.1.0-13/6.1.55-1 works
6.1.0-14/6.1.64-1 broken, according to #1057843
6.1.0-15/6.1.66-1 broken as experienced

For now, I've purged the broken ones, and put the working ones on hold
with dpkg.

Any ideas?
-- 
Kevin Price



Refund on Marketplace Charge

2023-12-04 Thread Kevin Truong
Hello,

It looks like I was charged for your Marketplace service: Debian GNU/Linux 9 
(Stretch)

I think this may be some sort of mistake because I believe this was not 
supposed to have a charge. I think I received notification there was no charge 
for this. Can you please cancel this charge and provide me with a refund?

This is my account email: ktruo...@gmail.com

Thank you,
Kevin Truong


Report Bug

2023-10-26 Thread Kevin Freeman
Dear friend,

Hello, I have a bug here that needs to be reported. It has been present in
multiple versions and still exists in Debian 12. The issue is related to
the desktop version's Wi-Fi icon and driver. While I can use Wi-Fi to
connect to the internet, I would like to have a more intuitive icon and a
toggle button, similar to what Ubuntu offers. I hope the community experts
can provide support or a viable solution as soon as possible.

Wishing you a wonderful day.

Kevin


Question téléchargement debian 12

2023-07-04 Thread Kevin ROBERT
Bonjour, excusez-moi de vous déranger mais j’ai vraiment du mal à faire la 
différence sur votre site. 

Pouvez-vous s’il vous plaît me donner le lien pour télécharger debian 12 pour 
serveur.

En vous remerciant


Re: Download links do not work

2022-09-11 Thread Kevin Price
Am 12.09.22 um 01:09 schrieb Tom Zarcone:
> Debian.org/download does not work. Not a single link works.

So double-check https://www.debian.org/download again.

All it says is “unable to connect”. I get this issue on every browser I use

Do you happen to be in a country whose government restricts Internet access?

Your IPv4 address 17.58.6.50 is allocated to Apple Inc.
-- 
Kevin



Re: net.ipv6.conf.intf.disable_ipv6 behavior changes

2022-09-03 Thread Kevin Price
Am 03.09.22 um 06:32 schrieb Casey Deccio:
>> On Sep 2, 2022, at 8:14 PM, Kevin Price  wrote

>> We got him. :) Casey, you file the bug report, Okay?

> Done!  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018999
> Thanks for all the help!

You are very welcome.

Thanks a lot for this conversation, which felt very pleasant to me, and
kind, productive, and helpful, even though especially my initial reply
was quite tight-lipped. Thanks to our well-working cooperation. We've
successfully and quite quickly pinpointed the cause of a real-world
problem that likely affects many others.

^5

IMHO, this is a good example of how I wish the Debian/FLOSS community to
always be. Or any good community, for that matter. If I may: Very well
done, Casey. *shoulder tap*

What caught my initial attention was the possibility of the kernel
broadly changing its behavior within a stable release, which in itself
would pose a huge problem, which to prevent is the very purpose of
stable. Glad that turned out to be false. Your appreciativeness
encouraged me to follow up on this, which rewarded me with quite some
fun in helping to solve this little puzzle with you, and with the bonus
of a few decoys in our way. ;D Out of curiosity I've subscribed to your
bug #1018999. Very well written. Its outcome we'll see.

As to if, when, and how it might get fixed, I'm not all that optimistic,
so you might want to stick with any workarounds for a while. (maybe a
tailored deb package that _Conflicts_: connman and _Recommends_:
network-manager, or else maybe a kernel boot command line parameter
"ipv6.disable=1", which completely overrides sysctl, or whatever may
suit your needs)

Although connman is actively being maintained upstream and in Debian
right now, it's far from granted this bug will be acknowledged as such
at all, either in Debian or upstream. Otherwise it might be dismissed as
connman's "expected behavior". Although I'm not in favor of that in this
case, I do understand the argument that a program designed for the sole
purpose of managing network interfaces, actually manages network
interfaces. Maybe not in the way we'd like. Maybe it could manage them
to more satisfaction by asking permission before overriding the user's
preference to disable_ipv6, which it doesn't. Thus #1018999.

In case your bug gets acknowledged, (which is a huge if) I'd expect any
resolution to appear in stable no sooner than in Bookworm, whenever that
may be released. (...very purpose of stable...) Also, in case bug
#1018999 is not going to be fully resolved to your needs, we might
consider filing a wishlist "bug report" against lxde to at least change
their recommendation into something less troublesome, such as
network-manager maybe. Which does not interfere with the user's
preferences in the same way.

Oh BTW, I ought to file another bug report against connman (if not
already pending) for not being able to be installed via ssh in a DHCP
environment. (because during postinst it reconfigures the network
interfaces, failing to use the proper FQDN in DHCP requests, thus
getting a new IP address assigned and cutting off the ssh session) Not
quite certain, but I guess this violates some existing Debian policy, or
else a new Debian policy to come into place rather soon. (bug report
against debian-policy)

Thank you Casey for being part of the Debian community. Your
participation makes Debian a better place to be, so please keep it up!
-- 
Kevin



Re: net.ipv6.conf.intf.disable_ipv6 behavior changes

2022-09-02 Thread Kevin Price
Am 03.09.22 um 02:15 schrieb Kevin Price:
> Let's double check whether our connman is in fact the culprit, and then
> make arrest. (file bug report)

We got him. :) Casey, you file the bug report, Okay?

Blank debian,

  apt --no-install-recommends install connman

will break "disable_ipv6" as you describe.

Another conman bug: cannot be installed via ssh, because something in
its installation process cuts the connection. (assigning new IP address)

Maybe connman would be a good package to avoid altogether, until all
those terrible bugs are resolved. How can such serious fuckup have made
it into stable. I bet you reporting this will resolve more than what
we've found.

And maybe the LXDE maintainers should reconsider their recommendation.

Your bug, Casey. You file it please.
-- 
Kevin



Re: net.ipv6.conf.intf.disable_ipv6 behavior changes

2022-09-02 Thread Kevin Price
Am 02.09.22 um 22:03 schrieb Casey Deccio:
> Then I ran tasksel and add Debian desktop environment and LXDE and rebooted.  
> At that point, disable_ipv6 does *not* work.
> 
> Now, this does seem to narrow it down--sort of.

It does. And *now* I can reproduce.

task-lxde-desktop requires lxde,
lxde recommends connman-gtk (or others),
connman-gtk requires connman.

So connman's my prime suspect. (what a pun :D )

>  But the confusing thing is that the system on which disable_ipv6 currently 
> *works* is also running LXDE.

lxde might be installed without connman, either ignoring the
recommendation, or having an alternative installed.

Let's double check whether our connman is in fact the culprit, and then
make arrest. (file bug report)

Thank you Casey for this little quiz. :D

Still please let us know in this list how it goes. :D
-- 
Kevin



Re: net.ipv6.conf.intf.disable_ipv6 behavior changes

2022-09-02 Thread Kevin Price
Am 02.09.22 um 15:46 schrieb Casey Deccio:
>> On Sep 2, 2022, at 2:51 AM, Kevin Price  wrote:
> Thanks for the idea.  I took your advice and booted my 5.10.0-17 system 
> (problem system) with 5.10.0-13.  The problem persisted!  Then I updated my 
> "old" (non-problem) system from Debian 11.3 to 11.4 and updated to kernel 
> 5.10.0-17, and I rebooted.  Still no problems!

So the kernel version is ruled out as culprit.

> Note: the problem system is a brand new install of Debian with only a few 
> packages installed (they are also installed on the non-problem system) and 
> very little customization.  I used the 11.3.0 netinst image to install, but 
> everything is up to date.  I've confirmed the behavior independently on two 
> fresh installs.
> 
> Another note: I'm running my tests on VMs in VirtualBox.  However, they are 
> running on the same version of VirtualBox and even on the same machine. Even 
> the version of VBox Guest Additions is the same.

I suspect your "very little customization" (since you're doing
networking stuff) or the "VBox Guest Additions" (since they mess with
network interfaces). In order to test this, I used
debian-11.3.0-amd64-netinst.iso from the archive to install a vm, but in
my case QEMU/KVM. German localization and no task selected but
task-ssh-server.

> Scratching my head...

The behavior is good. (disable_ipv6=1 works for me as intended) That
seems to confirm my original hunch.

I'm curious about the outcome, so maybe follow-up to this list please?
Any potential bugs should be reported. But probably I won't be able to
spare time to test VirtualBox.

HTH
-- 
Kevin



Re: net.ipv6.conf.intf.disable_ipv6 behavior changes

2022-09-02 Thread Kevin Price
Am 02.09.22 um 06:33 schrieb Casey Deccio:
> 1) a sanity check (can others confirm the behavior discrepancy?);

No. My 5.10.0-17 behaves like your 5.10.0-13.

2) an expectation of *correct* behavior (seems to me like the 5.10.0-13
behavior is "correct");

Yes.

and 3) suggestions for next steps.

FWIW, confirm by booting your 5.10.0-17 system with 5.10.0-13.

Figure out what other difference might be causing this.
-- 
Kevin



Re: Can I install Debian operating systems for money?

2022-08-10 Thread Kevin Price
Am 09.08.22 um 20:53 schrieb Dan Ritter:
> you
> can charge the reasonable cost of the media with Debian on it,
> if you are selling that.

You may even charge huge money for debian itself, not just for the
media. You are allowed to sell it for whatever your clients are willing
to pay, and your jurisdiction permits. And nobody may ever take this
freedom away from you. You might want to look up why that is:

* DFSG #1 https://www.debian.org/social_contract#guidelines

Further reading, two other attempts to define basically the same idea:

* freedom 2. https://www.gnu.org/philosophy/free-sw.html

* 1. https://opensource.org/osd
-- 
Kevin



Linux Kernel 5.16 from Backports Warnings

2022-03-18 Thread Kevin Exton
Hi All,

I just installed the latest kernel in the Debian Bullseye backports and I'm
getting these warnings:

W: Possible missing firmware /lib/firmware/i915/skl_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/glk_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/cml_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/icl_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.9.3.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.9.3.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/dg1_huc_7.9.3.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/dg1_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.9.3.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_62.0.0.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.9.3.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/adlp_guc_62.0.3.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/tgl_dmc_ver2_12.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/rkl_dmc_ver2_03.bin for
module i915
W: Possible missing firmware /lib/firmware/i915/adlp_dmc_ver2_12.bin for
module i915

Normally the solution to these missing firmware warnings is to install
firmware-misc-nonfree but I guess that hasn't been backported yet?

Am I going to have to put up with these warnings for a while? Or have I
missed something?

- Kevin


Chromium GPU sandbox error

2022-03-12 Thread Kevin Exton
Hi all,

When opening chromium 99 I'm seeing the following error in the logs:

ERROR:sandbox_linux.cc(364)] InitializeSandbox() called with multiple
threads in process gpu-process.

I've tried following the advice of setting the environment variable :

export MESA_GLSL_CACHE_DISABLE=true

And I'm still getting the same error.

Anything else I can try?

- Kevin


Re: Simple and secure blogging software for nginx

2022-03-10 Thread Kevin Exton
Static site generators are very nice to use. Gives you a simple text editor
for writing and then you just let the generator link all the pages and add
the pre-defined styling.

Never have to run down broken links again.

They take a little configuring to get it right initially though so you need
a little patience right in the beginning.

- Kevin

On Fri, Mar 11, 2022, 8:39 AM Christian Britz  wrote:

>
>
> On 2022-03-10 22:16 UTC+0100, Dan Ritter wrote:
>
> > nginx is just a web server, apache is just a web server. Nearly
> > any blog can be set up with either one of them, or a number of
> > other servers. Static sites don't need language support in the
> > server at all.
>
> Sure, I think I was not precise in my posting. I am willing to add
> something dynamic, and I was not sure if Apache and nginx support the
> same toolkits.
>
> You and others brought in several static content generators, I will
> consider that option too.
>
> --
> http://www.cb-fraggle.de
>
>


Wayland vs X

2022-03-08 Thread Kevin Exton
I tried Wayland some years ago now (might have been when they first
trialled it in Ubuntu) but decided not to stick with it.

Since more desktop environments are beginning to choose Wayland as the
default display protocol, I was wondering if others think there's
significant user benefits to making the change?

- Kevin


Hardware Acceleration on Chromium 99

2022-03-07 Thread Kevin Exton
Hi all,

I'm running chromium 99 on Bullseye:

Version 99.0.4844.51 (Official Build) built on Debian 11.2, running on
Debian 11.2 (64-bit)

And I can't get hardware acceleration working. I've followed the
instructions here:

https://wiki.debian.org/Chromium#Video_acceleration

As well as a variety of other online sources of increasingly dubious
quality, so I've decided to come to the mailing lists and plea for help.

I'm running an Intel i5-5300U processor (so quite old I suppose):
- Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz

with Intel Integrated graphics:
- Intel(R) HD Graphics 5500 (BDW GT2)

I've tried running it both with and without vulkan drivers enabled.

I'm runnin Vulkan Instance:
Vulkan Instance Version: 1.2.162

and some of the errors logs I'm getting particularly at startup look like
this:

*** stack smashing detected ***: terminated
[32829:32829:0100/00.428969:ERROR:sandbox_linux.cc(377)]
InitializeSandbox() called with multiple threads in process gpu-process.
[32829:32829:0100/00.432878:ERROR:vulkan_device_queue.cc(227)] Vulkan:
Intel(R) HD Graphics 5500 (BDW GT2)

I'm checking to see if hardware accelerated video decoding is working by
viewing this video in 1080p HD:
https://www.youtube.com/watch?v=HmZKgaHa3Fg

and looking at the output of intel_gpu_top, where the row for Video/0 stays
at 0%.

Anyone got any ideas?

- Kevin

<https://www.youtube.com/watch?v=HmZKgaHa3Fg>


Re: Offensive variable names [was: Cool down ...]

2021-07-12 Thread Kevin N.

Right, and I myself have lodged a ticket to ban bar after foo because it
might lead to blithe attitudes concerning alcohol in our vulnerable
youth.


Don't get me wrong: like many other things, offensive languages is a
serious one.
But, instead of helping, I think that you are in fact minimizing its
gravity with such exaggerated actions.





I guess my sense of humor may be a little too dry.


Well, online communication can be easily misunderstood.

That's why I added the "I still hope that you were joking though :)" part ;)


Cheers,

K.



Re: Offensive variable names [was: Cool down ...]

2021-07-12 Thread Kevin N.

Right, and I myself have lodged a ticket to ban bar after foo because it
might lead to blithe attitudes concerning alcohol in our vulnerable
youth.


Don't get me wrong: like many other things, offensive languages is a 
serious one.
But, instead of helping, I think that you are in fact minimizing its 
gravity with such exaggerated actions.


I for one, have never in my life thought of alcohol when I saw a 
variable named "foobar". That is ... until I saw your post today :) .


What's next? Should we also file a ticket to ban "chocolate bar".
Or maybe we should ban mathematics completely from computing, since the 
"bar" symbol is a frequently used one there?


https://mathworld.wolfram.com/Bar.html
https://mathworld.wolfram.com/Macron.html


Give today's youth a bit of credit. You might discover that they are 
smarter than you think.



I still hope that you were joking though :)


Cheers,

K.



Re: MTA (DMARC)

2021-07-09 Thread Kevin N.
Not sure if that is the case here, but sometimes mailing list software 
alters the original message headers which then can lead to failed DKIM 
signature checks.



Cheers,

K.



Hi,
I've wrote a message regarding my MTA.

I was thinking it's corrected but...

Here what I got from the Debian mailing list server
Got some idea ?

--


This is a spf/dkim authentication-failure report for an email message
received
  from IP 82.195.75.100 on Fri, 09 Jul 2021 22:12:17 +0200.

The message below did not meet the sending domain's dmarc policy.

For more information about this format please see
http://tools.ietf.org/html/rfc6591 .


Feedback-Type: auth-failure
User-Agent: szn-mime/2.1.11
Version: 1
Original-Mail-From: bounce-debian-user=buz.hrach=seznam...@lists.debian.org
Original-Rcpt-To: buz.hr...@seznam.cz
Source-Ip: 82.195.75.100
Reported-Domain: lists.debian.org
Authentication-Results: email.seznam.cz 1;
spf_align=fail;
dkim_align=fail
Delivery-Result: delivered


Received: from bendel.debian.org (bendel.debian.org [82.195.75.100])
by email-smtpd1.ko.seznam.cz (Seznam SMTPD 1.3.125) with ESMTP;
Fri, 09 Jul 2021 22:12:17 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
by bendel.debian.org (Postfix) with QMQP
id D8BBA20C7F; Fri,  9 Jul 2021 20:12:15 + (UTC)
X-Mailbox-Line: From debian-user-requ...@lists.debian.org  Fri Jul  9
20:12:15 2021
Old-Return-Path: 
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on bendel.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-15.3 required=4.0
tests=DIGITS_LETTERS,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,LDOSUBSCRIBER,LDO_WHITELIST,
NICE_REPLY_A,PGPSIGNATURE autolearn=unavailable autolearn_force=no
version=3.4.2
X-Original-To: lists-debian-u...@bendel.debian.org
Delivered-To: lists-debian-u...@bendel.debian.org
Received: from localhost (localhost [127.0.0.1])
by bendel.debian.org (Postfix) with ESMTP id 21C8E20C6C
for ; Fri,  9 Jul 2021 20:12:08
+ (UTC)
X-Virus-Scanned: at lists.debian.org with policy bank en-ht
X-Amavis-Spam-Status: No, score=-11.101 tagged_above=-1 required=5.3
tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
LDO_WHITELIST=-5, NICE_REPLY_A=-0.001, PGPSIGNATURE=-5, URI_HEX=0.1]
autolearn=ham autolearn_force=no
Received: from bendel.debian.org ([127.0.0.1])
by localhost (lists.debian.org [127.0.0.1]) (amavisd-new, port 2525)
with ESMTP id 1C8FK9O9R4wF for ;
Fri,  9 Jul 2021 20:12:03 + (UTC)
X-policyd-weight: using cached result; rate: -4.6
Received: from cyrania.com (cyrania.com [162.213.253.79])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client did not present a certificate)
by bendel.debian.org (Postfix) with ESMTPS id 41BC220C07
for ; Fri,  9 Jul 2021 20:12:03 + 
(UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=polynamaude.com; s=default; 
h=Content-Type:In-Reply-To:MIME-Version:Date:
Message-ID:Cc:References:To:From:Subject:Sender:Reply-To:
Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:
Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:

List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
bh=+sOBJuEBMYyyn07XmbyL3ZhQgjte6V2z7NjRnO47Q50=;
b=S1tAbB2sbqI2sRIMXZDfNyhV/m

PQVXycU120Vru+cN7r+ODT2ASB8yZpuSDG4RFNTAF1uG3sl4RG8c2vBLhZs9QKIZ/1rYU6pYAcExM

lXzfSlqCHJY/bG2e3Kc2RN04A3guikgnhbupfSip0DwK1rP7AJIy7zDAm9bJLD2f3RU8dw2z/jgbI

2EKllS6ycufPVqVPX5I38UUVqhG2JwNzK11v3mNAdGIxYxWzVIkCNctHNmzjNFn5ijsowpFlR3i78

I8PX50XsqVs6kaiVfI+hdNt5vO7l5BIAFeiB3aDaqaONRdzCKiuphW8UWopNfh0RddkB/yYQulFjZ
ng9LWTIA==;
Received: from [38.133.51.49] (port=38228 helo=[192.168.1.202])
by premium58.web-hosting.com with esmtpsa  (TLS1.2) tls
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.94.2)
(envelope-from )
id 1m1wqo-001LYR-QV; Fri, 09 Jul 2021 16:11:59 -0400
Subject: Re: MTA (corrected)
From: Polyna-Maude Racicot-Summerside 
To: Greg Wooledge 
References: <1eaaa445-fadb-360c-4d48-1c076729c...@polynamaude.com>
  
  
  <20210705135736.gb1672...@zira.vinc17.org>
  
  
  <7f15ae5d-4d91-3f32-1493-a9c468a39...@polynamaude.com>
  
  <8a1e2468-20e0-538d-59d9-fe0401dc9...@polynamaude.com>
Cc: "User Mailing List (Debian)" 
Message-ID: <5b6656f4-902b-b975-1ebe-095675d4e...@polynamaude.com>
Date: Fri, 9 Jul 2021 16:11:49 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
  Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <8a1e2468-20e0-538d-59d9-fe0401dc9...@polynamaude.com>
Content-Type: multipart/signed; micalg=pgp-sha256;
  protocol="application/pgp-signature";
  boundary="dV4TqS38M5U0zIBLIp2kkqlMOSNAz1F0O"
X-OutGoing-Spam-Status: No, 

Re: Help: explanation of secure flash?

2021-07-06 Thread Kevin N.

Can somebody provide either a little more explanation and / or a link to a
(reasonably simple) reference?


https://www.embeddedcomputing.com/technology/security/network-security/secure-flash-the-cure-for-insecurity-in-connected-automotive-and-industrial-applications-part-1

https://www.embeddedcomputing.com/technology/security/network-security/secure-flash-the-cure-for-insecurity-in-connected-automotive-and-industrial-applications-part-2


Cheers,

K.



Re: Conflicting alternatives

2021-02-22 Thread Kevin Shell
On Mon, Feb 22, 2021 at 01:39:18PM +, Curt wrote:
> On 2021-02-22, Kevin Shell  wrote:
> >> 
> >> Maybe it's some problem specific to news.free.fr.
> >> 
> >
> > How the two sites news.bofh.it/erode.bofh.it news.free.fr are connected?
> > Is news.bofh.it feeding articles to news.free.fr?
> 
> They are not connected.
> 
But I see your posts are coming into
the debian user list thru  news.bofh.it / erode.bofh.it?

Received: from erode.bofh.it (erode.bofh.it [85.94.204.147])
by bendel.debian.org (Postfix) with ESMTP id D507E20160
for ; Mon, 22 Feb 2021 13:40:05 + 
(UTC)
Received: from erode.bofh.it (localhost [IPv6:::1])
by erode.bofh.it (Postfix) with ESMTP id AD584907E04
for ; Mon, 22 Feb 2021 14:40:02 +0100 
(CET)

> > By the way,
> > the site news.bofh.it/erode.bofh.it 's gateway scripts
> > rewrite the "In-Reply-To" and "References" header 
> > values(x...@gated-at.bofh.it),
> > breaking mail reader's threading.
> >
> 
> I regret this, if true, but have no control over it (other than using
> news.free.fr, the newserver of my ISP, which is and was my intention
> (but to which some posts never seem to arrive)).
> 
The server news.bofh.it / erode.bofh.it rewrites "Message-ID" field value,
which it should't as it breaks message threading.

-- 
kevin



Re: How to view a troff formatted file?

2021-02-22 Thread Kevin Shell
On Mon, Feb 22, 2021 at 07:08:12AM -0500, The Wanderer wrote:
> On 2021-02-22 at 07:04, Richard Owlett wrote:
> 
> > I have downloaded a program with a man-page in troff format.
> > How do I view it?
> 
> The naive approach would be to try:
> 
> $ man -l /path/to/man-page-file
> 
> There are probably other ways, but since this is specifically a man
> page, that'd be my first attempt.
> 
nroff -man /path/to/nrofffile [...] | less -R

-- 
kevin



Re: Conflicting alternatives

2021-02-22 Thread Kevin Shell
On Mon, Feb 22, 2021 at 10:18:36AM -, Curt wrote:
> On 2021-02-22, Andrei POPESCU  wrote:
> >
> > I'm not aware of doing anything special, just reply-to-list (Cc'd you on=20
> > this message though).
> >
> > Is it only my messages you are missing?
> >
> 
> You do appear here on the gmane server, but remain MIA on news.free.fr.
> 
> Maybe it's some problem specific to news.free.fr.
> 

How the two sites news.bofh.it/erode.bofh.it news.free.fr are connected?
Is news.bofh.it feeding articles to news.free.fr?

By the way,
the site news.bofh.it/erode.bofh.it 's gateway scripts
rewrite the "In-Reply-To" and "References" header values(x...@gated-at.bofh.it),
breaking mail reader's threading.

> 

-- 
kevin



Re: Conflicting alternatives

2021-02-17 Thread Kevin Shell
On Wed, Feb 17, 2021 at 02:31:27PM -0600, David Wright wrote:
> 
> Yes, sorry; I was thinking about Stefan's comment about "running
> two different SMTP servers on two different interfaces", which seems
> to be +some+ sort of use case. Might they then be able to deliver
> to the a common MDA?
> 
> > It's probably great for learning about all the MTAs, but the
> > original requester desperately wants to install multiple MTAs
> > on the same machine at the same time.
> 
> And the OP's use case? "For convenience when one evaluating or
> learning between multiple MTAs etc."
> 

It's not specific MTA only I think.

> As I first wrote, why not two machines, each one with a different
> MTA, and then studying their interoperation.
> 
> Or as Greg just put it:
>  →
> ↑ ↓
>  ←

Ok, if we enter the loop again
let's end the discussion thread here.
Good to talk to everyone participated. :-)

-- 
kevin



Re: Conflicting alternatives

2021-02-17 Thread Kevin Shell
On Wed, Feb 17, 2021 at 10:49:35AM -0500, The Wanderer wrote:
> On 2021-02-17 at 10:25, David Wright wrote:
> 
[...]
> I think what he's wanting is a case which would allow installing
> busybox-static, but not insist on removing busybox. (Or the equivalent
> in his actual use-case, where the files installed by the two packages
> might not actually overlap.)
> 
yes.
Supose my system
have installed these packages exim4-base exim4-config exim4-daemon-heavy


What I'd hope apt to do is
# apt install postfix

Output:
[...]
The following packages will be REMOVED:
  exim4-base exim4-config exim4-daemon-heavy
The following NEW packages will be installed:
  postfix


Case 1 the default: User hit Enter key and apt remove exim4 and install
postfix
Case 2: user choose to keep exim4 and apt keep it and install postfix

> Where that runs into trouble is that even if the *files* don't overlap,
> other resources which the package needs to control exclusively quite
> possibly do - the most prominent example, from the discussion at hand
> regarding MTAs, being port 25.

You could stop one and start the other,
there's no resources or port conflict.
I want to just keep both, not run them at the same time.

-- 
kevin



Re: Conflicting alternatives

2021-02-17 Thread Kevin Shell
On Tue, Feb 16, 2021 at 07:19:52PM -0500, Stefan Monnier wrote:
> 
[...]
> It'd be work in the DPKG/APT code, yes.  But it would require no extra
> work from the people doing the packaging.
> 

I know little technical details about the Debian package manager,
from an end user's perspective, the package manager should give the user
the choise not to uninstall a wanted package,
if the user don't give a choise, the package manager can perform the
default action to remove the package. 
I think this method is a better default behavior for the package manager 
for some similar packages.

-- 
kevin



Re: Debian switchable MTA mechanism

2021-02-16 Thread Kevin Shell
On Wed, Feb 17, 2021 at 07:47:51AM +0800, Kevin Shell wrote:
> On Wed, Feb 17, 2021 at 07:39:15AM +0800, Kevin Shell wrote:
> > On Tue, Feb 16, 2021 at 04:38:06PM -0600, David Wright wrote:
> > > On Tue 16 Feb 2021 at 17:48:25 (+0800), Kevin Shell wrote:
> > > 
> > [...]
> > > > Isn't Debian already has a /etc/alternatives/ mechanism?
> > > 
> > > AIUI all the targets of /etc/alternatives are all installed at the
> > > same time, and can be simultaneously run without conflicting with
> > > each other. The links merely select which target is run (and
> > > documented) by invoking a name, like "www-browser" (→ lynx for me),
> > > "awk" (gawk) or "rename" (the Perl one). I might be running firefox,
> > > mawk and rename.ul (by their specific name) at the same time as the
> > > "default" versions.
> > > 
> > 
> > I asked this question because on my laptop there's an alternatives system
> > that can keep several programs providing the same or similar functions
> > at the same time.
> > Debian also has an alternatives system but doesn't allowed to install
> > multiple MTAs. 
> > 
> > https://github.com/fedora-sysv/chkconfig/blob/master/alternatives.c
> > $ dnf info alternatives
> > Name : alternatives
> > Summary  : A tool to maintain symbolic links determining default 
> > commands
> > URL  : https://github.com/fedora-sysv/chkconfig
> > License  : GPLv2
> > Description  : alternatives creates, removes, maintains and displays 
> > information about
> >  : the symbolic links comprising the alternatives system. It is 
> > possible
> >  : for several programs fulfilling the same or similar 
> > functions to be
> >  : installed on a single system at the same time.
> > 
> > 
> > 
> besides BSD systems also have a similar system call mailwrapper
 called
> http://man.openbsd.org/mailwrapper.8
> 

-- 
kevin



Re: Debian switchable MTA mechanism

2021-02-16 Thread Kevin Shell
On Wed, Feb 17, 2021 at 07:39:15AM +0800, Kevin Shell wrote:
> On Tue, Feb 16, 2021 at 04:38:06PM -0600, David Wright wrote:
> > On Tue 16 Feb 2021 at 17:48:25 (+0800), Kevin Shell wrote:
> > 
> [...]
> > > Isn't Debian already has a /etc/alternatives/ mechanism?
> > 
> > AIUI all the targets of /etc/alternatives are all installed at the
> > same time, and can be simultaneously run without conflicting with
> > each other. The links merely select which target is run (and
> > documented) by invoking a name, like "www-browser" (→ lynx for me),
> > "awk" (gawk) or "rename" (the Perl one). I might be running firefox,
> > mawk and rename.ul (by their specific name) at the same time as the
> > "default" versions.
> > 
> 
> I asked this question because on my laptop there's an alternatives system
> that can keep several programs providing the same or similar functions
> at the same time.
> Debian also has an alternatives system but doesn't allowed to install
> multiple MTAs. 
> 
> https://github.com/fedora-sysv/chkconfig/blob/master/alternatives.c
> $ dnf info alternatives
> Name : alternatives
> Summary  : A tool to maintain symbolic links determining default commands
> URL  : https://github.com/fedora-sysv/chkconfig
> License  : GPLv2
> Description  : alternatives creates, removes, maintains and displays 
> information about
>  : the symbolic links comprising the alternatives system. It is 
> possible
>  : for several programs fulfilling the same or similar functions 
> to be
>  : installed on a single system at the same time.
> 
> 
> 
besides BSD systems also have a similar system call mailwrapper
http://man.openbsd.org/mailwrapper.8

-- 
kevin



Re: Debian switchable MTA mechanism

2021-02-16 Thread Kevin Shell
On Tue, Feb 16, 2021 at 04:38:06PM -0600, David Wright wrote:
> On Tue 16 Feb 2021 at 17:48:25 (+0800), Kevin Shell wrote:
> 
[...]
> > Isn't Debian already has a /etc/alternatives/ mechanism?
> 
> AIUI all the targets of /etc/alternatives are all installed at the
> same time, and can be simultaneously run without conflicting with
> each other. The links merely select which target is run (and
> documented) by invoking a name, like "www-browser" (→ lynx for me),
> "awk" (gawk) or "rename" (the Perl one). I might be running firefox,
> mawk and rename.ul (by their specific name) at the same time as the
> "default" versions.
> 

I asked this question because on my laptop there's an alternatives system
that can keep several programs providing the same or similar functions
at the same time.
Debian also has an alternatives system but doesn't allowed to install
multiple MTAs. 

https://github.com/fedora-sysv/chkconfig/blob/master/alternatives.c
$ dnf info alternatives
Name : alternatives
Summary  : A tool to maintain symbolic links determining default commands
URL  : https://github.com/fedora-sysv/chkconfig
License  : GPLv2
Description  : alternatives creates, removes, maintains and displays 
information about
 : the symbolic links comprising the alternatives system. It is 
possible
 : for several programs fulfilling the same or similar functions to 
be
 : installed on a single system at the same time.


-- 
kevin



Re: Debian switchable MTA mechanism

2021-02-16 Thread Kevin Shell
On Tue, Feb 16, 2021 at 08:33:50AM -0500, Dan Ritter wrote:
> Kevin Shell wrote: 
> > On Tue, Feb 16, 2021 at 06:39:03AM -0500, Dan Ritter wrote:
> > [...]
> > > Don't purge them. Just install each of them in turn. Then the
> > > command to move to the next one is
> > > 
> > > apt install MTA-NAME
> > > 
[...]
> 
> > I think the Debian's /etc/alternatives/ method could be applied to MTAs
> > or other similar packages.
> 
> It could be, but it isn't. Do you want to use a method that
> works and is supported, or a method that isn't currently implemented?
> 

Yes, I want a method that natively supported by the Apt packages manager.
> 

-- 
kevin



Re: Debian switchable MTA mechanism

2021-02-16 Thread Kevin Shell
On Tue, Feb 16, 2021 at 08:33:50AM -0500, Dan Ritter wrote:
> Kevin Shell wrote: 
> > On Tue, Feb 16, 2021 at 06:39:03AM -0500, Dan Ritter wrote:
> > [...]
> > > Don't purge them. Just install each of them in turn. Then the
> > > command to move to the next one is
> > > 
> > > apt install MTA-NAME
> > > 
> > Looks like stupid to use this command to switch MTA. 邏
> 
> Are you calling me stupid for answering your question?

No, you misunderstand me!
I mean using the install command is not suitable.

> 
> > I think the Debian's /etc/alternatives/ method could be applied to MTAs
> > or other similar packages.
> 
> It could be, but it isn't. Do you want to use a method that
> works and is supported, or a method that isn't currently implemented?
> 
> -dsr-
> 

-- 
kevin



Re: Debian switchable MTA mechanism

2021-02-16 Thread Kevin Shell
On Tue, Feb 16, 2021 at 06:39:03AM -0500, Dan Ritter wrote:
> 
> You have an unusual use-case. 
> 
yeah, weird use case. 邏

> > > > Fedora, Centos etc. allow users to install multiple MTAs at the same 
> > > > multiple MTAs at the same time.
> 
[...]
> Don't purge them. Just install each of them in turn. Then the
> command to move to the next one is
> 
> apt install MTA-NAME
> 
Looks like stupid to use this command to switch MTA. 邏

I think the Debian's /etc/alternatives/ method could be applied to MTAs
or other similar packages.

For example, there's symlink /etc/alternatives/editor => /usr/bin/vim.basic,
 /usr/bin/emacs
 ...

Similarly the Debian packager could add
/etc/alternatives/MTA => /usr/sbin/sendmail.sendmail
 /usr/sbin/sendmail.postfix
 /usr/sbin/sendmail.exim
 ...

> which shouldn't even incur any network traffic, since you have
[...]
> > Is this a difficult task?
> > Isn't Debian already has a /etc/alternatives/ mechanism?
> 
> You may be the first person to ever ask for such a thing. That
> doesn't make it difficult, it just makes it not currently a
> feature.
> 

Yeah, I need a weird setting. 
> 
> 

-- 
kevin



Re: Debian switchable MTA mechanism

2021-02-16 Thread Kevin Shell
On Tue, Feb 16, 2021 at 11:13:36AM +0200, Georgi Naplatanov wrote:
> Hi Kevin.
> 
> What is the use-case for multiple MTAs, port 25 is only one.
> 
I run a VPS, for study purpose to switch between MTAs not having
to remove one to get the other, I want to keep them installed at the
same time. You can stop one and run the other, there's no conflict.

> If you want multiple MTAs then you can use some kind of virtualization
> like Docker for example.
> 

-- 
kevin



Re: Debian switchable MTA mechanism

2021-02-16 Thread Kevin Shell
On Tue, Feb 16, 2021 at 11:29:54AM +0200, Andrei POPESCU wrote:
> On Ma, 16 feb 21, 16:37:20, Kevin Shell wrote:
> > Hello Debian Users.
> > 
> > Why Debian does't have a switchable MTA mechanism
> > to allow install multiple MTAs at the same time?
> 
> Why do you need this?
> 

For convenience when one evaluating or learning
between multiple MTAs etc.

> > Fedora, Centos etc. allow users to install multiple MTAs at the same 
> > multiple MTAs at the same time.
> > There's a "alternatives --config mta" command
> > to allow to choose between alternative MTA.
> 
> Installing and removing/purging packages has traditionally been very 
> easy in Debian, 

removing/purging one MTA & reinstalling another MTA in the above 
situation is unnecessary and inconvenient.

>such a mechanism would have limited benefits for 
> significant added complexity.
> 
Is this a difficult task?
Isn't Debian already has a /etc/alternatives/ mechanism?

-- 
kevin



Debian switchable MTA mechanism

2021-02-16 Thread Kevin Shell
Hello Debian Users.

Why Debian does't have a switchable MTA mechanism
to allow install multiple MTAs at the same time?

Fedora, Centos etc. allow users to install 
multiple MTAs at the same time.
There's a "alternatives --config mta" command
to allow to choose between alternative MTA.

-- 
kevin



Re: Stream m3u8 not supported by network music player

2019-08-01 Thread Kevin DAGNEAUX

Le 01/08/2019 à 09:41, john doe a écrit :

On 7/31/2019 1:04 PM, john doe wrote:

Answering from this e-mail to all of the answers.

On 7/30/2019 1:50 PM, Celejar wrote:

On Tue, 30 Jul 2019 13:04:10 +0200
john doe  wrote:


stream from the above (VLC does it, so I should be able to  do the same).

As suggested I will look at transcoding if I can't find that direct URL.


Looking at transcoding to mp3 using vlc I see that I will require to
install x11 and other packages.

If I'm successfull, the transcoding will be done on a server where x11
won't be available which makes the use of vlc not practical.
Is there a command line (CLI) alternative to vlc for transcoding to mp3
and streaming that transcoded mp3 stream to my devices?

--
John Doe


VLC can work without X11
<>

Re: Stream m3u8 not supported by network music player

2019-07-30 Thread Kevin DAGNEAUX

Le 30/07/2019 à 13:04, john doe a écrit :

Hi,

I listen to a webradio for which I have a direct URL but my network
music players do not support the 'm3u8' format.
I'm thinking to convert in realtime this m3u8 stream to a supported
stream (mp3), is it the best way forward or is there a better approach?
If it is the best way forward, how would I go about it?

Obviously, asking for a compatible stream would be ideal but if I find a
way to do it on my own I could also apply this method to other stream.

I'd like to only do it with Debian packages.

Any help is appreciated.

--
John Doe


Hi John,

You can play and/or trancode your stream using VLC.

VLC is availlable in Debian's repos.

<>

Re: web page problem

2019-06-14 Thread Kevin DAGNEAUX

Le 14/06/2019 à 15:04, Joe a écrit :

On Fri, 14 Jun 2019 14:58:05 +0200
 wrote:


On Fri, Jun 14, 2019 at 08:46:51AM -0400, Greg Wooledge wrote:

On Thu, Jun 13, 2019 at 06:11:03PM -0400, Gene Heskett wrote:

looks good, but the problem is, only gene=user 1000 has any
rights to follow that path, so this access must be done as gene,
not the default www-data:www-data, or even as the parent session
of apache2..

So change the ownership/permissions on the content.  To serve it up
from a web server, you need to make it world-readable.  This means
that directories require the x bit, and files require the r bit,
for the "other" (right-most characters in ls -l output, least
significant bits in the octal mode).

Perhaps group readable (074x, x being usually 0) and setting the
file's group would suffice?

That's my standard setup: the files belong to a "www admin" (can be a
regular user, can be root) and have the group www-data. So the web
server hasn't (usually) write access to normal htmls and cgi-bins
(oh, for the last, execute access for the group is necessary, so 075x.

Better safe than...


Even safer, post/run it on someone else's web server. Web space is no
longer given away free by (most) ISPs, but a small amount can be had for
'hobby' money now.


Another approch is to use apache mpm itk


<>

Re: Speed Problem Copying Files

2019-05-09 Thread Kevin DAGNEAUX

Le 09/05/2019 à 11:46, Lothar Schilling a écrit :

Am 09.05.2019 um 11:14 schrieb Jonas Smedegaard:

Quoting Lothar Schilling (2019-05-09 10:49:32)

for years I have used CentOS for our server landscape. Now I decided
to give Debian a try.

Welcome to Debian!

I sincerely hope you will appreciate Debian.



I just set up a Stretch 9.8 system supposed to become our main backup
server. So I set up a backup job wih rsync. But the going is really
very very slow. Trying to figure out what's happening:

   * iperf -c [host] => bandwith almost 1000 Mbit, that's fine.
   * dd if=/dev/zero of=/daten/testfile bs=1G count=10 oflag=direct =>
 10737418240 Bytes (11 GB, 10 GiB) kopiert, 40,4992 s, 265 MB/s, so
 that's fine as well

But whenever I try to rsync, cp or scp - whether copy files on the local
hard disk only or over the network - speed goes down to 500 kB/s.

Filesystem is ext4.

I don't have any clue about what's going on. Any kind of help would be
appreciated, thank you!

Is _only_ transfer speed affected?

I am no expert in this, but imagine that if you rsync massive amounts
involving hardlinks then memory becomes a problem too.

Perhaps run atop to monitor bottlenecks live


  - Jonas


It is most definitely not a memory or cpu problem. It's a HP Proliant
with 32 GB RAM and a Intel Xeon CPU 2.40GHz with 4 cores. Also the
problem stays the same if I just copy one large file.


Check if it's related to the disk speed (hdparm and/or iotop).

Kevin

<>

Re: Remote Access

2019-04-17 Thread Kevin DAGNEAUX


Le 17/04/2019 à 15:35, Francisco M Neto a écrit :

Greetings!

At work, we have several computers that are located at different
locations throughout the country. Some of them are highly inaccessible by usual
means, and it requires a certain planning to reach them to have direct access.
Therefore, we have been using TeamViewer software to access those machines
remotely.

However, the "powers that be" have decided that TeamViewer is not worth
the investment on a commercial license for unrestricted use, and therefore I
have been asked to find a replacement.

Do any of you good fellows know of some software (or service for that
matter) that might perform the same task? Regular VNC (e.g. tigervnc) is not
quite enough, since each site runs inside the infrastructure of other people,
and therefore we do not have control over their networking environment; some of
the have real IPs, and others are behind firewalls and NATs, which render a
regular direct connection impossible.

Thanks in advance,
Francisco


Hi,

You can take a look at anydesk

Kevin

<>

Re: Accessing a host with variable IP addresses / connection types

2019-04-17 Thread Kevin DAGNEAUX


Le 17/04/2019 à 14:15, Celejar a écrit :

On Wed, 17 Apr 2019 08:37:20 +0200
Kevin DAGNEAUX  wrote:


Hi,

I've been bedeviled by this question for a while, but have been unable
to figure out a clean, non-hackish solution. It may be an XY problem ...

I have a system (laptop, running Debian) that is sometimes connected
directly to my LAN, and sometimes connected via VPN (wireguard, to the
local router, running OpenWrt). The LAN is 192.168.0.0/24, with the
laptop having a fixed, static address in that range (although I'm
certainly open to using DHCP, possibly with a fixed address
reservation). The VPN is 10.0.0.0/24, with the laptop getting a fixed,
static address in that range (and wireguard apparently doesn't work
with dhcp).

I currently have an entry in /etc/hosts on the various LAN hosts
assigning a hostname to the laptop's fixed local address, and the LAN
hosts can access the laptop via that hostname. [I could alternatively
use dnsmasq, which is running on the router regardless.] This obviously
doesn't work when the laptop is connected via VPN. [The laptop can
access the LAN hosts fine via their hostnames, so I seem to have the
routing correctly configured on the laptop and the router.]

What I seem to want (but maybe XY?) is some way to adjust the host
files (or dnsmasq's information) so that the hostname will resolve to
the LAN address when the laptop is connected to the LAN, and the VPN
address when it's connected via VPN. If everything was using DHCP, this
would be straightforward enough, but as I said, the VPN apparently
needs to be configured statically, and not via DHCP. I could obviously
use some custom script (using, say, ageas, to modify host files) but
this seems hackish. What is a standard, 'correct' way to do this, or
more generally, to enable the LAN hosts to access the laptop
seamlessly regardless of its IP address and connection type?

Celejar


Hi,

A possible solution is to use a bridged VPN, in this case, your laptop
will always have the same IP.

Thanks. I can't seem to find much information about this - can you
elaborate, or point me to a link? [I'm not a networking expert.]

Currently, my LAN is 192.168.0.0/24, which is also the addressing
scheme of some of the networks out of my control that I'm setting up a
VPN link from. I deliberately used 10.0.0.0/24 for the VPN to avoid
address collisions with these other networks. It did occur to me to
consider using a different address space, for the VPN or perhaps for the
whole home LAN, but I'd rather not take that step just to solve what
seems a relatively simple problem unless absolutely necessary

Celejar


Celjar,

You can find some explaination at 
https://openvpn.net/community-resources/ethernet-bridging/


Using common network adressing will often give address collisions when 
using VPN (routed or bridged VPN), like if on your home network and 
remote network you have 2 machin with same IP, one of them will not be 
reachable (depending of your routing table).


Kevin

<>

Re: Accessing a host with variable IP addresses / connection types

2019-04-17 Thread Kevin DAGNEAUX



Hi,

I've been bedeviled by this question for a while, but have been unable
to figure out a clean, non-hackish solution. It may be an XY problem ...

I have a system (laptop, running Debian) that is sometimes connected
directly to my LAN, and sometimes connected via VPN (wireguard, to the
local router, running OpenWrt). The LAN is 192.168.0.0/24, with the
laptop having a fixed, static address in that range (although I'm
certainly open to using DHCP, possibly with a fixed address
reservation). The VPN is 10.0.0.0/24, with the laptop getting a fixed,
static address in that range (and wireguard apparently doesn't work
with dhcp).

I currently have an entry in /etc/hosts on the various LAN hosts
assigning a hostname to the laptop's fixed local address, and the LAN
hosts can access the laptop via that hostname. [I could alternatively
use dnsmasq, which is running on the router regardless.] This obviously
doesn't work when the laptop is connected via VPN. [The laptop can
access the LAN hosts fine via their hostnames, so I seem to have the
routing correctly configured on the laptop and the router.]

What I seem to want (but maybe XY?) is some way to adjust the host
files (or dnsmasq's information) so that the hostname will resolve to
the LAN address when the laptop is connected to the LAN, and the VPN
address when it's connected via VPN. If everything was using DHCP, this
would be straightforward enough, but as I said, the VPN apparently
needs to be configured statically, and not via DHCP. I could obviously
use some custom script (using, say, ageas, to modify host files) but
this seems hackish. What is a standard, 'correct' way to do this, or
more generally, to enable the LAN hosts to access the laptop
seamlessly regardless of its IP address and connection type?

Celejar


Hi,

A possible solution is to use a bridged VPN, in this case, your laptop 
will always have the same IP.


Kevin

<>

Re: Debugging samba

2019-04-12 Thread Kevin DAGNEAUX


DAGNEAUX Kevin
Service informatique
03 29 36 88 85
kevin.dagne...@fiitelcom.fr

Le 12/04/2019 à 12:11, deloptes a écrit :

Kevin DAGNEAUX wrote:


[2019/04/12 10:31:57.105329,  0]
../source3/locking/posix.c:455(decrement_lock_ref_count)
PANIC: assert failed at ../source3/locking/posix.c(455):
lock_ref_count >= 0
[2019/04/12 10:31:57.105373,  0] ../source3/lib/util.c:791(smb_panic_s3)
PANIC (pid 2206): assert failed: lock_ref_count >= 0
[2019/04/12 10:31:57.106329,  0]
[../source3/lib/util.c:902(log_stack_trace)
BACKTRACE: 29 stack frames:
#0 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(log_stack_trace+0x1c)
[0x7f9e6a6a6c0c]

google tells me many similar issues

https://bugzilla.samba.org/show_bug.cgi?id=13650
https://bugzilla.samba.org/show_bug.cgi?id=13558
https://bugzilla.samba.org/show_bug.cgi?id=13443
https://bugzilla.samba.org/show_bug.cgi?id=13439
https://www.ixsystems.com/community/threads/samba-panic-assert-failed-lock_ref_count-0.55140/

which kernel do you have?

The bug id 13439 give me an interesting info (about kernel / glibc). 
I'll follow this thread to see if a solution will be added.


I'm running kernel 4.9.144-3.1 (from debian repo)

Kevin

<>

Re: Debugging samba

2019-04-12 Thread Kevin DAGNEAUX



Kevin DAGNEAUX wrote:


I'm using samba for lot of years too, i'm having trouble only with the
last version from debian repo.


Which debian version and which samba version - perhaps I missed this.


When crashing, samba don't need to be restarted and windows client just
see a small freeze.

Log file talk about a lock problem on a directory that have never
existed, in log file i don't have any info about which IP trying to
access to this directory, that why a i try a debug to see if i've more
info about thoses access.


Then enable logging per machine ID.


Maybe you don't have any problem because samba panic script can't send
you a mail.

I definitely do not have any problem, but can you share the crash report -
perhaps I am wrong

I have installed
  cat /etc/debian_version
9.8
$ dpkg -l | grep samba
ii  python-samba   2:4.5.16+dfsg-1amd64
Python bindings for Samba
ii  samba  2:4.5.16+dfsg-1amd64
SMB/CIFS file, print, and login server for Unix
ii  samba-common   2:4.5.16+dfsg-1all
common files used by both the Samba server and client
ii  samba-common-bin   2:4.5.16+dfsg-1amd64
Samba common files used by both the server and the client
ii  samba-dsdb-modules 2:4.5.16+dfsg-1amd64
Samba Directory Services Database
ii  samba-libs:amd64   2:4.5.16+dfsg-1amd64
Samba core libraries
ii  samba-vfs-modules  2:4.5.16+dfsg-1amd64
Samba Virtual FileSystem plugins




$ cat /etc/debian_version
9.8

$ dpkg -l | grep samba
ii  python-samba 2:4.5.16+dfsg-1+deb9u1 amd64    Python 
bindings for Samba
ii  samba 2:4.5.16+dfsg-1+deb9u1 amd64    SMB/CIFS file, 
print, and login server for Unix
ii  samba-common 2:4.5.16+dfsg-1+deb9u1 all  common 
files used by both the Samba server and client
ii  samba-common-bin 2:4.5.16+dfsg-1+deb9u1 amd64    
Samba common files used by both the server and the client
ii  samba-dsdb-modules 2:4.5.16+dfsg-1+deb9u1 amd64    
Samba Directory Services Database
ii  samba-libs:amd64 2:4.5.16+dfsg-1+deb9u1 amd64    
Samba core libraries
ii  samba-vfs-modules 2:4.5.16+dfsg-1+deb9u1 amd64    
Samba Virtual FileSystem plugins


Per machin log file is enabled (using the default setting "log file = 
/var/log/samba/log.%m"), so log file that contain error is /var/log/log. 
(machin seems not identified by samba).


Here is the content of log file :


[2019/04/12 10:31:57.105329,  0] 
../source3/locking/posix.c:455(decrement_lock_ref_count)
  PANIC: assert failed at ../source3/locking/posix.c(455): 
lock_ref_count >= 0

[2019/04/12 10:31:57.105373,  0] ../source3/lib/util.c:791(smb_panic_s3)
  PANIC (pid 2206): assert failed: lock_ref_count >= 0
[2019/04/12 10:31:57.106329,  0] ../source3/lib/util.c:902(log_stack_trace)
  BACKTRACE: 29 stack frames:
   #0 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(log_stack_trace+0x1c) 
[0x7f9e6a6a6c0c]
   #1 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x20) 
[0x7f9e6a6a6ce0]
   #2 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x2f) 
[0x7f9e6cbc319f]
   #3 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x194740) 
[0x7f9e6c7f8740]
   #4 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x19493f) 
[0x7f9e6c7f893f]
   #5 
/usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(release_posix_lock_posix_flavour+0x1fc) 
[0x7f9e6c7faadc]
   #6 
/usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(brl_unlock+0x566) 
[0x7f9e6c7f6bb6]
   #7 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(do_unlock+0xce) 
[0x7f9e6c7f29ce]
   #8 
/usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_do_setfilepathinfo+0x1b60) 
[0x7f9e6c75b2a0]
   #9 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0xf8dbb) 
[0x7f9e6c75cdbb]
   #10 
/usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(reply_trans2+0x645) 
[0x7f9e6c75f695]
   #11 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x123086) 
[0x7f9e6c787086]
   #12 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x1254ba) 
[0x7f9e6c7894ba]
   #13 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x1264ac) 
[0x7f9e6c78a4ac]

   #14 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xaea3) [0x7f9e692e7ea3]
   #15 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0x9277) [0x7f9e692e6277]
   #16 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x9d) 
[0x7f9e692e204d]
   #17 
/usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) 
[0x7f9e692e227b]

   #18 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0x9217) [0x7f9e692e6217]
   #19 
/usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_process+0x6c9) 
[0x7f9e6c78b7d9]

   #20 /usr/sbin/smbd(+0xa7b4) [0x5583043b67b4]
   #21 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xaea3) [0x7f9e692e7ea3]
   #22 /usr/lib/

Re: Debugging samba

2019-04-12 Thread Kevin DAGNEAUX

Le 11/04/2019 à 16:57, Roberto C. Sánchez a écrit :

On Thu, Apr 11, 2019 at 04:45:53PM +0200, Kevin DAGNEAUX wrote:

Le 11/04/2019 à 16:27, Roberto C. Sánchez a écrit :

On Thu, Apr 11, 2019 at 03:46:11PM +0200, Kevin DAGNEAUX wrote:

Hi,

I'm having crash problem with samba 2:4.5.16+dfsg-1+deb9u1 in debian 9.8,
i'm trying to debug it so i can't find the package samba-dbg.

Is there a way to debug samba without samba-dbg?


You might find this helpful:

https://wiki.debian.org/HowToGetABacktrace

Regards,

-Roberto

Yes it was helpful, thank you !

But now, i've a dependency problem, version of samba in debian-security repo
and samba-dbgsym in debian-debug repo are not the sames :

Les paquets suivants contiennent des dépendances non satisfaites :
  samba-dbgsym : Dépend: samba (= 2:4.5.16+dfsg-1) mais
2:4.5.16+dfsg-1+deb9u1 devra être installé


You might need to add a stretch/updates-debug source as well.

Regards,

-Roberto


Hi Roberto,

I've searched for a source"stretch/updates-debug" and not found it, i 
tryed to add source "stretch-proposed-updates-debug" so samba-dbgsym 
version is the same.


Here is my sources.list :

   deb http://security.debian.org/debian-security stretch/updates main
   contrib non-free
   deb-src http://security.debian.org/debian-security stretch/updates
   main contrib non-free

   deb http://ftp.fr.debian.org/debian/ stretch main contrib non-free
   deb-src http://ftp.fr.debian.org/debian/ stretch main contrib non-free

   deb http://ftp.fr.debian.org/debian/ stretch-updates main contrib
   non-free
   deb http://ftp.fr.debian.org/debian/ stretch-proposed-updates main
   contrib non-free
   deb-src http://ftp.fr.debian.org/debian/ stretch-updates main
   contrib non-free

   deb http://debug.mirrors.debian.org/debian-debug/ stretch-debug main
   contrib non-free
   deb http://debug.mirrors.debian.org/debian-debug/
   stretch-proposed-updates-debug main contrib non-free

Kevin

<>

Re: Debugging samba

2019-04-12 Thread Kevin DAGNEAUX



Kevin DAGNEAUX wrote:


But now, i've a dependency problem, version of samba in debian-security
repo and samba-dbgsym in debian-debug repo are not the sames :

may be a similar problem is the root cause for your crashes, because I am
running samba for years and my wife uses it from windows on daily bases and
I have some virtual machines with Win7 too, but never had a crash in the
past 10+ years.

Why don't you start with the log files - increase log level etc.?

regards

I'm using samba for lot of years too, i'm having trouble only with the 
last version from debian repo.


When crashing, samba don't need to be restarted and windows client just 
see a small freeze.


Log file talk about a lock problem on a directory that have never 
existed, in log file i don't have any info about which IP trying to 
access to this directory, that why a i try a debug to see if i've more 
info about thoses access.


Maybe you don't have any problem because samba panic script can't send 
you a mail.


Kevin

<>

Re: Debugging samba

2019-04-11 Thread Kevin DAGNEAUX

Le 11/04/2019 à 16:27, Roberto C. Sánchez a écrit :

On Thu, Apr 11, 2019 at 03:46:11PM +0200, Kevin DAGNEAUX wrote:

Hi,

I'm having crash problem with samba 2:4.5.16+dfsg-1+deb9u1 in debian 9.8,
i'm trying to debug it so i can't find the package samba-dbg.

Is there a way to debug samba without samba-dbg?


You might find this helpful:

https://wiki.debian.org/HowToGetABacktrace

Regards,

-Roberto


Yes it was helpful, thank you !

But now, i've a dependency problem, version of samba in debian-security 
repo and samba-dbgsym in debian-debug repo are not the sames :


Les paquets suivants contiennent des dépendances non satisfaites :
 samba-dbgsym : Dépend: samba (= 2:4.5.16+dfsg-1) mais 
2:4.5.16+dfsg-1+deb9u1 devra être installé


Kevin

<>

Debugging samba

2019-04-11 Thread Kevin DAGNEAUX

Hi,

I'm having crash problem with samba 2:4.5.16+dfsg-1+deb9u1 in debian 
9.8, i'm trying to debug it so i can't find the package samba-dbg.


Is there a way to debug samba without samba-dbg?

Kevin

<>

Re: How to slow more copying of files ?

2019-03-19 Thread Kevin DAGNEAUX

Le 19/03/2019 à 11:29, Pierre Couderc a écrit :

Big copy operations (with cp) may be slow, but it is not my problem.

But too,  they slow the full computer !

Is there a way to slow the copy which is not a priority task to let 
the computer breath ?


I have tried to use "nice" but without effect.


Make a try with ionice too.



Thanks in advance.

PC


<>

Re: Downgrade to Stable

2018-09-04 Thread Kevin DAGNEAUX

Hi,

Le 04/09/2018 à 10:23, Rodolfo Medina a écrit :

Hi all...

A few days ago I downgraded my Debian installation from Sid to Stable by
changing, in /etc/apt/sources list, all occurrences of `unstable' to `stable'
in:

--
deb http://ftp.uk.debian.org/debian/ unstable main
deb-src http://ftp.uk.debian.org/debian/ unstable main

# non-free
deb http://ftp.debian.org/debian/ unstable main contrib non-free
--

and then doing

# aptitude update
# aptitude install dpkg apt aptitude
# aptitude full-upgrade

But still, at log in in tty console, there is:

Debian GNU/Linux buster/sid lennovo tty1

How come?

Thanks,

Rodolfo


If i remember correctly, you can't do a downgrade.

Kevin

<>

Network issue

2018-08-29 Thread Kevin DAGNEAUX
.0.0.60:5281 ## Jabber


### Routage des ports entrants pour la VM "secure"
$IPT -t nat -A PREROUTING -d XX.XX.XX.XX -p tcp --dport 22070 -j DNAT 
--to 10.0.0.70:22   ## SSH


### Routage des ports entrants pour la VM "net"
$IPT -t nat -A PREROUTING -d XX.XX.XX.XX -p tcp --dport 22080 -j DNAT 
--to 10.0.0.80:22   ## SSH
$IPT -t nat -A PREROUTING -d XX.XX.XX.XX -p tcp --dport 8388  -j DNAT 
--to 10.0.0.80:8388 ## shadowsocks
$IPT -t nat -A PREROUTING -d XX.XX.XX.XX -p udp --dport 8388  -j DNAT 
--to 10.0.0.80:8388 ## shadowsocks
$IPT -t nat -A PREROUTING -d XX.XX.XX.XX -p tcp --dport 11094 -j DNAT 
--to 10.0.0.80:1194 ## OpenVPN


### Autorise les VMs a accéder a internet
$IPT -t nat -A POSTROUTING -s 10.0.0.0/24 -j  MASQUERADE

And this is what i have in syslogs :

Aug 28 15:50:32 ovh-1 kernel: DROPED packets IN=enp1s0 OUT= 
MAC=ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ SRC=YY.YY.YY.YY 
DST=XX.XX.XX.XX LEN=40 TOS=0x00 PREC=0x00 TTL=55 ID=2226 DF PROTO=TCP 
SPT=9610 DPT=80 WINDOW=0 RES=0x00 RST URGP=0
Aug 28 15:50:32 ovh-1 kernel: DROPED packets IN=enp1s0 OUT= 
MAC=ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ SRC=YY.YY.YY.YY 
DST=XX.XX.XX.XX LEN=40 TOS=0x00 PREC=0x00 TTL=55 ID=2227 DF PROTO=TCP 
SPT=9610 DPT=80 WINDOW=0 RES=0x00 RST URGP=0
Aug 28 15:50:32 ovh-1 kernel: DROPED packets IN=enp1s0 OUT= 
MAC=ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ SRC=YY.YY.YY.YY 
DST=XX.XX.XX.XX LEN=40 TOS=0x00 PREC=0x00 TTL=55 ID=2228 DF PROTO=TCP 
SPT=9610 DPT=80 WINDOW=0 RES=0x00 RST URGP=0
Aug 28 15:50:32 ovh-1 kernel: DROPED packets IN=enp1s0 OUT= 
MAC=ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ:ZZ SRC=YY.YY.YY.YY 
DST=XX.XX.XX.XX LEN=40 TOS=0x00 PREC=0x00 TTL=55 ID=2229 DF PROTO=TCP 
SPT=9610 DPT=80 WINDOW=0 RES=0x00 RST URGP=0


*** I've several hundred of similare line where only the ID change, then 
: ***


Aug 28 15:50:32 ovh-1 kernel: e1000e: enp1s0 NIC Link is Down
Aug 28 15:50:32 ovh-1 systemd-networkd[20998]: enp1s0: Lost carrier
Aug 28 15:50:34 ovh-1 systemd-networkd[20998]: enp1s0: Gained carrier
Aug 28 15:50:34 ovh-1 kernel: e1000e: enp1s0 NIC Link is Up 100 Mbps 
Full Duplex, Flow Control: None
Aug 28 15:50:34 ovh-1 kernel: e1000e :01:00.0 enp1s0: 10/100 speed: 
disabling TSO


The log show that the network is UP but the server is offline.
In the VM's logs i don't have abnormal things.

OVH have changed the motherboard and the ethernet cable but the problem 
still persist, the syslog show that it's probably a software problem.


Do you have idea of what happen or a way to help me to debug this problem?

Thank you in advance.

Kevin

--

DAGNEAUX Kevin
Service informatique
03 29 36 88 85
kevin.dagne...@fiitelcom.fr

<>

Looking for ratings of all-in-one printers for Linux (Ubuntu in particular)

2018-07-07 Thread Kevin O'Gorman
I know there are probably multiple places where such ratings can be found.
Not knowing which are reliable, I'm sort of asking for ratings of the
ratings, I guess.  Mostly, though, I want ratings of recent models, from a
Linux/Debian/Ubuntu perspective as opposed to the usual Windows slant.  I'm
presuming the few machines that I dual-boot will be able to work with
whatever printer I have.

So, where to look?

++ kevin

-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: blocage installeur debian : "please insert the disc"

2018-03-09 Thread kevin
Bonjour,

Le 06/03/2018 à 20:09, Pascal Hambourg a écrit :
>> Mais les options « graphique » et « expert install » ne permettent pas
>> de s'arrêter juste avant le blocage, ie avant la phase « configuration
>> des sources d'apt », ce qui aurait été bien intéressant.
>
> Dans ton message initial tu écrivais que c'était durant la phase
> d'installation du système de base ? 

Je ne sais pas si ce sera utile à la liste, mais je viens quand même de
vérifier précisément : voici le menu lorsqu'on choisit le mode « expert
install » :

---
Menu principal du programme d'installation Debian :

Choisir la langue
Access software for a blind person using a braille display
Configurer le clavier
Détecter et monter le CD
Charger des composants d'installation à partir du CD
Détecter le matériel réseau
Créer les utilisateurs et choisir les mots de passe
Configurer l'horloge
Détecter les disques
Partitionner les disques
==>Installer le système de base
Configurer l'outil de gestion des paquets
Choisir et installer des logiciels
Installer le programme de démarrage GRUB sur un disque dur
Installer le programme de démarrage lilo sur un disque dur
Continuer sans programme de démarrage
Terminer l'installation
Changer la priorité des questions de configuration
Contrôler l'intégrité du(des) CD
Sauvegarder les journaux de débogage
Exécuter un shell (ligne de commande)
Ejecter le CD du lecteur
Interrompre l'installation
---


Durant la 11e étape « Installer le système de base » lorsqu'on arrive à
72% de réalisation de cette étape, la ligne en bas de la fenêtre indique :
« Configuration des sources d'APT ... ».
Mais lorsque l'installation se déroule normalement, l'installeur *ne
s'arrête pas* à ce moment-là  --- l'arrêt suivant est celui du choix du
noyau à installer--- même lorsqu'on est en « expert install ».
Et on est bien toujours dans l'étape « Installer le système de base ».

Dit autrement, « Configuration des sources d'APT ... » n'est ni un item
du menu principal d'installation, ni même un des points d'arrêt à
l'intérieur de l'tem « Installer le système de base » ; et durant une
installation qui se déroule normalement, on ne voit cette étape que
durant peu de temps.

Donc je ne m'étais pas trompé dans ce que j'ai dit ; aucun mérite, j'ai
eu maintes fois l'occasion de contempler longuement ce sous-titre : - )

Ce n'est pas très naturel --- au moins pour moi --- que la configuration
des sources d'APT ne fasse pas partie de l'item suivant du menu, l'item
« Configurer l'outil de gestion des paquets », avec lequel je suppose
que tu as confondu, d'où ta question, non ?


Merci pour tes explications et merci aux autres contributeurs qui m'ont
répondu.





Re: blocage installeur debian : "please insert the disc"

2018-03-06 Thread kevin
Le 03/03/2018 à 10:50, Pascal Hambourg a écrit :
> Le 03/03/2018 à 10:17, didier gaumet a écrit :
>> - de démarrer l'installateur avec le paramètre noyau forcepae
>
> Le noyau de l'installateur i386 n'est pas PAE.
>
>> - de démarrer l'installateur en mode expert plutôt que normal, il y a
>> toujours plus d'infos
>
> Non, juste plus de choix.
>
>> - si ça ne suffit pas à résoudre ton problème: recommencer
>> l'installation puis tant que le CDROM est reconnu, basculer sur une
>> console (il me semble que par défaut la 2ème par CTRL-ALT-F2 est dispo
>> pour ça), taper mount pour voir où est monté le CDROM, poursuivre
>> l'installation jusqu'au problème puis rebasculer dans une console et
>> tenter de monter le CDROM là où il était monté précédemment) et en cas
>> de succès terminer l'install
>
> Bonne suggestion. De mémoire, c'est /cdrom ou /media/cdrom.
> Avant cela, refaire mount ou df pour voir s'il est toujours monté, et
> si c'est le cas, si le contenu est lisible.
> Au passage, voir les messages détaillés dans la console n° 4.
>
>
Lorsque j'ai regardé, je n'ai rien vu en tty qui m'ait paru anormal. Au
passage, j'ai fait quelques tentatives d'installation avec l'option «
ssh », que je n'avais jamais utilisée. Elle fonctionne fort bien et
offre l'avantage de permettre de copier commodément les infos par
copier-coller.

Je n'ai pas essayé cette solution : je l'essaierai si je trouve le temps
pour refaire toute l'installation.

===

Je n'ai pas résolu le problème en ce sens que je n'ai toujours pas
compris le phénomène.

Je l'ai seulement contourné en suivant la piste que m'a indiquée
bernard.schoenac...@free.fr en mail privé : plop.

Merci à tous ceux qui m'ont aidé.




Re: blocage installeur debian : "please insert the disc"

2018-03-06 Thread kevin
Le 03/03/2018 à 10:17, didier gaumet a écrit :
> comme ton portable a l'air d'être un Pentium M 32 bits avec
> potentiellement peu de mémoire, 
:~$ free -h
         total    used     free       shared 
buff/cache   available
Mem:   994M    288M    311M 71M   
395M    497M
Swap:  1,0G         0B      1,0G

Je ne sais pas à partir de combien tu considères qu'il y a peu de mémoire.
Je peux dire que :
=> l'installeur stretch, une fois le problème contourné, a fonctionné
sans problème
=> j'avais envisagé un blocage dû à une limitation de taille mémoire, et
j'ai tenté au moins une install avec l'option « lowmem », et le blocage
était le même.


> il se pourrait que tes problèmes soient
> causés par PAE: si je me souviens bien à une époque le noyau linux par
> défaut pour x86 dans Debian était non-PAE et est devenu PAE dans la
> version suivante. Or les Pentium M (ou au moins certains d'entre eux)
> rapportent généralement qu'ils sont incompatibles PAE alors qu'en
> réalité ils sont compatibles. Donc je suggérerais:
> - de démarrer l'installateur avec le paramètre noyau forcepae
> - si tu n'as pas beaucoup de mémoire, de démarrer l'installateur avec
> l'option lowmem
> - de démarrer l'installateur en version texte plutôt que graphique (ça
> doit consommer moins de mémoire)
c'est ce que je fais toujours. J'ai quand même aussi, cette fois-ci,
tenté aussi des installs via graphique.
> - de démarrer l'installateur en mode expert plutôt que normal, il y a
> toujours plus d'infos
c'est aussi toujours avec cette option que j'installe. Il me semble
qu'on n'a pas vraiment plus d'infos au sens strict, mais plutôt des
choix plus détaillés.
Mais les options « graphique » et « expert install » ne permettent pas
de s'arrêter juste avant le blocage, ie avant la phase « configuration
des sources d'apt », ce qui aurait été bien intéressant. Mon idée aurait
été alors de sauter la configuration d'apt, installer grub, puis faire
booter la machine sur cette install.
Il y a peut-être une piste dans cette direction-là ?
> - si ça ne suffit pas à résoudre ton problème: recommencer
> l'installation puis tant que le CDROM est reconnu, basculer sur une
> console (il me semble que par défaut la 2ème par CTRL-ALT-F2 est dispo
> pour ça), taper mount pour voir où est monté le CDROM, poursuivre
> l'installation jusqu'au problème puis rebasculer dans une console et
> tenter de monter le CDROM là où il était monté précédemment) et en cas
> de succès terminer l'install
>



Re: blocage installeur debian : "please insert the disc"

2018-03-06 Thread kevin
Bonjour
>
> Je ne sais pas mais pourquoi ne pas tenter le dist-upgrade de squeeze
> vers jessie puis jessie vers la version voulue?
>
>
La liste exacte est squeeze < wheezy < jessie < stretch.

J'aurais pu, dès le départ, dist-upgrader depuis la wheezy, en 2 étapes
successives. De manière générale, je préfère les réinstallation à partir
de rien.

Depuis la squeeze, il fallait 3 étapes. Et d'autre part, l'installeur
squeeze partitionne en ext3 et non pas en ext4 comme le font les
distributions plus récentes. Je ne pense pas que l'installeur squeeze
aurait accepté d'installer sur des partitions ext4 (que j'aurais créées
au préalable), si ?

J'ai l'impression qu'en partant de la squeeze, une piste intéressante
serait, comme on me l'a suggéré, de modifier grub, d'installer l'iso de
la stretch sur le dd (à la place du home ?), puis faire booter sur cette
iso.



Re: blocage installeur debian : "please insert the disc"

2018-03-02 Thread kevin
Le 01/03/2018 à 02:47, Raphaël POITEVIN a écrit :
>
> Et avec les iso unofficial contenant les firmware ?

Bonsoir,

essayé à l'instant avec :

http://cdimage.debian.org/cdimage/unofficial/non-free/images-including-firmware/9.3.0+nonfree/i386/iso-cd/firmware-9.3.0-i386-netinst.iso

hormis le fait que le wifi est configuré, le blocage est exactement le
même et au même endroit.




blocage installeur debian : "please insert the disc"

2018-02-26 Thread kevin
Bonsoir,


tentative d'install de stretch sur un machine pas récente, un portable ACER 
Aspire 1641WLMi.

Install par cdrom netinst (le bios de cette machine ne propose pas d'option de 
boot sur USB).


Début d'install normal, accès au dhcp, accès à internet pour le serveur de 
temps ; vers la fin de l'étape « installer le système de base », alors que 72% 
de cette phase se sont déroulés sans pb (récupération, décompression, 
configuration de tout un tas de paquets), blocage sur le message :
 -
[!!] Installer le système de base
/media/cdrom: Please insert the dis labeled 'Debian GNU/Linux 9.3.0 -Stretch- 
-Official i386 NETINSNT 20171209-13:03' in the drive '/media/cdrom' ans press 
[Enter].
Media change
   
-



Appuyer sur l'un ou l'autre des boutons ne change rien. 
Le cdrom est bien dans son lecteur depuis le début de l'install.

Même comportement avec des cd « netinst » pour buster, jessie, wheezy (gravés à 
vitesse lente) ; idem avec wheezy cd1 d'installation sans réseau

Sortir le cdrom du lecteur avec un trombone (pas possible autrement), puis le 
réinsérer ne change rien.

Changer de schéma de partitionnement ne change rien donc il semble que ce ne 
soit pas un problème de partition saturée.


Juste avant tentatives de réinstall, la machine tournait très bien sous wheezy. 
Un vieux cdrom netinst de squeeze installe sans problème (tout en i386 si 
précision utile).

Une idée de l'origine de ce blocage ?




blocage installeur debian : "please insert the disc"

2018-02-26 Thread kevin
Bonsoir,


tentative d'install de stretch sur un machine pas récente, un portable ACER 
Aspire 1641WLMi.

Install par cdrom netinst (le bios de cette machine ne propose pas d'option de 
boot sur USB).


Vers la fin de l'étape « installer le système de base », alors que 72% de cette 
phase se sont déroulés sans pb (récupération, décompression, configuration de 
tout un tas de paquets, blocage sur le message :
 -
[!!] Installer le système de base
/media/cdrom: Please insert the dis labeled 'Debian GNU/Linux 9.3.0 -Stretch- 
-Official i386 NETINSNT 20171209-13:03' in the drive '/media/cdrom' ans press 
[Enter].
Media change
   
-



Appuyer sur l'un ou l'autre des boutons ne change rien. 
Le cdrom est bien dans son lecteur depuis le début de l'install.

Même comportement avec des cd « netinst » pour buster, jessie, wheezy (gravés à 
vitesse lente) ; idem avec wheezy cd1 d'installation sans réseau

Sortir le cdrom du lecteur avec un trombonne (pas possible autrement), puis le 
réinsérer ne change rien.

Changer de schéma de partitionnement ne change rien donc il semble que ce ne 
soit pas un problème de partition saturée.


Juste avant tentatives de réinstall, a machine tournait très bien sous wheezy. 
Un vieux cdrom netinst de squeeze installe sans problème.

Une idée de l'origine de ce blocage ?




Re: Re : RE: Re : Re: Ne trouve plus mon clavier

2017-11-21 Thread kevin
Bonsoir,


je suggère de tenter de te logger sur ta machine debian HS (bootée)
depuis une autre machine sur le même réseau, via ssh.

Ce qui nécessite :
=> qu'un serveur ssh ait été installé sur ta debian HS (ce qui est, à
mon avis, toujours à faire quand on installe, quitte à le désactiver après)
=> que tu connaisses l'ip de ta debian HS : si tu as une box, elle
comprend un serveur dhcp qui attribue automatiquement une ip aux
machines que tu lui connectes, donc :
    --> soit accéder à l'intérieur du serveur dhcp de la box pour voir
quelle ip il a attribuée à qui,. (*)
    --> soit essayer en tâtonnant (si tu n'as que 2 ou 3 machines dans
ton réseau local, ce sera vite fait). Par exemple, sur ton autre
machine, sous linux, tu tapes « /sbin/ifconfig » dans un xterm et tu vas
voir que l'ip de cette machine est, disons, 192.168.0.3. Il y a de
grandes chances que ta box soit alors en 192.168.0.1 et tu cherches l'ip
de ta machine plantée en pingant au hasard : « ping 192.168.0.2 », «
ping 192.168.0.4 ». « ping 192.168.0.5 ». Si tu as une réponse, c'est
qu'il y a une machine à cette adresse-là. Cherche une adresse voisine de
celle de ta machine (si ta machine ok est en 192.168.0.32, alors essaie
31, et 33 par exemple.

Pour te logger, attention, ne tente pas de te logger directement en
root, logge-toi d'abord en utilisateur simple, puis passe en root (les
connexions directement en root par ssh sont dangereuses donc
probablement désactivées par défaut).
Par exemple, supposons que tu aies eu une réponse positive au ping sur
la 192.168.0.2, alors essaie :
« ssh ton_nom_de_user@192.168.0.2 ».

Pour la 1ere connexion, il va te demander de confirmer avant de te
demander le mdp.



(*) en général, c'est une manip du style :
ouvrir ton navigateur (quel qu'il soit)
taper dans la barre d'url l'ip que tu supposes être celle de ta box (ip
sur ton LAN, bien sûr, pas celle attribuée par Orange ou ton
fournisseur), disons avec mon exemple ci-dessus tu essaies l'ip 192.168.0.1
Si c'est la bonne ip, tu accèdes alors à la page d'accueil du petit
serveur web qui est inclus dans ta box et tu cherches dans les pages.





Re: Why does resolv.conf keep changing?

2017-10-27 Thread Kevin O'Gorman
Interesting.  I took a look at mine, and found
lrwxrwxrwx 1 root root 29 Aug  8  2016 /etc/resolv.conf ->
../run/resolvconf/resolv.conf

so the thing is now entirely dynamic.  I don't know what setting it
immutable would do or mean.
I'm running xubuntu 16.04.3 LTS


On Fri, Oct 27, 2017 at 5:35 AM, Greg Wooledge <wool...@eeg.ccf.org> wrote:

> On Fri, Oct 27, 2017 at 01:18:58PM +0100, Darac Marjal wrote:
> > Who's saying it must be installed?
>
> A few people in this thread, though I think they're saying "should"
> rather than "must".
>
> > Maybe I've missed something, but I think
> > the consensus in this discussion was that if you want your resolv.conf
> to be
> > unmanaged/static/administrator-controlled, then don't have resolvconf
> > installed. If you have resolvconf installed, then what's the point of
> > neutering it with a command?
>
> Let's review what we've learned so far.
>
> If you want to make local modifications to /etc/resolv.conf and have
> them stick, here are some ways to do it:
>
> 1) chattr +i /etc/resolv.conf
>
> 2) Individually configure each daemon that might try to modify the file,
>to make it stop doing so.
>
> 3) Install the resolvconf package, because by doing so you also install
>various hacks that modify the behavior of all known Debian daemons,
>stopping them from writing to /etc/resolv.conf.
>
>Then tell resolvconf itself to do nothing by putting resolvconf=NO
>in the /etc/resolvconf.conf file.
>
>


-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Carte Ethernet non détecté: nom du driver?

2017-05-12 Thread Kevin Benetti
Bonjour,

J'essaie d'installer pour la 1ere fois Debian en dual-boot sur mon C: qui
contient Windows10.
Lors de l'installation, il me dit qu'il ne détecte pas ma carte ethernet.
Il me fournit alors une tres longue liste de noms incomprehensibles, en me
demandant de selectionner le "nom du driver" correspondant a ma carte
ethernet (i1219-V, il me semble)

Pouvez-vous m'aider a trouver le nom exact? Ma carte mere est Asus ROG
STRIX Z270F
Merci d'avance.


Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...)

2017-04-03 Thread Kevin O'Gorman
On Mon, Apr 3, 2017 at 8:39 AM, Greg Wooledge <wool...@eeg.ccf.org> wrote:

> On Mon, Apr 03, 2017 at 09:36:16AM -0500, Tom Browder wrote:
> > But I kind of understand why systemd, but I wish I could find a good
> > cookbook description of how to add or modify a new process.
>
> The first hurdle is learning the terminology that systemd uses.  It's
> not exactly intuitive.
>


> [...]
>
> If you want to change your system's "run level" from graphical.target
> to multi-user.target, run this command as root:
>
> # systemctl set-default multi-user.target
>
> To see a list of your available targets (assuming no major local changes),
> use this command:
>
> $ find /lib/systemd/ -name '*.target'
>
>
Are you sure?  On my system, this produces nothing at all.  But the
directory
exists and is populated.



-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Ayuda al Instalar Debian 8.4

2016-04-14 Thread Kevin Andrey Bueno Solano
Hola, no he conseguido instalar Debian 8.4 para amd64, he copiado la iso
tal cómo esta a un usb y he ejecutado el .exe, luego he reiniciado y
elegido continuar la instalación, el problema surge cuando en el paso 3
aparece el mensaje "puede que necesite controladores de CD-Rom de un medio
extraible" sinceramente no sé que hacer.

Gracias a quién pueda orientarme.

P.D: Intente usar unetbpoting y no funcionó.


Re: Montage partage samba

2016-02-09 Thread kevin
Le 06/02/2016 14:25, Orion a écrit :
> Bonjour,
>
> depuis la mi-janvier mes partages samba, ne sont plus montés
> automatiquement, mon fstab est toujours le meme, et un mount -a rétablit la
> situation, systemd a-t-il introduit une manipulation supplémentaire pour
> monter automatiquement le smb??
>
> Merci
>
Bonsoir,

pour des partages samba, je ne sais pas, mais j'ai eu le même genre de
problème avec des partages nfs, sous stretch.
Au cas où ceci pourrait t'aider :
Au moment du montage, l'interface réseau n'était pas encore activée,
d'où l'échec du montage.
Une solution possible : définir le montage en noauto dans le fstab et
lancer le montage depuis le interfaces, ce qui garantit que ce soit
après l'activation de l'interface réseau.



Re: stretch : sftp via filezilla et thunar

2016-01-08 Thread kevin
Le 14/09/2015 21:46, Jean-Marc a écrit :
> Mon, 14 Sep 2015 19:49:22 +0200
> kevin <kevin.rowa...@wanadoo.fr> écrivait :
>
>> Bonsoir,
> salut,
>
>>
>> est-ce que quelqu'un arrive à faire fonctionner Filezilla sous stretch ?
>> (en sftp).
> Mon ordi fonctionne avec Stretch à jour, Filezilla 3.12.0.2.
>
> Connexion à mon serveur sur mon réseau local grâce à une paire de clé RSA.
> Sans soucis.
>
> Plus de précision, peut-être ?
>
>


Bonjour,

Filezilla est revenu récemment dans stretch.

A+



Is bundled flash with chrome secure?

2016-01-04 Thread Kevin Chadwick
So I noticed the vivaldi thread said the latest flash version is
20.0.0.228 which is bundled with chrome and downloaded by the pepper
downloader packages. I have had 267 appear in the home folder though
but it cannot run.

Since the time adobe dropped support, I only have had flash enabled on
my myth tv box in google-chrome in /opt.

I have home noexec and don't care for any comments as to WHY!!! and
actually suggest script interpreters should respect noexec like the
grsecurity patch enables!! Though I admit it can be handy to run a
quick script and noexec still offers protection against non
targetted attacks.

What I would simply like to know (when I last checked google were
keeping it secure) is whether the bundled 20.0.0.228 is secure. My hunch
is currently not.

Is an update due shortly and so I have just hit an insecure window?

does it download a new version (267) to /home and can that location be
changed

can I check it's signature or does the browser do so at runtime, so I
needn't check it and just copy it to /opt

It always seems flash finds a way to be insecure... ahem out of date
(it's always insecure) on all systems, I thought linux was different
but maybe not?

Thanks for any insights

-- 

KISSIS - Keep It Simple So It's Securable



Re: stretch : sftp via filezilla et thunar

2015-09-14 Thread kevin
Bonsoir,


est-ce que quelqu'un arrive à faire fonctionner Filezilla sous stretch ?
(en sftp).

Merci.



stretch : sftp via filezilla et thunar

2015-09-09 Thread kevin
Bonjour,


Le contexte : transférer des fichiers *au sein d'un même LAN* entre
machines sous debian.


Essais faits depuis une machine sous stretch

==> lancer une connexion sftp en console
  --> fonctionne bienvers une machine sous jessie
  --> fonctionne bien aussi vers une machine sous stretch

==> lancer une connexion sftp via filezilla
  --> fonctionne bien vers une machins sous jessie
  --> ne fonctionne pas vers une machine sous stretch : « fzSftp started
» suivi d'un « Erreur :Délai d'attente expiré ».

Dans les deux cas, je renseigne le nom d'hôte, d'utilisateur, le mdp, le
port 22 et Filezilla ajoute tout seul le protocole devant le nom d'hôte
(ie « kevin » devient « sftp://kevin »). Préciser le protocole ne change
rien.

---
2015-09-04 00:08:17 8691 1 Statut : Connexion à 192.168.0.104...
2015-09-04 00:08:17 8691 1 Suivi : Going to execute /usr/bin/fzsftp
2015-09-04 00:08:17 8691 1 Réponse : fzSftp started
2015-09-04 00:08:17 8691 1 Suivi :
CSftpControlSocket::ConnectParseResponse(fzSftp started)
2015-09-04 00:08:17 8691 1 Suivi : CSftpControlSocket::SendNextCommand()
2015-09-04 00:08:17 8691 1 Suivi : CSftpControlSocket::ConnectSend()
2015-09-04 00:08:17 8691 1 Commande : open "kevin@192.168.0.104" 22
2015-09-04 00:08:17 8691 1 Suivi : Server version: SSH-2.0-OpenSSH_6.9p1
Debian-1
2015-09-04 00:08:17 8691 1 Suivi : Using SSH protocol version 2
2015-09-04 00:08:17 8691 1 Suivi : We claim version:
SSH-2.0-PuTTY_Local:_Sep_16_2014_09:58:36
2015-09-04 00:08:17 8691 1 Suivi : Doing Diffie-Hellman group exchange
2015-09-04 00:08:38 8691 1 Erreur : Délai d'attente expiré
2015-09-04 00:08:38 8691 1 Suivi : CControlSocket::DoClose(2050)
2015-09-04 00:08:38 8691 1 Suivi : CSftpControlSocket::ResetOperation(2114)
2015-09-04 00:08:38 8691 1 Suivi : CControlSocket::ResetOperation(2114)
2015-09-04 00:08:38 8691 1 Erreur : Impossible d'établir une connexion
au serveur
2015-09-04 00:08:38 8691 1 Suivi :
CFileZillaEnginePrivate::ResetOperation(2114)
2015-09-04 00:08:38 8691 1 Statut : Attente avant nouvel essai...
2015-09-04 00:08:43 8691 1 Suivi : CControlSocket::DoClose(64)
2015-09-04 00:08:43 8691 1 Suivi : CControlSocket::DoClose(64)
2015-09-04 00:08:43 8691 1 Statut : Connexion à 192.168.0.104...
2015-09-04 00:08:43 8691 1 Suivi : Going to execute /usr/bin/fzsftp
2015-09-04 00:08:43 8691 1 Réponse : fzSftp started

---


Il semble que ce soit « Doing Diffie-Hellman group exchange » qui plante ; 
quelque chose de particulier dans ce domaine, par défaut sur les stretch ?

Quelqu'un saurait débloquer la situation ?


Situation similaire avec Thunar, débloquer avec Filezilla devrait débloquer 
avec Thunar.


Merci.







Re: mise à jour testing+stable

2015-09-09 Thread kevin
Bonjour,

Si ça peut aider...

ces jours-ci, sur des machines installées en stretch, j'avais un
problème avec LibreOffice base avec un fichier qui pourtant fonctionnait
bien jusqu'à récemment --- quand exactement ? --- : lorsque je tentais
d'ouvrir le formulaire, j'avais un message d'erreur :


aucun pilote SDBC n'a été trouvé pour
l'URL 'sdbc:embedded:hsqldb'
--


Réinstaller le paquet « libreoffice-sdbc-hsqldb » n'a pas corrigé le
problème.


D'autre part, je voyais sur www que la version LibreOffice pour stretch
est actuellement la 5, alors que mes machines sous stretch utilisaient
toujours la 4 ; et une mise à jour classique (aptitude update /
safe-upgrade) n'installait pas la 5.

J'ai désinstallé le méta-paquet « libreoffice », puis je l'ai réinstallé
(après avoir lancé un clean), et la réinstallation lance en réalité
l'installation de la version 5 ; phénomène un peu curieux, que je
suppose être lié à cette période de transition dont parle le post précédent.

=> et l'installation de la version 5 corrige mon problème d'accès à la bdd.

Après la « réinstallation » du paquet libreoffice, un nouvel
update/upgrade met à jour d'autres paquets (plutôt curieux aussi,
puisque juste avant de désinstaller LO, j'avais lancé un update/upgrade).








Re: the State of Linux Audio

2015-07-16 Thread Kevin O'Gorman
I read this with great interest because I lost sound some time ago and
don't know anything about it, or how to control it.
I'm running Xubuntu 14.04.4, on a brand-new ASUS Z97 Deluxe mobo, with both
HDMI monitors and onboard Intel sound chips.  The monitors have no
speakers, so the HDMI channel is useless, but there are speakers connected
to the mobo and /proc/sound/cards reports them as device 1.  I hadn't heard
a peep in ages unless I boot into Windoze, which plays sound just fine.

So I ditched every installed package with pulse in the name where doing
so did not threaten to remove the world.  I tried an old mp3 file with the
command
aplay -D hw:1 -f S16_LE -c 2 -r 48000 longfilename.mp3
and got white noise -- the first peep I've heard in ages under Linux.  It
also reported
Playing raw data 'longfilename.mp3' : Signed 16 bit Little Endian, Rate
48000 Hz, Stereo

Can I do something to make this sound not white noise?

What should I do next to get sounds to play normally?  I'd be happy just to
get system sounds to begin with.



On Wed, Jul 15, 2015 at 1:44 PM, Nicolas George geo...@nsup.org wrote:

 Le septidi 27 messidor, an CCXXIII, Martin G. McCormick a écrit :
The only reason I put pulseaudio on here was way back
  when I was running lenny and had no /dev/dsp. Someone suggested
  installing pulseaudio. I did. /dev/dsp came back and life
  marched on.

 This was a bad suggestion.

 /dev/dsp is obsolete on Linux, has been for years. Not having is perfectly
 normal, having it back is possibly a sign that you are on the path of
 breaking things.

 In my opinion, PulseAudio is only good for messing things up. The features
 it brings are of doubtful usefulness for most users and the brittleness and
 complexity it introduces are very real.

 My advice is to get rid of PulseAudio as much as possible. You will not be
 able to get rid of the libraries if some packages use them, but make sure
 you purge the package with the daemon: in the past, just having it was
 enough to prevent sound playback from working.

 Then use low-level tools. To know if the cards are correctly detected, look
 in the file /proc/asound/cards. To hear if they work, use aplay -D hw:0
 (or hw:1 for the second card).

 If the cards do not appear in /proc, this is a kernel problem and it must
 be
 resolved or there is no point of trying further.

 The aplay command I quoted does not do automatic conversions, that is on
 purpose. You will need to give it parameters supported natively by the
 hardware. With modern cards -f S16_LE -c 2 -r 48000 does the trick; aplay
 will give you hints.

 If you do not manage to get sound out of aplay, there is no point in trying
 anything else. If you do get sound out of aplay, then sound works.

 If anything fails to work and does not print any useful error message, try
 looking at the end of the dmesg output.

 Good luck.

 Regards,

 --
   Nicolas George




-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: Regading an installation experiment

2015-06-14 Thread Kevin Ross

On 6/14/2015 10:06 PM, Himanshu Shekhar wrote:



Hello,
I would greatly acknowledge you for making me develop a greater 
understanding of the debian community. Recently, I received a laptop 
from.one of my friends for repair. Actually,.it doesn't boot properly. 
I have a copy of DVD 1 of Jessie i386.


The laptop has actually an AMD Athlon processor. The fact about 
getting another copy is that it requires resources and time to 
download. Thus, can I use the i386 one to install.


Thanks
Himanshu Shekhar
India



Yes, the i386 DVD will be fine.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/557e386f.7090...@familyross.net



Re: HELP! Cannot use mouse or keyboard any more

2015-06-06 Thread Kevin O'Gorman
I've gotten some help on the Ubuntu list, and can start the system by
putting term at the end of the grub menu linux line.  My daemons all
start normally, and I can log in via SSH on the LAN.

Unfortunately, while start lightdm causes X to display a login screen,
everything is frozen at that point, including the daemons that had been
running.  Ping even suddenly reports no route to that host.  Still, this is
information and progress of a sort.

-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: HELP! Cannot use mouse or keyboard any more

2015-06-05 Thread Kevin O'Gorman
On Fri, Jun 5, 2015 at 8:51 PM, Kevin O'Gorman kogor...@gmail.com wrote:

 I'm running Xubuntu, and have done for quite a while.  Right now it's at
 14.04.   I just hosed it somehow, and when I reboot I cannot log in because
 the keyboard and mouse are being ignored.

 It's not the hardware, because the grub menu works with the keyboard, and
 going to a recovery version of the kernel also works but it's console mode,
 not X.  But when I try a normal boot, the cursor stays in the middle of the
 desktop and the keyboard cannot enter my password.  I have to do a hard
 reset because 3-finger salute is also ignored.

 The last thing I did was to change my nVidia settings by deleting one of
 my monitors.  That means X configuration, which also affects mouse and
 keyboard.  But I cannot find an xorg.conf file anywhere.

 Probably I just need to find out where the config settings are kept, and I
 can reset them from a backup.  Does anybody know?


If you're wondering: yes, I'm asking on an Ubuntu list, but there's more
people and expertise here, and Ubuntu is still Debian-based.  I don't think
there's anything Ubuntu-specific about this problem.


-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


HELP! Cannot use mouse or keyboard any more

2015-06-05 Thread Kevin O'Gorman
I'm running Xubuntu, and have done for quite a while.  Right now it's at
14.04.   I just hosed it somehow, and when I reboot I cannot log in because
the keyboard and mouse are being ignored.

It's not the hardware, because the grub menu works with the keyboard, and
going to a recovery version of the kernel also works but it's console mode,
not X.  But when I try a normal boot, the cursor stays in the middle of the
desktop and the keyboard cannot enter my password.  I have to do a hard
reset because 3-finger salute is also ignored.

The last thing I did was to change my nVidia settings by deleting one of my
monitors.  That means X configuration, which also affects mouse and
keyboard.  But I cannot find an xorg.conf file anywhere.

Probably I just need to find out where the config settings are kept, and I
can reset them from a backup.  Does anybody know?

-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: Need SAS HBA for Debian Jessie

2015-05-29 Thread Kevin Ross

On 5/3/2015 3:32 PM, Leslie Rhorer wrote:

Does anyone out there have a recommendation for an HBA (preferably non-RAID) 
that is stable, supports drives larger than 2T, is either supported directly in 
the Jessie Kernel or has open source drivers, and either has management 
utilities that either run under Jessie or are open source?


I just recently bought a new LSI SAS 9211-8i directly from China on eBay 
for about $100 with free shipping.  I also bought some SAS-to-SATA 
breakout cables from China for a few bucks.  If you don't mind the wait, 
this is much cheaper than buying from, say, Newegg.


Since you specifically mention HBA preferably non-RAID, I'm not sure why 
you are asking for management software.  I believe that's only useful if 
you're using the card's RAID functionality, which I don't.  I use Linux 
md software RAID, with good results.


Also, it is my understanding that all modern cards support drives larger 
than 2TB, it's the old DOS-style partition table that has the 2TB limit, 
and to create a partition greater than 2TB, you need to use GPT instead 
of MBR partition tables.  That being said, I don't have direct 
experience with drives larger than 2TB.  All the drives in my RAID are 
WD Red 2TB drives.


Hope this helps!
-- Kevin






--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5568eb79.2040...@familyross.net



Re: server monitor

2015-03-04 Thread Kevin LE HEN
Hi,

I'm thinking of this http://nicolargo.github.io/glances/ but I don't know
if you can generates reports. I'm pretty sure it can be done with some
developments.

Regards,

2015-03-04 15:18 GMT+01:00 Pol Hallen de...@fuckaround.org:

 Hi all :-)

 I'm looking for a tool that generates a report (daily, weekly, etc.) with
 the statistics of resources (loadavg, cpu/mem/disk resources, etc.) of
 server (no IDS).

 I discovered sars (but I yet didn't test it), munin is nice but I need
 something with email reports (no web interface).

 Any idea or advices?

 monit is a good tool but does not keep older time resources.

 thanks for help!

 Pol


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
 subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/54f7143d.8080...@fuckaround.org




-- 
Kévin LE HEN


Re: Need SATA controller for 4TB internal drives

2015-02-04 Thread Kevin O'Gorman
On Thu, Jan 29, 2015 at 8:47 PM, David Christensen 
dpchr...@holgerdanske.com wrote:

 On 01/29/2015 06:23 PM, Kevin O'Gorman wrote:

 There are lots of choices where the info in directed at Windows users, but
 precious info available if you want to be sure the card will work on
 Linux.

 From Amazon, i tried the HighPoint 640L because I know someone who had a

 good experience.  Mine was not so much.  I've tried two of the cards but
 got connected to my drives only briefly once.  I have no idea why.  Now
 I'm
 looking for a solution that will let me connect to my 4TB SATA-3 drives
 internally, without paying more for it than I paid for the mainboard.
 Details:
 - running Xubuntui 14.04
 - I have PCIe x1 and x16 slots available
 - I even have an old PCI slot available, but it may be too slow.
 - using mdadm, I have no interest in RAID capabilities, just JBOD.
 - The drives are internal, it would be awkward to set them up otherwise.
 - I need to connect 2 drives, may want 2 more later, but it can wait.
 - Drives are 4TB SATA 3 with GPT partitions
 - I can set the mainboard to use AHCI or IDE compatibility
 - there is not trace of Windows, so it needs to be configurable with just
 Linux.


 The key is getting a card that has chip(s) that are well supported by
 Linux.  Deducing what chips are on a given card, and whether or not they
 are supported by Linux, for any given piece of hardware is something that
 I've yet to have much success with.


 So, I asked a similar question in July 2013:

 https://lists.debian.org/debian-user/2013/07/msg00310.html


 Basically, there were two choices:

 1.  2 @ SATA2 host bus adapter ($20).

 2.  4 @ SAS/SATA3 RAID controller ($200).


 I ended up going with the first option -- Syba SD-SA2PEX-2IR:

 http://www.sybausa.com/productInfo.php?iid=536

 I'm not using it now, but don't recall any problems with Debian GNU/Linux,
 Windows XP, and the various free DOS versions used with Norton Ghost and
 hard drive manufacturer bootable diagnostic discs.


 I prefer PCIe x1 over PCI because PCIe should have faster access to the
 CPU/ chipset/ memory and because newer ATX/ microATX motherboards usually
 have at least one PCIe x1 slot; some don't even have PCI.


 As for SATA 1/2/3 speed differences on my SOHO network with LUKS encrypted
 drives, the bottleneck is usually the CPU (non-AES-NI) or the drive
 itself.  At one point, I had a ZFS on Linux mirror on two 3 TB Seagate
 ST3000DM001's with LUKS on an Intel DQ67SW motherboard and Core i7-2600S
 processor, with one drive on a motherboard SATA3 port and the other on a
 motherboard SATA2 port.  I recall that the drive on the SATA2 port had
 higher busy time than the SATA3 port, but the bottleneck was seeks.


Thanks.  I looked up Syba and found that board is now legacy, and I'm using
only SATA III drives these days, so I found the current similar boards.  I
chose SI-PEX40062 which was the best fit for my drive needs and available
PCIe slots (4 internal drives, 2x PCIe).  Amazon had a board with the same
model number and specs, but its brand name is IO Crest.  I ordered it and
it arrived today.  It's working 50%.  Ugh.  Two of the four ports work
fine.  It happens that's all I _need_ to keep working, and I've started an
RMA and order for a replacement, so that's okay -- it's time that's most
important to me right now.

At least there was no fooling around figuring it out.  I can hot-swap the
cables so long as no partition is mounted, so it was quick to determine
that two ports work and two don't.  My wife has Amazon Prime anyway, so the
shipping is free and the replacement is coming even before the return has
been sent (I'm using it in the meantime).  I even get deliveries on Sunday
because the USPS is trying harder.

BTW, I'm interested in bus speeds this much because the drives are going to
be doing huge sequential file accesses, and seeks are not an issue.

I'm a lot happier than I was a week ago.  Thanks again.

-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Need SATA controller for 4TB internal drives

2015-01-29 Thread Kevin O'Gorman
There are lots of choices where the info in directed at Windows users, but
precious info available if you want to be sure the card will work on Linux.

From Amazon, i tried the HighPoint 640L because I know someone who had a
good experience.  Mine was not so much.  I've tried two of the cards but
got connected to my drives only briefly once.  I have no idea why.  Now I'm
looking for a solution that will let me connect to my 4TB SATA-3 drives
internally, without paying more for it than I paid for the mainboard.

Details:
- running Xubuntui 14.04
- I have PCIe x1 and x16 slots available
- I even have an old PCI slot available, but it may be too slow.
- using mdadm, I have no interest in RAID capabilities, just JBOD.
- The drives are internal, it would be awkward to set them up otherwise.
- I need to connect 2 drives, may want 2 more later, but it can wait.
- Drives are 4TB SATA 3 with GPT partitions
- I can set the mainboard to use AHCI or IDE compatibility
- there is not trace of Windows, so it needs to be configurable with just
Linux.

Mainboard had 6 ports available, but it appears that my fooling with things
broke a pair of them.  That's why I need the replacement.


-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


How to recover a damaged partition

2015-01-21 Thread Kevin O'Gorman
I'm working with new 4TB drives, and one of them just had a bad spot in a
fairly awkward place.
The very first block of an ext4 partition was unreadable, and caused
problems in booting, as well as anything else that wanted to scan
partitions.

I overwrote the first 4K with zeroes, deleted the partition (with gdisk)
and created a new unformatted partition to cover the area.  Now that
partition passes a read test, and I'm checking the other partitions.

The damaged partition has been inactive for a while, so I'm quite sure I
have adequate backups.  But now seems to be a time for me to learn -- lots
of things have been going wrong, and I've been learning how to cope.

So I wonder if there's a way to get that partition back, at least in part,
without using my backups.

Any hints, pointers, tutorials, or opinions welcome.

-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: An experiment in backup

2015-01-20 Thread Kevin O'Gorman
On Tue, Jan 20, 2015 at 5:51 AM, Tom H tomh0...@gmail.com wrote:

 On Mon, Jan 19, 2015 at 1:02 PM, Kevin O'Gorman kogor...@gmail.com
 wrote:
 On Sun, Jan 18, 2015 at 9:26 AM, Tom H tomh0...@gmail.com wrote:
 On Fri, Jan 16, 2015 at 10:28 PM, Kevin O'Gorman kogor...@gmail.com
 wrote:
  On Fri, Jan 16, 2015 at 3:54 AM, Tom H tomh0...@gmail.com wrote:
 
  Have you looked at the logs? Especially Xorg.0.log and xsessions-errors.
 
  Xorg logs seem normal
  I don't see any xsessions-errors file

 ~/.xsessions-errors

 Xsession: X session started for kevin at Sat Jan 17 10:42:34 PST
 2015localuser:kevin being added to access control list
 openConnection: connect: No such file or directory
 cannot connect to brltty at :0
 Script for ibus started at run_im.
 Script for auto started at run_im.
 Script for default started at run_im.
 Unable to create /home/kevin/.dbus/session-bus
 Script for ibus started at run_im.
 Script for auto started at run_im.
 Script for default started at run_im.
 x-session-manager[1414]: CRITICAL: We failed, but the fail whale is dead.
 Sorry

 What are the owner and mode of the .dbus and session-bus dirs?

 ~/.dbus is 700 owned by root.root.  Don't get excited, though.  This is
also true of the partition that is functioning normally.
There is no session-bus directory, unlike the functioning partition.  The
.dbus directory is empty.


It's no surprise to me that changing this makes no difference -- after all,
it never gets as far as asking me to log into that account.


-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: An experiment in backup

2015-01-19 Thread Kevin O'Gorman
On Sun, Jan 18, 2015 at 9:26 AM, Tom H tomh0...@gmail.com wrote:

 On Fri, Jan 16, 2015 at 10:28 PM, Kevin O'Gorman kogor...@gmail.com
 wrote:
  On Fri, Jan 16, 2015 at 3:54 AM, Tom H tomh0...@gmail.com wrote:


 [snipped.  I have xfce4 and lightdm]


  Have you looked at the logs? Especially Xorg.0.log and xsessions-errors.
 
  Xorg logs seem normal
  I don't see any xsessions-errors file

 ~/.xsessions-errors


Aha!  something that may help.  A bunch of stanzas like this:

Xsession: X session started for kevin at Sat Jan 17 10:42:34 PST 2015
localuser:kevin being added to access control list
openConnection: connect: No such file or directory
cannot connect to brltty at :0
Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
Unable to create /home/kevin/.dbus/session-bus
Script for ibus started at run_im.
Script for auto started at run_im.
Script for default started at run_im.
x-session-manager[1414]: CRITICAL: We failed, but the fail whale is dead.
Sorry



  Can you launch X after logging in to the console?
 
  I don't know how.

 You can check that the basic functionality of X is OK with
 xinit /usr/bin/xterm -- /usr/bin/X :0 -nolisten tcp vt01
 (assuming that you're on tty1 when launching X)

 Otherwise, you can start X with
 xinit [...]
 startx [...]
 service lightdm [re]start



 These all fail and add another stanza to the .xsession-errors file



 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/CAOdo=SzCMuz+ssPHE6S3-WgtRS104JWey1uKMKYVhKK3Nn=z...@mail.gmail.com




-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: An experiment in backup

2015-01-17 Thread Kevin O'Gorman
On Sat, Jan 17, 2015 at 9:08 AM, Curt cu...@free.fr wrote:

 On 2015-01-17, Kevin O'Gorman kogor...@gmail.com wrote:
 
  startx
 
 
  I did
  sudo startx

 I haven't been following your thread, but it is highly unrecommended
 to be root when you startx.

  https://lists.debian.org/slrnmbl5p5.22m.cu...@einstein.electron.org


I'm trying to learn here, so it would help if I knew why, or at least got a
link to such an unrecommendation.



-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: An experiment in backup

2015-01-17 Thread Kevin O'Gorman
On Sat, Jan 17, 2015 at 2:06 AM, Curt cu...@free.fr wrote:

 On 2015-01-17, Kevin O'Gorman kogor...@gmail.com wrote:
 
  Can you launch X after logging in to the console?
 
 
  I don't know how.
 

 startx


 I did
sudo startx
Hmmm.  This should be telling me something, but I don't know exactly what.
It does not come up, but the messages on the screen of the console session
end with

Loading extension XINERAMA
setversion 1.4 failed: Permission denied.


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/slrnmbkd1l.22m.cu...@einstein.electron.org




-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: An experiment in backup

2015-01-17 Thread Kevin O'Gorman
On Sat, Jan 17, 2015 at 8:35 AM, Rob Owens row...@ptd.net wrote:

 On Sat, Jan 17, 2015 at 08:08:27AM -0800, Kevin O'Gorman wrote:
  On Sat, Jan 17, 2015 at 2:06 AM, Curt cu...@free.fr wrote:
 
   On 2015-01-17, Kevin O'Gorman kogor...@gmail.com wrote:
   
Can you launch X after logging in to the console?
   
   
I don't know how.
   
  
   startx
  
  
   I did
  sudo startx
  Hmmm.  This should be telling me something, but I don't know exactly
 what.
  It does not come up, but the messages on the screen of the console
 session
  end with
 
  Loading extension XINERAMA
  setversion 1.4 failed: Permission denied.

 You shouldn't need root permission to run startx.  Running startx as a
 user should just bring you into your default desktop environment.  It
 will not load the login manager (GDM, KDM, etc).

 -Rob


with or without the sudo I get the same result: black screen.

-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: An experiment in backup

2015-01-17 Thread Kevin O'Gorman
On Sat, Jan 17, 2015 at 8:35 AM, Rob Owens row...@ptd.net wrote:

 On Sat, Jan 17, 2015 at 08:08:27AM -0800, Kevin O'Gorman wrote:
  On Sat, Jan 17, 2015 at 2:06 AM, Curt cu...@free.fr wrote:
 
   On 2015-01-17, Kevin O'Gorman kogor...@gmail.com wrote:
   
Can you launch X after logging in to the console?
   
   
I don't know how.
   
  
   startx
  
  
   I did
  sudo startx
  Hmmm.  This should be telling me something, but I don't know exactly
 what.
  It does not come up, but the messages on the screen of the console
 session
  end with
 
  Loading extension XINERAMA
  setversion 1.4 failed: Permission denied.

 You shouldn't need root permission to run startx.  Running startx as a
 user should just bring you into your default desktop environment.  It
 will not load the login manager (GDM, KDM, etc).

 I take back my previous answer.  When I do this as a normal user, I get a
black screen for a while, but eventually I get a cursor I'd describe as a
hollow X.  I can move it around the screen, but not do anything else.  No
buttons bring up menus.  There are no widgets on screen.

I take it that X is running, but there are no clients.


Re: An experiment in backup

2015-01-16 Thread Kevin O'Gorman
On Fri, Jan 16, 2015 at 3:54 AM, Tom H tomh0...@gmail.com wrote:

 On Thu, Jan 15, 2015 at 10:19 PM, Kevin O'Gorman kogor...@gmail.com
 wrote:
 
  I have a tar backup of the entire system, excluding /sys, /proc and /dev.
  I have a tar backup of a bind-mount of /dev.
  These were taken while the system was running, but quiet. I did it this
  way because I cannot get the system to boot into single user mode.
 Putting
  single on the end of the linux like results in a black screen.
 
  I restored these, created /sys and /proc, and tried to boot the resulting
  partition. It boots, but X does not come up, or even seem to try. I can
 do
  a console login to my usual account, and stuff is there.

 What commands did you run to back up and restore the system?

 For the Linux part (there's also Windows on some of my machines) it's all
tar.


 Is '/tmp' a tmpfs filesystem? If not, did you back up and restore it?


It's a subdirectory of /, not a mount point on the machine in question.


 Did you exclude '/run'? If not, did you restore it?

I exclude /var/run and /var/lock


 Did you create '/proc' and '/sys' with the right ownership and mode?

 Hmm.  They appear right. 755 owned by root.


 If this is a Debian system, is it a non-standard install that doesn't
 use udev (AFAIK this is still possible)? If not, there's no point in
 backing up and restoring '/dev'.

 It's vanilla Xubuntu.  I back up and restore what's on the hard drive via
a bind mount.
I wasn't convinced there wasn't something in the boot process that needed
it.


 If this is an Ubuntu system, the default '(recovery)' grub entry will
 have 'nomodeset' appended. Try that when you add 'single'.

 Are you using a DM?

 A what? Xubuntu uses xfce4 if that answers the question.

Are you using a WM or a DE?

A what?


 Have you looked at the logs? Especially Xorg.0.log and xsessions-errors.

Xorg logs seem normal
I don't see any xsessions-errors file


 Can you launch X after logging in to the console?


I don't know how.


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/CAOdo=swjn5qggmjo7qta_2otefqgzihwpn35hykxshk4_oa...@mail.gmail.com




-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


Re: An experiment in backup

2015-01-16 Thread Kevin O'Gorman
On Fri, Jan 16, 2015 at 8:14 AM, Rob Owens row...@ptd.net wrote:

 On Thu, Jan 15, 2015 at 08:47:01PM -0800, Kevin O'Gorman wrote:
  On Thu, Jan 15, 2015 at 8:41 PM, David Christensen 
   There are two basic kinds of backups:
  
   1.  File system -- e.g. a copy of the files and directories on an
 mounted
   and operating drive.
  
   2.  Raw binary image -- e.g. a copy of the bytes on a drive taken when
 the
   drive is powered, but the partitions, volumes, file systems, etc., are
 not
   mounted.
  
  
   For system drives, the former won't work; you need the later.  I
 connect a
   large hard drive (to hold the images), boot Debian installation media
 into
   rescue mode, and use 'dd' to backup/ restore system drive raw binary
 images.
  
   I was hoping for some details on why this won't work on system drives,
 or
  conditions under which it just might.  Another user has suggested I read
  https://help.ubuntu.com/community/BackupYourSystem/TAR which suggests
 that
  it actually should work.

 Image backups are definitely easier for doing disaster recovery of an
 entire machine.  And when you have that kind of problem, you may really
 appreciate having to do less work / make fewer decisions.

 But filesystems backups can be used for disaster recovery.  I've done
 it.  One potential problem is that on a running system, things change.
 So at the start of your backup, you backup file A.  At the end of the
 backup, you backup file Z.  But in the middle of the backup, both file A
 and file Z have changed.  And some software requires that file A and
 file Z be in sync.  When you restore, those files are not in sync and
 you could have a problem.

 In practice, I haven't seen this be a problem much on home desktop
 machines.  But that's not to say it couldn't be a problem.

 Another thing to consider is hardware changes.  This can make certain
 devices be named differently when you restore.  eth0 becomes eth1, and
 /etc/network/interfaces doesn't have a stanza for eth1.  /dev/dvd
 becomes /dev/dvd1, and your cd burner was set to look for /dev/dvd which
 no longer exists.  These things can be fixed in the /etc/udev/rules.d
 directory.

 UIDs of disk partitions will change.  If /etc/fstab references UIDs, you
 need to update it.  Same for /boot/grub/grub.cfg, although for that you
 run update-grub2 from the restored system (you'll need to boot with a
 live cd and chroot, or you'll need to boot with Super Grub Disk or
 similar).  You will also need to install the bootloader on the new hard
 disk.  'grub-install /dev/sda'

 The UUID and Grub issues don't show up when restoring from an image
 backup, but the network card and cd burner issues can.

 There are a lot of free software backup solutions available.  I would
 recommend using one of those, unless this endevour is more for learning
 experience than anything else.

 Backuppc may be overkill for your case, but it's pretty good.  It will
 do file pooling and compression, so keeping multiple backups of one or
 more machines doesn't take up much disk space.

 This is partly a learning experience, and partly to take control of what's
happening.
I have plenty of backup capacity.  Aside from using compression I see no
need
to worry about optimizing storage.  Instead, I like having each backup be
self-contained
and easily identifiable.

I have roughly 32TB of 2-TB disks dedicated to backups (!) plus smaller
older ones.
My three machines are quite modest in size.  Except for one with a huge
stripe array
for temporary stuff related to a hobby of mine, not subject to backups.  I
have
backups running back for years, covering machines I recycled as much as a
decade ago.
All my drives are such that I have a USB drive dock for them, or they come
with a
USB interface.  USB seems likely to stick around for a while.

My hardware is stable enough I'm not worried about naming confusions.
Almost
everything is GPT partitions.  Everything is identified by UUIDs -- those
have no
need to change and I know how to set them on an existing partition to match
anything
in /etc/fstab.

I back up the GPT itself (both copies) and every partition other than
swap.  Just in
case I want it later.

I've not tried other solutions.  I worry that the ones folks seem to like
most do more
than I need or want in terms of management.  I want my stuff where I can
see it, so
to speak, and where I can use the ancient tools (tar, dd, gzip and so on)
to work with it.

I have already spent too much of my life dealing with incompatibilites,
problems with
software and format changes and a whole raft of other stuff.  I want it
simple, and I
want it to be obvious.  I use directory and file names to help make it so,
and every
backup includes the scripts that were used to make it.  It's all bash
script and tools
that were known at the time I started using Linux -- roughly 1993.

I'm a bit ashamed I've never tried (or needed) a system restore before.  So
whatever
this problem is, it's probably lurking in all of my

An experiment in backup

2015-01-15 Thread Kevin O'Gorman
I'm trying to develop a reliable backup method that does not use
proprietary tools or formats, and is free as in beer.  I thought I had it,
but i just tried a restore, and it's a miserable failure.  I wonder if
anyone here can point out the error of my ways.

I have a tar backup of the entire system, excluding /sys, /proc and /dev.
I have a tar backup of a bind-mount of /dev.
These were taken while the system was running, but quiet.  I did it this
way because I cannot get the system to boot into single user mode.  Putting
single on the end of the linux like results in a black screen.

I restored these, created /sys and /proc, and tried to boot the resulting
partition.  It boots, but X does not come up, or even seem to try.  I can
do a console login to my usual account, and stuff is there.

I'm quite clueless as to why this is happening.  I could sure use some help.

-- 
Kevin O'Gorman
#define QUESTION ((bb) || (!bb))   /* Shakespeare */

Please consider the environment before printing this email.


  1   2   3   4   5   6   7   8   9   10   >