Re: Apt-get Upgrade Problem in Stretch?

2017-07-20 Thread Dejan Jocic
On 20-07-17, Patrick Bartek wrote:
> On Thu, 20 Jul 2017 08:48:17 +0200 Dejan Jocic 
> wrote:
> 
> > 
> > If you have minimal install, why do you suspect that something is
> > wrong, rather to suppose that all is fine and that simply there was
> > no security updates for your install? It is stable now, and as far as
> > i can remember, all those security updates we did have of lately were
> > somehow tied for graphical part, plus apache and ngninx. Apart for
> > security updates, tough luck of getting some other updates on stable.
> > And "everything worked fine" on your install of Stretch RC2 because
> > it was still testing and there was much more updates then?
> 
> That was my first thought.  And as I used a Stable net-install disk
> for my first tests of Stable, the system would have been up-to-date
> after the install. But it's been two weeks since that time.  I've added
> X, a window manager, utilities, apps, etc.  Based on my past
> experience, historically, there should have been some fixes.  I've
> never come across any such new release -- Debian or others -- that
> didn't need a plethora of fixes in those few days to a month after.  Or
> perhaps Stretch is bug free.  Or as I said in another post: Maybe the
> maintainers are taking a vacation.
> 
> As far as RC2:  I dist-upgraded it to Stable in the course of my tests.
> And as soon as it hit stable, apt-get upgrades ceased producing
> anything for a week.  So, I downloaded the Stable net-install CD for a
> new install to see if there was any differences.
> 
> B
> 

Yes, but did you really check if security updates debian stable had
during those 2 weeks included packages that you have installed, or not?
Your past experience is past, this is another install. Just take look at
security updates and compare, there is no much philosophy there:

https://www.debian.org/security/

Look under recent advisories.






Re: Setup Grub-Legacy on Jessie

2017-07-20 Thread Felix Miata
Jimmy Johnson composed on 2017-07-20 2:13 (UTC-0700):

> Felix Miata wrote:

> ...I wanted Jessie on sda1 where I keep my 
> menu.lst and keep things simple.

"Simple" I find impossible in multiboot of any serious extent. Closest thing
there can be to simple is a master bootloader on a primary partition which only
the admin ever touches, and is never ever mounted to /boot.

>> All my PCs are multiboot.

> Do you test operating systems?

Yes. I have two functional PCs with as few as 4 OS installed, both using
software RAID. Most PCs here have upwards of 10 OS, at least two with upwards of
25, of which one has more than 40.

>> None of my PCs have any incarnation of Grub* installed on any MBR. Generic 
>> MBR
>> code works.[1]

> And you can still use a menu to boot your systems?

Given multiboot, I can't imagine why you would ask.

> Why do you think it would have been better to have used grub from SUSE 
> than from Ubuntu?

Grub Legacy? Grub2? When, 7-10 years ago? Trusty's? (and why did you choose
Jessie for a Haswell?)

I thought Grub Legacy was last available from Ubuntu too many moons ago to
consider for any recent distros. OTOH, Grub Legacy with Gfxboot from openSUSE is
a dream for multiboot, and supports EXT4, which Debian's does not, which in turn
probably means Ubuntu's does not. With a new HD and a new PC, I initialize Grub
using Knoppix, but once I have an openSUSE on it, I switch it.

Since I rarely actually use Grub2, I have no basis to suggest whether openSUSE's
might be preferable to Ubuntu's. Does Ubuntu's have something Jessie's doesn't
that you need?

To be clear, in MBR systems I only ever install DOS or OS/2 on a primary
partition. All other OS go on logicals. Except for one ancient PC that has only
WinXP on it (which I did not install), at least one primary is always EXT2 with
Grub Legacy and little else, unless the disk is a pure data-only disk, in which
case its MBR sector is empty but for the partition table.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: cups

2017-07-20 Thread Erik Christiansen
On 20.07.17 19:51, Pol Hallen wrote:
> From client I print (ie: a 300Kb of pdf), in log cups server I see that file
> size about 4/5Mb (why?), so the printer before print it I've to wait also 15
> minutes :-/

Is the file for the printer postscript? That is always bigger than the
pdf equivalent, even before you get to the fancy compression of images
that Gene mentions.

A printer with a slow processor can take many minutes to process large
volumes of postscript. I have a small HP 3-in-1 laserprinter, and it can
be slow. I don't remember how PCL5 compares to postscript for speed.

> This happens only with a client with debian testing (and latest update of
> cups) before this updates no problem.

That may be "why", but the file format will elucidate "how", which is the
technically revealing bit.

Erik



Re: Setup Grub-Legacy on Jessie

2017-07-20 Thread Jimmy Johnson

On 07/20/2017 02:46 PM, Pascal Hambourg wrote:


You don't have to use the auto-generated grub.cfg. You can write and
maintain your own one manually.


You can! Good for you!

Cheers,
--
Jimmy Johnson

Debian Jessie - KDE 4.14.2 - Intel G3220 - EXT4 at sda1
Registered Linux User #380263



Re: Apt-get Upgrade Problem in Stretch?

2017-07-20 Thread Patrick Bartek
On Thu, 20 Jul 2017 05:55:15 + (UTC) david...@freevolt.org wrote:

> On Wed, 19 Jul 2017, Patrick Bartek wrote:
> 
> > Getting no results from apt-get upgrade after a week.  Can install
> > apps, etc., but get no security or stretch-update "fixes," etc.  I
> > find this unusual.
> 
> And so, understandably, you feel prompted to seek confirmation that
> there have, in fact, been no updates applicable to your system.

Of course.  But I did do searches to see if something like this has
occured before,

> I have a somewhat minimal[1] amd64 stretch system too, and examining
> /var/log/apt/history.log indicates that the most recent date there
> were upgrades available for an already installed package was on
> 2017-07-09:
> 
>Start-Date: 2017-07-09  hh:mm:ss
>Commandline: /usr/bin/apt-get upgrade
>Upgrade: libdns-export162:amd64 (1:9.10.3.dfsg.P4-12.3,
> [snip]
> In principle, the fewer packages you have installed, the more likely
> there will be such apparent "dry spells".

This was my first thought, too.  But after installing X, window
manager, utilities, apps, and two weeks with nothing, it struck my
"this is out of the ordinary" bone.  Never have any of my Debian
installs gone that long without some upgrade activity, particularly
after an initial Stable release.

> > Did a mail list archive search for this, but didn't find
> > anything specific. Or did I miss the solution?
> 
> It seems to me that the first step is determining whether there exists
> a problem to be solved.

Hence, my contacting the list. Right now, even with the advice I've
gotten, I can't find anything wrong system or configure-wise.

> Hope this helps.

Thanks for your response.

B



Re: Setup Grub-Legacy on Jessie

2017-07-20 Thread Jimmy Johnson

On 07/19/2017 11:33 AM, Felix Miata wrote:

Jimmy Johnson composed on 2017-07-19 02:30 (UTC-0700):


Some of you may already know that setting up grub-legacy on Debian can
be imposable, I've been thinking about this for awhile now and how to
solve this problem that Ubuntu does not have.



So I added trusty main to my Jessie repos and installed trusty grub and
trusty grub-common, I had to do a force-install and an apt-hold on
grub-common to keep it from getting upgraded.



And then I started grub and ran
#find /boot/grub/stage1
#root (hd0,0)
#setup (hd0)



I was half expecting it not to work cause I don't know anyone else who
has tried this, but it worked and I booted it a few times until I was
convinced it was working. :)



Questions or suggestions?


I don't like that kind of repo mixing.


I didn't care for doing it..But I wanted Jessie on sda1 where I keep my 
menu.lst and keep things simple.



All my PCs are multiboot.


Do you test operating systems?


None of my PCs have any incarnation of Grub* installed on any MBR. Generic MBR
code works.[1]


And you can still use a menu to boot your systems?


The only OS installations here with Grub2 installed are *buntus, and I don't use
them much. I equate Grub2 to systemd, except that Grub2 is easier to avoid
having contaminate user experience.

All my other Linux installations have Grub Legacy installed to their /
filesystems, manually by me from openSUSE packages where the OS does not offer a
working package of it.


That's what I did..You said you didn't like it and I agree.


Grub Legacy requires no scripts or filesystem mounting to
setup, and its menu.lst is magnitudes easier than Grub2's grub.cfg to manually
maintain. The / bootloader installations are mainly only used for loading
previous or test kernel versions.

All my PCs have a master boot partition, where Grub Legacy from openSUSE is
installed. openSUSE's Grub Legacy has been kept adequately maintained for my
needs, which means EXT4 filesystems are fully supported. OTOH, Debian's Grub
Legacy is broken WRT EXT4, OK with EXT2/3. These master boot partitions are
configured manually to load every Linux installation's default kernel, plus
chainloading each, and chainloading DOS/OS2/Windows (if applicable), plus 
memtest.

IOW, where Grub Legacy can still be used, it's far preferable. If it works for
you, enjoy. :-)

[1]
https://old-en.opensuse.org/Bugs/grub#How_does_a_PC_boot_.2F_How_can_I_set_up_a_working_GRUB.3F


I don't have anything against SUSE, but not something I would bother 
with at this time, it was the first Linux I installed back in '94 after 
installing DOS, Windows, SCO and Novell, I was installing every piece of 
software I could get my hands on, I installed my first boot sector virus 
then and learned how to remove them too in '94.


Why do you think it would have been better to have used grub from SUSE 
than from Ubuntu?


Cheers,
--
Jimmy Johnson

Debian Jessie - KDE 4.14.2 - Intel G3220 - EXT4 at sda1
Registered Linux User #380263



Re: Apt-get Upgrade Problem in Stretch?

2017-07-20 Thread Patrick Bartek
On Thu, 20 Jul 2017 08:48:17 +0200 Dejan Jocic 
wrote:

