Re: using git locally

2019-05-17 Thread Eduardo M KALINOWSKI
On 17/05/2019 11:31, mick crane wrote:
> well that seems to work
> "git clone myserver:/path_to_git_repository"
> whereas
> "git remote add origin myserver:/path_to_git_repository"
> fatal: not a git repository (or any of the parent directories): .git
>
> probably I can worry about that later at least I know now I can talk
> to it. 

That's because git remote add is meant to add a remote to an existing
git (local) repository. You're probably running it on an empty
directory, so it complains (correctly) that you're not in a repository.

If you really must, do "git init ." and then "git remote add". But just
use clone to create the local repository based on another repository.

-- 
The Marines:
    The few, the proud, the not very bright.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: apt-cacher-ng's expiry job failing

2019-04-27 Thread Eduardo M KALINOWSKI
On 26/04/2019 13:05, David Wright wrote:
> Today's successful run, which removed probably most of the wheezy
> packages in my cache¹, had the following error in the log:
>
> Error at 
> security.debian.org/debian-security/dists/stretch/updates/19704841552237202370979443
>
> but it didn't stop the run. This file exists, but is actually at
> /var/cache/apt-cacher-ng/_xstore/rsnap/security.debian.org/…
> so take a look there perhaps.

That made me look for a file with that name in the whole hierarchy, and
I found it at

/var/cache/apt-cacher-ng/_xstore/rsnap/debrep/dists/unstable/45961554550630227606591

I removed the file and it started complaining about other similar files.
After deleting a couple, the logs became even more unhelpful:

Maintenance task Expiration, apt-cacher-ng version: 2 (Cancel)
Locating potentially expired files in the cache...
Scanning, found 1 file...
Scanning, found 2 files...
Scanning, found 4 files...
Scanning, found 8 files...
Scanning, found 16 files...
Scanning, found 32 files...
Scanning, found 64 files...
Scanning, found 128 files...
Scanning, found 256 files...
Scanning, found 512 files...
Scanning, found 1024 files...
Scanning, found 2048 files...
Found 2427 files.
Checking implicitly referenced files...
Restoring virtual file
debrep/dists/testing/contrib/Contents-i386.diff/Index (equal to )
Restoring virtual file
debrep/dists/testing/contrib/i18n/Translation-en.diff/Index (equal to )
Restoring virtual file
debrep/dists/unstable/contrib/i18n/Translation-en.diff/Index (equal to )
Bringing index files up to date...
Found errors during processing, aborting as requested.



-- 
Stult's Report:
Our problems are mostly behind us.  What we have to do now is
    fight the solutions.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



apt-cacher-ng's expiry job failing

2019-04-25 Thread Eduardo M KALINOWSKI
The daily apt-cacher-ng expiry job is failing in my machine. It refers  
me to a log file, whose contents are:


---
Maintenance task Expiration, apt-cacher-ng version: 2

Locating potentially expired files in the cache...
Scanning, found 1 file...
Scanning, found 2 files...
Scanning, found 4 files...
Scanning, found 8 files...
Scanning, found 16 files...
Scanning, found 32 files...
Scanning, found 64 files...
Scanning, found 128 files...
Scanning, found 256 files...
Scanning, found 512 files...
Scanning, found 1024 files...
Found 1617 files.
Checking implicitly referenced files...
Restoring virtual file  
debrep/dists/testing/contrib/Contents-i386.diff/Index (equal to )


Restoring virtual file  
debrep/dists/testing/contrib/i18n/Translation-en.diff/Index (equal to )


Restoring virtual file  
debrep/dists/unstable/contrib/i18n/Translation-en.diff/Index (equal to )


Bringing index files up to date...

Restoring virtual file  
debrep/dists/unstable/contrib/i18n/Translation-en.diff/Index (equal to )


Error at debrep/dists/unstable/45961554550630227606591

Found errors during processing, aborting as requested.
---

I can also run the expiry from its web interface, and get the same results.

Unfortunately, it does not make clear *what* is the error that was  
found. The only clue is 'Error at  
debrep/dists/unstable/45961554550630227606591', but there is no such  
file under

 /var/cache/apt-cacher-ng/debrep/dists/unstable .

Anyone has any clue on how to fix this problem?
--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: systemd error

2019-03-10 Thread Eduardo M KALINOWSKI
On 10/03/2019 13:25, Default User wrote:
> So, should I try manually editing /lib/systemd/system/minissdpd.service?
>
If you do that, you'll lose changes the next time the package is upgraded.

To see if systemd is seeing your add-in file, use 'systemctl cat
minissdpd.service'. It should list your file and it's contents.


-- 
Soldiers who wish to be a hero
Are practically zero,
But those who wish to be civilians,
They run into the millions.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: systemd error

2019-03-10 Thread Eduardo M KALINOWSKI
On 10/03/2019 04:20, Reco wrote:
> On Sat, Mar 09, 2019 at 09:27:35PM -0500, Default User wrote:
>> Hi, Reco.
>> Thanks for the reply and information.
>>
>> Since I know very little about systemd, may I ask, should:
>>
>> [Unit]
>> After=sys-subsystem-net-devices-enp7s0.device
>> sys-subsystem-net-devices-wlp6s0.device
>> Requires=sys-subsystem-net-devices-enp7s0.device
>> sys-subsystem-net-devices-wlp6s0.device
>>
>> be appended to an existing .service or .target file, or should a new
>> .service or .target file be created with these contents? And if a new file
>> is needed, what should it be named, and in what directory should it be
>> placed?
> 
> To do it proper systemd way, you should do the following:
> 
> # directory name is crucial
> mkdir /etc/systemd/system/minissdpd.service.d
> # file name is not important
> cat > /etc/systemd/system/minissdpd.service.d/override.conf << EOF
> [Unit]
> After=sys-subsystem-net-devices-enp7s0.device 
> sys-subsystem-net-devices-wlp6s0.device
> Requires=sys-subsystem-net-devices-enp7s0.device 
> sys-subsystem-net-devices-wlp6s0.device
> EOF
> 
> systemctl daemon-reload

Or run

systemctl edit minissdpd.service

which will create the file in the appropriate location, open $EDITOR on
it, and run daemon-reload automatically afterwards.


-- 
Everyone is a genius.  It's just that some people are too stupid to
realize it.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: WiFi without Network Manager

2019-02-12 Thread Eduardo M KALINOWSKI

On ter, 12 fev 2019, Kenneth Parker wrote:

What gives you the list of potential WiFi hosts, to choose from?  (These
LAN Parties may be at a Coffee House I haven't been to before).

That's what I meant by "Interactive".


So you want something that does exactly what NetworkManager does, but  
is not NetworkManager?


There's wicd, which is similar. I don't know of any others.
--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Upgrade Problem

2019-01-05 Thread Eduardo M KALINOWSKI
On 05/01/2019 01:15, Felix Miata wrote:
> David Wright composed on 2019-01-04 19:21 (UTC-0600):
>
>> Ignoring /home as it dwarfs / in size, it would be very easy to make a
>> mistake if you take an existing installation and hive off the /tmp and
>> /var into separate partitions. The problem boils down to leaving the
>> existing /var contents (in the root filesystem) in place when you
>> mount the new var partition onto /var, thereby making those files
>> inaccessible.
> +1
>
> So, boot rescue media, mount sda1, and check the contents of /var/. 
> Its apt cache might be
> loaded, thus you might not any more have reason to reinstall - just delete 
> everything in it and
> reboot. If something goes wrong, you planned on reinstalling anyway. :-)

No need for a live CD: you can use bind mounts to access the original
contents of dirs that serve as mount points for other filesystems:
https://unix.stackexchange.com/questions/4426/access-to-original-contents-of-mount-point

(Unless mount fails because of no free space...)


-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Upgrade Problem

2019-01-04 Thread Eduardo M KALINOWSKI

On sex, 04 jan 2019, David Wright wrote:

On Fri 04 Jan 2019 at 16:52:45 (+), Eduardo M KALINOWSKI wrote:

And in this case, the problem is easy to solve:
  rm /path/to/some/large/files/*


Wrong again. The free space on /home is sufficient to hold 10 copies
of the entire / filesystem. And you presuppose that these large files
exist, for which the OP has currently shown no evidence.


The used disk space must be somewhere. But you're right, there is  
another possibility: lots of small files that together occupy a lot of  
space.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Upgrade Problem

2019-01-04 Thread Eduardo M KALINOWSKI

On sex, 04 jan 2019, Eduardo M KALINOWSKI wrote:

And in this case, the problem is easy to solve:
  rm /path/to/some/large/files/*


The usual suspects (/var/logs, /var/cache, etc) have already been  
mentioned, and are in a different partition. One place to investigate  
is /lib/modules. It can grow quite a bit if one has several kernels  
installed. Ideal way to free up space is to apt-get remove the older  
kernel packages, but since that will likely not work while there is no  
free space, one could simply delete the files (with care not to remove  
the modules of the running kernel), and then remove the packages.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Upgrade Problem

2019-01-04 Thread Eduardo M KALINOWSKI

On sex, 04 jan 2019, steve wrote:
where useful in that they convinced me that reinstalling the OS is  
the simplest remedy for the problems.


You're welcome. But this last sentence is pretty sad because normally,
issues like yours do not require windows-style operation. For your info,
I have not reinstalled my Debian system for the last 15 years.
Reinstalling is a solution but what if in ten days the same issue arises
again? You'll ask the same questions and won't have learned much…

One of the power of GNU/Linux is that you can learn and fix problems.


I agree.

And in this case, the problem is easy to solve:
  rm /path/to/some/large/files/*
--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Question on dpkg -l output.

2018-12-21 Thread Eduardo M KALINOWSKI
On 21 de dezembro de 2018 20:24, aprekates wrote:
> In a new installed system with Debian 9.6
> 
> $ dpkg -l
> 
> will list only packages with 'ii' state and a couple of 'rc'.
> 
> But if i  run:
> 
> $ dpkg -l w*
> 
> i will get a dozen also of 'un' packages.
> 
> So i dont understand the logic of altering the output when
> i use a pattern . I would expect to see only 'ii' packages starting
> from the letter 'w' .
> 
> Also i dont understand why in a new system dpkg would know
> anything about uninstalled packages!

dpkg -l w*
will be expanded by the shell (if there is any file starting with w in the 
current directory). 

Have you tried
dpkg -l 'w*' 
? 



Re: Raid 0

2018-11-06 Thread Eduardo M KALINOWSKI

On ter, 06 nov 2018, Finariu Florin wrote:

 Hi,
Somebody can help me with some information about why I can not see  
the Raid0 created in bios?
I have a motherboard EPC602D8A with 2 chipsets: Intel C602 (Sata 2 x  
4, Sata 3 x 2) and Marvell SE9172 (Sata 3 x 2). I create in BIOS a  
Raid0 on Marvel and another Raid0 on Intel C602.
When I start installation of OS in the section 'detect disk' it's  
show me nothing ask me to verify if the SSDs are connected. When I  
install OS with no Raid partition it see all SSDs I have plugged. I  
verified all SSDs one by one all cables too but nothing...
So how can I see the Raids created in Bios? Is something else should  
I do to be able to see them? I tried on RedHat, Fedora, CentOS,  
Kubuntu but the same thing!


It's the third time you've asked this. I'm assuming you're not  
subscribed to the list. You'd better subscribe in order to view the  
replies: https://lists.debian.org/debian-user/


Or at least look for replies in the web archives at that same address.  
But please don't keep reposting the same question.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: DNS Key rollover for dnsmasq [SOLVED}

2018-10-07 Thread Eduardo M KALINOWSKI
On 07-10-2018 07:11, Rick Thomas wrote:
> On further study, it seems that (in Debian Stretch, at least) the root KSK’s 
> used by dnsmasq are taken from the file /usr/share/dns/root.ds, which is 
> provided by the package dns-root-data; and that package seems to be part of 
> the standard Stretch installation.  That file lists both keys (the new 
> “20326” and the old “19036”). So it’s all set to go.  No need to panic…  (-:

Where did you get that information from? I found nothing about
dns-root-data in dnsmasq package.

I'd just add a new trust-anchor to the configuration. Just copy and
paste from https://github.com/imp/dnsmasq/blob/master/trust-anchors.conf

-- 
O que eu temo não e a estrategia do inimigo, mas os nossos
erros
-- Pericles, filosofo grego

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: CDROM will not play a music cd.

2018-07-23 Thread Eduardo M KALINOWSKI

On seg, 23 jul 2018, Doug wrote:

This may or may not be off topic,


I wouldn't call it completely off-topic, but it's definitely a thread  
hijacking. It would have been better to start a new thread.


My friend has just gotten a Korean car--it's either a Hundai or a  
Kia, I don't remember, but
it has no CD player, but it does have a USB connection, which  
purports to be a sound input.
So the question: I would make some copies of CDs onto a flash drive,  
if I knew how! I would
prefer to use K3b to copy the CDs; do I have to format the flash  
drive, and if so with what
system? (I thought that flash drives come formatted with a Windows  
file system?)
And what other questions should I be asking, which I'm too  
uninformed to ask? And
what are the answers? BTW: I have never, in 20 years or more, ever  
gotten Audacity to do

anything for me, so that is out!


Format the USB as FAT32 (other FAT variants should work), and add .mp3  
files to it. Could not be simpler.


(Other filesystems might be supported, and other audio formats, but  
don't count on that.)


There are several CD rippers and mp3 encoders in Debian.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: LVM setup with snapshots

2018-05-12 Thread Eduardo M KALINOWSKI
On 11-05-2018 21:46, Forest Dean Feighner wrote:
> I really didn't prepare for lvm. I never used lvm before this so had
> no idea of lvm before.
>
> Snapshots sound like an awesome idea.
>
> I would like to do a configured base install, create a snapshot, and
> modify (fork), the base for different things.
>
> With 20/20 hindsight. The default doesn't seem to have room. What are
> different solutions other debian/lvm users have used?

You can shrink most kinds of partitions (including ext4), and then
shrink the logical volumes (in this order). It's not as convenient as
growing the LVs since the partitions must not be mounted and shrinking
can be somewhat slow if data needs to be shuffled around, but it's possible.

As always, there's a small risk of data loss, so better have a backup of
important data.

-- 

She is descended from a long line that her mother listened to.
        -- Gypsy Rose Lee

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Chinese file name problem in xterm

2018-05-07 Thread Eduardo M KALINOWSKI

On dom, 06 mai 2018, Long Wind wrote:
some Chinese file names are properly shown in xterm in stretch, but  
other are not


all Chinese characters can be properly shown in firefox


When you say Firefox shows the characters, do you mean it correctly  
shows those file names, or just that you can see somewhere else the  
characters used in the filenames?


Maybe some filenames are incorrectly encoded.

It would really help if you showed us what you get, and what you expected.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Question about Running rsnapshot

2018-05-04 Thread Eduardo M KALINOWSKI
On 04-05-2018 16:52, Martin McCormick wrote:
> The backup file system resides on a pair of 256 GB usb
> drives which are ganged together in to 1 large drive using mmddfs

You can't have a hard link between files in different drives[0]. mmddfs
is probably copying instead of linking, even if it receives a ln call,
when it determines that each file must end up in different disks.

For your use case, LVM seems more adequate: you'll have only one
filesystem, even if at disk level it's stored in two disks.


[0]Actually, they must be in the same filesystem

-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Inexplicable memory usage after move to Debian9

2018-04-27 Thread Eduardo M KALINOWSKI

On sex, 27 abr 2018, Simon Beirnaert wrote:

The bottom line for me is that I when I shut down everything I install
and manage on the system, it's still conuming about half a gig more
than a system running the exact same base image right after use, without
the extra memory being accounted for by monitoring tools.


How are you determining what you call "consumed memory"?

Keep in mind that the kernel will by default use almost all free  
memory (not actually used by processes and libraries) as cache space,  
because it makes no sense to leave memory just laying around. However,  
once it's really needed, the caches will be dropped. Thus "free"  
memory is usually reported as low. Compare with "available" memory as  
reported by free.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: etherape - why removed?

2018-04-09 Thread Eduardo M KALINOWSKI

On seg, 09 abr 2018, Hans wrote:

I am regularly building my own kali-linux versions


That's a particular use case, but I'd just like to add that for a  
regular user, a package disappearing from testing may not have an  
immediate effect. The package won't be uninstalled just because it's  
no longer in the repository; the user will remain with the version he  
had installed. Some time in the future a dependency problem might make  
that version incompatible with newer versions of other packages  
(generally libraries) and only then the user might need to remove the  
package.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Storing "real" user data: was: Re: Update: Re: Password Manager opinions and recommendations

2018-03-30 Thread Eduardo M KALINOWSKI
On 30-03-2018 11:47, rhkra...@gmail.com wrote:
> * with that in mind, some of my proposals to various people (including
> the
> FHS) included things like creating a new directory, then keeping one named 
> /home and naming the new one either something like /data (for real user data, 
> and keeping the configuation data in /home, or vice versa--keeping the real 
> user data in /home and creating a new top level directory named maybe 
> something like /config for user configuration data.
There's ~/.config
(https://www.freedesktop.org/software/systemd/man/file-hierarchy.html#~/.config)
. Many apps use it, but still the majority uses ~ directly (and probably
allways will).

-- 
We'll know that rock is dead when you have to get a degree to work in it.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Debian 9 sucks really badly

2018-03-24 Thread Eduardo M KALINOWSKI
___
   /|  /|  |  |
   ||__||  |   Please don't   |
  /   O O\__   feed   |
 /  \   the trolls|
/  \ \|
   /   _\ \ --
  /|\\ \ ||
 / | | | |\/ ||
/   \|_|_|/   |__||
   /  /  \|| ||
  /   |   | /||  --|
  |   |   |// |  --|
   * _|  |_|_|_|  | \-/
*-- _--\ _ \ //   |
  /  _ \\ _ //   |/
*  /   \_ /- | - |   |
  *  ___ c_c_c_C/ \C_c_c_c


-- 
QOTD:
"I'm on a seafood diet -- I see food and I eat it."

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Problem withj dd

2018-02-21 Thread Eduardo M KALINOWSKI

On qua, 21 fev 2018, Richard Owlett wrote:

I've downloaded the netinst iso with intention of copying it to a  
flash drive. I've done it before without problem.


root@debian-jan13:/home/richard# dd bs=64k  
if=/home/richard/Downloads/debian-9.3.0-amd64-netinst.iso of=/dev/sdc

dd: failed to open '/dev/sdc': No medium found
root@debian-jan13:/home/richard# ls /dev/sdc
/dev/sdc
root@debian-jan13:/home/richard#


What's happening?


Your USB drive might have died.
--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: a hexeditor please

2018-02-09 Thread Eduardo M KALINOWSKI

On sex, 09 fev 2018, Gene Heskett wrote:

Greetings all;

Trying to scan thru an 8Gb file dd has made of an sd card, I find
khexedits lack of a scroll bar to be a huge hindrance.


I find it hard to believe it doesn't. And some (old, it's true)  
screenshots I found show a scroll bar.


Perhaps the scroll bar is hidden unless the mouse is over it?


Do we have a better hex editor?


emacs with hexl-mode?

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: squirrelmail or other webmail?

2018-01-30 Thread Eduardo M KALINOWSKI

On ter, 30 jan 2018, Joe Pfeiffer wrote:

I noticed today that squirrelmail is only in Debian oldstable and
oldoldstable.  So,  I'm curious as to its status -- is it now deprecated
(as one would suspect from it not being kept up in more recent Debian
versions)?  Is there some other webmail interface that's being used now?
Note that due to some firewall issues over at the client organization I
can't just use an ldap/smtp server and have users use thunderbird or
something; it has to be a webmail interface.


One alternative is imp, part of the horde suit. You can use only the  
email part and ignore the other components (calendar, contacts, etc.)


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: scriptable way to list packages that are not installed

2018-01-14 Thread Eduardo M KALINOWSKI
On 14-01-2018 01:52, Vasyl Vavrychuk wrote:
> I would like to list not installed packages in my script.
aptitude search '!~i'
is a start

It's possible to configure the output, see the manpage.

-- 
Any excuse will serve a tyrant.
-- Aesop

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: File permission confusion [Debian 9.1 with MATE]

2018-01-02 Thread Eduardo M KALINOWSKI

On seg, 01 jan 2018, Richard Owlett wrote:
I need a tutorial. Man pages are unsatisfactory. Sort of like giving  
someone a dictionary and expecting them to become competent writers.


The file/directory permission, and the chmod command to set them are  
very old. Any book on Unix or Linux should cover them. I remember  
O'Reilly had several good books, but I cannot recommend any specific  
one right now.


As for chattr, the suggestion someone else made to forget about it by  
now is a good one. First get a good understanding of the basic  
permission system.



--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Requesting for help

2017-12-29 Thread Eduardo M KALINOWSKI
On 29-12-2017 19:18, Eduardo M KALINOWSKI wrote:
> On 29-12-2017 18:58, eamanu15 . wrote:
>> Sorry if this is not the correct mailing list, but maybe you can help
>> me. 
>>
>> I have a Lenovo laptop with Windows10 native and UEFI. I read (really
>> a friend) on various forums and tell that Debian installation is
>> difficult  on systems with UEFI. That is correct?
> No.
>
You'll probably have to disable Secure Boot, but otherwise the
installation should not be diferent from BIOS systems. The installer
will detect the use of UEFI and select the correct version of grub.

-- 
"Engineering without management is art."
-- Jeff Johnson

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Requesting for help

2017-12-29 Thread Eduardo M KALINOWSKI
On 29-12-2017 18:58, eamanu15 . wrote:
> Sorry if this is not the correct mailing list, but maybe you can help
> me. 
>
> I have a Lenovo laptop with Windows10 native and UEFI. I read (really
> a friend) on various forums and tell that Debian installation is
> difficult  on systems with UEFI. That is correct?

No.


-- 
BOFH excuse #436:

Daemon escaped from pentagram

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: need help on vfat partition

2017-12-16 Thread Eduardo M KALINOWSKI
On 16-12-2017 08:10, Long Wind wrote:
> i create a vfat partition at sda7 using fdisk of linux
> 
> partition id is set to b
> 
> then i go to XP and format it but fail

Why boot Windows when Linux can create fat partitions? Install
dosfstools and use the mkfs.vfat command.

BTW, Windows XP is unsupported and thus a security risk, as bugs are not
patched by MS anymore.


-- 
Everyone's in a high place when you're on your knees.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Embarrassing security bug in systemd

2017-12-11 Thread Eduardo M KALINOWSKI

On dom, 10 dez 2017, tomas wrote:

To put it differently, Debian tends to package docs separately, because
you might want to set up a storage-constrained system where you don't
want that extra stuff. To me, that makes sense.


It also helps the archives, since there can be one  
architecture-independent .deb with the docs, and then smaller  
architecture-dependent .deb's with the binaries for each architecture,  
instead of duplicating the docs in those architecture-dependent  
packages.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: software to do drawings of houses, gardens, etc.

2017-11-24 Thread Eduardo M KALINOWSKI

On sex, 24 nov 2017, Emanuel Berg wrote:

If we are talking LaTeX now, does anyone have
a "MWE" as they like to say?

It absolutely doesn't have to be CAD by any
standard other than the ability to draw simple
geometrical objects and have them denoted
with labels.


There are several here: http://www.texample.net/tikz/examples/
--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: software to do drawings of houses, gardens, etc.

2017-11-24 Thread Eduardo M KALINOWSKI

On sex, 24 nov 2017, tomas wrote:

TikZ and PGF are absolutely awesome (package is texlive-pictures, BTW.). But
quite a different kettle of fish: not a CAD program by a long shot.


Definitely, but they do fit his new request:

  Is there a piece of software that works like
  gnuplot or pic/troff were you feed the program
  a script with instructions and data and then
  the program generates the drawing?


There might be even be Tikz libraries for the kind of drawing he is  
looking for.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: software to do drawings of houses, gardens, etc.

2017-11-24 Thread Eduardo M KALINOWSKI

On qui, 23 nov 2017, Emanuel Berg wrote:

Is there a piece of software that works like
gnuplot or pic/troff were you feed the program
a script with instructions and data and then
the program generates the drawing? That would
be simpler and more to the point as I'm not
designing anything, I'm just want a computer
representation of what already is.


Asymptote, perhaps?

If you're willing to add a little Latex around your drawing, the Tikz package.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: cups config for Brother HL-L2340DW

2017-11-22 Thread Eduardo M KALINOWSKI
On 22-11-2017 16:52, Pierre Frenkiel wrote:
> hi,
> For the first time in my life, I was unable to configure a printer for
> Linux,
> Before trying to replace it, I'm curious to know whether
> somebody could make it(or a similar model) to work.
> I had no problem with the wifi config. and no problem also when printing
> from Windows, but no way with CUPS.  Of course, I looked at Google,
> and tried several protocols, but none worked. Has anybody an idea?
>

This printer requires proprietary drivers, but they work well. Did you
try installing the drivers from
http://support.brother.com/g/b/downloadtop.aspx?c=us=en=hll2340dw_us_eu_as


-- 
Coding is easy;  All you do is sit staring at a terminal until the drops
of blood form on your forehead.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Stretch : mount Jessie encrypted HDD via USB

2017-11-02 Thread Eduardo M KALINOWSKI
On 01-11-2017 22:44, David Wright wrote:
> OK, so that sounds as if removing the USB device before   vgchange -an
> will not affect the device but only the host PC.
> 
> And my own experience suggests that the same is true if the
> unlocked device is removed before locking it.
> 
> It's not that I don't perform the correct sequence of steps,
> but just that accidents happen and I like to be prepared for
> the consequences. The effects of removing a device without
> unmounting it are well documented and have been for years.
> OTOH I have found a deafening silence about the effects of
> not locking an encrypted device.

I don't know what you mean by 'locking', as it is not a term used by
dm-crypt volumes.

But if it means closing the disk with the 'luksClose' command of
cryptseupt, I'd definitely do that before disconnecting the disk.

It probably won't hurt to simply unplug if everything has already been
written to the disk, but it's definitely safer to properly close the
encrypted volume.

If you run LVM on the encrypted volume, you'll most likely have to run
'vgchange -an', otherwise the volume will be considered 'in use' and you
won't be able to luksClose it.

The commands in deloptes' message seem correct and are what you need.


-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: getting mail from Exchange/Outlook

2017-09-14 Thread Eduardo M KALINOWSKI

On qui, 14 set 2017, rhkramer wrote:

I'm sort of moving OT, but want to ask: presumably you think IMAP is
preferable to POP3--what makes you say that (in general)?


If you read your mail in more than one device, I'd say IMAP is a must.  
Without it it's really hard to keep track of what's been read and what  
not. You could set up your main computer to download and delete mails,  
and secondary devices to not delete, so that when you're back at the  
main computer they'll be downloaded. But they would appear as unread  
there, as there's no way of storing state with POP3.


Also, I do my mail filtering (basically moving mails from each of  
several mailing lists I'm subscribed to to individual folders)  
server-side, and any IMAP client can access all my folders and the  
mails in each one.


I guess if someone does not archive mails (ie, read them and delete  
them, possibly saving only a few important ones elsewhere), then POP3  
might be viable.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: external USB hard drive mount permissions

2017-09-02 Thread Eduardo M KALINOWSKI
On 02-09-2017 09:29, Federico Beffa wrote:
> I'm using Debian Stretch with Gnome. When I plug-in an external USB
> hard drive (ext4) it gets automatically mounted at /media/beffa/label.
>
>
> but the device is still only writable by root.
>
> How can I tell the system to make it writable for the user owning the
> Gnome session

I don't think you can. The permissions are the permissions of the root
directory of the filesystem in the drive (which get mapped to
/media/beffa/label), and have nothing to do with the mount point.

>  or even everybody?

That's possible, just chmod 777 /media/beffa/label.

Or use a permission-less filesystem such as vfat.

-- 
Duct tape is like the force.  It has a light side, and a dark side, and
it holds the universe together ...
        -- Carl Zwanzig

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Thoughts on Anible?

2017-08-20 Thread Eduardo M KALINOWSKI
On 18-08-2017 20:01, RavenLX wrote:
> Please forgive my goofy questions. I am not really that well versed in
> CM (Configuration Management) and this post is really going to show it.
>
> [snip]

Note that Ansible is not the only CM software out there. Chef and Puppet
both have similar goals.


-- 
Disneyworld: A maior ratoeira humana já construida por um
rato.
-- George S. Kaufman

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: [OT] Valid DKIM signature (Was: Re: I want to rejoice like a queen. Pauline)

2017-08-14 Thread Eduardo M KALINOWSKI

On Dom, 13 Ago 2017, Byung-Hee HWANG (황병희, 黃炳熙) wrote:

By the way the mail got valid DKIM signature. Please explain to me why
the mail is here. It's odd. Please Please Please ...


I have received plenty of spams with valid DKIM signatures. As long as  
you have a domain, adding DKIM is pretty straightforward. It can be  
used to detect fake forgeries (a spammer sending an email claiming to  
be from @paypal.com, for instance), but it doesn't really help with  
spam detection if it's j...@buymycrappyproducts.com sending unsolicited  
emails advertising his crappy products.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: how to let a user use X window

2017-07-23 Thread Eduardo M KALINOWSKI
On 23-07-2017 07:17, Long Wind wrote:
> only root can use X window in stretch??
>
> how to let user use it?

Reading the release notes is always a good idea before updating the
version (be it with an in-place upgrade or new install).

Could be related to this:

https://www.debian.org/releases/stable/amd64/release-notes/ch-whats-new.en.html#x-no-longer-requires-root

-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: debian wiki

2017-07-10 Thread Eduardo M KALINOWSKI

On Dom, 09 Jul 2017, tomas wrote:

So I think the top menu only reacts to the preferred language set in
the browser. The wiki content itself obeys both the URL (i.e. the
intercalated /fr/ element) and to the browser preference.

Does this correspond with your findings?


That's also what happens here.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: debian wiki

2017-07-08 Thread Eduardo M KALINOWSKI
On 8 de julho de 2017 17:16, Fungi4All wrote:
> I thought only sites for idiots like gloogloo pick on their own the language 
> of
> the menus based on locale/ip even though the language is nowhere used on
> this pc.  But debian-wiki will pick and not reverse the choice?  Even though
> I choose english the drop boxes and menus are an another language based
> on IP.  This makes life hard for traveling users.

It's probably based not on your IP, but on headers sent by your browser 
(Accept-Language or something like that). There should be somewhere in the 
settings where you can change that. At least on Firefox there is. 



Re: Problem reserving enough space for Java object heap since stretch upgrade

2017-07-01 Thread Eduardo M KALINOWSKI
On 01-07-2017 10:47, Adam Rosi-Kessel wrote:
> I have been unable to execute Java with >=2048M memory allocation
> since upgrading to stretch. I've changed nothing in my configuration
> otherwise.

Might be related to this:
https://lists.debian.org/debian-security-announce/2017/msg00160.html


-- 
Não posso e não vou cortar minha consciência para me adequar
ao figurino deste ano.
-- Lilian Hellman

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: How to attach a fully encrypted drive to Stretch

2017-06-26 Thread Eduardo M KALINOWSKI
On 26-06-2017 16:28, commentsab...@riseup.net wrote:
> I have an adapter to connect my older Jessie (fully encrypted) SATA HDD
> to a USB port. Simply plugin the older disk/adapter into the freshly
> installed Stretch doesn't seem to work (I'm not being prompted for a
> passphrase).
>
> What is the proper way to access the data on that drive when connected
> to the host system via a USB adapter ?
>
> I found an answer on
> <https://unix.stackexchange.com/questions/186375/mount-encrypted-volume-in-debian>
> but do not know if it is valid and am not keen on running undocumented
> commands/commands that I do not understand.

Assuming the disk is a LUKS encrypted volume (the default since who
knows when), the command is exactly the one in your link.

If you don't know what the command does, try 'man cryptsetup', which
will explain what it does and list the other commands and options you
can use.

-- 
It's easier to take it apart than to put it back together.
-- Washlesky

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: How did you update to stretch?

2017-06-26 Thread Eduardo M KALINOWSKI

On Seg, 26 Jun 2017, Hans wrote:

But it would be nice, if we could agree to ONE tool, which is to be
used for dist-upgrades.

And this should be well documented! At the moment IMO there are too  
many tools and that makes it very confusing, doesn't it?


For the specific case of upgrading to stretch, there is one  
recommended tool, and it's documented in the release notes (as are  
other things one should be aware when upgrading).


Spoiler: It's apt-get.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Missing "kernel-package" in stretch

2017-06-20 Thread Eduardo M KALINOWSKI

On Ter, 20 Jun 2017, Karsten Wemheuer wrote:

thanks for Your answer. If I understand You correctly, the package
would not be available in "stretch". How should I build a custom kernel
in stretch without this package?


If you really want to use the package instead of the upstream make  
target, you can download the package in unstable and install it. Care  
must be taken when mixing distributions, but looking at the  
dependencies (https://packages.debian.org/sid/kernel-package) one can  
see that there are no specific versions required, and all the  
dependencies are for fairly common packages that one probably already  
has installed. This should make installation easy and shouldn't cause  
any problems.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Downgrading specific packages with apt

2017-06-11 Thread Eduardo M KALINOWSKI
On 11-06-2017 05:06, solitone wrote:
> But where do you find old packages in case you no longer
> have them in /var/cache/apt/archives?

http://snapshot.debian.org/


-- 
A rolling disk gathers no MOS.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Automatic updating links?

2017-06-06 Thread Eduardo M KALINOWSKI

On Ter, 06 Jun 2017, David Wright wrote:

As for renaming (IIUC) if you want to rename all the file entries
together, you can pick up any instance's inode with ls, then use
find  -inum 
to find all the other instances in the filesystem.


Or use the -samefile option of find and do that in one step.
--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Automatic updating links?

2017-06-06 Thread Eduardo M KALINOWSKI

On Ter, 06 Jun 2017, Rodolfo Medina wrote:

But, I
also need that, when renaming the target file, the link would automatically
change its name so that it keeps equal to the target's name...  Is this
possibile?


Not directly. It is possible if you have something monitoring the  
filesystem for changes. Search for inotify.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: buying ssl certificate

2017-05-31 Thread Eduardo M KALINOWSKI

On Qua, 31 Mai 2017, Don Armstrong wrote:

On Tue, 30 May 2017, kc atgb wrote:

One problem I might have with letsencrypt is that it is not recognized
by all protocol clients. We have customers that are not always up to
date on their side (old OSes, softwares, hosts, ... ), and letsencrypt
is recent in the race, so not integrated on these devices.


Letsencrypt signs with a signing key which is signed by the DST Root CA
which has been valid since 2000, and should be present on almost every
device. [For reference, google.com is signed by a key which was
generated in 2002...]

So if it does have an issue with validity, it's an issue which many
SSL certificates are going to share.


According to themselves:  
https://letsencrypt.org/docs/certificate-compatibility/


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: BUG or OPERATOR error? - was [Re: Measuring aggregate internet useage?]

2017-04-26 Thread Eduardo M KALINOWSKI

On Qua, 26 Abr 2017, Richard Owlett wrote:
I would go further saying iproute2 is non-functional due to being  
functionally un-documented.


https://manpages.debian.org/jessie/iproute2/ip.8.en.html is useless.

Functional commands, for this thread's topic would be
  ip -s link
or
  ip -s link ls usb0

No hint of either in so-called man page.


There are man pages for each command, such as  
https://manpages.debian.org/jessie/iproute2/ip-link.8.en.html .  
They're listed in the SEE ALSO section, but there could be a mention  
higher up in the text advising the user to consult the specific pages.


Also, typing 'man ip link' should work on the command line.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: How do you disable / enable services from starting in systemd

2017-03-12 Thread Eduardo M KALINOWSKI
On 12-03-2017 09:06, Jiangsu Kumquat wrote:
> How do you disable / enable services from starting in systemd?
>
> I have gotten very used to the old way of how to start/stop services
> when booting using runlevels but I cannot figure out how to do any of
> this using systemd.
>
> So, I don't always use my web and SQL servers so I don't want it
> auto-starting at boot but I don't know how to turn it off.

http://lmgtfy.com/?q=how+to+enable+%2F+disable+services+in+systemd


-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Samba setup or alternative?

2017-03-11 Thread Eduardo M KALINOWSKI
On 11-03-2017 09:35, Johann Spies wrote:
> Is there not a better way to mount spyker's home directory on my laptop?
>

If you can access it via ssh, you can try sshfs.


-- 
We just joined the civil hair patrol!

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Some help with dd backing up into an iso

2017-03-07 Thread Eduardo M KALINOWSKI

On Seg, 06 Mar 2017, GiaThnYgeia wrote:

Is there someway one can avoid creating such a large iso for no reason,
when the filesize is a fraction of the whole disk.  One way I thought of
was to shrink the partitions to just about 99% full, and leave the blank
part of the disk as not allocated.  Would that help?


It is possible, but on a filesystem level.

You can copy the contents with rsync.

Or take a look at partclone, which is meant to create images of  
partitions, if you don't want to deal with individual files.


clonezilla is a front-end to several tools (including partclone) to  
backup and restore drives or partitions.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: http://www.deb-multimedia.org testing or stretch Release' does not have a Release file

2017-03-04 Thread Eduardo M KALINOWSKI
On 04-03-2017 12:59, GiaThnYgeia wrote:
> GPG error: http://www.deb-multimedia.org testing InRelease: The
> following signatures couldn't be verified because the public key is not
> available: NO_PUBKEY 5C808C2B65558117
> The repository 'http://www.deb-multimedia.org testing InRelease' is not
> signed.
> [...]
> DUHHH... !! But can't reach that repository because it is not signed
> as legit!
aptitude allows installation from untrusted sources, it'll just ask for
confirmation before. I suppose apt-get is similar.

Install deb-multimedia-keyring and run update again, the repository will
be trusted.

It's also possible to add the signing key manually with apt-key, but I
couldn't easily find the key ID in http://deb-multimedia.org .


-- 
If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system.
    -- Linus Torvalds

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Cepstral swift and Debian Stretch

2017-02-28 Thread Eduardo M KALINOWSKI
On 27-02-2017 21:03, Chuck Hallenbeck wrote:
> Hi everyone, 
>
> I'm attempting to install a tommercial TTS from Cepstral on my Debian
> Stretch system, and get the following when running swift:
>
> /usr/local/bin/swift: 12: exec: /opt/swift/bin/swift.bin: Exec format
> error
Show us the output of
file /usr/local/bin/swift
file /opt/swift/bin/swift.bin

(Especially the latter.)


-- 
A watched clock never boils.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Attempt to run debootstrap

2017-02-22 Thread Eduardo M KALINOWSKI

On Qua, 22 Fev 2017, Richard Owlett wrote:


I wish to use debootstrap to make a minimal but functional install of
Debian to /dev/sda9.

It did not create a line on the boot menu to run the Debian on
/dev/sda9 .


Nor it is expected that it would.


As reference [4] says "...your new system has no kernel installed and
is also missing ..." The instructions it gives are not
suitable for my environment.

Can someone recommend a reference that covers my circumstances?
TIA


chroot to the new install and install a kernel normally (apt-get  
install linux-image-amd64 or similar).


Install os-prober if don't already have it in the main system (the one  
that houses grub), then update-grub should find the new OS.



--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: DNS hits

2017-02-12 Thread Eduardo M KALINOWSKI
On 11-02-2017 21:11, Glenn English wrote:
>
> On Sat, Feb 11, 2017 at 2:07 PM, Henning Follmann
> <hfollm...@itcfollmann.com <mailto:hfollm...@itcfollmann.com>> wrote:
>
> Does your DNS answer recursive queries?
>
>
> Oh, my lord. I didn't think it did -- I tried to configure BIND to do
> recursion only from my net. I just tried it from an external IP, and
> sure enough, it gave me an address for www.abc.com
> <http://www.abc.com>. But I just saw another config option that turns
> recursion off completely.
> ...
> I turned it off, and as expected, there's no recursion -- from my net
> or anywhere else. Bears a little more looking into. Surely there's a
> way to get BIND to do this little trick. Hopefully without going to
> that public/private mess. BIND is a mixed blessing.

Naturally there is: in the options section (on Debian, in file
named.conf.options) put
allow-recursion {
  
};



-- 

Meu estilo é incentivar a controvérsia e estimular as pessoas a dizer o que 
pensam

--James Burke

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: 7->8: inexplicable difficulty discovering available package versions

2017-02-04 Thread Eduardo M KALINOWSKI
On 04-02-2017 05:30, David Christensen wrote:
> I am of the opinion that attempting an in-place major version upgrade
> of an operating system or a service is folly.  The only reliable
> method is to do a fresh install on another computer, and then migrate.

Whatever works for you. But keep in mind that debian does support in
place upgrades and offers support for that. I and many others have done
that successfully several times.


-- 
What one fool can do, another can.
-- Ancient Simian Proverb

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: "No space left on device" error, but df shows plenty of space

2017-01-31 Thread Eduardo M KALINOWSKI

On Ter, 31 Jan 2017, Kynn Jones wrote:

Hi everyone!

When I tried to install `ntp`, there was a "No space left on device" at the
end of `apt-get`'s output, but `df` shows no shortage of space:


Try 'df -i', you're probably out of inodes.
--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: question about aptitudetask-ldxe

2016-12-26 Thread Eduardo M KALINOWSKI

On Seg, 26 Dez 2016, Gene Heskett wrote:

So please, lets make synaptic run for me if you can't tell me what that
commandline "aptitude -R" launch will do.


man aptitude will tell you.

But anyway, if aptitude has to remove packages or install additional  
ones, it will ask for confirmation, along with a listing of all the  
actions to be done. So you can always cancel if that's not what you  
want.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Index of hardware test utilities available in official Debian repositories

2016-11-29 Thread Eduardo M KALINOWSKI

On Ter, 29 Nov 2016, Richard Owlett wrote:

On 11/28/2016 9:24 PM, Dave Thayer wrote:

On Mon, Nov 28, 2016 at 06:26:47AM -0600, Richard Owlett wrote:

I went to https://packages.debian.org/stable/ looking for test utilities.
The closest heading I found was "Utilities"
[https://packages.debian.org/stable/utils/].
The only relevant entry I found there was "memtester (4.3.0-3)".
I did not find "memtest86+" which I've used many times [It was listed under
"Similar packages:" on https://packages.debian.org/stable/utils/memtester].
I found nothing for testing hard disks or video subsystems .


p.d.o has a pretty good search function, this should point you in the
right direction: <https://packages.debian.org/search?keywords=memtest>


That search function is not suitable. Back in the days when a  
library's catalog was a physical set of card-files there were  
typically three "file cabinets" - one each for title, author, and  
subject cards. By analogy, p.d.o only has information from "title  
cards". I need a subject index.


I don't think there exists exactly what you want. debtags[0] might be  
close, but I'm not sure how is the tagging status going. There might  
be packages with insufficient tags (or even none at all).


[0]https://wiki.debian.org/Debtags
--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific]

2016-11-21 Thread Eduardo M KALINOWSKI

On Seg, 21 Nov 2016, Lisi Reisz wrote:

The most frustrating thing about this whole thread, which I had been saving
because I have a SANE problem (more later), and SANE problems are often to do
with permissions, is that it has nothing *whatsoever* to do with SANE. :-(

It is about file permissions or USB key file permissions.  It is *not* about
SANE. :-((


Well, when the OP writes "sane" he does not mean sane the program, but  
rather that he wants reasonable or rational file permissions (see  
https://en.wiktionary.org/wiki/sane#Adjective ).


It's true that the subject could also be interpreted as "Coercing the  
permissions of files used by [the program] sane", but nevertheless  
what he wrote is perfectly correct, so don't berate him for that.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: A full /var partition destroyed 3 hours of my life!

2016-11-15 Thread Eduardo M KALINOWSKI
On 15-11-2016 03:00, Borden Rhodes wrote:
> My question, therefore, is whether this is a btrfs bug that got
> triggered by the full /var partition or whether Debian is designed to
> break irrecoverably when /var fills up. Any ideas of what happened?

First, you mentioned the crucial bit of information (that it's a btrfs
filesystem) only at the end. Also, you've left out important things such
as your running kernel and (to a lesser extent) version of btrfs-tools
(or btrfs-progs in newer systems).

As others have pointed, btrfs is the culprit. Take a look at these links
to try to understand what might have happened:
https://btrfs.wiki.kernel.org/index.php/FAQ#Understanding_free_space.2C_using_the_original_tools
https://btrfs.wiki.kernel.org/index.php/Problem_FAQ#I_get_.22No_space_left_on_device.22_errors.2C_but_df_says_I.27ve_got_lots_of_space
http://marc.merlins.org/perso/btrfs/post_2014-05-04_Fixing-Btrfs-Filesystem-Full-Problems.html


-- 
Love is being stupid together.
-- Paul Valery

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Layers for the package manager

2016-11-12 Thread Eduardo M KALINOWSKI
On 12-11-2016 18:18, Nicolas George wrote:
> If I understand correctly how Docker works, its images are big blobs
> that contain the program they are meant to distribute plus all its
> dependencies. Am I mistaken?
>
> If it works like that, that means when the next OpenSSL security issue
> is found, we have to cross our fingers very tightly and hope whoever
> released the image will release an update with a fixed library. With
> what I have in mind, unless the maintainer of the third-party repository
> did something very wrong, its packages will be dynamically linked with
> OpenSSL from the base system, and benefit from the updates immediately.
>
> It makes a big difference: in one case, you have to trust the third
> party to do a good job and continue that way in the future, on the other
> case you only have to trust it to do a not-bad job once.
>
> Personally, I would rather unpack a dynamically-linked binary somewhere
> in /opt and install the dependencies myself than use a package system
> with bundled libraries. Or, of course, install from source.
>

The end result is indeed, for practical purposes, a big package with
everything needed to run an application. But I don't expect you to
simply download pre-built blobs, but rather to build your own.

It's easier to understand from an example. Take a look at this
Dockerfile:
https://gist.github.com/rmoehn/1d82f433f517e3002124df52f7a73678 .
Basically it says "start with a minimal debian stable system, install
some packages, then make some necessary configurations". Docker
downloads the base image (the minimal debian system), and executes the
rest of the commands to create a new image that includes the installed
packages, resulting in a self-contained image that allows execution of
the application in question.

[That's a huge simplification, but the end result is roughly as
described. We need not concern with the internals.]

[If you don't want to trust the creator of the base image, you can
create your own.]

I've used that Dockerfile to run anki (which is currently broken in
testing). It's kind of a chroot, but with more isolation. Also, if I
wanted to run another program from stable, I could build another docker
image for that, but due to the clever way docker works, there'd be only
one copy of the base system plus two layers, one for each image, with
only the applications in question. That's a big advantage in relation to
chroots or virtual machines.

And yet, even if a base layer is shared, docker images are completely
isolated from one another and from the host system. If you want to share
data, you need to explicitly configure that.

That does solve the isolation problem, and allows you to run packages
from different repositories simultaneously, with different versions of
libraries if necessary; and allows you to install packages from
untrusted sources (or that are not available as .deb's) without messing
with your "real" system.

It does not solve the problem you mention: if there is an update of
OpenSSL, the images will continue to use the old version unless you
rebuild them. The process can be automated, but at least you'll need to
run a command to rebuild the images, and this can be time consuming.

Now might be a good time to dive into some of the internals, such as how
the images and layers work:
https://docs.docker.com/engine/userguide/storagedriver/imagesandcontainers/
That might give you some ideas for your solution. Take a look also at
the pages "AUFS storage driver in practice" and "OverlayFS storage in
practice". While you won't be able to do what you want with docker,
perhaps you can get some ideas. I'd guess you'd need some kind of
layering like done by docker, but sometimes changing the bottom layers
(which is not possible with docker - only the topmost layer is ever
changed).


-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Layers for the package manager

2016-11-11 Thread Eduardo M KALINOWSKI
On 11-11-2016 17:34, Nicolas George wrote:
> Being able to install incompatible packages at the same time.
>
> Isolate servers. Run servers in a layer where the compilers and other
> development tools are not visible. It does not actually add any security but
> it may help mitigate or slow down an attack.
>
> Most important: Being able to add third-party repositories with less worry.
>
> So, this is what I dream of. Does anybody have remarks? Know projects with
> similar goals? Distributions that have that feature? Other means of
> achieving a similar result with Debian?

docker does not work as you describe (and I know of nothing that does
anything close to your idea), but it does suit some of the uses you
mentioned (the ones quoted).


-- 
Preguiça é o habito de descansar antes da fadiga.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Suggest adding translations for LibreOffice, Firefox and other software includeded in Debian

2016-10-07 Thread Eduardo M KALINOWSKI

On Qui, 06 Out 2016, scootergrisen wrote:
I have tested some live images at  
http://cdimage.debian.org/debian-cd/current-live/i386/iso-hybrid/ to  
try them out and see the difference.


I notice that software like LibreOffice and Firefox and Icedove does  
not show in my language then though the system is using my language  
(i added locales=da_DK.UTF-8 in GRUB).


I would like to suggest that if Debian include some extra software  
like Firefox that the translations for Firefox also is included so i  
can better try out Debian in my language and not have a mixed  
experience where some software in running in my language and some in  
english.


Some packages have the localization files in separate packages;  
firefox, icedove and LibreOffice are two such packages. You need to  
install the firefox-esr-l10n-da, icedove-l10n-da and  
libreoffice-l10n-da. If you want the LibreOffice help in Danish, also  
install libreoffice-help-da.


I guess the live CD does not have these packages installed because of  
space reasons.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: WordPress on Debian

2016-09-21 Thread Eduardo M KALINOWSKI
On 19-09-2016 15:29, Kent West wrote:
> Is there perhaps a definitive document that explains how WordPress
> things are set up in Debian. The /usr/share/wordpress/readme.html
> starts off by unpacking the zip file, which tells me that's not the
> document that describes The Debian Way. There's no "man wordpress" or
> "info wordpress". The online docs I have found haven't convinced me
> that one is more definitive than the conflicting another, and even if
> it did, doesn't seem to have a good explanation of The Debian Way
> concerning WordPress.

/usr/share/doc/wordpress/README.Debian

The standard location of Debian-specific instructions for a given package.


-- 
The best you get is an even break.
    -- Franklin Adams

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Longstanding rsync script no longer excludes

2016-09-17 Thread Eduardo M KALINOWSKI
On 17-09-2016 07:42, Clive Menzies wrote:
>
> Hi
>
> One of the issues we've encountered following a recent Jessie upgrade,
> (around 5th September) is an rsync script seems to have changed behaviour.
>
> We've been using rsync for a daily automated incremental backup and
> have three scripts to maintain an archive of daily snapshots for a
> week; weekly snapshots for a month; and 6 monthly snapshots (files are
> irretrievable 6months after they been deleted from the backed up server).
>
> We've two pairs of FileServer and BackupServer, rsyncd runs on
> FileServer and the following daily script on BackupServer
>
> #!/bin/bash
>
> # This script is called daily from cron to perform overnight backups
> # The full paths of the programs used in this script
> rm=/bin/rm
> mv=/bin/mv
> cp=/bin/cp
> rsync=/usr/bin/rsync
>
> # Good rsync options for FileServer_backups.
> rsync_opts="-av --delete --delete-excluded"
>
> # The name of the file containing the rsync connection password
> password="--password-file=/etc/.rs_pass"
>
> # A list of files and directories that do not need to be backed up
>  exclude_list="music funstuff cma/TransitStuff lost+found/"
>  excludes=""
>  for exclude in $exclude_list; do
>  excludes="$excludes --exclude=$exclude"
>  done
>
> # define NOW for adding date to rsync log filename eg. FileServer.date
> NOW=$(date +"%F.%H:%M")
>
> # Move all other backups up a level. Copy previous backup to
> /backup/daily.
> # Backup FileServer according to the [rsync] sections of the
> rsyncd.conf files
> # on FileServer. Use the password given in /etc/.rs_pass. Dump any
> output and
> # error messages to /var/rsync/FileServer
> mv /home/backup/snapshot/day.5 /home/backup/snapshot/day.6
> mv /home/backup/snapshot/day.4 /home/backup/snapshot/day.5
> mv /home/backup/snapshot/day.3 /home/backup/snapshot/day.4
> mv /home/backup/snapshot/day.2 /home/backup/snapshot/day.3
> mv /home/backup/snapshot/day.1 /home/backup/snapshot/day.2
> cp -al /home/backup/home /home/backup/snapshot/day.1
> $rsync $rsync_opts $password FileServer::rsync \
> /home/backup/home/ > /var/rsync/FileServer.$NOW.log
>
> The incremental backups have worked seamlessly for over 10 years but
> recently, possibly related to the upgrade of Debian Jessie, the
> exclude options have ceased to have effect.
>
> I've dug around the docs but haven't found anything relevant. Any
> suggestions as to what may be wrong?
>

You define $excludes, but you don't seem to use it anywhere.

BTW, your rotating backups are basically what rsnapshot does, you might
want to look at that.

-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Wheezy Xfce losing mouse clicks

2016-08-03 Thread Eduardo M KALINOWSKI

On Qua, 03 Ago 2016, David Christensen wrote:

Lately, I have noticed that mouse clicks (e.g. left button, one click)
are getting lost.  Sometimes I have to click multiple times, especially
when the CPU is loaded.  Right-clicks and center-clicks might be getting
lost, also.

How do I troubleshoot this?


Try another mouse?

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: ssh again

2016-06-15 Thread Eduardo M KALINOWSKI

On Qua, 15 Jun 2016, Dan Purgert wrote:

It is "redundant" in the sense that you move all the way into
/home/lisi/pictures/, and then say 'this directory here' (with ./).  BUT
as emetib mentions, being an explicit "this directory here" command will
ensurethat the system dumps the file(s) into the directory you expect;
or fail out in the event that the destination is not a directory (as it
would in this case -- pictures are typically stored in
"$HOME/*P*ictures".  Remember, capitalization counts).


OK, but wouldn't /home/user/Pictures/ (note trailing slash) also fail  
in case there isn't a directory Pictures or it's a file? What does  
"/./" add that "/" doesn't do?



Without the "/./" characters, if you were using something like "scp
/path/to/files/*.jpg user@host:/home/user/destination" and "destination"
was not already a directory, the system would happily copy every file
over the previous one (naming each one 'destination').


I can't tell what scp does in this case (and can't try right now), but  
regular cp fails with a message saying that 'destination' is not a  
directory. I'd imagine scp does something similar.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: libreCAD, can't find help docs

2016-06-06 Thread Eduardo M KALINOWSKI

On Seg, 06 Jun 2016, Gene Heskett wrote:

On Monday 06 June 2016 09:12:46 Eduardo M KALINOWSKI wrote:

On Dom, 05 Jun 2016, Gene Heskett wrote:
> On Sunday 05 June 2016 05:59:14 Curt wrote:
>> All I can find as a "pis aller" after a quick look is this:
>>
>> http://wiki.librecad.org/index.php/LibreCAD_users_Manual
>
> This I did find, but its for a much newer version 2.0 than what is
> in the repo's.  That repo version is 1.02 according the about, built
> in 2012. So one could say they are a tad out of step. And I don't
> really see any great amount of progress in bringing the repo version
> up to the docs version.

Jessie, the current stable version, has version 2.0.4. Testing has
2.0.9. You seem to be running Wheezy; don't expect a newer version.
For that matter, even Jessie is unlikely to get newer versions (with
the exception of security fixes).


So the bottom line is that wheezy doesn't have a decent CAD program, and
never will.


I suppose that when it was released, little over three years ago, it  
had a then decent CAD program.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: libreCAD, can't find help docs

2016-06-06 Thread Eduardo M KALINOWSKI

On Dom, 05 Jun 2016, Gene Heskett wrote:

On Sunday 05 June 2016 05:59:14 Curt wrote:

All I can find as a "pis aller" after a quick look is this:

http://wiki.librecad.org/index.php/LibreCAD_users_Manual


This I did find, but its for a much newer version 2.0 than what is in the
repo's.  That repo version is 1.02 according the about, built in 2012.
So one could say they are a tad out of step. And I don't really see any
great amount of progress in bringing the repo version up to the docs
version.


Jessie, the current stable version, has version 2.0.4. Testing has  
2.0.9. You seem to be running Wheezy; don't expect a newer version.  
For that matter, even Jessie is unlikely to get newer versions (with  
the exception of security fixes).

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: openvpn start failed and Jessie

2016-05-13 Thread Eduardo M KALINOWSKI

On Sex, 13 Mai 2016, Bonno Bloksma wrote:
Today I had a Jessie system where I made a little mistake with the  
openvpn config file name and after a restart of the service it did  
not come back, off course.

Off course it did not come back either after a full reboot of the system.

A colleage went to the system, we found the typo in the config file  
name (client.cinf in stead of client.conf)
Strangely it did not come back after a service openvpn restart nor  
after a service openvpn stop ; service openvpn start

Even stranger I could not find anything in the syslog about openvpn.

Now this might have something to do with the new system environment  
which seems to (try) to do some smart thing with *.conf files that  
exist at startup.

But...
1) Is there no other way to resolve this, other than a reboot?
2) As there was absolutely nothing in syslog, is there another place  
I should have looked about the service (re)start problem?


Try "systemctl daemon-reload", this causes systemd to reread  
configuration files. If it is looking for the openvpn .conf files,  
this might cause it to see the changed files.


You can control individual vpns using the service "openvpn@", so  
you can try "systemctl start openvpn@client".


Lastly, you could also try "systemctl status openvpn" and "systemctl  
status openvpn@client".


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Meld in Jessie: how to not install all the insane dependencies

2015-11-28 Thread Eduardo M KALINOWSKI
On 11/28/2015 12:55 PM, MI wrote:
> I'm setting up a new server, and wanted to install "meld", a nice
> "graphical tool to diff and merge files".
>
> Surprised by the huge amount of dependencies it was about to install,
> I had a closer look. And indeed, the dependencies seem ridiculous:
> spell-checkers, multimedia codecs, a modem manager, wifi, etc. Below
> is the full list, with the short descriptions, and "??" in front of
> those which seemed obviously unneeded. I'm sure there are even more
> unneeded ones, which I didn't mark because I'm not sure what they are
> for.
>
> It looks like the meld package wants to install a full desktop with
> all the bells and whistles on my headless server.
>
> So the question is: what is the best way to install meld without all
> the cruft?
>
> - with dpkg --force-depends -i ?

Even if you manage to make the application run, the package will be
permanently in a broken state, and for every other future operation
you'll need to tell apt/dpkg to ignore the broken dependencies.

You could create dummy packages to fulfill those dependencies, but then
if you install a package that really needs one of those libraries, that
package won't work, and it might take a while for you to find out why.

> - by installing from the repository of an older distribution? How?

This might work, but one day it will stop working.

> - compile the source? (but will also have dependencies, harder to
> track down?)

If it's some optional feature of the program that can be turned off,
then yes, that might decrease the number of packages. But otherwise, the
same problems are likely to arise.

> What would you do?

It could be that some dependencies are actually recommends. Try with
apt-get --no-install-recommends.

If you use aptitude's interactive mode, you can see why each package is
pulled (which other package requires or recommends it), and you can work
up the chain.


-- 
If you want me to be a good little bunny just dangle some carats in front
of my nose.
-- Lauren Bacall

Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Iceweasel + NoScript: Google search results href anomaly

2015-11-13 Thread Eduardo M KALINOWSKI

On Qui, 12 Nov 2015, Safwat wrote:

I am running NoScript + Iceweasel, and I observed something weird.
Consider a Google search result which has this "a href" value:

https://www.google.com/url?q=https://en.wikipedia.org/wiki/Hello_(Adele_song)=U=0CCsQFjAIahUKEwjPuq3H34vJAhWDWhQKHW7eCbA=AFQjCNHJRKExeuRwwdFmAKkJ6dH7qv_TeQ

When I hover my mouse over it, the value instantly changes to
https://en.wikipedia.org/wiki/Hello_%28Adele_song%29

This should be impossible with NoScript, nothing should be able to
modify the DOM. Google is not white-listed.

What's going on?


Could it be NoScript itself, or another extension, changing the link  
to avoid Google tracking?


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Debian 8.1 ext4 directory sizes

2015-11-10 Thread Eduardo M KALINOWSKI

On Ter, 10 Nov 2015, Thomas Schmitt wrote:

i am riddling about the size of directories in Jessie's ext4,
as listed with ls -ld. They always grow and never shrink, even
if they become completely empty.

Is this a known property of ext4 directories ?


Yes, and also of its predecessors ext2 and ext3.


If so: Are there other means to shrink them except rmdir ?


There's the -D option for fsck that optimizes directories, this should  
make them return to the smallest size, but the filesystem must be  
unmounted.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Where is digikam?

2015-11-09 Thread Eduardo M KALINOWSKI
On 11/09/2015 04:17 PM, Matthias Bodenbinder wrote:
> Many thanks. This is helpful ... but confusing either.
> 
> The page
> https://release.debian.org/migration/testing.pl?package=digikam
> says:
> 
>   * digikam is waiting for opencv
> * opencv has the same version in unstable and testing (2.4.9.1+dfsg-1.2) 
> 
> but a few lines done it says:
> 
>   * digikam depends on libopencv-core2.4 which is not available in testing 
> 
> This sounds contradictory to me.

Actually the situation with digikam is more complicated. While it still
exists in unstable, it is probably not installable in an up-to-date sid
system.

The digikam package is old and still built against library versions that
do not exist anymore with the transition to the latest g++ and/or kde.

It needs to be rebuilt or updated to a new upstream version. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802966 .



-- 
A king's castle is his home.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: can't boot Jessie since power drop-out (virtualbox on MacBook with SSD)

2015-11-05 Thread Eduardo M KALINOWSKI

On Qua, 04 Nov 2015, Brendan Simon (eTRIX) wrote:

I was going to do a reinstall but I couldn't find a way of doing that
without repartitioning the disk (which I didn't want to do as I don't
want to lose any of my data).


It's certainly possible to resintall without repartitioning or  
formating. Just select manual partitioning and you should see the  
existing partitions. You can then set their mountpoints and indicate  
that formating should not be done.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Backup solutions without reinventig the wheel these days

2015-10-21 Thread Eduardo M KALINOWSKI

On Qua, 21 Out 2015, Ondřej Grover wrote:


--lnk-dest is a nice feature of rsync, however, it would require me to
write yet another custom script that so many people already have and
reinvent the wheel again. I'm trying to find a ready and time-tested and
maintained solution before I go down that path.


Take a look at rsnapshot. It's a wrapper for rsync with --lnk-dest.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br




Re: Running HAL and udev Simultanteouly

2015-09-16 Thread Eduardo M KALINOWSKI
On 09/16/2015 01:53 PM, Patrick Bartek wrote:
> About two years ago, my original posts to the list stopped being
> mirrored back to me. This happened spontaneously:  one day I'd see my
> post; the next day -- literally -- I didn't.  (Replies to others' posts
> showed up as they should.)  Never could figure out why.

This is (or was) a "feature" of gmail - since the email is in the Sent
folder, it does not reappear in the Inbox when the mailing list copy is
received.

> Now, out of the blue, an original post of mine gets mirrored back to
> me.  Don't know what caused it.  I didn't do anything.  Gremlins, maybe.

I have no idea why, maybe gmail's behavior changed.


-- 
'Martyrdom' is the only way a person can become famous without ability.
-- George Bernard Shaw

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: recommended imapd?

2015-07-30 Thread Eduardo M KALINOWSKI

On Qui, 30 Jul 2015, Arthur Marsh wrote:
I finally removed the long-unsupported uw-imapd and have so far been  
unsuccessful setting up a replacement that is available in Debian.


Currently I have mailutils-imap4d installed but am unsure of  
configuration needed.


All it needs to do is to access the files in /var/mail/user and be  
accessible from icedove 38.0.1 (running Debian unstable i386 here)  
with reasonably straightforward configuration.


Take a look at dovecot. It's quite powerful and should be  
straightforward to setup for this use case.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20150730170249.horde._e1g87bialgiuywp4l1s...@mail.kalinowski.com.br



Re: How do I find what drivers are installed

2015-06-29 Thread Eduardo M KALINOWSKI

On Seg, 29 Jun 2015, Sven Arvidsson wrote:

On Tue, 2015-06-30 at 00:48 +0800, Bret Busby wrote:

So the computer does not work properly (in terms of the graphics,
anyway) with either Debian 6 or Debian 7, and will not so work,
unless
and until a new driver is created for it, for those operating
systems,
so the computer will apparently work best with Ubuntu 12.04 LTS,
unless and until appropriate drivers are available for Debian 6 and
7.


Drivers are available, why don't you try running jessie / Debian 8?


From what I recall from several long previous threads, because he  
does not want Gnome 3, and he doesn't want Mate either because the  
names of applications are in Spanish.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20150629184025.horde.2n2vz_z5fme6t1wzndqm...@mail.kalinowski.com.br



Re: wget fails in Debian Jessie

2015-06-07 Thread Eduardo M KALINOWSKI
On 06/07/2015 12:31 AM, Leslie Rhorer wrote:
 I had a script running just fine under Debian Squeeze, but that server is now 
 offline for repair and upgrade to Jessie, so I am now running the script 
 under Jessie, and the script is failing when attempting to scrape data off a 
 website using wget.  Under Jessie, wget produces an SSL error when it tries 
 to log in to the website.  There is an open bug report #785016, to which I 
 added a comment, but so far no response has come from the developers.  
 Needing to get this script fully working, I am attempting to use curl for the 
 purpose, but I'm not having any luck there, either.  I don't get the error, 
 but I don't get the correct web page, either.  These are the two lines using 
 wget:
 
 wget --save-cookies cookies.txt --keep-session-cookies --no-check-certificate 
 --post-data 
 'timeOffset=300UserName=x%40mygrande.netPassword=yRememberMe=false'
  https://mytotalconnectcomfort.com/portal
 
 wget --load-cookies cookies.txt --no-check-certificate 
 https://mytotalconnectcomfort.com/portal/188049/Zones/page2
 
 I tried the following using curl:
 
 curl -c cookies.txt -d 
 'timeOffset=300UserName=xxx%40mygrande.netPassword=yyyRememberMe=false'
  https://mytotalconnectcomfort.com/portal
 
 Instead of returning the main page, it just returns:
 
 htmlheadtitleObject moved/title/headbody
 h2Object moved to a href=/portal/here/a./h2
 /body/html
 
 [snip]

 Does anyone have any ideas how I could get curl to handle the task, since 
 wget is failing?  Some other utility?

Well, for starters, try using the URL
https://mytotalconnectcomfort.com/portal/ (note trailing slash) as
suggested by the error message. Alternatively, there might also be a
curl option to automatically follow redirects.


-- 
  We're overpaying him, but he's worth it. -Samuel Goldwyn

Eduardo M KALINOWSKI
edua...@kalinowski.com.br


-- 
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/55742547.8070...@kalinowski.com.br



Re: Using Jessy with an older linux kernel

2015-06-02 Thread Eduardo M KALINOWSKI

On Ter, 02 Jun 2015, Freek Dijkstra wrote:

Is it possible to run Jessy software and packages with an older (3.2 or
even 2.6) Linux kernel?


It depends.


The VPS that my hosting provider offers, uses OpenVZ (or more likely,
it's commercial counterpart, Odin Virtuozzo). OpenVZ provides operating
system-level virtualization (unlike paravirtualization as offered by Xen
or KVM). This means the kernel can't be changed from the guest OS, only
from the hypervisor. So I'm stuck with an older kernel.

I've been successful in upgrading from Wheezy (7) with a Linux 3.2
kernel to Jessy (8) on a test-VPS, and everything seems to work fine.

My production server is still running Squeeze (6.10 with LTS), with a
Linux 2.6.32-042stab092.3 kernel.


This version will probably not work with systemd, but an updated  
kernel is available: https://bbs.archlinux.org/viewtopic.php?id=179343  
. You could ask your provider to upgrade the kernel.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20150602124205.horde.tqk73r0fmyfsufsqtzfy...@mail.kalinowski.com.br



Re: Colorized Prompts Problem

2015-05-01 Thread Eduardo M KALINOWSKI
On 05/01/2015 12:07 PM, Thomas H. George wrote:
 I entered the following in .bashrc

PS1='\033[01;33m\h:\w\$ \033[00m'   

 to colorize the prompt (very handy to find the prompt when a command
 fills the console screen with lines of text)

 The only problem occurs when the next entry is more than one line.  In
 that case the entry wraps around without moving to a new line. Instead
 it overwrites the begining of the current line. The command will still
 work but cannot be revised in the case of a typo.

 For example the prompt alone may be almost a line long, the \w means it
 will contain the full path to the current directory.  The next command
 to be entered is a long one that should wrap to a new line but instead
 begins to overwrite the directory path. You see you made a typo and try
 to move back with the left arrow key and instead the cursor jumps to the
 line above.

 Admittedly this is an infrequent and not a serious problem. Still it is
 annoying when it occurs. Have I made an error in the colorizing prompt?

The bash manpage suggests enclosing the non-printing escape sequences
inside \[ and \]. This is not 100% effective, but it helps.


-- 
Eduardo M KALINOWSKI
edua...@kalinowski.com.br


-- 
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/55439e1b.2010...@kalinowski.com.br



Re: configuring exim4 smtp to use SSL

2015-03-13 Thread Eduardo M KALINOWSKI

On Sex, 13 Mar 2015, Gary Dale wrote:
My update-exim4.conf.conf file is (replacing remote host name with  
the actual name). If dc_smarthost has the port set to 26, mail gets  
sent. However with it set to 465, it stays in the mailq.


dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='remote host name'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='remote host name:465'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'

Any ideas?


What do the logs say?

Also, port 465 is SSL on connect, you probably need to tell exim that.  
(Or convince the remote server administrators do move to STARTTLS on  
port 587.)

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20150313171942.horde.1_hyfk6bw9dce5sgn_b7...@mail.kalinowski.com.br



Re: Docbook and Debian - migration from DSSL to XSL stylesheets

2015-02-25 Thread Eduardo M KALINOWSKI

On Qua, 25 Fev 2015, Markos wrote:
Could you possibly give me some tips on how to use the xlstproc in  
Debian Squeeze?


The man page has all the details, but it is pretty simple anyway.


I think that I should install this package: apt-get install xsltproc


Yes. And also the package with the XSL stylesheets, which, for Docbook  
4, is docbook-xsl.



And what changes I should do in the header of my source documents?


None. Unless you would want to update to a newer version, but that is  
not necessary. And it would need more changes than simply the header.



And what command I should run to generate the html files?


Again, man xsltproc has the details, but basically something like

xsltproc /usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml/chunk.xsl  
file.xml


There are other stylesheets, such as for HTML 4, XHTML 1.1, and also  
stylesheets that output everything in a single html file. See the  
documentation under /usr/share/doc/docbook-xsl for more details.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20150225155929.horde.tbx66vyajrundmx-xbvr...@mail.kalinowski.com.br



Re: Docbook and Debian - migration from DSSL to XSL stylesheets

2015-02-24 Thread Eduardo M KALINOWSKI

On Ter, 24 Fev 2015, Markos wrote:

Hi,

Over the past eight years I have been using Docbook in Debian 5.0  
and 6.0 with the script jw.


I received an information that the script jw uses DSSSL  
stylesheets and that it is obsolete and limited.


Would be better to migrate to XSL-based system and use XSL stylesheets.

But I'm just a user of Docbook with jw script (a handy tool) and  
don't know the structure of the DocBook files and programs.


Does anyone could suggest a step by step for me to do this migration?

Should I have to migrate to newer versions of Debian or just install  
some packages in my Debian Squeeze?


What output format do you want? For HTML, simply running a XSLT  
processor (such as the one in package xsltproc) against the stylesheet  
(contained in package docbook-xsl for Docbook 5 or docbook-xsl-ns for  
Docbook 5) is enough. See  the documentation for the packages for a  
list of available stylesheets.


For other formats I cannot help you much, but I believe the first step  
is similar: use a stylesheet to convert the docboock source to an  
intermediate format, which is then processed by specific tools to  
generate the final output.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20150224123703.horde.mptotdtkzx0iw2h0dyvy...@mail.kalinowski.com.br



Re: Have I been hacked?

2015-01-09 Thread Eduardo M KALINOWSKI

On Sex, 09 Jan 2015, Jerry Stuckle wrote:

SSH passwords are very safe, if they are long enough.  For instance, if
you have a 10 character password, mixed case and numbers (no special
characters), a brute force attack of 100 attempts per second would take
almost 266 million years to cover all possibilities.  11 characters
would take over 16 billion years - longer than the life of the universe.


If the characters are random, that is.

The problem is that passwords are often not really random. So even  
seemingly secure passwords may be guessed relatively easy. This  
article gives a good overwiew about this topic:

http://arstechnica.com/security/2013/05/how-crackers-make-minced-meat-out-of-your-passwords/


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20150109161939.horde.0abxbzwnoqt8_zsbyxhd...@mail.kalinowski.com.br



Re: upgrade from wheezy to jessie

2015-01-06 Thread Eduardo M KALINOWSKI

On Ter, 06 Jan 2015, Joe wrote:

The main issue is that anything local mounted in /etc/fstab (even
removable drives) will be treated as essential, and if they are not
there, boot will fail. The answer is either to remove any such drives
from fstab, as the kernel automounting should be good enough now to do
the job consistently, or to mark them as not being required for boot.


This is already noted in the release notes.

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20150106134243.horde.viaxbcqbhjp9llrc26vg...@mail.kalinowski.com.br



Re: USB drive mounted Read-only; what to do ?

2014-12-21 Thread Eduardo M KALINOWSKI
On 12/21/2014 11:49 AM, Renaud (Ron) OLGIATI wrote:
 On Fri, 19 Dec 2014 15:07:25 -0300
 Renaud (Ron) OLGIATI ren...@olgiati-in-paraguay.org wrote:

 #   ls -l /dev/sdi
 brw-rw---T 1 root floppy 8, 128 Dec 19 07:59 /dev/sdi
 Anyone know where I could find info on the special permission denoted by the 
 leading b in the permissions above, 

That's not a permission, it indicates it's a block device.

 and same for the trailing T ?

Sticky bit is set.

info ls brings the coreutils manual, where these flags are described
(see section What information is listed).

-- 
You are magnetic in your bearing.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br


-- 
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/5496d294.7050...@kalinowski.com.br



Re: alternative file systems

2014-10-11 Thread Eduardo M KALINOWSKI
On 10/10/2014 10:20 PM, lee wrote:
 The license of ZFS makes it impossible to be part of
 the kernel per se. The DKMS system is well known for supporting kernel
 modules for video and wireless hardware among others.
 So there isn't really any way to tell whether it works or not?  Which
 kernel version is ZFS based on/for?

 Btrfs wouldn't let me do RAID-5 --- perhaps 3.2 kernels are too old for
 that?

 They need to get these license issues fixed ...

There's a userland ZFS package (via Fuse) available in debian in the
zfs-fuse package. It should be pretty much independent of kernel versions.

-- 
The two most beautiful words in the English language are Cheque Enclosed.
-- Dorothy Parker

Eduardo M KALINOWSKI
edua...@kalinowski.com.br


-- 
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/54393640.9010...@kalinowski.com.br



Re: [exim4] mixed up about terminology

2014-10-06 Thread Eduardo M KALINOWSKI

On Dom, 05 Out 2014, Harry Putnam wrote:

when running `dpkg-reconfigure exim4-config'  I've run accross a few
of the questions that are confusing to me...
[snip]


While this does not answer your questions directly, have you read the  
documentation for the Debian exim package?


http://pkg-exim4.alioth.debian.org/README/README.Debian.html

--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20141006124608.horde.rmatsaxxp_xy91yr3tdp...@mail.kalinowski.com.br



Re: [OT] SSH Server for Android

2014-09-22 Thread Eduardo M KALINOWSKI

On Seg, 22 Set 2014, Danilo Sampaio wrote:

I know this topic is somewhat out of debian context, but someone knows a
opensource project like a SSH Server for Android, with X11 Session Forward
Support?


I've used this one (mostly for copying files):  
https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid


As for the X11 Session Forward, I'm not sure what you want. Android  
apps do not run in an X Server, so I don't think this feature would be  
useful.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20140922180501.horde.rb9s1dkojy3jcs9ch1i9...@mail.kalinowski.com.br



Re: [OT] SSH Server for Android

2014-09-22 Thread Eduardo M KALINOWSKI

On Seg, 22 Set 2014, Danilo Sampaio wrote:

When said ...with X11 Session Forward Support, i mean SSH Server, like
SSDDroid, that implements a software layer for a transparent X11 forward
emulation. This feature would be useful for execute my android applications
from my PC, like a remote connection with X11 Forward.


As I said, Android apps do not run under an X Server. So X Forwarding  
wouldn't help. Moreover, as far as I know, unless your phone is  
rooted, the SSH application can't even run other applications.


If what you some way to control your phone via your PC, SSH X11  
Forwarding won't help. But there may be applications that allow that  
(at least partially). Probably you'll need a rooted phone.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20140922192243.horde.bolltnmxp8yumhr2f6gm...@mail.kalinowski.com.br



Re: Threading using digest and kmail (was Re: Exim4 not routing local mail ... )

2014-08-04 Thread Eduardo M KALINOWSKI

On Dom, 03 Ago 2014, Bob Proulx wrote:

The inability of people to deal with digest messages these days is the
main reason I think digests should be removed as a mailing list
option.


+1 to that.

I'd also like a filter that rejects mails that have Re: (and  
variations) in the Subject and no In-Reply-To or References. (That's  
very easy to circumvent, but I guess the people that would have mails  
blocked by that filter are exactly the ones that would have trouble  
with this very simple thing.)


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20140804131209.horde.i_qgknuexeaob1-se8r0...@mail.kalinowski.com.br



Re: Skype access cancelled for Debian versions before 7

2014-08-02 Thread Eduardo M KALINOWSKI
On 08/02/2014 02:29 PM, Bret Busby wrote:
 I have found, in the last day, that Microsoft has apparently cancelled
 Skype access for versions of Debian before 7.x.

 With the error message that I encountered, with my Skype 2.2 (beta)
 running on Debian 6, I went to the Skype web site, and found that they
 have cancelled access for all but the latest version of Skype, and,
 for Debian, it apparently needs Debian 7.x, to run.

 No notice (on the Skype mailing list) was given.

 I thought that anyone like me, who is running and using Debian 6 (and
 anyone using earlier versions of Debian), most of the time, might like
 to know.

 Insofar as I am aware, no open source equivalent, that works, is
 available for Debian 6.

You can try to install the deb package on Debian 6. If the dependencies
can be fulfilled, it should work. Chances are that they can't be
satisfied with the older versions in Debian 6, but it's worth trying.

-- 
A free society is one where it is safe to be unpopular.
-- Adlai Stevenson

Eduardo M KALINOWSKI
edua...@kalinowski.com.br


-- 
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/53dd2cf6.1050...@kalinowski.com.br



Re: /var partition seems locked or read only

2014-07-24 Thread Eduardo M KALINOWSKI

On Qui, 24 Jul 2014, berenger.morel wrote:
So, I wonder if there is a way to fix this inode's size repartition?  
In a more general way, if people have some advices about that kind  
of issues (choosing the right cluster and partitions size, the right  
partition format, etc depending on the planned usage)?
I know, those questions (and the error I supposed I made) may seem  
trivial for real administrators, but... I'm a simple programmer, not  
an admin.


It's not possible to change the number of inodes after the filesystem  
has been created. You'll have to backup and create a new filesystem.


As far as I remember, I've always accepted the defaults for number of  
inodes, and I've never got even close to exhausting inodes.


--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20140724131925.horde.fxvjmuwuj9vnvfs6s3h5...@mail.kalinowski.com.br



Re: /var partition seems locked or read only

2014-07-23 Thread Eduardo M KALINOWSKI

On Qua, 23 Jul 2014, berenger.morel wrote:
On a distant Debian testing/unstable, it seems that the /var  
partition can no longer be written: even # touch /var/test returns  
a message saying that there is no space on the drive, which is  
something that # df -h deny:


Check df -i also.



--
Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20140723170622.horde.9nxsf1zknmzd_rotnr5p...@mail.kalinowski.com.br



<    1   2   3   4   5   6   7   8   9   >