> On 19-07-17, Patrick Bartek wrote:
> > On Wed, 19 Jul 2017 13:47:27 -0700 Jimmy Johnson
> >  wrote:
> > 
> > > On 07/19/2017 01:35 PM, Patrick Bartek wrote:
> > > > On Wed, 19 Jul 2017 20:14:28 +0200 Dejan Jocic
> > > >  wrote:
> > > > 
> > > >> On 19-07-17, Patrick Bartek wrote:
> > > >>> Getting no results from apt-get upgrade after a week.  Can
> > > >>> install apps, etc., but get no security or stretch-update
> > > >>> "fixes," etc.  I find this unusual.  Did a mail list archive
> > > >>> search for this, but didn't find anything specific. Or did I
> > > >>> miss the solution?
> > > >>>
> > > >>> My Test Setup:
> > > >>>
> > > >>> Stretch Stable 64-bit from net-install disk in Virtualbox 5.1
> > > >>> on a Wheezy host.  Basic terminal install (no GUI), converted
> > > >>> to sysvinit (did not do anything to systemd files. Kept as
> > > >>> dependencies) and then added xorg, openbox window manager,
> > > >>> etc.
> > > >>>
> > > >>> Thanks for any feedback.
> > > >>>
> > > >>> B
> > > >>>
> > > >>
> > > >> dpkg -s unattended-upgrades
> > > > 
> > > > Not installed either by me or the installer
> > > > 
> > > >> If it is installed, it did your updates and security upgrades
> > > >> for you. If you do not like it and want to do manual
> > > >> updates/upgrades, do with root privs:
> > > > 
> > > > I have always done this manually since I first started using
> > > > Debian (Sarge).  And always will.  This is my personal machine.
> > > > 
> > > >> sed -i 's/1/0/g' /etc/apt/apt.conf.d/20auto-upgrades
> > > >>
> > > >> For further reading and understanding:
> > > >>
> > > >> https://wiki.debian.org/UnattendedUpgrades
> > > > 
> > > > Thanks for the reference.  I've been aware of this for a long
> > > > time, but chose not to use it.
> > > > 
> > > > My problem must be something else.
> > > 
> > > You also have packagekit and discover to deal with and who knows
> > > what else. Stopping auto-install is not that difficult, but
> > > stopping auto-update is a problem.
> > 
> > I think you've assumed some things incorrectly.  I did a basic
> > terminal only install with only basic system utilties, the last
> > option on the list.  No Desktop of any kind. No xserver.
> > Packagekit is not installed.  Discover was as a dependency, but I
> > didn't install it explicitly. No auto-install or auto-update
> > either. I converted to sysvinit, but left systemd stuff as
> > dependencies.  Later will install xorg and openbox, etc. for my
> > GUI. This is the same way I installed Wheezy 5 years ago. And it
> > works (and always has) fine.
> > 
> > FWIW, a few months ago, I installed Stretch RC2 the same way to
> > test it and everything worked including apt-get update, upgrade,
> > etc.
> > 
> > So, something is wrong.  And I won't install it for real until I
> > discover what.
> > 
> > B
> > 
> 
> If you have minimal install, why do you suspect that something is
> wrong, rather to suppose that all is fine and that simply there was
> no security updates for your install? It is stable now, and as far as
> i can remember, all those security updates we did have of lately were
> somehow tied for graphical part, plus apache and ngninx. Apart for
> security updates, tough luck of getting some other updates on stable.
> And "everything worked fine" on your install of Stretch RC2 because
> it was still testing and there was much more updates then?

That was my first thought.  And as I used a Stable net-install disk
for my first tests of Stable, the system would have been up-to-date
after the install. But it's been two weeks since that time.  I've added
X, a window manager, utilities, apps, etc.  Based on my past
experience, historically, there should have been some fixes.  I've
never come across any such new release -- Debian or others -- that
didn't need a plethora of fixes in those few days to a month after.  Or
perhaps Stretch is bug free.  Or as I said in another post: Maybe the
maintainers are taking a vacation.

As far as RC2:  I dist-upgraded it to Stable in the course of my tests.
And as soon as it hit stable, apt-get upgrades ceased producing
anything for a week.  So, I downloaded the Stable net-install CD for a
new install to see if there was any differences.

B



Re: Apt-get Upgrade Problem in Stretch?

2017-07-20 Thread Felix Miata
Joe Pfeiffer composed on 2017-07-20 15:38 (UTC-0600):

> David Wright  wrote:

>> On Wed 19 Jul 2017 at 14:57:50 (-0400), Felix Miata wrote:

>>> Did you miss that in Stretch apt is preferred to apt-get?

>> I did. Where does it say that?

> The closest thing to that statement I've encountered is in the Debian
> Administrator's Handbook, "apt is a second command-line based front end
> provided by APT which overcomes some design mistakes of apt-get."  It
> doesn't quite say it's preferred, but it does say why the author of the
> handbook thinks it's superior.

> https://debian-handbook.info/browse/stable/sect.apt-get.html
> section 6.2

The handbook paragraph following that quoted above includes this:

"The most recommended interface, apt,..."

It only says apt is the cmdline interface that followed apt-get, not when it
followed, but I think "overcomes design mistakes of apt-get" is enough to
justify saying that apt is generally preferred to apt-get.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: Apt-get Upgrade Problem in Stretch?

2017-07-20 Thread Patrick Bartek
On Wed, 19 Jul 2017 20:41:33 -0700 Jimmy Johnson
 wrote:

> On 07/19/2017 07:05 PM, Patrick Bartek wrote:
> > On Wed, 19 Jul 2017 13:47:27 -0700 Jimmy Johnson
> >  wrote:
> > 
> >> On 07/19/2017 01:35 PM, Patrick Bartek wrote:
> >>> On Wed, 19 Jul 2017 20:14:28 +0200 Dejan Jocic 
> >>> wrote:
> >>>
>  On 19-07-17, Patrick Bartek wrote:
> > Getting no results from apt-get upgrade after a week.  Can
> > install apps, etc., but get no security or stretch-update
> > "fixes," etc.  I find this unusual.  Did a mail list archive
> > search for this, but didn't find anything specific. Or did I
> > miss the solution?
> >
> > My Test Setup:
> >
> > Stretch Stable 64-bit from net-install disk in Virtualbox 5.1
> > on a Wheezy host.  Basic terminal install (no GUI), converted to
> > sysvinit (did not do anything to systemd files. Kept as
> > dependencies) and then added xorg, openbox window manager, etc.
> >
> > Thanks for any feedback.
> >
> > B
> >
> 
>  dpkg -s unattended-upgrades
> >>>
> >>> Not installed either by me or the installer
> >>>
>  If it is installed, it did your updates and security upgrades for
>  you. If you do not like it and want to do manual
>  updates/upgrades, do with root privs:
> >>>
> >>> I have always done this manually since I first started using
> >>> Debian (Sarge).  And always will.  This is my personal machine.
> >>>
>  sed -i 's/1/0/g' /etc/apt/apt.conf.d/20auto-upgrades
> 
>  For further reading and understanding:
> 
>  https://wiki.debian.org/UnattendedUpgrades
> >>>
> >>> Thanks for the reference.  I've been aware of this for a long
> >>> time, but chose not to use it.
> >>>
> >>> My problem must be something else.
> >>
> >> You also have packagekit and discover to deal with and who knows
> >> what else. Stopping auto-install is not that difficult, but
> >> stopping auto-update is a problem.
> > 
> > I think you've assumed some things incorrectly.  I did a basic
> > terminal only install with only basic system utilties, the last
> > option on the list.  No Desktop of any kind. No xserver.
> > Packagekit is not installed.  Discover was as a dependency, but I
> > didn't install it explicitly. No auto-install or auto-update
> > either. I converted to sysvinit, but left systemd stuff as
> > dependencies.  Later will install xorg and openbox, etc. for my
> > GUI. This is the same way I installed Wheezy 5 years ago. And it
> > works (and always has) fine.
> > 
> > FWIW, a few months ago, I installed Stretch RC2 the same way to
> > test it and everything worked including apt-get update, upgrade,
> > etc.
> > 
> > So, something is wrong.  And I won't install it for real until I
> > discover what.
> > 
> > B
> 
> 
> A few months ago, hum, I wonder what could have changed, let's see 
> Stretch was in testing and not frozen. Yep, you're right it's broken.

No need for sarcasm.  I've been using Debian since Sarge, and this is
the first time I've noted such a lack of "fixes" and security updates
after the initial release of a Stable.  Historically, that's unusual.
Maybe, the maintainers are taking a vacation. ;-)

> Here's a link for you to check out: 
> https://wiki.debian.org/UnattendedUpgrades Pay attention to the term 
> "periodic", it's turned on by default and even if the config file is
> not there it's still turned on.

I did check.  Since the package unattended-upgrades is not installed --
not on my initial test minimal install or the full LXDE desktop one I
just did -- it can't be "turned on" by default or otherwise.   There's
also no config file for it in /etc/apt/apt.conf.d/ Maybe, it's
installed by default with GNOME.  I don't know as I don't use GNOME and
haven't in about 6 years

B.



Re: Setup Grub-Legacy on Jessie

2017-07-20 Thread Felix Miata
Pascal Hambourg composed on 2017-07-20 23:40 (UTC+0200):

> Felix Miata composed:

>> Grub Legacy requires no scripts or filesystem mounting to
>> setup, and its menu.lst is magnitudes easier than Grub2's grub.cfg to 
>> manually
>> maintain.

> This is your opinion.

Grub2 setup can be run without mounting the target filesystem?

(boot anything that has Grub Legacy available in the path)
# grub
grub> find /boot/grub/stage1# verify current state is as expected
grub> root (hd0,6)  # specify installation source
grub> setup (hd0,2) # make a primary bootable
(ready to boot third primary partition on first HD)

Do similarly simple Grub2 instructions exist? I've never seen any, and I don't
see how they could be with entirely different syntax between partition numbering
and disk numbering.

OTOH, every Debian kernel installation, plus initrd regenerations, fill my
screens with complaints like

dpkg: warning: version 'cur' has bad syntax: version number does not start with
digit
dpkg: warning: version 'prv' has bad syntax: version number does not start with
digit

Bootloaders don't need numbers in kernel names. Boot menus don't need updates at
kernel installation times when suitable generic symlinks are maintained.

> I beg to differ. Once you are used to it, manually
> maintaining grub.cfg is rather easy.

In your opinion. I find smaller files using volume labels easier to maintain
than larger ones with humanly immemorable UUIDs. I don't see how files 10X as
large that additionally involve scripting can be preferable. It might be of
small consequence on one or a few installations, but with my many I go with
skipping the confusion of a poorly compatible mixture, plus what ain't broke
don't need fixin.

>> All my PCs have a master boot partition, where Grub Legacy from openSUSE is
>> installed. openSUSE's Grub Legacy has been kept adequately maintained for my
>> needs, which means EXT4 filesystems are fully supported. OTOH, Debian's Grub
>> Legacy is broken WRT EXT4, OK with EXT2/3.

> Because the upstream GRUB legacy does not support ext4,
Since when has there been any upstream Grub Legacy? Upstream restarted from
scratch, a whole new set of requirements and bugs to go along with incompatible
menu and setup, a very different bootloader deserving of a very different name.

> not even 
> mentioning newer filesystems such as btrfs, or features such as LVM, 
> RAID (no, GRUB legacy has no full software RAID support).

Some people are satisfied to keep what works working and let others do the
experimenting. WRT filesystems I don't experiment; my experimental efforts go
elsewhere. I have multiple PCs running RAID, all of which boot using Grub, none
of which have Grub on MBR.

> It is SUSE which patched its GRUB legacy package to support ext4. 

SLE apparently had and has a paid support base using Grub Legacy and wanting
EXT4 support, so because of the intertwining of SLE and openSUSE, openSUSE users
benefited from it as well.

Unlike some other distros, SLE/openSUSE maintained, and still maintain, though
incompletely (their current installers do not provide an option to install Grub
Legacy, so it must be installed later if it's wanted), keeping what works
working for people who don't need everything that every upstream deems
improvement, by continuing to provide two usable Grub environments.

> IMO, it was not the right thing to do. It caused confusion among people (does 
> GRUB legacy support ext4 or not ?) and delayed the adoption of GRUB 2.
 Delaying adoption can be a very good thing, a selling point. Debian does it.

It's only natural to expect a distro that wants to keep its users happy to fix,
as available resources permit, known breakage that upstreams refuse to fix.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Re: What is Installjammer? (OT reply)

2017-07-20 Thread Anthony DeRobertis

On 07/20/2017 03:16 PM, Dan Ritter wrote:

Similarly, it is currently Thu Sep 8724 1993

(Eternal September calendar, available as sdate).


Way back on September 4180, 1993, AOL ended Usenet access, the cause of 
the Eternal September. I'm not sure if it's best to call the next day 
October 1, 1993 or February 10, 2005, but either way September was 
finally over.


Seems like a bug in the sdate package :-P



Re: cups

2017-07-20 Thread Gene Heskett
On Thursday 20 July 2017 13:51:19 Pol Hallen wrote:

> Hi all :-)
>
> can someone tell me how cups handles pdf files?
>
> I've cups on server and some clients connected to it
> (ipp://ip/printer)
>
>  From client I print (ie: a 300Kb of pdf), in log cups server I see
> that file size about 4/5Mb (why?), so the printer before print it I've
> to wait also 15 minutes :-/
>
> This happens only with a client with debian testing (and latest update
> of cups) before this updates no problem.
>
> thanks for help and advices :-)))

A .pdf file is quite compressed. I've had a 12 meg pdf unpack to several 
gigabytes, and use close to 800 pages of Georgia-Pacifics finest 24 lb 
bright white to make it into dead tree format.

The method of makeing the pdf, is actually one of the better compressors 
extant.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: Installation of debian/stretch 32-bit error

2017-07-20 Thread David Wright
On Wed 19 Jul 2017 at 19:57:57 (-0400), Felix Miata wrote:
> Pascal Hambourg composed on 2017-07-20 0:40 (UTC+0200):
> 
> > Felix Miata composed:
> 
> >> ...is not
> >> always adequate. 240/63, another very common configuration...
> 
> > IME, 31 KiB is still enough to contain a core image when not needing 
> > costly features such as btrfs, LVM or RAID support.
> 
> That's what "not always adequate" means. Partitioning with less than 63 SPT
> isn't all that unusual on old PATA disks either. And, sometimes those old
> configurations have other things using the boot track. Maybe Grub2's installer
> rejects using that space if it's not empty of recognizable content?

My experience is that it says what it is (and works around it):

# grub-install /dev/sda
/usr/sbin/grub-setup: warn: Sector 5 is already in use by ZISD; avoiding it.
This software may cause boot or other problems in future.
Please ask its authors not to store data in the boot track.
Installation finished. No error reported.
# 

Cheers,
David.



Re: Free software

2017-07-20 Thread Joel Rees
On Fri, Jul 21, 2017 at 3:46 AM, Doug  wrote:
>
> On 07/20/2017 06:32 AM, rhkra...@gmail.com wrote:
>>
>> On Wednesday, July 19, 2017 09:27:16 PM Gene Heskett wrote:
>>>
>>> Doug is correct. Every shop had a subscription to SAM's and toward the
>>> end as many as 9 or 10, tall 4 drawer fileing cabinets to keep the stuff
>>> in if the subscription was for all of the stuff.
>>
>> Ahh, Sam's was a good clue (for me)--I think the series was called Sam's
>> Photofacts.
>>
>>
>>
> You can look it up on the Internet. Just put Sam's Photofact into
> your browser!
>
> (I remember it as Photofacts, just like rhkramer, but the 'net
> has it as singular.)

Well, a couple of filing cabinets full would be plural, wouldn't it?

-- 
Joel Rees

One of these days I'll get someone to pay me
to design a language that combines the best of Forth and C.
Then I'll be able to leap wide instruction sets with a single #ifdef,
run faster than a speeding infinite loop with a #define,
and stop all integer size bugs with my bare cast.
http://defining-computers.blogspot.com/2017/06/reinventing-computers.html

More of my delusions:
http://reiisi.blogspot.com/2017/05/do-not-pay-modern-danegeld-ransomware.html
http://reiisi.blogspot.jp/p/novels-i-am-writing.html



Re: False dichotomy [was: Apt vs apt-get]

2017-07-20 Thread Fungi4All
> From: recovery...@gmail.com
> Hi.
> On Thu, 20 Jul 2017 20:18:04 +0200
> Frank  wrote:
>> Op 20-07-17 om 18:58 schreef Fungi4All:
>> > Does it matter what we all think, even if agree or it matters what
>> > the manual of the package says. In my installation this is manual
>> > I found, it says apt all over the place, meanwhile there is apt-get
>> > package to install. /usr/share/man/man8/apt-get.8.gz
>> >
>> > In my repositories the only mention of apt-get is in cron-apt
>> > and its dependency says apt. Its description says:
>> > automatic update of packages using apt-get
>> > There is also apt-utils, dep apt, apt-get not mentioned
>>
>> What are you on about? Are you even aware of what this set of tools
>> actually is? You certainly make it sound like you aren"t.
> At other places in Internet they warn you about feeding the trolls. Or
> not doing it. I forgot, which one it is. Just a firendly reminder.
> Reco

I don't know to whom you are referring as a troll but I haven't even
expressed an opinion on such a dichotomy. I have simply reported
puzzling findings, in an effort to clarify what the difference is in
simpler terms than those documented. What it used to be and what
it is now. Just a few days ago the use of the one and "maybe" not
the other, caused a needed package instead of upgrading to vanish.
I had to reverse to a different repository, pick it up and lock it in
place.
If this sounds like trolling activity please define trolling.
If you are referring to someone else, I apologize for the misunderstanding.

Re: cups

2017-07-20 Thread Mark Fletcher
On Thu, Jul 20, 2017 at 07:51:19PM +0200, Pol Hallen wrote:
> Hi all :-)
> 
> can someone tell me how cups handles pdf files?
> 
> I've cups on server and some clients connected to it (ipp://ip/printer)
> 
> From client I print (ie: a 300Kb of pdf), in log cups server I see that file
> size about 4/5Mb (why?), so the printer before print it I've to wait also 15
> minutes :-/
> 
> This happens only with a client with debian testing (and latest update of
> cups) before this updates no problem.
> 
> thanks for help and advices :-)))

Total guess here, and no doubt Brian or someone who's a real CUPS expert 
will reply shortly, but I'm wondering if your PDF file contains a lot of 
images? Or a single large image? My guess is the client is assuming 
(probably correctly, I would have thought) that it has to preprocess 
those images from some potentially-highly-compressed format into a 
bitmap format of one kind or another to send to the printer, and that is 
causing it to take more space. That could explain the much larger size 
of what is being processed than the size of the document. Shouldn't take 
15 minutes to print a document even in that case though. Is it 15 mins 
of nothing apparently happening at all or 15 minutes of the printer 
futzing around looking like it's getting ready to print but not actually 
taking the paper and getting on with it? I have that latter symptom on 
my system (for 1-2 minutes, not 15!) when I haven't printed for a while 
and the printer decides that the moment I need a document in a hurry is 
the moment to clean the print nozzles...

Mark



Re: Gateway disappears on IPv6

2017-07-20 Thread Rainer Dorsch
Thanks, Guus,  for your reply.

I just wanted to confirm that the workaround 

up ip -6 route add default via fe80::1 dev $IFACE onlink

works flawless for me.

I will upgrade to Stretch with one of the next point releases.

Thanks again,
Rainer

Am Samstag, 15. Juli 2017, 21:30:27 CEST schrieb Guus Sliepen:
> On Sat, Jul 15, 2017 at 07:31:29PM +0200, Rainer Dorsch wrote:
> > > I added a IPv6 support to a KVM virtualized Jessie system following the
> > > instructions by the hoster
> > > 
> > > https://www.netcup-wiki.de/wiki/Zus
> > > %c3%a4tzliche_IP_Adresse_konfigurieren#IPv6%7C
> 
> That should still work, but I see it uses the ancient interface alias
> notation (like eth0:1). The example given there can be rewritten to a
> more modern form:
> 
> allow-hotplug eth0
> iface eth0 inet static
>   address 37.100.195.4/22
>   gateway 37.100.192.1
> 
> iface eth0 inet static
>   address 46.38.240.15
> 
> iface eth0 inet6 static
>   address 2a03:4000:2:11c5::1/64
>   gateway fe80::1
> 
> Note that the netmasks and broadcast addresses are gone, and you can
> have multiple inet stanzas for the same interface.
> 
> > > root@netcup:~# /sbin/route -6
> > > Kernel IPv6 routing table
> > > DestinationNext Hop   Flag  Met  Ref
> > > Use If
> [...]
> 
> > > ::/0   fe80::1UGDAe 1024 3  
> > > ::0   eth0
> The flags field contains the letter 'e', which means that this route
> expires. This is added by the kernel, most likely because the gateway
> address is not inside 2a03:4000:2:11c5::/64, and will cause it to remove
> the route after a while. This looks like the same issue reported in
> Debian bug #378506, which is fixed in stretch.
> 
> The workaround is to remove the gateway fe80::1 statement, but to add
> this instead:
> 
>   up ip -6 route add default via fe80::1 dev $IFACE onlink


-- 
Rainer Dorsch
http://bokomoko.de/



Re: Apt-get Upgrade Problem in Stretch?

2017-07-20 Thread Joe Pfeiffer
David Wright  writes:

> On Wed 19 Jul 2017 at 14:57:50 (-0400), Felix Miata wrote:
>> Patrick Bartek composed on 2017-07-19 10:29 (UTC-0700):
>> 
>> > Getting no results from apt-get upgrade after a week.  Can install apps,
>> > etc., but get no security or stretch-update "fixes," etc.  I find
>> > this unusual.  Did a mail list archive search for this, but didn't find
>> > anything specific. Or did I miss the solution?
>> 
>> > My Test Setup:
>> 
>> > Stretch Stable 64-bit from net-install disk in Virtualbox 5.1 on a
>> > Wheezy host.  Basic terminal install (no GUI), converted to sysvinit
>> > (did not do anything to systemd files. Kept as dependencies) and then
>> > added xorg, openbox window manager, etc.
>> 
>> > Thanks for any feedback.
>> 
>> Did you miss that in Stretch apt is preferred to apt-get?
>
> I did. Where does it say that?

The closest thing to that statement I've encountered is in the Debian
Administrator's Handbook, "apt is a second command-line based front end
provided by APT which overcomes some design mistakes of apt-get."  It
doesn't quite say it's preferred, but it does say why the author of the
handbook thinks it's superior.

https://debian-handbook.info/browse/stable/sect.apt-get.html
section 6.2

But this whole discussion is a complete red herring.  Whatever the OP's
actual issue, the probability that it has anything to do with apt
vs. apt-get is so low that pretty much everything else should be
considered first.

(not that it matters, but personally I prefer aptitude)



Re: Setup Grub-Legacy on Jessie

2017-07-20 Thread Pascal Hambourg

Le 19/07/2017 à 22:20, Jimmy Johnson a écrit :

On 07/19/2017 11:04 AM, Pascal Hambourg wrote:

Le 19/07/2017 à 11:30, Jimmy Johnson a écrit :
Some of you may already know that setting up grub-legacy on Debian 
can be imposable,


Imposable ? What would impose it ?


Debian grub-legacy setup is no longer supported, yet it can still be 
install so you can get a readable menu when you upgrade the kernel.


That sounds contradictory with "imposable". Did you mean "impossible" ?


One question : why use GRUB legacy ?


I multi-boot 20 installed .deb systems on the computer is the reason why.


So what ? Can't GRUB 2 handle 20 different systems ?


One suggestion : upgrade.


Not an option, I would be screwing with a grub config file that's not 
designed to be readable by man


Even though, grub.cfg is perfectly readable by man when you're used to 
it. I am a man and I can read it.


and with 20 systems just updating grub-pc 
is unnecessary time consuming.  If I was running one or two systems 
grub-pc would be fine but even my laptops have 5 or more systems installed.


You don't have to use the auto-generated grub.cfg. You can write and 
maintain your own one manually.




Re: Setup Grub-Legacy on Jessie

2017-07-20 Thread Pascal Hambourg

Le 19/07/2017 à 20:33, Felix Miata a écrit :


Grub Legacy requires no scripts or filesystem mounting to
setup, and its menu.lst is magnitudes easier than Grub2's grub.cfg to manually
maintain.


This is your opinion. I beg to differ. Once you are used to it, manually 
maintaining grub.cfg is rather easy.



All my PCs have a master boot partition, where Grub Legacy from openSUSE is
installed. openSUSE's Grub Legacy has been kept adequately maintained for my
needs, which means EXT4 filesystems are fully supported. OTOH, Debian's Grub
Legacy is broken WRT EXT4, OK with EXT2/3.


Because the upstream GRUB legacy does not support ext4, not even 
mentioning newer filesystems such as btrfs, or features such as LVM, 
RAID (no, GRUB legacy has no full software RAID support).


It is SUSE which patched its GRUB legacy package to support ext4. IMO, 
it was not the right thing to do. It caused confusion among people (does 
GRUB legacy support ext4 or not ?) and delayed the adoption of GRUB 2.




Re: Setup Grub-Legacy on Jessie

2017-07-20 Thread Weaver
On 2017-07-21 07:29, Pascal Hambourg wrote:
> Le 20/07/2017 à 08:51, Curt a écrit :
>> On 2017-07-19, Curt  wrote:
>>> On 2017-07-19, Pascal Hambourg  wrote:
 Le 19/07/2017 à 11:30, Jimmy Johnson a écrit :
> Some of you may already know that setting up grub-legacy on Debian can
> be imposable,

 Imposable ? What would impose it ?
>>
>>> I think he meant impossible. In fact, I read impossible (and only reread
>>> the phrase and realized he'd written imposable because of your post).
>>
>> I guess he did mean imposable (whatever that would mean--capable of being 
>> imposed,
>> but not necessarily imposed)? Or imposed?
> 
> Neither does make sense to me...

Stop imposing this on me.

-- 
"It is the duty of the patriot to protect his country from its 
government."
 -- Thomas Paine

Registered Linux User: 554515



Re: Setup Grub-Legacy on Jessie

2017-07-20 Thread Pascal Hambourg

Le 20/07/2017 à 08:51, Curt a écrit :

On 2017-07-19, Curt  wrote:

On 2017-07-19, Pascal Hambourg  wrote:

Le 19/07/2017 à 11:30, Jimmy Johnson a écrit :

Some of you may already know that setting up grub-legacy on Debian can
be imposable,


Imposable ? What would impose it ?



I think he meant impossible. In fact, I read impossible (and only reread
the phrase and realized he'd written imposable because of your post).


I guess he did mean imposable (whatever that would mean--capable of being 
imposed,
but not necessarily imposed)? Or imposed?


Neither does make sense to me...



Re: Installation of debian/stretch 32-bit error

2017-07-20 Thread Pascal Hambourg

Le 20/07/2017 à 01:57, Felix Miata a écrit :

Pascal Hambourg composed on 2017-07-20 0:40 (UTC+0200):


Felix Miata composed:



...is not
always adequate. 240/63, another very common configuration...



IME, 31 KiB is still enough to contain a core image when not needing
costly features such as btrfs, LVM or RAID support.


That's what "not always adequate" means. Partitioning with less than 63 SPT
isn't all that unusual on old PATA disks either.


Really ? Even amongst my oldest PATA disks (less that 1 GB capacity), I 
could find only one having less than 63 sectors per track.



And, sometimes those old
configurations have other things using the boot track. Maybe Grub2's installer
rejects using that space if it's not empty of recognizable content?


Maybe. Without the complete error message from grub-install we cannot know.


Anyway, the Debian installer calls grub-install with the --force option
so that if embedding in the post-MBR area is not possible, the core
image will be stored as a regular file in /boot and accessed using block
lists unless the filesystem does not support it. AFAIK, only btrfs is
not supported with this setup, and a separate /boot is very unlikely to
use btrfs.


XFS has not the same limitation as BTRFS?


Well, I don't know. I have never used it. But using XFS for the /boot 
partition seems very unlikely too.




Re: False dichotomy [was: Apt vs apt-get]

2017-07-20 Thread Reco
Hi.

On Thu, 20 Jul 2017 20:18:04 +0200
Frank  wrote:

> Op 20-07-17 om 18:58 schreef Fungi4All:
> > Does it matter what we all think, even if agree or it matters what
> > the manual of the package says.  In my installation this is manual
> > I found, it says apt all over the place, meanwhile there is apt-get
> > package to install.  /usr/share/man/man8/apt-get.8.gz
> > 
> > In my repositories the only mention of apt-get is in cron-apt
> > and its dependency says apt.  Its description says:
> > automatic update of packages using apt-get
> > There is also apt-utils, dep apt, apt-get not mentioned
> 
> What are you on about? Are you even aware of what this set of tools 
> actually is? You certainly make it sound like you aren't.

At other places in Internet they warn you about feeding the trolls. Or
not doing it. I forgot, which one it is. Just a firendly reminder.

Reco



Re: Free software

2017-07-20 Thread David Wright
On Thu 20 Jul 2017 at 08:59:08 (-0400), Gene Heskett wrote:
> On Thursday 20 July 2017 07:32:04 rhkra...@gmail.com wrote:
> 
> > On Wednesday, July 19, 2017 09:27:16 PM Gene Heskett wrote:
> > > Doug is correct. Every shop had a subscription to SAM's and toward
> > > the end as many as 9 or 10, tall 4 drawer fileing cabinets to keep
> > > the stuff in if the subscription was for all of the stuff.
> >
> > Ahh, Sam's was a good clue (for me)--I think the series was called
> > Sam's Photofacts.
> 
> Yup.

I looked them up and found they had, for example, a manual for
the Ferrograph Series 3. Would that be a badge engineered
Ferrograph manual or a different publication¹? I had manuals
for the Series 2 (hardbound) and Series 7 (comb-bound) machines
that I/we possessed. They had full alignment instructions,
circuit diagrams etc.

In the UK I had no difficulty with getting manuals and circuit
diagrams from the likes of Quad, Leak, Radford, Tandberg, to name
but a few. I just wrote to them and they sent them back, gratis.
That seemed to be the norm back then (fifties through seventies).

¹ie like the entirely original Haynes manuals for cars.

Cheers,
David.



Re: What is Installjammer? (OT reply)

2017-07-20 Thread Jude DaShiell

That's the revolutionary calendar.

On Thu, 20 Jul 2017, Doug wrote:


Date: Thu, 20 Jul 2017 14:53:38
From: Doug 
To: Stephen P. Molnar , debian-user@lists.debian.org
Subject: Re: What is Installjammer? (OT reply)
Resent-Date: Thu, 20 Jul 2017 18:53:55 + (UTC)
Resent-From: debian-user@lists.debian.org


On 07/20/2017 08:54 AM, Stephen P. Molnar wrote:

On 07/20/2017 09:14 AM, Nicolas George wrote:

Le duodi 2 thermidor, an CCXXV, Stephen P. Molnar a ?crit :

/snip/

Is this French? I can understand July being called something that must mean 
HOT,

but is this year 225? Dated from when?

--doug




--



Re: funding & viability questions of GPL enforcement.

2017-07-20 Thread Fungi4All
> On Wed 19/Jul/2017 23:14:35 +0200 Martin Read wrote:
>> On 19/07/17 12:17, Alessandro Vesely wrote:
>>> One my wonder why GRSecurity is not (optionally) included in Linux.
>>
>> For a variety of reasons relating to the personalities and opinions of the
>> people who would be involved - on both sides - in making it happen.
>>
>> It should be noted that some people who are not part of the grsec project 
>> *are*
>> trying to incrementally move the less performance-impactful features of grsec
>> into the mainline kernel.
> Yes, the example I had in mind was this:
> https://lwn.net/Articles/725203/
> Of course, nobody dislikes security. Making it neat and clear is another
> question, and that"s why experiments are needed. Can we consider Linux and
> GRSecurity as entities cooperating with each other in that respect?

GRS is a formal hierarchical organization, a very different single endity than 
the
linux "thing". A community of many different entities, in size and shape. Not
a formal organization, I don't think. How can the two different things 
communicate,
let alone cooperate? Let's just home each does their thing and share what they
do and leave it at that. Only equals can communicate, coordinate, and cooperate.
So linux as a whole can hardly be imagined to be in communication with anything
else.

> Ale

I vote against such cooperating proposals as such would try to shape and
change what linux is. If grs and debian can cooperate that would be an issue
for them to decide. For linux we all need to agree before we decide.

Re: Apt vs apt-get [Was: Apt-get Upgrade Problem in Stretch?]

2017-07-20 Thread Fungi4All
> Op 20-07-17 om 18:58 schreef Fungi4All:
>> Does it matter what we all think, even if agree or it matters what
>> the manual of the package says. In my installation this is manual
>> I found, it says apt all over the place, meanwhile there is apt-get
>> package to install. /usr/share/man/man8/apt-get.8.gz
>>
>> In my repositories the only mention of apt-get is in cron-apt
>> and its dependency says apt. Its description says:
>> automatic update of packages using apt-get
>> There is also apt-utils, dep apt, apt-get not mentioned
> What are you on about? Are you even aware of what this set of tools
> actually is? You certainly make it sound like you aren"t.
> Apart from a number of packages with related utilities, there has only
> ever been a package called apt. So that"s what people refer to. You
> won"t find an apt-get or apt-cache package. Those are just executables
> provided by the apt package.
> Until (faily) recently, the apt package had no executable called apt.
> Look at the apt manpage. Among other things, it mentions what this "new"
> executable was created for. And this bit is particularly interesting:
> All features of apt(8) are available in dedicated APT tools like apt-
> get(8) and apt-cache(8) as well. apt(8) just changes the default value
> of some options (see apt.conf(5) and specifically the Binary scope).
> So you should prefer using these commands (potentially with some
> additional options enabled) in your scripts as they keep backward
> compatibility as much as possible.
> In other words, by all means use apt on the command line, just don"t do
> it in scripts. That ought to tell you something.

It told me, all I needed to know. Thanks!

Re: What is Installjammer? (OT reply)

2017-07-20 Thread Stephen P. Molnar

On 07/20/2017 02:53 PM, Doug wrote:


On 07/20/2017 08:54 AM, Stephen P. Molnar wrote:

On 07/20/2017 09:14 AM, Nicolas George wrote:

Le duodi 2 thermidor, an CCXXV, Stephen P. Molnar a écrit :

/snip/

Is this French? I can understand July being called something that must
mean HOT,
but is this year 225? Dated from when?

--doug


Darned to know where the French came from!!!

--
Stephen P. Molnar, Ph.D.Life is a fuzzy set
www.molecular-modeling.net  Stochastic and multivariate
(614)312-7528 (c)
Skype: smolnar1



Re: French revolution (OT reply) (was intelijammer)

2017-07-20 Thread Fungi4All
> Hello Doug,
>>Is this French?
> Quite likely.
>>but is this year 225? Dated from when?
> Given the above, I"d say it"s the French Republican (aka Revolutionary)
> Calendar.

Revolution was 1789 (13 years after americans revolted for the same reasons).
2017-1789=228
The revolution was under the slogan freedom - equality - solidarity
The end of the revolution was 1792, when "equality" was dropped.
So 225 is the number of years of the suppression of the revolution.
This is what reactionaries will celebrate, but not for long.
Not for long :)

Re: What is Installjammer? (OT reply)

2017-07-20 Thread Doug


On 07/20/2017 02:03 PM, Frank wrote:

Op 20-07-17 om 20:53 schreef Doug:


On 07/20/2017 08:54 AM, Stephen P. Molnar wrote:

On 07/20/2017 09:14 AM, Nicolas George wrote:

Le duodi 2 thermidor, an CCXXV, Stephen P. Molnar a écrit :

/snip/

Is this French? I can understand July being called something that 
must mean HOT,

but is this year 225? Dated from when?


French revolution, most likely.

https://en.wikipedia.org/wiki/Thermidor

Regards,
Frank



Thanx, Frank. Does anybody actually use this?
--doug



Android Studio and AVDs

2017-07-20 Thread solitone
Is anyone using Android Studio on stretch? Have you managed to run apps on an 
Android Virtual Device (AVD)?

I've tried everything. The emulator seems to start, I get no errors, and the 
emulated device appears on my screen (at least when using software 
accelaration, otherwise it doesn't start at all). Then I've tried to build and 
install the Android Packege (APK) from the command line with adb, but when I 
run something like:

$ ./adb install my.apk 

I always get the error: "Can't find service: package"
-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁Sent from my brain using neurons fueled by glucose.
⢿⡄⠘⠷⠚⠋⠀ 
⠈⠳⣄



Re: What is Installjammer? (OT reply)

2017-07-20 Thread Dan Ritter
On Thu, Jul 20, 2017 at 09:07:54PM +0200, Nicolas George wrote:
> Le duodi 2 thermidor, an CCXXV, Frank a écrit :
> > French revolution, most likely.
> 
> Technically, "republican calandar", not "revolutionary calendar", but
> you got the right reference.
> 
> Just a whim I had and implemented when I was barely more than teenage
> and never bothered to replace.

Similarly, it is currently Thu Sep 8724 1993

(Eternal September calendar, available as sdate).

and

Sweetmorn, the 55th day of Confusion in the YOLD 3183

(Discordian calendar, available as ddate).

-dsr-




Re: What is Installjammer? (OT reply)

2017-07-20 Thread Brad Rogers
On Thu, 20 Jul 2017 13:53:38 -0500
Doug  wrote:

Hello Doug,

>Is this French? 

Quite likely.

>but is this year 225? Dated from when?

Given the above, I'd say it's the French Republican (aka Revolutionary)
Calendar.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Never much liked playing there anyway
Banned From The Roxy - Crass


pgpHJCDb6vdCf.pgp
Description: OpenPGP digital signature


Re: What is Installjammer? (OT reply)

2017-07-20 Thread Nicolas George
Le duodi 2 thermidor, an CCXXV, Frank a écrit :
> French revolution, most likely.

Technically, "republican calandar", not "revolutionary calendar", but
you got the right reference.

Just a whim I had and implemented when I was barely more than teenage
and never bothered to replace.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: [resolved] multiple windows, not multiple tabs

2017-07-20 Thread FHDATA


issue was unintended consequence of my  customization.

i had:

System Settings->Windows Behavior->Windows Behavior->Advanced tab

checked the Windows Tabbing's Automatically group similar windows.


i have un-checked that box now.




Thank you,
F-



On Wed, 19 Jul 2017, FHDATA wrote:




hello all,

this is a KDE 4.14.x question.

a showstopper I need to find a remedy/fix
or find myself another desktop.


It seems that in KDE everything is single-instance!


in particular I am in need of being able to launch
multiple instances of Konsole or heck even a whole
bunch of xterms 
All I get is  one window with tabs

can not work only with one window with multiple tabs.
I want multiple windows/instances.


Am I missing any hidden Preferences or Setting somewhere?

Any reasonable work-around?

Thank you,
F-






Re: What is Installjammer? (OT reply)

2017-07-20 Thread Frank

Op 20-07-17 om 20:53 schreef Doug:


On 07/20/2017 08:54 AM, Stephen P. Molnar wrote:

On 07/20/2017 09:14 AM, Nicolas George wrote:

Le duodi 2 thermidor, an CCXXV, Stephen P. Molnar a écrit :

/snip/

Is this French? I can understand July being called something that must 
mean HOT,

but is this year 225? Dated from when?


French revolution, most likely.

https://en.wikipedia.org/wiki/Thermidor

Regards,
Frank



Re: What is Installjammer? (OT reply)

2017-07-20 Thread Doug


On 07/20/2017 08:54 AM, Stephen P. Molnar wrote:

On 07/20/2017 09:14 AM, Nicolas George wrote:

Le duodi 2 thermidor, an CCXXV, Stephen P. Molnar a écrit :

/snip/

Is this French? I can understand July being called something that must 
mean HOT,

but is this year 225? Dated from when?

--doug



Re: Free software

2017-07-20 Thread Doug


On 07/20/2017 06:32 AM, rhkra...@gmail.com wrote:

On Wednesday, July 19, 2017 09:27:16 PM Gene Heskett wrote:

Doug is correct. Every shop had a subscription to SAM's and toward the
end as many as 9 or 10, tall 4 drawer fileing cabinets to keep the stuff
in if the subscription was for all of the stuff.

Ahh, Sam's was a good clue (for me)--I think the series was called Sam's
Photofacts.




You can look it up on the Internet. Just put Sam's Photofact into
your browser!

(I remember it as Photofacts, just like rhkramer, but the 'net
has it as singular.)

--doug



Re: Apt vs apt-get [Was: Apt-get Upgrade Problem in Stretch?]

2017-07-20 Thread Frank

Op 20-07-17 om 18:58 schreef Fungi4All:

Does it matter what we all think, even if agree or it matters what
the manual of the package says.  In my installation this is manual
I found, it says apt all over the place, meanwhile there is apt-get
package to install.  /usr/share/man/man8/apt-get.8.gz

In my repositories the only mention of apt-get is in cron-apt
and its dependency says apt.  Its description says:
automatic update of packages using apt-get
There is also apt-utils, dep apt, apt-get not mentioned


What are you on about? Are you even aware of what this set of tools 
actually is? You certainly make it sound like you aren't.


Apart from a number of packages with related utilities, there has only 
ever been a package called apt. So that's what people refer to. You 
won't find an apt-get or apt-cache package. Those are just executables 
provided by the apt package.


Until (faily) recently, the apt package had no executable called apt. 
Look at the apt manpage. Among other things, it mentions what this 'new' 
executable was created for. And this bit is particularly interesting:


  All features of apt(8) are available in dedicated APT tools like apt-
  get(8) and apt-cache(8) as well. apt(8) just changes the default value
  of some options (see apt.conf(5) and specifically the Binary scope).
  So you should prefer using these commands (potentially with some
  additional options enabled) in your scripts as they keep backward
  compatibility as much as possible.

In other words, by all means use apt on the command line, just don't do 
it in scripts. That ought to tell you something.




cups

2017-07-20 Thread Pol Hallen

Hi all :-)

can someone tell me how cups handles pdf files?

I've cups on server and some clients connected to it (ipp://ip/printer)

From client I print (ie: a 300Kb of pdf), in log cups server I see that 
file size about 4/5Mb (why?), so the printer before print it I've to 
wait also 15 minutes :-/


This happens only with a client with debian testing (and latest update 
of cups) before this updates no problem.


thanks for help and advices :-)))
--
Pol



Re: Apt vs apt-get [Was: Apt-get Upgrade Problem in Stretch?]

2017-07-20 Thread Fungi4All
> From: deb...@lionunicorn.co.uk
> To: debian-user@lists.debian.org
> Agreed. I was beginning to despair of this list while reading through
> this thread. But we seem to live in times when evidence matters less
> and less, and assertion more and more.
> Sorry about the politics. Anyway, AFAICT according to the Release
> Notes, apt-get is preferred over aptitude for the upgrade from
> jessie to stretch (where this is relevant); according to the
> Installation Manual, apt is the tool of choice, though no preference
> is expressed over apt-get which is not mentioned.

Does it matter what we all think, even if agree or it matters what
the manual of the package says. In my installation this is manual
I found, it says apt all over the place, meanwhile there is apt-get
package to install. /usr/share/man/man8/apt-get.8.gz
In my repositories the only mention of apt-get is in cron-apt
and its dependency says apt. Its description says:
automatic update of packages using apt-get
There is also apt-utils, dep apt, apt-get not mentioned
Aptitude is recommended by apt.
If a script in /usr/bin said apt-get = apt would you still use it?
Or I could call it pacman or yogurt or apt-get-from-2-decades-ago
Nevertheless, the data showed there can be some difference
still between the one and the other, in rare occassions like 2
different sid installations of similar packages and similar amd64
machines. How 'bout them apples?

Re: What is Installjammer?

2017-07-20 Thread Stephen P. Molnar

On 07/20/2017 11:54 AM, Darac Marjal wrote:

On Thu, Jul 20, 2017 at 09:54:33AM -0400, Stephen P. Molnar wrote:

On 07/20/2017 09:14 AM, Nicolas George wrote:

Le duodi 2 thermidor, an CCXXV, Stephen P. Molnar a écrit :

I have just noticed an entry , ~/.instlljammer, and would like to
know just
what it is and from whence it came!


I suggest you start by looking at its timestamp. If it is a directory,
look at its contents, including the timestamps. They will tell you if it
is something that has been remaining from five years ago.

Regards,



Thanks for your reply.

Two things.

1.  v-9.0.0 is a new install, yesterday.

2.  The time stamp is from yesterday (7/19).  Which means that it was
installed at the onset.

I have just initiated a full system search.


Just in case it's at all relevant, the only record for "installjammer"
in the debian sources [1] is from the package "flightcrew". I don't
suppose you've got that installed, do you?

[1] https://codesearch.debian.net/search?q=installjammer



--
Stephen P. Molnar, Ph.D.Life is a fuzzy set
www.molecular-modeling.netStochastic and multivariate
(614)312-7528 (c)
Skype: smolnar1





Thanks for the note.

No, I do not have flightcrew installed.

I went ahead and deleted installjammer, and, so far, it has not returned.

--
Stephen P. Molnar, Ph.D.Life is a fuzzy set
www.molecular-modeling.net  Stochastic and multivariate
(614)312-7528 (c)
Skype: smolnar1



Re: apt-get autoclean configuration

2017-07-20 Thread Fungi4All
> From: solit...@mail.com
> The thing is that it"s not obvious to me that you can set any of the values:
> "true", "on", "yes" vs. "false", "off", "no".

A bit off topic, but in some places the ^ means high in others it means low
on top. As in file managers and taks managers. Whatsupwitdat?
But every other conf/rc file I edit has its own set of unique syntax.
Shouldn't there be some linux standardization to include some such minor
details? Maybe a linux savoir-vivre manual (hey, I got that spelling right)

Re: What is Installjammer?

2017-07-20 Thread Darac Marjal

On Thu, Jul 20, 2017 at 09:54:33AM -0400, Stephen P. Molnar wrote:

On 07/20/2017 09:14 AM, Nicolas George wrote:

Le duodi 2 thermidor, an CCXXV, Stephen P. Molnar a écrit :

I have just noticed an entry , ~/.instlljammer, and would like to know just
what it is and from whence it came!


I suggest you start by looking at its timestamp. If it is a directory,
look at its contents, including the timestamps. They will tell you if it
is something that has been remaining from five years ago.

Regards,



Thanks for your reply.

Two things.

1.  v-9.0.0 is a new install, yesterday.

2.  The time stamp is from yesterday (7/19).  Which means that it was 
installed at the onset.


I have just initiated a full system search.


Just in case it's at all relevant, the only record for "installjammer"
in the debian sources [1] is from the package "flightcrew". I don't
suppose you've got that installed, do you?

[1] https://codesearch.debian.net/search?q=installjammer



--
Stephen P. Molnar, Ph.D.Life is a fuzzy set
www.molecular-modeling.net  Stochastic and multivariate
(614)312-7528 (c)
Skype: smolnar1



--
For more information, please reread.


signature.asc
Description: PGP signature


Re: apt-get autoclean configuration

2017-07-20 Thread solitone
On Thursday, 20 July 2017 08:25:41 CEST David Wright wrote:
> On Wed 19 Jul 2017 at 16:21:57 (+0200), to...@tuxteam.de wrote:
> > On Wed, Jul 19, 2017 at 03:48:03PM +0200, solitone wrote:
> > > On Wednesday, 19 July 2017 15:22:33 CEST to...@tuxteam.de wrote:
> > > >   echo "APT::Clean-Installed no;" > /etc/apt/apt.conf.d/no-autoclean
> > > 
> > > I've set it to "false", not to "no". The manual says "off", but didn't
> > > find any occurence of "on" and "off" in the other apt config files,
> > > just "true" or> 
> > > "false". Hope it works:
> > I'd think so. But alas, I can't quote a document stating the "official"
> > syntax. The man page doesn't say anything on this :-/
> 
> I don't understand. man apt.conf   has a whole section on syntax

The thing is that it's not obvious to me that you can set any of the values: 
"true", "on", "yes" vs. "false", "off", "no".
-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁Sent from my brain using neurons fueled by glucose.
⢿⡄⠘⠷⠚⠋⠀ 
⠈⠳⣄



Re: Problems with apt in a clean stretch install.

2017-07-20 Thread David Wright
On Wed 05 Jul 2017 at 11:10:44 (+0200), Michael Lange wrote:
> Hi,
> 
> I'm glad you could finally fix the issue.
> 
> On Wed, 5 Jul 2017 12:15:33 +0930
> "Wayne Hartell"  wrote:
> 
> > I know I just wrote a long e-mail on this, but I think I just figured
> > out in my own mind exactly what is going on and wanted to document it.
> > 
> >  
> > 
> > As others have said the /etc/apt/trusted.gpg file is the issue.
> > 
> >  
> > 
> > It seems that what is happening is this:
> > 
> >  
> > 
> > 1.   For some reason the first use of software-properties-gtk
> > creates this file, but (the bug I presume) is that it's not created
> > correctly. It's empty and potentially has the wrong permissions on it.
> 
> Maybe there is actually a bug in software-properties-gtk. I mentioned
> earlier that on Jessie the permissions of the file are 0600, I now
> checked on a laptop with Sparky linux (which basically *is* stretch) and
> found that the file's permissons on that system are 0644, so maybe the
> newer version of apt requires this and software-properties-gtk fails to
> set this correctly?
> 
> > 
> > a.   I suspect it being empty is the consequence of the
> > permissions, but I am just guessing.
> 
> Maybe, but since this file appears to be the place where custom added keys
> go (whereas keys from debian keyring packages apparently go
> to /etc/apt/trusted.gpg.d/ ) it might also be ok if there are none. From
> what you experienced it seems possible that maybe newer versions of apt
> require a new format of this file and again software-properties-gtk fails
> torespect this, but that is of course just another guess.
> 
> > 
> > 2.   Running 'apt-get update' will now produce errors about user
> > "_apt" and not being able to read the /etc/apt/trusted.gpg file.
> > 
> > 3.   Making /etc/apt/trusted.gpg readable (i.e., 0600 --> 0644) only
> > obfuscates the problem; now the empty file is accessible (so no errors
> > about reading it), but the keys are not available
> > and /etc/apt/trusted.gpg.d is now ignored and results in key errors.
> > [Wild goose chase may now commence].
> 
> This might back up my above guess.
> 
> > 
> > 4.   The real fix is to delete /etc/apt/trusted.gpg and after that
> > point it seems not to be created again (even if running
> > software-properties-gtk). Everything works again since
> > the /etc/apt/trusted.gpg.d folder can once again be interrogated.
> 
> When I run apt-key list here, /etc/apt/trusted.gpg always seems to be
> evaluated first, so I guess that if this file is corrupted the command
> just stops with an error message. 
> If one wants to confirm that it is actually software-properties-gtk who
> creates a corrupted trusted.gpg file it should be possible to add (for
> testing purposes) a key from a third party repo manually with
> software-properties-gtk and later again with apt-key add and compare the
> result. If it works from the command line and fails from the gui it would
> be proof enough to desreve a bug report, I think.

This is a very long thread, and I make no apologies if I have missed
something, but I've seen no reference to §5.3.2 in the Release Notes
for stretch. This touches on changes made to apt and troubleshooting
its new user-privelege mode. (It's a long time since I'd read these
but was revisiting them in connection with other threads.)

Cheers,
David.



Re: Apt vs apt-get [Was: Apt-get Upgrade Problem in Stretch?]

2017-07-20 Thread David Wright
On Thu 20 Jul 2017 at 21:21:08 (+1000), Erik Christiansen wrote:
> On 20.07.17 03:27, Felix Miata wrote:
> > David Wright composed on 2017-07-19 23:33 (UTC-0500):
> > 
> > > On Wed 19 Jul 2017 at 14:57:50 (-0400), Felix Miata wrote:
> > 
> > >> Did you miss that in Stretch apt is preferred to apt-get?
> > 
> > > I did. Where does it say that?
> > 
> > It was a long time ago that I first encountered it, and don't remember 
> > where it
> > was. I have to think searching 'apt-get vs. apt stretch' will get you hits 
> > like
> > what I've run across.
> 
> Ah, yes, "I had a dream ... that my preference was ordained from upon
> high." That's the source of all sorts of bunkum.

Agreed. I was beginning to despair of this list while reading through
this thread. But we seem to live in times when evidence matters less
and less, and assertion more and more.

Sorry about the politics. Anyway, AFAICT according to the Release
Notes, apt-get is preferred over aptitude for the upgrade from
jessie to stretch (where this is relevant); according to the
Installation Manual, apt is the tool of choice, though no preference
is expressed over apt-get which is not mentioned.

There is one wrinkle here, however, and it might easily be overlooked:
apt now¹ removes packages from the cache after their successful
installation, whereas apt-get's behaviour is unchanged. This could
explain some people's complaints of losing debs over recent months.
I almost missed this because grepping on "clean" doesn't catch it
as it's not a clean, only a selective removal.

> I've used apt-get for decades, across ubuntu and debian, and it has
> always worked for me. It is amusing to observe pedants furiously
> peddling their own preference, not least when some vague "authority" is
> claimed. Even if it was a bunch of drunk virgins, naked under moonlight
> (whether devs or not), their preference is only their preference.
> 
> The rest of us use what we choose, and it is foolish to attempt to
> impose one's will on others. (Not least when one has no idea why. ;-)

¹closing a 15-year-old "bug". man apt   warns of the possibility of
changes between versions, unlike apt-get which is designed to be
more stable and hence scriptable.

Cheers,
David.



RE : N’hésites pas de commencer une conversation avec moi Coline

2017-07-20 Thread Michel Poulot-cadet


Bonjour  coline 

Envoyé depuis mon appareil mobile Samsung.

 Message d'origine 
De : Coline Boemler  
Date : 2017/07/04  16:07  (GMT+00:00) 
À : debian-user@lists.debian.org 
Objet : N’hésites pas de commencer une conversation avec moi Coline 


Je ne mords pas tu sais. Bon, sauf si t le demande…  

http://bit.ly/2sIO8EX
  

Re: Why does no one care that Brad Spengler of GRSecurity is blatantly violating the intention of the rightsholders to the Linux Kernel?

2017-07-20 Thread Nick Boyce
On Sat, 15 Jul 2017 13:45:13 +0900
Joel Rees  wrote:

> Who can compete when Intel refuses to pay 
> the price of making CPUs that are unsafe at 
> progressively higher speeds?

Er .. s/unsafe/safe/ ???

But basically +1 to everything (else) you wrote.

Nick
-- 
Never FDISK after midnight



Re: What is Installjammer?

2017-07-20 Thread Stephen P. Molnar

On 07/20/2017 09:14 AM, Nicolas George wrote:

Le duodi 2 thermidor, an CCXXV, Stephen P. Molnar a écrit :

I have just noticed an entry , ~/.instlljammer, and would like to know just
what it is and from whence it came!


I suggest you start by looking at its timestamp. If it is a directory,
look at its contents, including the timestamps. They will tell you if it
is something that has been remaining from five years ago.

Regards,



Thanks for your reply.

Two things.

1.  v-9.0.0 is a new install, yesterday.

2.  The time stamp is from yesterday (7/19).  Which means that it was 
installed at the onset.


I have just initiated a full system search.

--
Stephen P. Molnar, Ph.D.Life is a fuzzy set
www.molecular-modeling.net  Stochastic and multivariate
(614)312-7528 (c)
Skype: smolnar1



Re: apt-get autoclean configuration

2017-07-20 Thread David Wright
On Wed 19 Jul 2017 at 16:21:57 (+0200), to...@tuxteam.de wrote:
> On Wed, Jul 19, 2017 at 03:48:03PM +0200, solitone wrote:
> > On Wednesday, 19 July 2017 15:22:33 CEST to...@tuxteam.de wrote:
> > >   echo "APT::Clean-Installed no;" > /etc/apt/apt.conf.d/no-autoclean
> > 
> > I've set it to "false", not to "no". The manual says "off", but didn't find 
> > any 
> > occurence of "on" and "off" in the other apt config files, just "true" or 
> > "false". Hope it works:
> 
> I'd think so. But alas, I can't quote a document stating the "official" 
> syntax.
> The man page doesn't say anything on this :-/

I don't understand. man apt.conf   has a whole section on syntax:

SYNTAX
   The configuration file is organized in a tree with options organized
   into functional groups. Option specification is given with a double
   colon notation; for instance APT::Get::Assume-Yes is an option within
   the APT tool group, for the Get tool. Options do not inherit from their
   parent groups.

   Syntactically the configuration language is modeled after what the ISC
   tools such as bind and dhcp use. Lines starting with // are treated as
   comments (ignored), as well as all text between /* and */, just like
   C/C++ comments. Each line is of the form APT::Get::Assume-Yes "true";.
   The quotation marks and trailing semicolon are required. The value must
   be on one line, and there is no kind of string concatenation. Values
   must not include backslashes or extra quotation marks. Option names are
   made up of alphanumeric characters and the characters "/-:._+". A new
   scope can be opened with curly braces, like this:


   APT {
 Get {
   Assume-Yes "true";
   Fix-Broken "true";
 };
   };

   with newlines placed to make it more readable. Lists can be created by
   opening a scope and including a single string enclosed in quotes
   followed by a semicolon. Multiple entries can be included, separated by
   a semicolon.


   DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};

   In general the sample configuration file
   /usr/share/doc/apt/examples/configure-index.gz is a good guide for how
   it should look.

etc etc, and the file referred to has between four and eight hundred
lines (jessie/stretch) of example configuration.

Cheers,
David.



Re: What is Installjammer?

2017-07-20 Thread Nicolas George
Le duodi 2 thermidor, an CCXXV, Stephen P. Molnar a écrit :
> I have just noticed an entry , ~/.instlljammer, and would like to know just
> what it is and from whence it came!

I suggest you start by looking at its timestamp. If it is a directory,
look at its contents, including the timestamps. They will tell you if it
is something that has been remaining from five years ago.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


What is Installjammer?

2017-07-20 Thread Stephen P. Molnar
I have just installed Debian 9.0.0 on my 64bit Linux platform (upgraded 
from 8.8.0 as a fresh install).


I have just noticed an entry , ~/.instlljammer, and would like to know 
just what it is and from whence it came!Google tells me that it is a 
cross platform utility that is no longer be maintained.  The whereis 
command, as root, results in no location on my system.


Just what is going on and, more importantly, how to get rid of it?

Guidance will be much appreciated.

Thanks in advance.
--
Stephen P. Molnar, Ph.D.Life is a fuzzy set
www.molecular-modeling.net  Stochastic and multivariate
(614)312-7528 (c)
Skype: smolnar1



Re: Free software

2017-07-20 Thread Gene Heskett
On Thursday 20 July 2017 07:32:04 rhkra...@gmail.com wrote:

> On Wednesday, July 19, 2017 09:27:16 PM Gene Heskett wrote:
> > Doug is correct. Every shop had a subscription to SAM's and toward
> > the end as many as 9 or 10, tall 4 drawer fileing cabinets to keep
> > the stuff in if the subscription was for all of the stuff.
>
> Ahh, Sam's was a good clue (for me)--I think the series was called
> Sam's Photofacts.

Yup.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: funding & viability questions of GPL enforcement.

2017-07-20 Thread Alessandro Vesely
On Wed 19/Jul/2017 23:14:35 +0200 Martin Read wrote:
> On 19/07/17 12:17, Alessandro Vesely wrote:
>> One my wonder why GRSecurity is not (optionally) included in Linux.
> 
> For a variety of reasons relating to the personalities and opinions of the
> people who would be involved - on both sides - in making it happen.
> 
> It should be noted that some people who are not part of the grsec project 
> *are*
> trying to incrementally move the less performance-impactful features of grsec
> into the mainline kernel.

Yes, the example I had in mind was this:
https://lwn.net/Articles/725203/

Of course, nobody dislikes security.  Making it neat and clear is another
question, and that's why experiments are needed.  Can we consider Linux and
GRSecurity as entities cooperating with each other in that respect?

Ale



Re: Q: systemd is restarting demons?

2017-07-20 Thread Lck Ras
On 07/20/2017 07:23 PM, Hans wrote:
> Hello, 
> 
> I am wondering, if it is normal, that systemd is restarting a service, which 
> I as root did 
> stop. In may case it is laptools-mode. 
> 
> See the output of syslog:
> Jul 20 12:16:47 localhost laptop-mode: enabled, not active 

laptop-mode-tools installs udev rules at
/lib/udev/rules.d/99-laptop-mode.rules that restarts lmt when you
plug/unplug your laptop or a usb device. It's how it determines whether
to enable or disable laptop-mode when the power supply changes or set
autosuspend on usb devices.

lmt also runs the script /lib/udev/lmt-udev every 150 seconds through
the systemd timer /lib/systemd/system/laptop-mode.timer to detect
battery changes. This script reloads/restarts the systemd service. You
may stop this timer, but lmt will still be restarted when you plug in
your laptop or a usb device.

Stopping laptop-mode.service and masking it through 'systemctl mask
laptop-mode.service' might stop lmt, but I'm not 100% sure, and I
haven't tested it. If it does work, you would need to unmask it
(systemctl unmask ...) in order to be able to enable it again.



Re: Free software

2017-07-20 Thread Nicolas George
Le primidi 1er thermidor, an CCXXV, Ben Finney a écrit :
> By analogy: I am not capable of maintaining the house I live in, let
> alone of making significant improvements.
> 
> Yet I benefit from the fact that anyone sufficiently motivated can learn
> to do so and they don't need permission from the people who made the
> house.
> 
> If anyone who wanted to improve the house I live in were prevented from
> doing so without the express permission of the people who made the
> house, you're damned right I would complain.
> 
> I may have no intention of ever doing so myself, but I want a wide-open
> market of people who can do so if I ask, who have learned because no law
> stops them from doing so.

This is a very fine analogy, I will remember it.

For reference, in France, for public buildings designed by prestigious
architects, we have exactly that problem. The architects consider
themselves rtists rather than engineers. As a result, you get
buildings with the stairs to the previous and next floor at opposite
ends of a corridor (everybody takes the lift for two floors, obviously)
and naked concrete in a library.

Furthermore, when the people who actually use the building want to make
changes, the architects invoke their so-called intellectual property to
block it. They had to sue just to be allowed to add an invisible varnish
on the concrete to prevent the dust from ruining the books.

In fact, I think this issue is becoming more mainstream, especially with
hardware: "right to repair" is something very present in the news
nowadays.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: Q: systemd is restarting demons?

2017-07-20 Thread Nicolas George
Le duodi 2 thermidor, an CCXXV, Hans a écrit :
> Jul 20 12:16:47 localhost laptop-mode: enabled, not active 

Unless I am mistaken, that means the service is not currently running,
but set up to start automatically at boot (or more specifically for the
target blah blah).

It is exactly the same as "/etc/init.d/foobar stop" versus "rm
/etc/rc?.d/???foobar", nothing special about systemd.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: Free software

2017-07-20 Thread rhkramer
On Wednesday, July 19, 2017 09:27:16 PM Gene Heskett wrote:
> Doug is correct. Every shop had a subscription to SAM's and toward the
> end as many as 9 or 10, tall 4 drawer fileing cabinets to keep the stuff
> in if the subscription was for all of the stuff.

Ahh, Sam's was a good clue (for me)--I think the series was called Sam's 
Photofacts.



Re: Q: systemd is restarting demons?

2017-07-20 Thread Dominik George
Hi,

>I am wondering, if it is normal, that systemd is restarting a service,
>which I as root did 
>stop. In may case it is laptools-mode. 
>
>See the output of syslog:
>Jul 20 12:16:47 localhost laptop-mode: enabled, not active 
>
>
>I know, I can force systemd, not to start demons at boot, but this
>behaviour is looking 
>strange. Strange philosophy, I mean.
>
>Maybe it is a bug?

Most likely not.

Like you said, you stopped it, but you didn't disable it.

There are many reasons why systemd might start a service:

 * connection on a socket
 * user session start
 * a timer
 * an ACPI event

In your case, it seems like it was a user session starting up.

-nik



Apt vs apt-get [Was: Apt-get Upgrade Problem in Stretch?]

2017-07-20 Thread Erik Christiansen
On 20.07.17 03:27, Felix Miata wrote:
> David Wright composed on 2017-07-19 23:33 (UTC-0500):
> 
> > On Wed 19 Jul 2017 at 14:57:50 (-0400), Felix Miata wrote:
> 
> >> Did you miss that in Stretch apt is preferred to apt-get?
> 
> > I did. Where does it say that?
> 
> It was a long time ago that I first encountered it, and don't remember where 
> it
> was. I have to think searching 'apt-get vs. apt stretch' will get you hits 
> like
> what I've run across.

Ah, yes, "I had a dream ... that my preference was ordained from upon
high." That's the source of all sorts of bunkum.

I've used apt-get for decades, across ubuntu and debian, and it has
always worked for me. It is amusing to observe pedants furiously
peddling their own preference, not least when some vague "authority" is
claimed. Even if it was a bunch of drunk virgins, naked under moonlight
(whether devs or not), their preference is only their preference.

The rest of us use what we choose, and it is foolish to attempt to
impose one's will on others. (Not least when one has no idea why. ;-)

Erik



Re: WLAN connection: 5 GHz priority

2017-07-20 Thread Dan Purgert
solitone wrote:
> On Thursday, 20 July 2017 10:05:56 CEST Dan Purgert wrote:
>> That being said, most network admins worth anything will be approaching
>> the problem from their side too (e.g. with band steering), in order to
>> "encourage" client devices to connect to the 5 GHz signal.
>
> I've tried the band steering option on my AP, but my network card
> would rather connect to the 2.4 GHz channel anyhow. It seems to worth
> signal level very much, and the 5 GHz signal is usually weaker than
> 2.4. Therefore I made do with weakening the 2.4 GHz signal. 

Yep, this is a usual / recommended thing.  I usually have 2.4 on "low"
(or lowest power setting possible), and 5 GHz on "medium" (or somewhere
around midrange Tx power).

Then again, I'm just as apt to turn 2.4 off.

>
> Funnily enough other clients (two android devices and a windows
> laptop) prefer 5 GHz even when it's weaker and my linux laptop
> connects to 2.4.

Yep, some clients are better at going to 5 (or listening to the
recommendations from the AP).


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



Q: systemd is restarting demons?

2017-07-20 Thread Hans
Hello, 

I am wondering, if it is normal, that systemd is restarting a service, which I 
as root did 
stop. In may case it is laptools-mode. 

See the output of syslog:
Jul 20 12:16:47 localhost laptop-mode: enabled, not active 


I know, I can force systemd, not to start demons at boot, but this behaviour is 
looking 
strange. Strange philosophy, I mean.

Maybe it is a bug?

Best regards

Hans





Re: WLAN connection: 5 GHz priority

2017-07-20 Thread solitone
On Thursday, 20 July 2017 10:05:56 CEST Dan Purgert wrote:
> That being said, most network admins worth anything will be approaching
> the problem from their side too (e.g. with band steering), in order to
> "encourage" client devices to connect to the 5 GHz signal.

I've tried the band steering option on my AP, but my network card would rather 
connect to the 2.4 GHz channel anyhow. It seems to worth signal level very 
much, and the 5 GHz signal is usually weaker than 2.4. Therefore I made do 
with weakening the 2.4 GHz signal. 

Funnily enough other clients (two android devices and a windows laptop) prefer 
5 GHz even when it's weaker and my linux laptop connects to 2.4.

-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁Sent from my brain using neurons fueled by glucose.
⢿⡄⠘⠷⠚⠋⠀ 
⠈⠳⣄



Re: WLAN connection: 5 GHz priority

2017-07-20 Thread Dan Purgert
solitone wrote:
> [...]
> Is there some tweak I can do on the kernel module, so that the choice
> doesn't rely on any specific configuration on the AP?

Not directly (usually), it's a mix of a few things (as you'd done/
mentioned).  You may be able to set some preferences in Network Manager
/ wicd / whatever, but really you're at the mercy of a myriad of factors
that you really have little to no control over.

That being said, most network admins worth anything will be approaching
the problem from their side too (e.g. with band steering), in order to
"encourage" client devices to connect to the 5 GHz signal.


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



Re: user shutingdown/rebooting system w/wo sudo

2017-07-20 Thread Lck Ras
On 07/20/2017 05:39 PM, Fungi4All wrote:
> Apart from what different wm/dm do, should a user without sudo
> priviledges be able to stop or restart a system?
> In most wm I have seen the user is able to do this without being
> asked for root priviledges and I believe this is wrong and should
> not be done.

As far as I know, this is done by policykit (policykit-1 in the repos).
Among other things, it allows users that are logged in locally to
shutdown/reboot the system, unless there are other users logged in.
Pretty sure it's possible to override this if you don't want this to happen.

> As I see contradictory reading material on the issue from the
> point of view of a single user personal system to an enterprise
> system, why would any desktop come with this activated as
> default and not be the other way around but with a simple option
> for root to change/activate this ability.

If the user has physical access to the machine, there isn't really a
point to stopping them from shutting the system down, really. I can't
really think of instances where this could be a security issue, and it
can be overridden if you don't want it.

Also, for users coming from other OSes, it may be odd that they are
unable to shut down their system without being an administrator, and it
wouldn't allow shared laptops/computers.



Random hanging with stretch when laptop is connected to AC

2017-07-20 Thread Sebastiaan L. Zoutendijk
Dear Debian Users,

Since I upgraded from jessie to stretch at the start of this month, I am 
experiencing random hangs when my laptop (Clevo W950JU barebone) is connected 
to AC. The screen freezes and if sound was playing it is repeated in a 2-second 
loop. The system does not recover from this and does not respond to any key, a 
short press of the power button, or SysRq commands. I have to shut it down with 
a long press of the power button, which has caused considerable filesystem 
damage over the past weeks. Nothing is written to the systemd journal at the 
time of the hang, not even at log level 7.

I have tried a number of kernel parameters to see if I could locate the 
problem. The following parameters had no effect:

nolapic
noapic
pci=routeirq
pci=noirq

This parameter caused frequent GPU hangs:

idle=poll

This parameter stops the hanging, but is disables too much functionality to be 
a viable option:

acpi=off

So it seems to be an ACPI issue, but I have no idea what exactly. Since it only 
started after upgrading to jessie, it is likely a software bug, not a hardware 
bug.

I have also tried to make a kernel crash dump with kdump-tools, but nothing is 
dumped. I guess this means the kernel does not panic, but just hangs.

When the hanging happens, some component of my laptop starts to become hot. 
This was not hot before the hanging. It seems to be a little chip below the 
heat pipe that runs between the CPU heat sink and the system fan. I do not know 
what this chip is; it is not labeled in the service manual and the picture is 
too low-resolution to read the model number.

If anyone can recommend further steps to diagnose this issue, or other kernel 
parameters that might work around the issue, I would be very grateful. I am now 
out of ideas.

Yours faithfully,

Bas Zoutendijk

PS My apologies for the lack of formatting, I have to use my phone because mutt 
does not like my damaged-beyond-repair forced-read-only btrfs /home.
-- 
Sebastiaan L. Zoutendijk | slzoutend...@gmail.com

Sent from my phone, please excuse my brevity.



Re: user shutingdown/rebooting system w/wo sudo

2017-07-20 Thread Reco
Hi.

On Thu, Jul 20, 2017 at 04:39:20AM -0400, Fungi4All wrote:
> Apart from what different wm/dm do, should a user without sudo
> priviledges be able to stop or restart a system?
> In most wm I have seen the user is able to do this without being
> asked for root priviledges and I believe this is wrong and should
> not be done.
> As I see contradictory reading material on the issue from the
> point of view of a single user personal system to an enterprise
> system, why would any desktop come with this activated as
> default and not be the other way around but with a simple option
> for root to change/activate this ability.
> I suspect that systemd with its countless strange service users
> has complicated this issue, but is this practice secure?

If a user can unplug a wall socket and power off PC this way - then
root requirement of poweroff is redundant.
Likewise if a user can press 'reset' button on PC - requiring to be root
is redundant for rebooting.
Same goes for laptops, tablets and even servers in certain situations.

On the other hand, if user connects to own PC by some means of remote
desktop protocol (be it VNC,  RDesktop, SPICE, NoNX or good old
X) - then it's not the best idea probably to provide a user a simple way
to reboot or poweroff.

So, it all depends on whenever user has a physical access to the host in
question. Whenever certain software running as PID1 is able to identify
whenever is user 'on console' or not is can of worms that I refuse to
open.

Reco



user shutingdown/rebooting system w/wo sudo

2017-07-20 Thread Fungi4All
Apart from what different wm/dm do, should a user without sudo
priviledges be able to stop or restart a system?
In most wm I have seen the user is able to do this without being
asked for root priviledges and I believe this is wrong and should
not be done.
As I see contradictory reading material on the issue from the
point of view of a single user personal system to an enterprise
system, why would any desktop come with this activated as
default and not be the other way around but with a simple option
for root to change/activate this ability.
I suspect that systemd with its countless strange service users
has complicated this issue, but is this practice secure?

WLAN connection: 5 GHz priority

2017-07-20 Thread solitone
Although this issue is widely discussed, but I didn't find a way to solve it. 
My access point provides both 2.4 GHz and 5 GHz bands, and I'd like my WiFi 
adapter chose 5 GHz over 2.4.

To accomplish this, I reduced the AP's TX power for 2.4 GHz, and increased 
that for 5 GHz. The point is that when the 2.4 GHz signal is higher than 5 
GHz, my WiFi adapter prefers the 2.4 channel, even though usually the 5 GHz 
channel is less crowded and has less interference and therefore its 
performance would likely be better.

Another way would be to configure two separate SSIDs, one for 2.4 GHz, the 
other for 5 GHz. However, neither option is viable when I have no control on 
the APs, like in a university wireless campus.

Is there some tweak I can do on the kernel module, so that the choice doesn't 
rely on any specific configuration on the AP?

My laptop features a Broadcom BCM43602 802.11ac WiFi adapter, supported by the 
brcmfmac driver:

$ sudo lspci -vnn |grep BCM43602 -A17
03:00.0 Network controller [0280]: Broadcom Limited BCM43602 802.11ac Wireless 
LAN SoC [14e4:43ba] (rev 01)
Subsystem: Apple Inc. BCM43602 802.11ac Wireless LAN SoC [106b:0133]
Flags: bus master, fast devsel, latency 0, IRQ 55
Memory at c140 (64-bit, non-prefetchable) [size=32K]
Memory at c100 (64-bit, non-prefetchable) [size=4M]
Capabilities: [48] Power Management version 3
Capabilities: [58] MSI: Enable+ Count=1/16 Maskable- 64bit+
Capabilities: [68] Vendor Specific Information: Len=44 
Capabilities: [ac] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Device Serial Number 0f-bd-a7-ff-ff-9d-98-01
Capabilities: [150] Power Budgeting 
Capabilities: [160] Virtual Channel
Capabilities: [1b0] Latency Tolerance Reporting
Capabilities: [220] #15
Capabilities: [240] L1 PM Substates
Kernel driver in use: brcmfmac
Kernel modules: brcmfmac

I found this patch that seems relevant:
brcmfmac: Give priority to 5GHz band in selecting target BSS
https://patchwork.kernel.org/patch/4156831/

but it seems it wasn't ever applied.
-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁Sent from my brain using neurons fueled by glucose.
⢿⡄⠘⠷⠚⠋⠀ 
⠈⠳⣄



Re: apt-get autoclean configuration

2017-07-20 Thread solitone
On Wednesday, 19 July 2017 23:02:04 CEST to...@tuxteam.de wrote:
> There is this function StringToBool in apt-pkg/contrib/strutl.cc:
>
>  [...]
>
>  |// Check for positives
>  |if (strcasecmp(Text.c_str(),"no") == 0 ||
>  |
>  |strcasecmp(Text.c_str(),"false") == 0 ||
>  |strcasecmp(Text.c_str(),"without") == 0 ||
>  |strcasecmp(Text.c_str(),"off") == 0 ||
>  |strcasecmp(Text.c_str(),"disable") == 0)
>  |   
>  |   return 0;
>  |
>  |// Check for negatives
>  |if (strcasecmp(Text.c_str(),"yes") == 0 ||
>  |
>  |strcasecmp(Text.c_str(),"true") == 0 ||
>  |strcasecmp(Text.c_str(),"with") == 0 ||
>  |strcasecmp(Text.c_str(),"on") == 0 ||
>  |strcasecmp(Text.c_str(),"enable") == 0)
>  |   
>  |   return 1;
> 
> That seems to be it: no/false/without/off/disable versus
> yes/true/with/on/enable. Should that be in the docs?

Thanks tomás, that's great! 

I think this info should defenitely be in the man page.
-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁Sent from my brain using neurons fueled by glucose.
⢿⡄⠘⠷⠚⠋⠀ 
⠈⠳⣄



Re: Apt-get Upgrade Problem in Stretch?

2017-07-20 Thread Felix Miata
David Wright composed on 2017-07-19 23:33 (UTC-0500):

> On Wed 19 Jul 2017 at 14:57:50 (-0400), Felix Miata wrote:

>> Did you miss that in Stretch apt is preferred to apt-get?

> I did. Where does it say that?

It was a long time ago that I first encountered it, and don't remember where it
was. I have to think searching 'apt-get vs. apt stretch' will get you hits like
what I've run across.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



Stoppen met dat gekloot

2017-07-20 Thread ina grootendorst


Verstuurd vanaf mijn iPad