Bind9, /etc/network/interfaces och resolv.conf?

2022-03-26 Thread Jens A Andersson

Hoppas någon kan ge mej ett råd.

Har i många kört en lokal dns-server som forwarder och som root för min 
egen högst privata och lokala domän. Vid en av de senaste 
apt-uppgraderingarna slutade dns-server att fungera fullt ut.


I probklemlösandet stöter jag på denna fråga: Ska den serverns egen 
lokala dns-serveradress konfigureras i /etc/network/interfaces 
(dns-server 127.0.0.1) eller i /etc/resolv.conf? Enligt apt list är inte 
resolvconf installerad.


Servern kör Debian 11.

Tack på förhand.
--
//Jens

==
Jens Andersson  ja...@barbanet.com
VHF: SC8895 MMSI:265586130
PGP finger print:
BD36 399B 2594 74DA  EFAB B72C B655 55D1



getting apt-cacher-ng to pass auth through

2021-07-06 Thread Ólafur Jens Sigurðsson
Hi, I would like to use apt-cacher-ng to cache the updates from 
enterprise.proxmox.com. One thing about this repo is that they have two 
different kinds, the http one and the https one, the http one is 
non-enterprise and open to all, but the https one is closed and needs a 
subscription with a username/password.


In our current setup the proxmox node connects directly to the 
enterprise.proxmox.com server and asks for updates but we would like to 
stop that and use a cacher instead. My problem is that the 
authentication does not seem to be sent through the cacher.


What I have tried so far is to set apt-cacher-ng up with the following 
rewrite in /etc/apt-cacher-ng/acng.conf


Remap-proxmox: http://enterprise.proxmox.com ; 
https://enterprise.proxmox.com


In the proxmox machine I have told it to use our local cacher by setting 
this in /etc/apt.conf.d/02proxy


Acquire::http::Proxy "http://192.168.140.18:3142;;

where 192.168.140.18 is the IP of our apt-cacher-ng server. In 
/etc/apt/sources.list.d/pve-enterprise.list we put deb 
http://enterprise.proxmox.com/debian/pve buster pve-enterprise (the http 
is needed since apt-cacher-ng does not understand https).


With this setup then I run apt-update and it fails in the way that it 
fetches the http Release file instead of the https one, here is the 
output on the proxmox machine:


root@production-proxmox-slave01:~# apt update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.dk.debian.org/debian buster InRelease
Hit:3 http://ftp.dk.debian.org/debian buster-updates InRelease
Err:4 http://enterprise.proxmox.com/debian/pve buster InRelease
  401  Unauthorized [IP: 192.168.140.18 3142]
Reading package lists... Done
E: Failed to fetch 
http://enterprise.proxmox.com/debian/pve/dists/buster/InRelease 401  
Unauthorized [IP: 192.168.140.18 3142]
E: The repository 'http://enterprise.proxmox.com/debian/pve buster 
InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is 
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user 
configuration details.


As you can see the cacher works fine for normal debian repos

On the apt-cacher-ng server I put VerboseLog to 2 and Debug to 7, the 
output to /var/log/apt-cacher-ng/apt-cacher.err is the following:


Tue Jul  6 10:51:52 2021|fileitem::DoDelayedUnregAndCheck, nextRunTime 
now: 9223372036854775805

Tue Jul  6 10:51:55 2021|Detected incoming connection from the TCP socket
Tue Jul  6 10:51:55 2021|Client name: 192.168.140.30
Tue Jul  6 10:51:55 2021|Detected incoming connection from the TCP socket
Tue Jul  6 10:51:55 2021|Client name: 192.168.140.30
Tue Jul  6 10:51:55 2021|Detected incoming connection from the TCP socket
Tue Jul  6 10:51:55 2021|Client name: 192.168.140.30
Tue Jul  6 10:51:55 2021|Decoded request URI: 
http://ftp.dk.debian.org/debian/dists/buster/InRelease
Tue Jul  6 10:51:55 2021|Processing new job, GET 
http://ftp.dk.debian.org/debian/dists/buster/InRelease HTTP/1.1
Tue Jul  6 10:51:55 2021|Decoded request URI: 
http://security.debian.org/dists/buster/updates/InRelease
Tue Jul  6 10:51:55 2021|Processing new job, GET 
http://security.debian.org/dists/buster/updates/InRelease HTTP/1.1
Tue Jul  6 10:51:55 2021|Decoded request URI: 
http://enterprise.proxmox.com/debian/pve/dists/buster/InRelease
Tue Jul  6 10:51:55 2021|Processing new job, GET 
http://enterprise.proxmox.com/debian/pve/dists/buster/InRelease HTTP/1.1
Tue Jul  6 10:51:55 2021|Download started, storeHeader for 
secdeb/dists/buster/updates/InRelease, current status: 1

Tue Jul  6 10:51:55 2021|Response header to be sent in the next cycle:
HTTP/1.1 304 Not Modified
Content-Length: 0
Date: Tue Jul  6 08:51:55 2021
Server: Debian Apt-Cacher NG/3.2.1
X-Original-Source: http://security.debian.org/dists/buster/updates/InRelease
Connection: Keep-Alive


Tue Jul  6 10:51:55 2021|Returning to last state, 6
Tue Jul  6 10:51:55 2021|Download started, storeHeader for 
debrep/dists/buster/InRelease, current status: 1
Tue Jul  6 10:51:55 2021|known data hit, don't write to: 
debrep/dists/buster/InRelease

Tue Jul  6 10:51:55 2021|Response header to be sent in the next cycle:
HTTP/1.1 304 Not Modified
Content-Length: 0
Date: Tue Jul  6 08:51:55 2021
Server: Debian Apt-Cacher NG/3.2.1
X-Original-Source: http://deb.debian.org/debian/dists/buster/InRelease
Connection: Keep-Alive


Tue Jul  6 10:51:55 2021|Returning to last state, 6
Tue Jul  6 10:51:55 2021|Decoded request URI: 
http://ftp.dk.debian.org/debian/dists/buster-updates/InRelease
Tue Jul  6 10:51:55 2021|Processing new job, GET 
http://ftp.dk.debian.org/debian/dists/buster-updates/InRelease HTTP/1.1
Tue Jul  6 10:51:55 2021|Download started, storeHeader for 
debrep/dists/buster-updates/InRelease, current status: 1
Tue Jul  6 10:51:55 2021|known data hit, don't write to: 
debrep/dists/buster-updates/InRelease

Tue Jul  6 10:51:55 2021|Response header to be sent in the next cycle:
HTTP/1.1 304 

Re: libreoffice crash

2020-02-09 Thread Ólafur Jens Sigurðsson
On Sun, Feb 09, 2020 at 01:04:18PM -, Curt wrote:
> On 2020-02-09, Ólafur Jens Sigurðsson  wrote:
> >> 
> >> Even easier is to, from the command line, start 'soffice --safe-mode'
> >
> > Hi, thanks for the suggestions but no luck, still crashes
> 
> I'm uncertain what version you're using in Buster (packages.debian.org
> is not responding from here), but another stab in the darkness would be
> to turn off opengl, which can be done in versions >= 5.3
> 
>  soffice --safe-mode 
>  Select "Configure" -> "Disable Hardware
>  Acceleration (OpenGL, OpenCL)"

Ahh, so sorry, my problem reporting skills are suboptimal at the moment
it seems.

The crash of libreoffice happens immediately, I don't get up any
interface. This is why I ran strace and pasted it in pastebin so someone
who knows how to read strace could perhaps find out what the problem is.

Cheers, Oli



Re: libreoffice crash

2020-02-09 Thread Ólafur Jens Sigurðsson
On Sun, Feb 09, 2020 at 01:04:18PM -, Curt wrote:
> On 2020-02-09, Ólafur Jens Sigurðsson  wrote:
> >> 
> >> Even easier is to, from the command line, start 'soffice --safe-mode'
> >
> > Hi, thanks for the suggestions but no luck, still crashes
> 
> I'm uncertain what version you're using in Buster (packages.debian.org
> is not responding from here), but another stab in the darkness would be
> to turn off opengl, which can be done in versions >= 5.3
> 
>  soffice --safe-mode 
>  Select "Configure" -> "Disable Hardware
>  Acceleration (OpenGL, OpenCL)"
> 
> or in versions 5.2 and older by editing the 'registrymodifications.xcu'
> file found in your user profile folder and setting the 'UseOpenGL' and
> 'ForceOpenGL' entries to false.

Well, dpkg -s libreoffice gives me "Version: 1:6.1.5-3+deb10u5", so that
is > 5.3 and soffice --safe-mode crashes on me so I can't disable HA from
there.

Cheers, Oli



Re: libreoffice crash

2020-02-09 Thread Ólafur Jens Sigurðsson
On Sun, Feb 09, 2020 at 10:04:45AM +, Brad Rogers wrote:
> On Sun, 9 Feb 2020 09:22:47 - (UTC)
> Curt  wrote:
> 
> Hello Curt,
> 
> >You might try moving your old config out of the way as a stab
> >in the dark to see if that might improve things.
> 
> Even easier is to, from the command line, start 'soffice --safe-mode'

Hi, thanks for the suggestions but no luck, still crashes

Cheers, Oli



Re: libreoffice crash

2020-02-08 Thread Ólafur Jens Sigurðsson
On Sat, Feb 08, 2020 at 04:10:04PM -0700, Charles Curley wrote:
> On Sat, 8 Feb 2020 23:06:05 +
> "Ólafur Jens Sigurðsson"  wrote:
> 
> > Any ideas on what could be the problem here?
> 
> What, if anything do you get if you try it from a terminal? Run
> "soffice".

The same as if I run localc, it crashes. See the pastebin link I gave in
the first post for the results.

Oli



libreoffice crash

2020-02-08 Thread Ólafur Jens Sigurðsson
Hi, I upgraded my system to Buster finally but after that then
LibreOffice crashes on me. I have tried to uninstall it and reinstall,
no luck there. I tried as a different user, same crash there.

I am out of ideas. I have pasted an strace -f of opening localc from the
command line https://pastebin.com/Ev55tVUH

Any ideas on what could be the problem here?

TIA, Oli



Re: [epilogue] cpu frequence

2020-02-05 Thread Ólafur Jens Sigurðsson
On Mon, Feb 03, 2020 at 11:57:18AM -0500, Stefan Monnier wrote:
> > in fact when I restarted my laptop the problem returned.
> > By reading the link  https://wiki.debian.org/CpuFrequencyScaling more 
> > carefully
> 
> Note that this page is pretty old/outdated.  AFAIK nowadays the better
> option is to just throw away most of those tools and configs and just
> use the default (unless your needs are unusual and you know what you're
> doing).

Then please someone with knowledge about the topic update the wiki.

Cheers, Oli



Re: ttf-mscore fonts and contrib repos

2019-08-28 Thread Ólafur Jens Sigurðsson
On Sat, Aug 24, 2019 at 11:56:21AM -0500, Christopher Marlow wrote:
> On 8/23/19 11:17 PM, Richard Hector wrote:
> >  From your other responses, I think you've got it. But please, make sure
> > you understand what you're trying to achieve, and what the lines mean,
> > rather than relying on others to provide every last detail.
> 
> 
> I think I understand. I am new to debian from the Ubuntu world...
> So to sum it up... I was wanting the non contrib repos so I could download 
> the TTF-MSCORE-Installer fonts aka Windows fonts. And then the other posters
> were telling me to remove the src source line because I wouldn't need them 
> unless I was downloading packages to install them.
> 
> I think thats all to sum it up.. If I missed anything let me know.

Ummm, just to clarify one thing here. The lines in /etc/apt/sources.list
that begin with deb (only deb, not deb-src) are the lines that tell apt
and friends where to look for packages to be installed (those are
usually binary packages) but lines that begin with deb-src tell apt and
friends where to look for the source of the binary packages. So you
don't need the deb-src lines unless you want to do something to the
source of the packages (try to compile them yourself, do some change to
the source and then compile to test out an idea etc etc).

It just seemd to me from your post that you were still confusing those
two (excuse me if that is wrong) :-)

So to sum it up:
   deb lines give apt and friends ability to install software
   deb-src lines give apt and friends ability to fetch source of
   packages

Cheers, Oli



Re: system stops

2019-01-27 Thread Jens Holzhäuser
On Sun, Jan 27, 2019 at 09:11:33PM +0100, BELAHCENE Abdelkader wrote:
> Sometimes (maybe often) when I leave the system for a times without
> touching it, when I come back, the system is frozen , juste the pointer of
> mouse can move, but nothing else,  keyboard doesn't respond,  even
> ctrl+alt+F1 , or F2,  ...


> Jan 27 20:29:52 mx kernel: [11477.409506] PM: suspend exit
[...]
> Jan 27 20:29:52 mx kernel: [11476.619289] sd 0:0:0:0: [sda] Starting disk
[...]
> Jan 27 20:29:52 mx kernel: [11476.091515] ACPI: Waking up from system sleep 
> state S3
[...]
> Jan 27 20:29:52 mx kernel: [11476.082190] ACPI: Low-level resume complete

Looks like your system is waking up from being suspended/hibernated.

Try disabling suspension/hibernation and see if that prevents the issue.
Something with the power management and system resume might not be
working correctly.

I am not very familiar with Linux hibernation, so there's not much more
I can help with here.

Jens



Re: Apt Database

2019-01-26 Thread Jens Holzhäuser
On Sat, Jan 26, 2019 at 06:12:11PM +, J.Arun Mani wrote:
> Hello,
> Im developing a small graphical-application (based on Python) which helps in 
> user installing a software using Apt.
> I have been able to use Apt in Python using Subprocess module.

What's wrong with synaptic?

> Next question is regarding Database. Apt stores everything in a database, is 
> there any "technical" way to access it?

Maybe check out the python-apt package (I don't know it, I just googled
its existence).

Jens



Re: USB hard drives -- recommendations?

2019-01-25 Thread Jens Holzhäuser
Build your own.

Buy an enclosure, you can chose the USB/SATA chip within limits
yourself. I prefer metal enclosures for better heat dissipation.

For the disk to put into that enclosure, you could refer to the yearly
Backblaze report for some more statistical meaningful numbers than
"anecdotal" stories:
https://www.backblaze.com/blog/hard-drive-stats-for-2018/ 

But keep in mind that the environmental conditions there will most
likely not match yours, and your mileage will vary. And, you will need
to be prepared to lose your drive *at any time* anyway, regardless of
how "good" the drive type seems to be.

So the criteria for choosing one are like this

 - one of the major manufacturers
 - meets your technical specs (size, speed, rpm, desktop/NAS type, ...)
 - longest warranty (to minimize the risk of financial loss in the event
   of a drive failure)

for the best price.

I don't know if the general impression that 3.5" drives are more robust
than 2.5" ones is (still) valid, but I always use 3.5" personally. 


Jens


On Fri, Jan 25, 2019 at 05:34:37PM -0800, Peter Ehlert wrote:
> I avoid USB drives, in preference to internal drives... speed and security.
> When I use them I am extremely careful, because they all seem to have a
> spinning disk inside, not shock resistant, and subject to early failure due
> to heat.
> I do have several, but they are not what I really Trust to keep precious
> data.
> 
> a separate box that is out of harm is best, even a separate low end computer
> to act as a storage device.
> syncthing is my tool of choice to sync from my laptop to a desktop
> then LuckyBackup on a schedule to Copy the sync folder into a second Storage
> drive.
> 
> Sorry, no recommendation, others have already spoke up and they know more
> than me about USB storage
> 
> On 1/25/19 9:24 AM, James H. H. Lampert wrote:
> > Fellow List members:
> > 
> > Would anybody care to voice an opinion on USB external hard drives in
> > the 2 terabyte size range, for automated backup purposes?
> > 
> > We've been looking at the Seagate "Expansion" and the WD "Elements";
> > I've noticed that on Amazon, both have a fair number of negative reviews
> > citing reliability issues. (We recently discovered that our current
> > Seagate had apparently failed on us.)
> > 
> > Any opinions? Seagate? WD? Toshiba? Something else?



Re: Unable to Access a Foreign Volume Group

2019-01-14 Thread Jens Holzhäuser
On Sun, Jan 13, 2019 at 05:39:20PM +0100, Martin wrote:
> Hi Jens,
> 
> my first shot would be setting the actual system id to
> 'zaphod1105820973' like described in the lvmsystemid man page. I'm not
> sure, how this uname or lvmlocal work, so I would try setting
> system_id_source to machineid or file.
> First, look if /etc/machine-id matches. If not, put is may be in a 
> /etc/lvm/system-id.

/etc/machine-id is a seemingly random 32 char hex string, bearing no
resemblance to the system ID of vg00.
/etc/lvm/system-id doesn't exist.

The server is explicitly configured with not having a system ID in
/etc/lvm/lvm.conf:

system_id_source = "none"


> As this alters nothing in the LVM itself, this should not be harmful as a try.

On the one hand, yes. On the other, I am very hesitant to mess with the
server lvm configuration, and potentially having lvm lose access to
vg01, which hosts all of the servers partitions.

I am going to read up more on this topic, and recovery options for the
case of any system ID issues during boot; just to be prepared.
I've not have had ever any trouble with lvm in all the years of using
it ("it just worked"), until now.

The lvmsystemid man page also mentions to use the lvmlocal.conf entry

   local {
   extra_system_ids = [ "my_other_name" ]
   }

instead the command line option; I might give that a try, as it seems
fairly safe.


> Am 13.01.19 um 17:10 schrieb Jens Holzhäuser:
> > Hello,
> > 
> > I have a buster/sid system with two volume groups that have made no
> > issue for years.
> 
> [...]
> 
> > 
> > # lvm systemid
> >   system ID:
> > # vgs -o systemid vg00
> >   Cannot access VG vg00 with system ID zaphod1105820973 with unknown local 
> > system ID.
> >   Cannot access VG vg00 with system ID zaphod1105820973 with unknown local 
> > system ID.
> > # vgs --foreign -o +systemid
> >   VG   #PV #LV #SN Attr   VSize   VFree   System ID
> >   vg00   1   8   0 wz--n- 930.55g  20.00g zaphod1105820973
> >   vg01   1   9   0 wz--n-  <1.50t 534.37g
> > # vgchange --config 'local/extra_system_ids=["zaphod1105820973"]' 
> > --systemid "" vg00
> >   Cannot access VG vg00 with system ID zaphod1105820973 with unknown local 
> > system ID.
> >   Cannot access VG vg00 with system ID zaphod1105820973 with unknown local 
> > system ID.
> > 
> > 
> > Any help is appreciated to get back acess to the VG, vgchange (and
> > vgexport) seem to be ignoring it despite providing the extra system id.
> 
> 
> [...]
> 
> > Thanks,
> > 
> > 
> > Jens
> 
> Martin

Jens



Unable to Access a Foreign Volume Group

2019-01-13 Thread Jens Holzhäuser
979M  0 part
`-sdb2   8:18   0 930.6G  0 part
  `-md1  9:10 930.6G  0 raid1
sdc  8:32   0   1.8T  0 disk
|-sdc1   8:33   0   512M  0 part
|-sdc2   8:34   0 1M  0 part
|-sdc3   8:35   0   512M  0 part
|-sdc4   8:36   0   1.5T  0 part
| `-md2  9:20   1.5T  0 raid1
...
sdd  8:48   0   1.8T  0 disk
|-sdd1   8:49   0   512M  0 part
|-sdd2   8:50   0 1M  0 part
|-sdd3   8:51   0   512M  0 part
|-sdd4   8:52   0   1.5T  0 part
| `-md2  9:20   1.5T  0 raid1
...
sde  8:64   0 931.5G  0 disk
|-sde1   8:65   0   979M  0 part
`-sde2   8:66   0 930.6G  0 part
  `-md1  9:10 930.6G  0 raid1


# vgdisplay --foreign vg00
  --- Volume group ---
  VG Name   vg00
  System ID zaphod1105820973
  Formatlvm2
  Metadata Areas1
  Metadata Sequence No  147
  VG Access read/write
  VG Status resizable
  MAX LV256
  Cur LV8
  Open LV   0
  Max PV256
  Cur PV1
  Act PV1
  VG Size   930.55 GiB
  PE Size   4.00 MiB
  Total PE  238221
  Alloc PE / Size   233101 / 910.55 GiB
  Free  PE / Size   5120 / 20.00 GiB


# cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] 
[raid10]
md2 : active raid1 sdc4[0] sdd4[1]
  1610481664 blocks super 1.2 [2/2] [UU]
  bitmap: 4/12 pages [16KB], 65536KB chunk

md1 : active (auto-read-only) raid1 sdb2[2] sde2[4]
  975754810 blocks super 1.2 [2/2] [UU]
  bitmap: 0/8 pages [0KB], 65536KB chunk

Thanks,


Jens



Re: Software RAID blocks

2019-01-13 Thread Jens Holzhäuser
Hi!


On Sun, Jan 13, 2019 at 12:27:19PM +0100, Tom Bachreier wrote:
> Last night I got a "blocked for more than 300 seconds." message in syslog -
> see <https://paste.debian.net/1060134/ <https://paste.debian.net/1060134/>> 
> (link valid for 90 days).
> 
> Log summary:
> Jan 13 02:34:44 osprey kernel: [969696.242745] INFO: task md127_raid5:238 
> blocked for more than 300 seconds.
> Jan 13 02:34:44 osprey kernel: [969696.242772] Call Trace:
> Jan 13 02:34:44 osprey kernel: [969696.242789]  ? __schedule+0x2a2/0x870
> Jan 13 02:34:44 osprey kernel: [969696.242995] INFO: task dmcrypt_write:904 
> blocked for more than 300 seconds.
> Jan 13 02:34:44 osprey kernel: [969696.243223] INFO: task jbd2/dm-2-8:917 
> blocked for more than 300 seconds.
> Jan 13 02:34:44 osprey kernel: [969696.243525] INFO: task mpc:6622 blocked 
> for more than 300 seconds.
> Jan 13 02:34:44 osprey kernel: [969696.243997] INFO: task kworker/u8:0:6625 
> blocked for more than 300 seconds.

I am occasionally having very similar issues with my RAID1, task
blocking for more than 120 seconds, for no obvious reason.

I've started playing around with the vm.dirty_background_ratio and
vm.dirty_ratio kernel parameters, suspecting file system caching being
slow and the issue. [1]

While lowering the values does seem to have helped, it has not
completely eliminated the issue. So the jury for me is still out.

> In this case I did a
>   $ fdisk -l /dev/sdf
> and everything worked again.

Not sure if/how this would interact with ongoing cache flushing.

Jens


[1] 
https://www.blackmoreops.com/2014/09/22/linux-kernel-panic-issue-fix-hung_task_timeout_secs-blocked-120-seconds-problem/



Re: filesystem slowdown with backports kernel

2018-10-17 Thread Support (Jens)
Hi,

>> we have a NAS system acting as a place to store our server's backups
>> (via rsync with link-dest). On that NAS we switched from the stable
>> kernel (4.9) to the one provided by backports (4.18) because of an
>> unrelated problem. When we do that, we see a slowdown of our backup
>> process, from the backup via rsync itself to deleting old backup
>> directories. The slowdown seems to be connected to the number of
>> files/directories as backups of systems with less files seem less
>> affected than the ones with many files.
>
> I'd complete your tests with an invocation of 'perf record/perf top'
> on NFS server side.
> The reason being - you'll be able to point out at particular
> kernel/userspace functions that are responsible for this slowdown.

there is no NFS in play, everything was tested locally or did I
misinterpret your suggestion.

Regards,
Jens



filesystem slowdown with backports kernel

2018-10-17 Thread Jens Holzkämper
Hi,

we have a NAS system acting as a place to store our server's backups
(via rsync with link-dest). On that NAS we switched from the stable
kernel (4.9) to the one provided by backports (4.18) because of an
unrelated problem. When we do that, we see a slowdown of our backup
process, from the backup via rsync itself to deleting old backup
directories. The slowdown seems to be connected to the number of
files/directories as backups of systems with less files seem less
affected than the ones with many files.


So we started benchmarking and the following seems to do the trick in
showing our problem by creating about 100k directories and files (10
dirs containing 1 directories and files for easier deleting between
tries):

#!/bin/bash
time (
for i in {0..9};do
for j in {..};do
mkdir -p $i/$j
touch $i/$j/1
done
done
)


We get the following results (with a variance within a few seconds)

4.9 ext4:
real2m13.303s
user0m4.976s
sys 0m20.424s

4.9 xfs:
real2m7.416s
user0m5.076s
sys 0m20.960s

4.18 ext4:
real4m3.276s
user2m46.401s
sys 1m12.546s

4.18 xfs:
real3m53.430s
user2m46.841s
sys 1m12.716s

About a 50% slowdown in time elapsed and quite an increase in user and sys.


To rule out something like spectre/meltdown-mitigations we tried the
oldest kernel package that's a higher version number than in stable we
could find on http://snapshot.debian.org from July 2017.

4.11 ext4:
real3m28.443s
user2m29.551s
sys 1m0.924s

4.11 xfs
real3m32.438s
user2m31.349s
sys 1m3.333s

It's a little faster than 4.18 but the problem still persists.


The NAS is using a software RAID 6 via MD, and we tested with the same
script on a desktop system to rule out the RAID as a problem source and
see the same thing:

4.9 ext4 desktop:
real2m22.525s
user0m6.176s
sys 0m20.872s

4.18 ext4 desktop:
real4m16.412s
user3m2.282s
sys 1m19.308s


So to us at looks like something is seriously wrong somewhere but have
no clue where exactly to look for anymore. Is the test flawed, did we
miss something about an expected slowdown in the news, is it really a
bug and if so where can we look to locate it more precisely?

Thanks in advance,
Jens Holzkämper



Re: apache2 changing from mpm_prefork to mpm_event

2018-08-16 Thread Jens Sauer
There is no workaround.

mpm_event and php as a mod are incompatible.
You can of course use php-fpm with mpm_event.


Jarosław Kłopotek - INTERDUO  schrieb am Do., 16. Aug.
2018, 08:56:

> I've got apache2 with mpm_prefork. I would like to change that to
> mpm_event so I do:
>
> root@ht2:~# a2dismod mpm_prefork
> ERROR: The following modules depend on mpm_prefork and need to be
> disabled first: php7.2
>
> That's ok I will disable this module also temporary.
>
> root@ht2:~# a2dismod php7.2 mpm_prefork
> Module php7.2 disabled.
> Module mpm_prefork disabled.
> To activate the new configuration, you need to run:
>systemctl restart apache2
>
> And then try to enable back:
>
> root@ht2:~# a2enmod mpm_event
> Considering conflict mpm_worker for mpm_event:
> Considering conflict mpm_prefork for mpm_event:
> Enabling module mpm_event.
> To activate the new configuration, you need to run:
>systemctl restart apache2
>
> root@ht2:~# a2enmod php7.2
> Considering dependency mpm_prefork for php7.2:
> Considering conflict mpm_event for mpm_prefork:
> ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It
> needs to be disabled first!
> Considering conflict mpm_worker for mpm_prefork:
> ERROR: Could not enable dependency mpm_prefork for php7.2, aborting
>
> This is something wrong. Apache2 should check if one of the installed
> mpm's is enabled not just only to check if mpm_prefork is enabled.
>
> Do You know any workaround?
>
> Regards
>
> --
> Jarosław Kłopotek
> kom. 607 893 111
> Interduo Ł. Bujek, J. Kłopotek, J. Sowa s.c.
> ul. Lubelska 36B/40, 21-100 Lubartów
> tel. 81 475 30 00
>
>


Re: fpm problem

2018-07-26 Thread Jens Sauer
Am Donnerstag, den 26.07.2018, 16:38 +0300 schrieb Gokan Atmaca:
> > Could it be that starting 4000 fpm processes eats up all your
> > resources
> > and starting the fpm-master process fails? Can you please check if
> > the
> > php7.2-fpm service is running?
> 
> Yes , services running...
> 
> > Can you try something like this?
> > 
> > pm = dynamic
> > pm.max_children = 250
> > pm.start_servers = 25
> > pm.min_spare_servers = 15
> > pm.max_spare_servers = 30
> 
> fpm, 8 mb per transaction. 32g ram... I have 32G RAM. I just want to
> use 24g ram.
> 
> 24576/8 = 3072 (pm.max.child)
> is this logic wrong?
> 

I think that php-fpm needs more than 8 MB RAM per process.
On my machine they currently around 50 MB per process.
And you do not have the guarantee that they will not need more
than this.

In your first mail the warning says that you are currently using 143
child processes. Why do you want to start 4000 at the beginning?

If you do not want to have a dynamic adjustment of the fpm processes,
this is what 'pm = dynamic' does, that you can try 'pm = static'.

> 
> S   UID   PID  PPID  C PRI  NI   RSSSZ WCHAN  TTY  TIME
> CMD
> S33  9343   594  0  80   0  5336 40706 SyS_ep ?00:00:00
> nginx
> S33  9344   594  0  80   0  5336 40706 SyS_ep ?00:00:00
> nginx
> S33  9345   594  0  80   0  5336 40706 SyS_ep ?00:00:00
> nginx
> S33  9347   594  0  80   0  5336 40706 SyS_ep ?00:00:00
> nginx
> S33  9348   594  0  80   0  5336 40706 SyS_ep ?00:00:00
> nginx
> S33  9349   594  0  80   0  5336 40706 SyS_ep ?00:00:00
> nginx
> S33  9346   594  0  80   0  6324 40706 SyS_ep ?00:00:00
> nginx
> S33  9342   594  0  80   0  7004 40772 SyS_ep ?00:00:00
> nginx
> S33  4828  4792  0  80   0  7400 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4829  4792  0  80   0  7400 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4830  4792  0  80   0  7400 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4831  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4832  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4833  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4834  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4835  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4836  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4837  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4838  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4839  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4840  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4841  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4842  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4843  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4844  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4845  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4846  4792  0  80   0  7404 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4847  4792  0  80   0  7408 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4848  4792  0  80   0  7408 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4849  4792  0  80   0  7408 87637 skb_wa ?00:00:00
> php-fpm7.2
> S33  4850  4792  0  80   0  7408 87637 skb_wa ?00:00:00
> php-fpm7.2
> 
> 
> On Thu, Jul 26, 2018 at 4:00 PM, Jens Sauer 
> wrote:
> > Am Donnerstag, den 26.07.2018, 15:37 +0300 schrieb Gokan Atmaca:
> > > > Can you attach your PHP-FPM configuration file and NginX
> > > > virtual
> > > > host
> > > > section for the site?
> > > 
> > > Hello
> > > 
> > > Debian stable (strech).
> > > 
> > > packages:
> > >  php7.2-fpm
> > > 7.2.6-1+0~20180611145758.22+stretch~1.gbpe20e8b amd64
> > > server-side, HTML-embedded scripting language (FPM-CGI binary)
> > > nginx   1.10.3-1+deb9u1
> > >  all  small, powerful, scalable web/proxy
> > > server
> > > 
> > 
> > This php7.2-fpm package is definitely not from the stable
> > repository.
> > php7.2 is not available in stretch and the latest php7.0-fpm
> > versio

Re: fpm problem

2018-07-26 Thread Jens Sauer
Am Donnerstag, den 26.07.2018, 15:37 +0300 schrieb Gokan Atmaca:
> > Can you attach your PHP-FPM configuration file and NginX virtual
> > host
> > section for the site?
> 
> Hello
> 
> Debian stable (strech).
> 
> packages:
>  php7.2-fpm
> 7.2.6-1+0~20180611145758.22+stretch~1.gbpe20e8b amd64
> server-side, HTML-embedded scripting language (FPM-CGI binary)
> nginx   1.10.3-1+deb9u1
>  all  small, powerful, scalable web/proxy server
> 

This php7.2-fpm package is definitely not from the stable repository.
php7.2 is not available in stretch and the latest php7.0-fpm version
is 7.0.30-0+deb9u1

> Fpm config:
> 
> [www]
> user = www-data
> group = www-data
> listen = /run/php/php7.2-fpm.sock
> listen.owner = www-data
> listen.group = www-data
> pm = dynamic
> pm.max_children = 5000
> pm.start_servers = 4000
> pm.min_spare_servers = 4000
> pm.max_spare_servers = 5000

Could it be that starting 4000 fpm processes eats up all your resources
and starting the fpm-master process fails? Can you please check if the
php7.2-fpm service is running?

Can you try something like this?

pm = dynamic
pm.max_children = 250
pm.start_servers = 25
pm.min_spare_servers = 15
pm.max_spare_servers = 30

> -- Nginx config:
> 
> server {
> listen 80;
> 
> root /home/website/;
> index index.php index.html index.htm;
> client_max_body_size 256M;
> server_name y.br
> 
> 
> 
> location = /favicon.ico {
> log_not_found off;
> access_log off;
>    }
> 
> 
> if ($http_user_agent ~* LWP::Simple|wget|libwww-perl) {
>   return 403;
>  }
> 
> 
> location ~*
> \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
>  expires 365d;
>  add_header Cache-Control "public";
>    }
> 
> 
> location ~* \.(?:css|js)$ {
>   expires 1y;
>   access_log off;
>   add_header Cache-Control "public";
> }
> 
> 
>  location / {
> try_files $uri $uri/ /index.php?q=$uri&$args;
> 
> 
> }
> 
> location /my{
>  allow x.x.x.x;
>  allow x.x.x.x;
>  if ($scheme = http) {  return 301 https://$host$request_uri;}
>  deny all;
>  error_page 403  error403.html;
>  try_files $uri $uri/ /index.php?q=$uri&$args;
> }
> 
>  location ~ \.php$ {
> try_files $uri =404;
> fastcgi_split_path_info ^(.+\.php)(/.+)$;
> fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
> fastcgi_index index.php;
> fastcgi_param SCRIPT_FILENAME $request_filename;
> include fastcgi_params;
> }
> 
> gzip on;
> gzip_disable "msie6";
> gzip_comp_level 9;
> gzip_min_length 1100;
> gzip_buffers 16 8k;
> gzip_proxied any;
> gzip_types
> text/plain
> text/css
> text/js
> text/xml
> text/javascript
> application/javascript
> application/x-javascript
> application/json
> application/xml
> application/xml+rss;
> 
> On Thu, Jul 26, 2018 at 2:56 PM, Georgi Naplatanov 
> wrote:
> > On 07/26/2018 12:45 PM, Gokan Atmaca wrote:
> > > > What happened after you did what the warning message suggested
> > > > to do?
> > > 
> > > 502 gateway timeout
> > 
> > Can you attach your PHP-FPM configuration file and NginX virtual
> > host
> > section for the site?
> > 
> > Which Debian branch are you using - stable, testing or unstable?
> > Where
> > did you get PHP 7.2 packages from ?
> > 
> > Kind regards
> > Georgi
> > 
> > > On Thu, Jul 26, 2018 at 11:50 AM, Markus Schönhaber
> > >  wrote:
> > > > Gokan Atmaca, Do 26 Jul 2018 08:46:46 CEST:
> > > > 
> > > > > we are receiving an error as below. what is the cause of the
> > > > > problem?
> > > > > (32g ram , 240g ssd , xeon 8 cor cpu)
> > > > > 
> > > > > WARNING: [pool www] seems busy (you may need to increase
> > > > > pm.start_servers, or pm.min/max_spare_servers), spawning 32
> > > > > children,
> > > > > there are 1 idle, and 143 total children
> > > > 
> > > > What happened after you did what the warning message suggested
> > > > to do?
> > > > 
> > > > --
> > > > Regards
> > > >   mk
> > > > 
> 
> 
-- 
Jens Sauer 

smime.p7s
Description: S/MIME cryptographic signature


Re: Debian 9.4 and Aspeed/AST2400

2018-06-16 Thread Jens Sauer
Am Freitag, den 15.06.2018, 16:31 -0700 schrieb  Ryan C:
> 
> Hello,
> 
> We are having trouble getting Linux to function properly on SuperMicro
> hardware (X10SRI-F + E5-2620v4) which uses the AST2400 for VGA output. We have
> tried several "desktop" distributions: Ubuntu, Fedora, Xubuntu, Lubuntu, and
> Debian. As well as several versions of Ubuntu. We noticed the issue first
> starts with Ubuntu 16.04.2 and is still present in 18.04. In 16.04.1 and below
> the video is working fine. Debian is also using a newer kernel which has
> problems with this aspeed chip.  
> 
> Our issue is that the video output is very very slow at updating. Even the TTY
> framebuffer console can be slow at rendering. We open a window or click a menu
> and we can see each line of the display being drawn very slowly. Similarly,
> the login screens respond very slowly to keyboard input and mouse lags and
> jumps around.
> 
> We have narrowed the issue down to specifically to Linux Kernel version 4.9
> and above. Running Kernel version 4.8 or lower has no video issues at all.
> 
> Is this a known issue? Is there a known fix? Maybe we need to roll back the
> BIOS?
> 
> There are two possible fixes we found, but they may just be covering up the
> issue rather than fixing it:
> 
> 1) set the cpu frequency in Linux to the maximum speed, with "performance"
> governor. This helps, but doesn't completely solve the slow video rendering
> and tearing. Also, it is not permanent. 
> 
> 2) Set the gpu/vga OPROM to "EFI" in the BIOS. This seems to fix the slow
> graphics issue on the desktop, but does not help with the slow rendering on
> the login screen.
> 
> From what we can tell, the "ast" video driver is being used. Moving the ast
> kernel module from one system do another doesn't do anything, but switching
> between 4.8 and 4.9 is where everything breaks. 
> 

Do you have the same issue in the KVM/HTML5 viewer over IPMI?

I use a X11SSM-F witch has also the AST2400. Currently I use the stretch-
backports kernel because the EDAC module of kaby lake cpu's is not supported in
4.9

With 4.15 I had some strange wrong color output during boot, the tty color
switched to red.
This issue was gone gone after the installation of intel-microcode from stretch-
backports.

Have a nice day,
-- 
Jens Sauer 

GPG Key: 5C0B0084
Fingerprint: 75F3 6232 1F69 82E8 F5E0 D151 850E 2908 5C0B 0084


signature.asc
Description: This is a digitally signed message part


Re: Stretch net install on EeePC - unable to resolve mirror host address

2018-02-18 Thread Ólafur Jens Sigurðsson
On Sat, Feb 17, 2018 at 06:52:43PM +, Curt wrote:
> On 2018-02-17, Reco  wrote:
> >
> > First, please don't get me wrong, but can you provide the output of
> > (regular box, of course):
> >
> > wget -S --spider https://wiki.debian.org
> >
> > There have been some reports from people using your ISP that this page
> > does not work for them somehow, and I'm too lazy to travel to France to
> > check it out :)
> >
> 
> Here I am conveniently in France:
> 
> curty@einstein:~$ wget -S --spider https://wiki.debian.org
> Spider mode enabled. Check if remote file exists.
> --2018-02-17 19:52:06--  https://wiki.debian.org/
> Resolving wiki.debian.org (wiki.debian.org)... 82.195.75.112, 
> 2001:41b8:202:deb:6564:a62:52c3:4b70
> Connecting to wiki.debian.org (wiki.debian.org)|82.195.75.112|:443... 
> connected.
> HTTP request sent, awaiting response... 
>   HTTP/1.1 403 FORBIDDEN
>   Date: Sat, 17 Feb 2018 18:52:06 GMT
>   Server: Apache
>   X-Content-Type-Options: nosniff
>   X-Frame-Options: sameorigin
>   Referrer-Policy: no-referrer
>   X-Xss-Protection: 1
>   Strict-Transport-Security: max-age=15552000
>   Public-Key-Pins: pin-sha256="yPqY/77C2aLVJIEAYtuMrFy+cX6g4CatH03gcBQbxpo="; 
> pin-sha256="TzmD7DK6d5d7RU66/XTJtlENSfv+i0P7x2Xmpl8uFrY="; max-age=5184000
>   Content-Length: 166
>   X-Clacks-Overhead: GNU Terry Pratchett
>   Keep-Alive: timeout=5, max=100
>   Connection: Keep-Alive
>   Content-Type: text/html
> Remote file does not exist -- broken link!!!
> 
> I surfed the wiki the other day, no problemo, but "HTTP/1.1 403 FORBIDDEN"?

I get the same here in Iceland, IP address is 193.109.xxx.xxx (AS Number
is 24743) and I can browse the wiki just fine.

What do people in the US get?

Cheers, Oli



Re: Debian Usage

2018-02-15 Thread Ólafur Jens Sigurðsson
On Thu, Feb 15, 2018 at 06:08:52PM +0530, Sharath Kottadamane wrote:
> Hi Debian,
> 
> We are planning to use Debian as OS for one of our products. We have 2
> questions
> 
> 1) Do we need to pay license fee for using the Debain in our product?
> 2) We would like to create a custom iso image, which is a stripped down
> version, with limited packages and our custom software application on the
> same. Do you have any documentation to do the same?
> 
> Sharath Kottadamane

To get a good answer to the first question it is best to ask on debian-legal I 
think.

Cheers, Oli



Debian Jessie: Issue with Samba 4 as PDC with NTPd and Windows 7 clients

2017-12-07 Thread Jens Schmidt

Hello there,

debian is the best - when it works :-) Maybe someone of you will have an 
idea. I've run into an issue with time synchronisation on windows 7 
clients in a samba 4 ad domain. Setup is as follows:
Server is running debian jessie with samba 4 as PDC and NTPd. I followed 
the tutorial at

https://wiki.samba.org/index.php/Time_Synchronisation
to the letter.

File sharing, user logins etc. works great. And time snychronisation 
does work between the PDC and other servers and unix clients.


But time synchronisation does NOT work with windows 7 clients (w32tm). 
I checked with tcpdump, the windows client is sending a message but the 
server nerver responds to the windows client. Other request are handled 
fine. However, if i start NTPd as root, now the windows clients do get a 
response back.


I assumed a permission problem with the signd socket. However it is 
setup as requested by the tutorial to:

drwxr-x---+  2 root ntp  4096 Dec  6 19:47 ntp_signd
and the socket itself to:
srwxr-xr-x 1 root root 0 Dec  6 19:47 socket

For tests changing the permissions on ntp_signd 777 does not work. Only 
starting the ntpd as root produces answers to the windows clients. This 
seems wrong to me.


Any ideas on how to fix this would be greatly appreciated.

Cheers
Jens



Re: jmtpfs left undeletable folder after usning with mobile phone

2017-10-29 Thread Ólafur Jens Sigurðsson
On Sun, Oct 22, 2017 at 02:22:17PM +0200, Thomas wrote:
> Hello,
> I have used #jmtpfs to get data from my Samsung mobile phone.
> I habe used #mkdir to make an folder.
> After I used #jmtpfs and mount unmount the phone I have this kind of folder 
> left.
> #ls -lah 
> d?  ? ?  ? ?? test1
> I can not delete or do symthing else with the folder
> #mount show me this kind of folder details
> jmtpfs on /home/mike/test1 type fuse.jmtpfs 
> (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
> Thanks
> 

Are you running these commands as root? If so then there was something
wrong with how you mounted the test1 directory. If you are running these
commands as a normal user then it might be that you simply do not have
enough privilages to do those commands and hence the question marks
appear. 

To get rid of the directory try unmounting it: fusermount -u test1
(probably need to be root to do this) and then delete it.

Answer taken from here:
https://stackoverflow.com/questions/541533/only-questionmarks-in-linux-dirlisting

Hope this helps, Oli



Is the "fjes" Kernel Module loaded on every system?

2017-01-24 Thread Jens Sauer
Hey list,

During my custom kernel configuration using "make localmodconfig" I noticed that
the "fjes" driver was configured.
I wondered why this network driver was needed for my laptop, so I have done some
research.
According this [1] linux-netdev mailing list entry, which introduces the fjes
module, it is only needed for Extended Partitions of Fujitsu Primequest 2000
series servers.
This mail [2] refers to a Fujitsu document in which these special Extended
Partitions are explained.
I am sure that I don't need this driver for my ThinkPad T450s.
Nevertheless it is loaded because of an ACPI device "PNP0C02" which is linked to
the module [3].

TL;DR
Can someone confirm if this module is loaded on their hardware, even if you
don't have a Fujitsu Primequest 2000 series server?

[1]https://marc.info/?l=linux-netdev=142951966404542=2
[2]https://lwn.net/Articles/655298/
[3] https://cateee.net/lkddb/web-lkddb/FUJITSU_ES.html

Greetings
-- 
Jens Sauer <jsaue...@gmail.com>

GPG Key: 5C0B0084
Fingerprint: 75F3 6232 1F69 82E8 F5E0 D151 850E 2908 5C0B 0084

signature.asc
Description: This is a digitally signed message part


Re: mdadm - two questions

2016-11-22 Thread Jens Sauer
> Unfortunately I cannot see how from raid1 of 2*1TB disks migrate to
> raid1(raid10?)  of 4*1TB disks

I don't think you can reshape a RAID 1 to a RAID 10.

mdadm can reshape RAID 1/5/6. You can move from RAID 5 to 6 or the other
way around.
*Maybe* you can even reshape from 1 to RAID 5/6.

I see these options:

* create a second RAID 1 with the new devices, make this a pv and add it to
your vg
* backup all data, create a RAID 10/5/6 with all four devices
* Test if you can reshape from RAID 1 to 5/6

The last option only if RAID 5/6 serves your needs.

Regards,
Jens


Re: C source

2016-07-15 Thread Jens Sauer
I think you are missing dependencies from the ssl library. Have a look into
the docs [1].

Your questions implies that you are not very experienced in C coding.
Maybe you should ask yourself the question if starting with a complex and
potential security risky api like openssl is the right thing for a beginner.

Happy coding

[1] https://www.openssl.org/docs/manmaster/ssl/ssl.html

Am 15.07.2016 12:07 nachm. schrieb "Pol Hallen" :

sorry, my mistake about the package (I use debian testing)

  find /usr/include -name md5.h
>

find /usr/include/ -name md5.h
/usr/include/openssl/md5.h
/usr/include/crypto++/md5.h

  #include 
>

now I've many errors

thanks for help!

alice.c:50:18: error: unknown type name ‘md5_context’
 void md5_starts( md5_context *ctx )
  ^
alice.c:61:19: error: unknown type name ‘md5_context’
 void md5_process( md5_context *ctx, uint8 data[64] )
   ^
alice.c:61:37: error: unknown type name ‘uint8’
 void md5_process( md5_context *ctx, uint8 data[64] )
 ^
alice.c:184:18: error: unknown type name ‘md5_context’
 void md5_update( md5_context *ctx, uint8 *input, uint32 length )
  ^
alice.c:184:36: error: unknown type name ‘uint8’
 void md5_update( md5_context *ctx, uint8 *input, uint32 length )
^
alice.c:184:50: error: unknown type name ‘uint32’
 void md5_update( md5_context *ctx, uint8 *input, uint32 length )
  ^
alice.c:223:8: error: unknown type name ‘uint8’
 static uint8 md5_padding[64] =
^
alice.c:231:18: error: unknown type name ‘md5_context’
 void md5_finish( md5_context *ctx, uint8 digest[16] )
  ^
alice.c:231:36: error: unknown type name ‘uint8’
 void md5_finish( md5_context *ctx, uint8 digest[16] )
^
alice.c: In function ‘main’:
alice.c:299:3: error: unknown type name ‘md5_context’
   md5_context ctx;
   ^
alice.c:321:3: warning: implicit declaration of function ‘md5_starts’
[-Wimplicit-function-declaration]
   md5_starts(  );
   ^
alice.c:325:7: warning: implicit declaration of function ‘md5_update’
[-Wimplicit-function-declaration]
   md5_update( , buf, i );
   ^
alice.c:332:3: warning: implicit declaration of function ‘md5_finish’
[-Wimplicit-function-declaration]
   md5_finish( , md5sum );
   ^


Pol


Re: cd as much as possible

2016-03-15 Thread Jens Bauer
Hi Kamaraju.

If I understand this correctly, then this is a kind of traversal - but only for 
a single directory.

That should be a fairly easy thing to do.

for file in tmp/*; do
  [ -d file ] echo "folder: $file"
done

... only get those names you're interested in ...

for file in tmp/issue-?*; do
  [ -d file ] echo "folder: $file"
done

-d means if file is directory; -f if it's a file, -e if it's "something that 
exisss"
I use conditional expression instead of 'if' in the above two examples (because 
I'm lazy).
(details can be found here: 
<http://wiki.bash-hackers.org/syntax/ccmd/conditional_expression>)

in bash, you can use ${file#pattern}, ${file##pattern}, ${file%pattern} or 
${file%%pattern} to grab the first/last part of the pathname

(details on pattern matching can be found here: 
<http://wiki.bash-hackers.org/syntax/pe#substring_removal> - I tend to like the 
'default value' and I've been using 'alternate value' very much)

Example:

for file in tmp/issue-*; do
if [ -d ]; then
echo "file  : ${file%/*}"
echo "  path:file: ${file%/*}"
echo "  name: ${file##*/}"
echo "  issue number: ${file##*/issue-}"
fi
done

bash4 adds some extra powerful string operations, which might be interesting 
for you, if you know bash4 is always available on the system you're using.

'alternate value' can be useful, when you want to add a few characters if a 
string is not empty.
Example:
echo ${string:+, $string}
... will add a preceeding comma if the string is not empty.

Other useful info: <http://wiki.bash-hackers.org/syntax/pattern>


Love
Jens

[Note: Either there's a huge deveral-day-lag, or my postings do not make it to 
the debian-user list for some reason]

On Thu, 10 Mar 2016 23:00:22 -0500, kamaraju kusumanchi wrote:
> On Thu, Mar 10, 2016 at 1:48 AM, Jens Bauer <jens-li...@gpio.dk> wrote:
>> Hi Kamaraju.
>> 
>> Yes, it's possible. You could for instance write a bash function, 
>> which would do it.
>> But why would you want to do that ?
> 
> I have the following directory structure
> 
> tmp/issue-1
> tmp/issue-5
> tmp/issue-13
> ...
> 
> where the issue numbers are not contiguous. If I am working on an
> issue, say issue-37, I would like to do
> cd tmp/issue-37
> 
> If issue-37 is a new issue, I would like to be inside tmp so I can
> mkdir issue-37 if necessary.
> If it is an existing issue, I would like to be inside issue-37 
> automatically.
> 
>> If you need to create all the directories, then you can just supply 
>> -p to mkdir.
> 
> I am aware of mkdir -p option. But that is not what I want here.
> 
> thanks
> raju
> -- 
> Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog
> 



conflicts in stretch

2015-10-26 Thread Jens Tobiska
I am running sid/stretch and noticed that for some time now, around 200
packages have been "kept back" when doing "apt-get upgrade".

Also installing some other packages (e.g. sqlitebrowser) does not work
unless I uninstall some 64 other packages.

Is this due to some library conflict? Will it be solved soon or is it my
computer?

Thanks
Jens


Best practise - hårdvarubyte

2014-11-02 Thread Jens Andersson
Projektet att byta hårdvara för min server drar i långbänk. Gamla 
servern kör squeeze och har bara en hårddisk. Nya servern har jag 
planerat för mjukvaru-RAID.


Frågor i nära omgivningen ger två olika förslag till modus operandi:
- Installera om allt från grunden och få ett friskt system
- Rsyncha först nya servern från gamla och uppgradera sedan till wheezy.

Jag ser fördelar med båda. Rsynchar jag har jag förhoppningsvis en 
fungerande kopia med en gång, men kan drabbas av problem i samband med 
uppgradering till wheezy. Väljer jag wheezy direkt och installera allt 
från början får jag högst troligt problem med de mindre lappningar och 
lagningar i konfig-filer mm som gjorts med tiden.


Så vilka andra för- och nackdelar att ta hänsyn till. Dock, jag har 
stora problem att montera RAID-disken när jag kör live-CD, vilket 
naturligtvis är ett måste om jag ska rsyncha hela gamla disken.


//Jens
== Jens Andersson 
ja...@barbanet.com VHF: SC8895 MMSI:265586130 PGP finger print: BD36 
399B 2594 74DA EFAB B72C B655 55D1



--
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54560695.2070...@barbanet.com



Re: Best practise - hårdvarubyte

2014-11-02 Thread Jens Andersson
Borde förtydligat att RAID funkar utan problem om jag bootar från RAID-device. 
Således bara problem när jag kör live-CD.

//jens

Skickat från min iPad

 2 nov 2014 kl. 12:16 skrev Michael Kjörling mich...@kjorling.se:
 
 On 2 Nov 2014 11:25 +0100, from ja...@barbanet.com (Jens Andersson):
 Så vilka andra för- och nackdelar att ta hänsyn till. Dock, jag har
 stora problem att montera RAID-disken när jag kör live-CD, vilket
 naturligtvis är ett måste om jag ska rsyncha hela gamla disken.
 
 Jag skulle nog vilja lösa det problemet först, och reda ut varför det
 är problem att montera lagringen på den nya servern. För det kommer du
 att behöva göra, förr eller senare...
 
 -- 
 Michael Kjörling • https://michael.kjorling.se • mich...@kjorling.se
 OpenPGP B501AC6429EF4514 https://michael.kjorling.se/public-keys/pgp
 “People who think they know everything really annoy
 those of us who know we don’t.” (Bjarne Stroustrup)
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/20141102111615.gk7...@yeono.kjorling.se
 


--
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/c693ef20-eaf4-43b7-9702-e230ac68a...@barbanet.com



qemu not grabbing control keys

2014-05-01 Thread Ólafur Jens Sigurðsson
Hi, if I try to run images with kvm I cant switch to virtual consoles
with ctrl-alt-(1/2/3) no matter what key combination I use (default is
ctrl-alt, starting kvm with -alt-grab makes it ctrl-alt-shift, starting
with -ctrl-grab makes it right ctrl button). 

Grabbing and ungrabbing the mouse with the control keys works though so
qemu sees the keys.

My system is an icelandic keyboard with qemu version 2.0.0+dfsg-2 from
unstable.

Any ideas if this is a bug or some misconfiguration of my part?

TIA Oli


-- 
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/20140501092304.gb8...@workman.lan



Re: qemu not grabbing control keys

2014-05-01 Thread Ólafur Jens Sigurðsson
On Thu, May 01, 2014 at 07:13:16AM -0400, Tom H wrote:
 On Thu, May 1, 2014 at 5:23 AM, Ólafur Jens Sigurðsson ojs...@gmail.com 
 wrote:
 There may be a less keyboard-intensive way but it's the only way that I know:
 
 ctrl-alt-2 to go to the qemu console
 
 sendkey alt-fN where N is the number of the tty
 
 ctrl-alt-1 to return to the VM console on ttyN
 

Ahh, thats exactly what I can't do, qemu doesnt respond to ctrl-alt-2,
when I said that I couldn't get to the virtual console I mean the qemu
console.

Cheers, Oli


-- 
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/20140501175824.gc8...@workman.lan



Re: qemu not grabbing control keys

2014-05-01 Thread Ólafur Jens Sigurðsson
 Sorry, misunderstood...

No worries, wasnt clear enough in my original message.

 
 Are you modifying the mouse grab keyboard shortcut?
 
 If you add -ctrl-grab to your qemu command, can you use
 right-ctrl- rather than ctrl-alt- in the above commands?
 

I tried that, didnt work. Neither does -alt-grab work. But in all cases
grabbing and ungrabbing the mouse works. So normally the ctrl-alt grabs
ungrabs the mouse but ctrl-alt-2 does not give me the qemu console, with
the -alt-grab option then ctrl-alt-shift grabs/ungrabs the mouse but
ctrl-alt-shift-2 does not give me the qemu console, with -ctrl-grab the
right ctrl grabs/ungrabs the mouse but ctrl-2 does not give me the qemu
console.

Cheers, Oli


-- 
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/20140501190401.gd8...@workman.lan



Re: qemu not grabbing control keys

2014-05-01 Thread Ólafur Jens Sigurðsson
Well, it is working now since I did a dist-upgrade today.

Must have been some issue with the version before.

So all is good now :-)

Cheers, Oli


-- 
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/20140501234951.ge8...@workman.lan



Re: Systemd

2014-04-25 Thread Ólafur Jens Sigurðsson
On Fri, Apr 25, 2014 at 04:45:09PM +0200, berenger.mo...@neutralite.org wrote:
 
 
 My opinion is that major distributions will not change every day their init
 systems, so I guess systemd administration can be reliably learned.
 
 That some users like this, or not, do not change the fact that they do not
 decide for maintainers.
 
 or are we going to have another massive argument?
 
 It's like discussing about new versions of gnome. I would be surprised if no
 trolling follows in this thread, sooner or later.
 

It would be nice to see a comparison of features without any kind of
judgement of each merit or con.

As soon as people start saying this feature is better then that one
that's when the cat gets loose I think, no trolling needed, just stating
oppinions is enough. We all have our oppinions but there are some
technical differences between sysvinit and systemd that would be nice to
have.

Cheers, Oli


-- 
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/20140425152131.ga8...@workman.lan



Re: where is libgtk2 (for Raspbian)?

2014-04-08 Thread Ólafur Jens Sigurðsson
On Tue, Apr 08, 2014 at 05:05:09PM -0400, ken wrote:
 For the Debian/Raspberry Pi crowd here...
 
 A doc I'm following for the install of wxPython says to do
 
 gtk-config --version
 
 But it returns
 
 gtk-config: command not found
 
 sudo apt-file search gtk-config
 
 turns up nothing relevant.
 
 Where to now?
 
 tia.

This must be some really old doc since gtk-config was deprecated a long
time ago I believe, the new package is pkg-config or pkgconf.

But this is not a support list for raspbian, they must have theyr own
support.

Oli


-- 
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/20140409004048.ga25...@workman.lan



problem with amanda after upgrading to debian wheezy

2014-03-19 Thread Jens Galley
I have an Amanda installation on a Debian server. Amanda works with 
virtual tapes (i.e. directories). During the upgrade from Debian 6 
(Squeeze) to Debian 7 (Wheezy) Amanda was upgraded from version 2.6.1p2 
to version 3.3.1. Since then it seems to me that the tapechanger doesn't 
work anymore.


If I run a normal dump, the dumps stay in the holding disk. In the mail 
summary I get the error message:


FAILURE DUMP SUMMARY:
taper: FATAL Expected an unsigned 64-bit value or smaller; value 
'9444732965739290426368' out of range at 
/usr/lib/amanda/perl/Amanda/Changer.pm line 1680.


The same message I get after trying to transfer the dumps to the tapes 
via amflush, or even if I try to change the tape manually by


/usr/sbin/amtape tagesbackup slot 8

(tagesbackup is the config name).

The active tpchanger config in amanda.conf ist

--
define changer my_vtapes {
tpchanger chg-disk:/usr/data/0/tagesbackup
property num-slot 22
property auto-create-slot yes
}
tpchanger my_vtapes
--

I changed the config from the old chg-disk version to the new one. That 
didn't have any effect on the error.


Any ideas how to fix this?


I also posted this on the Zmanda forum 
(https://forums.zmanda.com/showthread.php?5335-fatal-error-in-tpchanger), but 
without answer up to now. There are some additional snippets from the 
taper.*.debug file.


--
Gruß, Jens



Jens Galley
Einrichtungsleiter IT-Technik

Abteilung Ausbildung | Medien | Kultur
Christinenstraße 18/19 | 10119 Berlin
Fon: 030 - 443 83 461 | Fax: 030 - 443 83 470
e-mail: gal...@pfefferwerk.de


Pfefferwerk Stadtkultur gGmbH
Fehrbelliner Straße 92 | 10119 Berlin
Fon: +49(0)30 /443 83 0 | Fax: +49(0)30 /443 83 100
www.pfefferwerk.de | i...@pfefferwerk.de

Sitz: Berlin | Amtsgericht Charlottenburg | HRB 41860
Geschäftsführung: Stefan Hoffschröer
Steuer-Nr.: 27/602/50767


--
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/5329a10d.60...@pfefferwerk.de



Why is the Provides field in the local Debian package ignored (DepCompareOp)?

2014-02-27 Thread Jens Kubieziel
Hey,

I'm running Debian sid and want to use TeX Live from CTAN. So I didn't
install the Debian texlive-packages, but created a virtual local package
with equivs (followed the advice on URL:
http://www.tug.org/texlive/debian.html). You can find the contents of the
control file below:

Section: misc
Priority: optional
Standards-Version: 3.9.4

Package: texlive-local
Version: 2014-1
Maintainer: Jens Kubieziel j...@kubieziel.de
Provides: chktex, biblatex, biblatex-dw, cm-super, cm-super-minimal,
context,
 dvidvi, dvipng, feynmf, fragmaster, jadetex, lacheck, latex-beamer,
 latex-cjk-all, latex-cjk-chinese, latex-cjk-chinese-arphic-bkai00mp,
 latex-cjk-chinese-arphic-bsmi00lp, latex-cjk-chinese-arphic-gbsn00lp,
 latex-cjk-chinese-arphic-gkai00mp, latex-cjk-common,
latex-cjk-japanese,
 latex-cjk-japanese-wadalab, latex-cjk-korean, latex-cjk-thai,
latexdiff,
 latexmk, latex-sanskrit, latex-xcolor, lcdf-typetools, lmodern, luatex,
 musixtex, passivetex, pgf, preview-latex-style, prosper, ps2eps,
psutils,
 purifyeps, t1utils, tex4ht, tex4ht-common, tex-gyre, texlive,
texlive-base,
 texlive-bibtex-extra, texlive-binaries, texlive-common,
texlive-extra-utils,
 texlive-fonts-extra, texlive-fonts-extra-doc,
texlive-fonts-recommended,
 texlive-fonts-recommended-doc, texlive-font-utils,
texlive-formats-extra,
 texlive-games, texlive-generic-extra, texlive-generic-recommended,
 texlive-humanities, texlive-humanities-doc, texlive-lang-african,
 texlive-lang-all, texlive-lang-arabic, texlive-lang-cjk,
texlive-lang-cyrillic,
 texlive-lang-czechslovak, texlive-lang-english, texlive-lang-european,
 texlive-lang-french, texlive-lang-german, texlive-lang-greek,
 texlive-lang-indic, texlive-lang-italian, texlive-lang-other,
 texlive-lang-polish, texlive-lang-portuguese, texlive-lang-spanish,
 texlive-latex-base, texlive-latex-base-doc, texlive-latex-extra,
 texlive-latex-extra-doc, texlive-latex-recommended,
 texlive-latex-recommended-doc, texlive-luatex, texlive-math-extra,
 texlive-metapost, texlive-metapost-doc, texlive-music,
 texlive-omega, texlive-pictures, texlive-pictures-doc,
texlive-plain-extra,
 texlive-pstricks, texlive-pstricks-doc, texlive-publishers,
 texlive-publishers-doc, texlive-science, texlive-science-doc,
texlive-xetex,
 thailatex, tipa, tipa-doc, xindy, xindy-rules, xmltex
Architecture: all
Description: My local installation of TeX Live 2013.
 A full vanilla TeX Live 2013
 http://tug.org/texlive/debian#vanilla

I used equivs-build to create the Debian package and installed it. However
when I open apt-get, aptitude or other package managers I get the following
message:

W: Ignoring Provides line with DepCompareOp for package texlive-latex-base

It advises to call apt-get update which I did, but the message stays. Why
does this message appear and what can I do to correct this warning?

The package texlive-latex-base itself not installed:

 apt-cache policy texlive-latex-base
texlive-latex-base:
  Installed: (none)
  Candidate: 2013.20140215-1


Re: [OT] Telia ADSL och SSH

2014-02-25 Thread Jens Andersson
 Jag har Tyfons ADSL och ett parallellkopplat jack. När jag lyfter
 luren
 vid det jack där ADSL-modet/min server är ansluten bryts internet. Går
 det att koppla så att telefoni och internet fungerar samtidigt? Hur
 gör
 man en korrekt kabeldragning?

Då har du kopplat fel. Kolla
http://www.telia.se/privat/support/bredbandviatelejacket/kopplainbbviatelejacket

Du måste ha ADSL-modemet kopplat före alla andra telefoner. Det
innebär att splittern (filterburken) måste sitta i det första jacket
på inkommande teleledning. Dessutom måste du koppla så att alla
telefoner sitter kopplade _bara_ på splitterns telefon-utgång.

/jens

==
Jens Andersson  ja...@barbanet.com
VHF: SC8895 MMSI:265586130
PGP finger print:
BD36 399B 2594 74DA  EFAB B72C B655 55D1


-- 
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/d66f86454fd89957a353905035dde56e.squir...@mail.barbanet.com



Re: [OT] Telia ADSL och SSH

2014-02-24 Thread Jens Andersson
Har kört Ssh över Telia ADSL2+ i många år utan problem. Fel i kabeldragning 
sänker max bitrate. Störningar kan vara utsträckta i tiden eller mkt korta. I 
det första fallet får du lägre kapacitet, i det senare får du paketförlust. 
Kolla med bredbandskollen (ofta) och långa ping-serier. Parallellkopplade jack 
hörs i telefonen och märks på att 'internet' bryts när telefonsamtal 
börjar/pågår.

/j 

Skickat från min iPad

 24 feb 2014 kl. 17:34 skrev Carl-Fredrik Enell fred...@kyla.kiruna.se:
 
 Hej
 
 Med Telia ADSL är ssh, både kopiering av filer med scp och inloggning,
 nästan omöjligt, förbindelsen hänger sig direkt eller stoppar efter
 ett antal MB. 
 
 Har någon annan varit med om detta? Har jag någon inställning
 fel, är det Telia som begränsar eller måste jag börja söka i
 kabeldragningen efter eventuella parallellkopplade jack (enligt
 fastighetsägaren kan det vara så)?
 
 Jag har modemet TG799vn v2 med firmware 10.4.0.O.
 
 Hälsningar
 -- 
 --
 Carl-Fredrik Enell
 
 Föraregatan 26B, 98139 Kiruna
 +46 (0)980-61282
 +46 (0)70-5508256
 http://kyla.kiruna.se/~fredrik
 --
 
 
 -- 
 To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/21259.29875.703332.778...@morran.lan
 


--
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ee911fa1-5329-41e2-b2ec-c3c1d11d2...@barbanet.com



Wheezy: boot from RAID?

2013-10-14 Thread Jens Andersson
I am trying to intsall wheezy from DVD image. During the installation
phase I create two RAID units: /dev/md0 for boot and swap and /dev/md1
for LVM.

during the final installation stage, I am notified that MBR/GRUB(?)
will be installed on /dev/sda (sorry for my bad memory) and thus the
host will not boot. Is there a known issue with creating my planned
environment during normal installation?

/Jens


==
Jens Andersson  ja...@barbanet.com
VHF: SC8895 MMSI:265586130
PGP finger print:
BD36 399B 2594 74DA  EFAB B72C B655 55D1


-- 
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/f7da1332b0968d2aa3b1fad35f1921d5.squir...@mail.barbanet.com



Re: Installera RAID?

2013-09-15 Thread Jens Andersson
OK :-) But when in the installatioon process? And how? Most greatful
for a link with a HOWTO if you have one at hand. I am sorry but I am
too much of a rookie to implement your advice straight on ;-)

/Jason

 Yes, you can. Even if Debian Installer can't setup RAID1 with missing
 drive you can switch to secondary console and create it manually.

 MVH,
 Ilia



 On 09/15/2013 07:50 AM, Jens Andersson wrote:
 På gång att installerad RAID på två identiska diskar. Men samtidigt
 finns uppgraderingsbehov. Kan jag vid nyinstallering konfigurera
 halv
 RAID på en disk för att sedan kopiera över allt från den nuvarande
 disken till den halva RAID:en och till sista tömma den gamla disken
 och installera den som andra halvan i RAID-klustret?

 /Jason





 --
 To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/5235f7da.2040...@yandex.ru




==
Jens Andersson  ja...@barbanet.com
VHF: SC8895 MMSI:265586130
PGP finger print:
BD36 399B 2594 74DA  EFAB B72C B655 55D1


-- 
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/efa0be06c7052e4b5ba016f9177f1976.squir...@mail.barbanet.com



Installera RAID?

2013-09-14 Thread Jens Andersson
På gång att installerad RAID på två identiska diskar. Men samtidigt
finns uppgraderingsbehov. Kan jag vid nyinstallering konfigurera halv
RAID på en disk för att sedan kopiera över allt från den nuvarande
disken till den halva RAID:en och till sista tömma den gamla disken
och installera den som andra halvan i RAID-klustret?

/Jason



-- 
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/67259d87af8d3188ae24812a27a5e1ec.squir...@mail.barbanet.com



Re: Testing needed for openjdk-6 security updates

2013-07-16 Thread Jens Schüßler
* Moritz Muehlenhoff j...@debian.org wrote:
 As discussed on debian-release some time ago security support
 for openjdk will be following upstream releases in the future.
 
 The packages for openjdk are generally ready, but I don't use
 Java myself. As such I need some additional real world testing
 before I'll release them through security.debian.org
 
 The openjdk6 packages are available at 
 http://people.debian.org/~jmm/ for stable and oldstable.

I'm willing to test, but I miss openjdk-6-jre-headless for i386 
in the wheezy repository,
There are only packages for amd64 and i64

 openjdk-6-jre : Depends: openjdk-6-jre-headless (=
 6b27-1.12.6-1~deb7u1) but 6b27-1.12.5-1 is installed.


Jens


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130716234241.gd17...@sge.kicks-ass.org



Re: Installation av gdisk på squeeze?

2013-07-02 Thread Jens Andersson
 Något verkar konstigt. gdisk kom inte med i squeeze utan finns bara
 genom backports och var jag kan se har den inga beroenden på de paket
 du
 har problem med.

 http://packages.debian.org/squeeze-backports/gdisk

Ska jag koncentrera mej på felmeddelandet Broken package och gör en
bugg-rapport?

/Jens

==
Jens Andersson  ja...@barbanet.com
VHF: SC8895 MMSI:265586130
PGP finger print:
BD36 399B 2594 74DA  EFAB B72C B655 55D1


-- 
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/47ecf16a5c648a28a37c15f112fe09a0.squir...@mail.barbanet.com



SOLVED Re: Installation av gdisk på squeeze?

2013-07-02 Thread Jens Andersson
 Något verkar konstigt. gdisk kom inte med i squeeze utan finns bara
 genom backports och var jag kan se har den inga beroenden på de
 paket
 du
 har problem med.

 http://packages.debian.org/squeeze-backports/gdisk

Om jag speciellt anger squeeze-backports som distribution funkar
installationen av gdisk. Uppenbart finns gdisk på något sätt även i
den ordinarie distributionen för squeeze.

En minnesbild av att felmeddelandet uppkom redan innan jag lagt till
backport-distributionen i sources.list ledde mej på rätt spår.

/Jens

==
Jens Andersson  ja...@barbanet.com
VHF: SC8895 MMSI:265586130
PGP finger print:
BD36 399B 2594 74DA  EFAB B72C B655 55D1


-- 
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/53b137d0545b958e545c1aaad3e36893.squir...@mail.barbanet.com



mod-security update

2013-04-12 Thread Jens Tobiska
After the latest update of mod-security for debian squeeze, I am receiving
the error message:

Syntax error on line 52 of /etc/apache2/mod-security/modsecurity.conf:
Invalid command 'SecRequestBodyLimitAction', perhaps misspelled or defined
by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
 failed!


whenever I try to do /etc/init.d/apache2 reload

Before the update it did not show any such error and I did not change
anything with the mod-security configuration since.

Interestingly, from what I read, SecRequestBodyLimitAction appears only
with mod-security 2.6 and squeeze uses version 2.5, so I don't understand
why it did not complain before the update.


Re: Skype alternatief wijzigt wat veel

2013-03-08 Thread Jens Van Broeckhoven
Jens Van Broeckhoven schreef op do 07-03-2013 om 22:05 [+0100]:
 Diederik de Haas schreef op do 07-03-2013 om 21:50 [+0100]:
  On Thursday 07 March 2013 21:34:44 Jens Van Broeckhoven wrote:
   Net hun .deb gebruikt en die wijzigt helemal niets (en werkt
   probleemloos op wheezy).
  
  Is er ook geen /etc/apt/apt.conf.d/jitsi.list file ?
  
  Mijn shell kennis is niet echt goed, maar in postinst _lijkt_ het iig dat 
  die 
  file wordt gecreeerd.
  
  Groet,
Diederik
  
  
 Neen. 
 
 Heb wel nog niet die code gekeken (google doet zo'n dingen ook indien
 dpkg/apt geen oplossingen vindt). 
 Gebruik je stable?
 
 Jens.

Ah... dat van die postinst lag blijkbaar aan mijn eigen setup ...
Op een default wheezy systeem krijg ik die files inderdaad.

Zolang dit enkel voor updates dient heb daar persoonlijk geen enkel
probleem.

Indien je die key niet vertrouwd ... waarom de binary dan wel?


Jens. 

  
   



-- 
To UNSUBSCRIBE, email to debian-user-dutch-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1362762005.10414.18.ca...@94-226-0-121.telenet.be



Re: Skype alternatief wijzigt wat veel

2013-03-07 Thread Jens Van Broeckhoven
Paul van der Vlis schreef op do 07-03-2013 om 21:15 [+0100]:
 Hallo,
 
 Jitsi is een open source alternatief voor Skype, de features zien er
 goed uit. https://jitsi.org/
 
 Maar moet je dit zien:
 https://jitsi.org/Main/DebianRepository
 Blijkbaar wijzigt het installeren van Jitsi automatisch je sources.list
 en je keyring met vertrouwde repositories.
 
 Wat vinden jullie, is een reactie op zijn plaats?
 
 Groet,
 Paul.
 
 
 -- 
 Paul van der Vlis Linux systeembeheer, Groningen
 http://www.vandervlis.nl
 
 
Net hun .deb gebruikt en die wijzigt helemal niets (en werkt
probleemloos op wheezy).

https://download.jitsi.org/jitsi/debian/jitsi_1.0-latest_amd64.deb


Jens.




-- 
To UNSUBSCRIBE, email to debian-user-dutch-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1362688484.4076.3.ca...@94-226-0-121.telenet.be



Which partition is which

2012-04-18 Thread Jens Tobiska
I have a computer with windows xp and two ntfs partitions. One of them
(D:) is empty and I would like to use it for debian. My problem is to
figure out which partition corresponds to the empty partition when
installing debian, i.e. which partition I can modify.

The partitions appear as follows in Windows XP disk management:

C: 139.80 GB NTFS, logical, boot
D: 139.65 GB NTFS, primary, system

In debian installer they appear as:

#2 primary 149.9 GB ntfs B
#5 logical 150.1 GB ntfs

I would guess that #2=D and #5=C based on relative size and
logical/primary. However, I am a bit confused by the B (which I
assume means boot), shouldn't that be on the logical/C partition?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CACEj1u_+8ddPZXcoOb+NDrfYrLVrN=-rsfa_kmo4ghq4gnb...@mail.gmail.com



Re: octave versus scilab

2012-04-02 Thread Ólafur Jens Sigurðsson
On Sun, Apr 01, 2012 at 09:54:50PM +0100, abdelkader belahcene wrote:
 hi,
 I want to choose between octave and scilab, somebody can give us an
 overview
 about advantages and disadvantages for each.
 Now I am using  scilab 5.3  and I have a problem ( with graphic interface)
 because it uses java and opengl for the interface.  the devloppers said
 that the pb will be fixed in next version??!!!
 
 
 I want to switch to octave, before i want to be sure that is the good
 decision!!

Hi Abdelkader, I have used octave but not scilab so I can't compare
the two but I have been following the development of octave and it
seems to be in good hands. As you perhaps know then octave is almost
compatible with matlab but the major obstacle with octave was theyr
bad implementation of loops, don't know if this is fixed yet. But then
again since octave is a matrix calculation software the your better
off by turning every calculation into a matrix calculation then doing
loops.

I don't know about graphical interfaces for octave, never used one, I
just write my .m files and run them.

Octave uses advanced numerical libraries so you don't have to worry
much about performance.

That is my take on octave, as I say I have never used scilab so I
can't really compare the two.

HTH

Oli


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120402101208.ga3...@workman.lan



Re: No sound with new install

2012-04-02 Thread Jens-Michael Hoffmann
Am Montag, 2. April 2012, 11:49:05 schrieb Nick White:
 Hi debian folks,
 
 I installed Debian last week (for the first time), and things
 generally went very nicely.
 
 One thing which isn't yet working though is sound. I'm currently
 using the kernel from debian-backports
 (linux-image-3.2.0-0.bpo.2-amd64) in order to get my ethernet
 working, but the same thing happenned with the stock 2.6 kernel too
 (linux-image-2.6.32-5-amd64)

I've got the same issue on sid. At the moment I'm working around it by killing 
pulseaudio after booting. When it then autimatically restarts, sound is 
working for me.


kind regards,
Jens-Michael


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201204021616.28167.j...@jmho.de



Netinstall cannot find wireless access points

2012-02-03 Thread Jens Tobiska
Hi!

I am trying to install debian on a lenovo x61 with an intel 4965AGN built
in wifi card from a usb stick.

The installation fails when trying to find wireless access points. It then
asks me to enter ESSID and password which I do. It then does something with
DHCP but still fails to find a network.

In case it matters, I did create the boot usb stick with unetbootin. The
result is the same whether I use stable or testing. For the stable branch I
need to put the *iwlwifi*-*4965*-ucode file on the usb stick since
otherwise the installer fails one step earlier (when recognizing the wifi
card). With testing this is not necessary, I presume because the driver
is built into the kernel already.

Wireless internet works from the same computer in windows with WPA2-PSK,
AES.

Is there a way to make the installer find my network?

Jens


Re: Music software

2012-01-24 Thread Jens Van Broeckhoven
Op Tue, 24 Jan 2012 05:25:17 -0500
Mark Neidorff m...@neidorff.com schreef:

 Morning,
 
 I'm running Mepis which is a squeeze spinoff.  I have started taking
 music lessons.  My instructor plays a tune and I record it.  I want
 to then play it back slowed down, without changing the pitch of the
 notes so that I can play along.  Tried audacity (1.3.12), but it
 lowers the pitch of the notes when I slow the music down.
 
 I'm looking at a package called mixxx.  There is a version for lenny,
 wheezy and sid, but not for squeeze. (yes, I tried
 debian-multimedia).  Does anyone have either a suggestion for how to
 get the sid package working or another package that will do the job
 for me?
 
 Thanks,
 
 Mark

I'm using the upstream source package.
Wiki: http://www.mixxx.org/wiki/doku.php/compiling_on_linux




-- 
Jens Van Broeckhoven 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120124124447.77a4c...@squeeze.telenet.be



Re: Beast attack kwetsbaarheid van webservers

2011-12-18 Thread Jens Van Broeckhoven
Op Sun, 18 Dec 2011 15:19:57 +0100
Paul van der Vlis p...@vandervlis.nl schreef:

 Hallo,
 
 SSLlabs zegt dat de Debian stable servers die ik beheer kwetsbaar zijn
 voor de beast attack. Heeft hier iemand al eens uitgezocht wat dat
 nu precies is, en hoe ernstig dat is?  Zijn er ook mensen die Apache
 zo ver gekregen hebben dat die kwetsbaarheid er uit is?
 
 Als ik het eerste advies op onderstaande site uitvoer dan ben ik nog
 steeds kwetsbaar volgens SSLlabs. En het tweede advies is niet
 eenvoudig realiseerbaar, omdat er voor Debian stable geen TLS 1.2
 libraries beschikbaar zijn voor zover ik weet.
 
 Groet,
 Paul.
 
 https://community.qualys.com/blogs/securitylabs/2011/10/17/mitigating-the-beast-attack-on-tls
 https://www.ssllabs.com/ssldb/analyze.html?d=sogo.vandervlis.nl
 

Hoi.

TLS 1.2 is enkel een optie indien alles aan client zijde compatibel is. 

Die RC4 cipher is niet perfect maar wel beter dan niets.
Met Apache geeft dat zoiets:

SSLProtocol TLSv1
SSLHonorCipherOrder On
SSLCipherSuite RC4-SHA:HIGH:!kEDH

Zie:
http://feeding.cloud.geek.nz/2011/11/ideal-openssl-configuration-for-apache.html

-- 
Jens Van Broeckhoven  


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



Fwd: pdftk and version 1.3 of pdf

2011-11-29 Thread Ólafur Jens Sigurðsson
Hey all (sorry if this double posts, but I tried to post this earlier with
pdf attachments but that didnt go through to the list)

I have been scanning some documents as pdf's, then bursting the document
using pdftk, and this worked fine on the older version (I think v 1.44-1)
of pdftk but after upgrading to v 1.44-4 when I burst a version 1.3 pdf
file I get empty pages, but if I use pdf2ps and then ps2pdf (creating a
version 1.4 pdf file) the pdftk burst works fine.

Is this a bug or am I doing something wrong,  The original pdf file is
created by scanning papers in a Konica Minolta C350 photo copy machine.

Examples are at ojs.klaki.net/original.pdf, ojs.klaki.net/burst1.pdf and
ojs.klaki.net/burst2.pdf. The files burst1.pdf and burst2.pdf are the
resulst of bursting file original.pdf and they seem to contain some data
but evince can't view it and neither can acrobat reader.

Command used is pdftk filename burst

Tia

Oli


Re: [VERY IMPORTANT] How to undo updates....

2011-10-08 Thread Jens Van Broeckhoven
Op Sat, 8 Oct 2011 11:12:44 -0400
m...@neidorff.com schreef:

 Hi,
 
 This morning synaptic reported some 32 packages to update.  So I
 updated the packages.  After the update I can no longer login (KDE)
 as myself.  I can login as myself in a terminal login.  I can also
 login as root under KDE (I understand the dangers).
 
 Now I would like to undo the changes that were made by synaptic so
 that I can get back to a fully usable system.  How do I find the
 changed packages and undo the changes?
 
 Thanks,
 
 Mark
 
 

Why is this Very Important?

Try starting it (X + KDE) from a shell and see what happens.
Does it work with a new dummy user?
Are you using an xorg.conf file?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111008173840.064e8...@squeeze.telenet.be



Re: Debian balloons

2011-08-17 Thread Jens Van Broeckhoven
Op Wed, 17 Aug 2011 18:46:00 -0500
Hugo Vanwoerkom hvw59...@care2.com schreef:

 Hi,
 
 First time I've noticed this: when I select www.debian.org, I get 
 floating balloons on the right side of the page. At the expense of
 extra CPU of course.
 Or is it a rootkit?
 
 Hugo
 
 
See:
http://www.debian.org/News/2011/20110816


-- 
Jens Van Broeckhoven 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110818021048.05be5...@squeeze.telenet.be



Re: [OT] plot execution flows from C/C++ sources

2011-08-11 Thread Jens Höpken
On 10.08.11 16:49, Hugo Vanwoerkom wrote:
 Joao Ferreira Gmail wrote:
 Hello all,

 [  maybe some programers out there... :)  ]

 I recently stared working on a project for maintenance and new
 developments on an existing huge code base of C/C++
 It's quite a challenge for newcommers.

 Does anyone know of any tools that would help in ploting execution flow
 diagrams from the sources ?

 
 This is not something new, I used to do it with IBM Research in the
 80's, but I don't know if it exists for OOP.
 
 Hugo
 
 
I don't know if this is what you need, but have you tried out doxygen?

Jens


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e436bcb.8050...@gmail.com



Re: What is the future for Debian on (Android) tablets?

2011-07-09 Thread Jens Van Broeckhoven
Op Sat, 9 Jul 2011 14:25:42 -0700
Mark mamar...@gmail.com schreef:

 A friend is looking into tablets, and one of the main drawbacks we've
 found for Android based tables is that there is no scheduled support
 timeline - i.e. an Android 2.1 tablet isn't necessarily upgradeable
 to 3.0 if Google or the manufacturer (not sure of logistics here but
 assuming it's one or both of them) decides that device won't receive
 the next version upgrade.  The same thing is happening with Droid
 phones.
 
 So, when the support life of a device ends (or even sooner), the
 ability to use Debian would be great to extend the life of the
 device.  Since tablets (10 specifically) aren't the cheapest things
 out there, it would be nice to be able to have a say in when the user
 determines they don't want to use the device any longer, not because
 the OS has become obsolete by a company's decision.
 
 My internet searches turned up a few posts, but nothing really solid
 as far as the future of Debian on tablets.  There are rumors of an
 Ubuntu tablet being made in China, which makes me think there is hope
 for Debian.
 
 Any thoughts or information?
 
 Thank you,
 Mark

Hi.

I'm running Debian stable on an Archos tablet (you should be able to
find many howtos).
Installation wasn't that hard but not without any extra configurations.

Getting android 3.x on this thing seems less easy. 
Their do exist some unsupported roms (I've never used them though).


Jens


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110710005220.02902...@squeeze.telenet.be



Re: popcon addressing on a recent squeeze install

2011-05-07 Thread Jens Selk
Am Samstag 07 Mai 2011, 19:05:24 schrieb Paul E Condon:
 I recently did a complete reinstall of Squeeze and said yes to the
 question about popcon. Today I get an email from saying that it
 can't deliver email from r...@big.lan.gnu, which the host name
 internal to by home lan. I think that the correct way to handle
 this is to have email to root forwarded to me, but I can't remember
 (and can't find instructions for) how to do this. Please help with
 a reminder.

As far as I can see, the problem isn't that mail to root on your local 
machine can't be delivered, but that popcon tries to send an email to 
the internet using r...@big.lan.gnu as the sender address. This mail 
can't be sent to the popcon team at Debian because the domain 
big.lan.gnu doesn't exist on the internet, hence the sender adress is 
invalid, and your ISP's relay server rejects this mail.

The solution is to make your local exim4 to rewrite both the local part 
and the domain part of the sender address.

Jens


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201105072200.05899.jen...@email-ausdrucker.de



Re: Monitor vast instellen

2011-05-05 Thread Jens Van Broeckhoven
Op Thu, 05 May 2011 12:24:32 +0200
Paul van der Vlis p...@vandervlis.nl schreef:

 Hallo,
 
 Ik heb gisteren een server (met Gnome) geplaatst bij een klant, maar
 jammergenoeg zijn er problemen met de beeldweergave. De monitor geeft
 alleen een melding dat hij graag aangesproken wil worden op 1600x1200
 op 60hz. Ook iets als ctrl-alt-F2 werkt niet.
 
 Als ik boot met een andere monitor en dan de VGA stekker verwissel zie
 ik wel goed beeld. Ik kan dan ook op het knopje detect monitors
 drukken en dan ziet hij de juiste monitor. Deze kan ik dan instellen
 op de juiste resolutie e.d., maar na een reboot is het weer mis.
 
 Nu verwacht ik dat ik in xorg.conf wel aanpassingen kan maken zodat
 hij een vaste resolutie krijgt. Maar ik heb de indruk dat dat anders
 en beter zou moeten kunnen, alleen weet ik niet hoe.
 
 Verder zit er een KVM switch tussen monitor en server. Weet iemand
 hier of er problemen ontstaan als de server reboot en de KVM switch
 op de ander computer staat en er dus geen monitor is om te detecteren?
 Ik reboot de server namelijk soms 's nachts na een kernel update.
 
 Met vriendelijke groet,
 Paul van der Vlis.
 

Xorg leest de data van je monitor (DDC en EDID).
Een kvm-switch kan die data via meerdere opties doorgeven (of zelf
ingeven) wat wel degelijk voor problemen kan zorgen (al kan het ook je
monitor zijn die een foute EDID doorgeeft).

IMO is een xorg.conf nog steeds de meest eenvoudige optie om je
correcte resolutie vast te zetten (gebruik gewoon het resultaat van
gtf 1600 1200 60 als modline).   

Jens.


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



Coordinating Open Source Debian to Help Eartquake Victims in Japan

2011-03-19 Thread Jens Arnold
Dear YeKateRina,
I would like for you to please share Debian lists Worldwide to helpEarthquake 
Victims in Japan
Have contacted Brazil, China, Japan, Spain and India
Hope that you want to contribute
SpaSíBa
Jens Arnold+46738305175

Skickat från min iPhone



Re: Anyone ever tried a downgrade?

2011-03-07 Thread Jens Van Broeckhoven
Op Mon, 7 Mar 2011 17:23:36 + (UTC)
Camaleón noela...@gmail.com schreef:


 
 If disk space is not a concern, I'd go for a parallel installation.
 In the event something goes wrong with the new install (or upgrade,
 if you made a full image of the currently installed system), you only
 have to boot with the old lenny install, which remains intact and
 ready to serve you.
 
 Greetings,
 

While I agree that's a more secure/stable solution, I would never do
that for a desktop.

I just use all repos and move back if really needed.
APT/aptitude does everything else.

Jens.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110307202243.1837c...@squeeze.telenet.be



Re: A Debian -offtopic mailing list: to be or not to be

2011-02-28 Thread Jens Van Broeckhoven
Op Mon, 28 Feb 2011 17:34:04 +0200
Andrei Popescu andreimpope...@gmail.com schreef:

 [Cross-posted to: d-community-offtopic, debian-user]
 
 [For those who don't know what I'm talking about, please see #425439
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425439]
 
 Hi,
 
 Being the stubborn person that I am, I want to give one more chance
 to the -offtopic list for Debian users and/or developers.
 
 Thanks to Holger Levsen, the list is currently hosted on 
 lists.alioth.debian.org by the Debian Community project and has some
 30+ subscribers. However, activity is zero (not counting the
 occasional spam).
 
 Interestingly, the OT threads on debian-user also went down a lot
 since a few years, for reasons unknown to me.
 
 So, unless something happens on the list (apart from this thread and
 the spam) I intend to remove/delete the list within a month.
 
 Regards,
 Andrei

I would like to see an offtopic list as long as it's main purpose isn't:
this is where all garbage ends. 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110228174119.0e0b3...@squeeze.telenet.be



Re: NFS och symboliska länkar på servern

2011-01-24 Thread Jens Hjalmarsson
Hejhopp,

Prova kommandot: mount --bind /annan/katalog /exports/katalog

Det monterar /annan/katalog i /exports/katalog, resultatet blir ungefär
som en symlänk. Det borde kunna fungera över NFS, men jag har inte testat
och Anders Jacksons invändningar om säkerhet och prestanda vet jag inte
heller om de gäller. Prova!

Annars brukar jag göra som Anders säger, samla allt under /export som
exporteras över NFS, sedan göra lokala symlänkar på servern istället.

/Jens


-- 
To UNSUBSCRIBE, email to debian-user-swedish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/55613.192.168.199.4.1295860546.squir...@mail.interwave.se



Re: Squeeze. 'Buffer I/O error' message has flooding tty opened as root

2011-01-24 Thread Jens Van Broeckhoven
Op Mon, 24 Jan 2011 20:24:05 +0300
Mark Goldshtein mark.goldsht...@gmail.com schreef:

 Hello, list!
 
 I am working as a root in a pure console (/etc/init.d/gdm3 stop,
 trying to bring to life VIA8623 graphics) and there are flood of
 messages:
You don' need gdm or anything X related for plain console usage.

 [time stamp] Buffer I/O error on device fd0, logical block 0
 end_request:  I/O error, dev fd0, sector 0
 
 Messages are stopped after a while, though. Maybe 20-30 of them
 passed.
 
 The notebook I am working with is an old boy, you bet, but there is no
 floppy drive at all and it was never attached. In addition, no signs
 of that message in GUI GNOME.
 What the underground heartbeat I have?
 

If you don't have/need a floppy drive, disable it.
Since you seem to be running a full desktop as well, one of your
user-space applications might be calling for this (non-existing)
device (use lsmod | grep -i floppy to see if it's being used).

Easy solution:
Blacklist it.

Edit /etc/modprobe.d/blacklist.conf and add  blacklist
floppy (without the s).


jens.


 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110124195135.24c05...@squeeze.telenet.be



Re: Debian or Mint for Games?

2011-01-08 Thread Jens Van Broeckhoven
Op Sat, 8 Jan 2011 12:02:12 +
teddi...@tmo.blackberry.net schreef:

 Andrei Popescu said:
 
 You said nothing about the games you intend to play.
 
 [Snip]
 
 --
 
 I apologize, I am mainly refering to windows based games, rpg's fps's
 and console emulators.
 
 I do from time to time play linux based games, but when asking this
 question I was referring to / thinking of non-native and graphically
 intensive applications.
 
 Would anybody know off hand if Mint has a newer version of Wine? They
 have both Debian as well as Ubuntu base available. By default I would
 go for the Debian, but would the Ubuntu base have a newer wine...
 
 I have other distaste for Ubuntu's system so I detest having to clean
 it up when working with systems based on their OS...
 
 Thank You Andrei;
 
 TeddyB
 -Original Message-
 From: Andrei Popescu andreimpope...@gmail.com
 Date: Sat, 8 Jan 2011 12:47:38 
 To: debian-user@lists.debian.org
 Subject: Re: Debian or Mint for Games?
 
 [re-wrapped to 72 characters]
 
 On Sb, 08 ian 11, 08:44:25, teddi...@tmo.blackberry.net wrote:
  
  So question being is there really any advantages to Mint in the
  gaming arena over the capabilities of Debian itself? Really logic
  tells me GNU is GNU, and a personally configured system is always
  better, but not knowing my way around the Linux gaming world esp.
  Graphics support maybe Mint would offer less of an upstream
  battle... Thoughts??
 
 You said nothing about the games you intend to play. For free games I 
 would choose the one which has the games I need already packaged 
 (preferably by the distro, not third party).
 
 OTOH, if you want to try Windows only games Debian's wine is a bit
 old. Even wine-unstable in unstable is still only 1.1.32. To get
 StarCraft II working I had to use wine1.3 (1.3.10?) from the Ubuntu
 PPA for 10.10, which seems to work fine on squeeze. I took the risk
 because this was a dedicated install which I was willing to trash, I
 wouldn't have risked that on my main system.
 
 Regards,
 Andrei

Newer Wine versions don't always work better with all Windows
apps/games.

Your choise of distro isn't that important. 
If you plan to use many windows games, you might want to look at Play
On Linux (POL) to handle your Windows (wine) games on Linux.

http://www.playonlinux.com/en/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110108150401.2bf13...@squeeze.telenet.be



Re: Squeeze.GNOME. Correct compiz configuration.

2010-11-18 Thread Jens Van Broeckhoven
Op Thu, 18 Nov 2010 11:37:41 +
Mark Goldshtein mark.goldsht...@gmail.com schreef:


 Yes, this is a first link I have checked, but there about xorg.conf
 also. I can not find that file in /etc/X11 anymore. Actually, I cannot
 find it at all.

Run X -configure to create a new xorg.conf

#X -configure
#mv ~/xorg.conf.new /etc/X11/xorg.conf


Jens.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101118141818.5b89b...@squeeze.telenet.be



Re: Squeeze.GNOME. Correct compiz configuration.

2010-11-18 Thread Jens Van Broeckhoven
Op Thu, 18 Nov 2010 14:52:13 +
Mark Goldshtein mark.goldsht...@gmail.com schreef:

 On Thu, Nov 18, 2010 at 1:18 PM, Jens Van Broeckhoven
 jens.van.broeckho...@telenet.be wrote:
  Op Thu, 18 Nov 2010 11:37:41 +
  Mark Goldshtein mark.goldsht...@gmail.com schreef:
 
 
  Yes, this is a first link I have checked, but there about xorg.conf
  also. I can not find that file in /etc/X11 anymore. Actually, I
  cannot find it at all.
 
  Run X -configure to create a new xorg.conf
 
  #X -configure
  #mv ~/xorg.conf.new /etc/X11/xorg.conf
 
 
 The system does not allows me to do that:
 # X -configure
 
 Fatal server error:
 Server is already active for display 0
   If this server is no longer running, remove /tmp/.X0-lock
   and start again.
 

You can't configure X while running it.
Try:

# /etc/init.d/gdm stop  
# X -configure
# mv ~/xorg.conf.new /etc/X11/xorg.conf
# /etc/init.d/gdm start


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20101118160522.03d4e...@squeeze.telenet.be



Re: OT-Brother DCP 130C printer

2010-05-25 Thread Jens Selk
Am Dienstag 25 Mai 2010 21:17:08 schrieb Thierry Chatelet:

 I may get my neighbor to switch to debian, if its printer works
 under linux, but it is not mentioned in  linuxprinting.org.   Has
 anyone some returns on such a  printer.(It is printer and scanner)
 Thierry

Brother officially supports Linux and offers drivers at 
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html

I've got a Brother DCP-130C and an MFC-235C. Both printers (printer and 
scanner) just work fine on several Linux installations including two 
Debian Squeeze installations.

Jens


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201005252345.36202.jen...@email-ausdrucker.de



Re: X starting but nothing shows on the screen

2010-05-15 Thread Ólafur Jens Sigurðsson
On Mon, May 10, 2010 at 09:42:07PM +0200, Sven Joachim wrote:
 On 2010-05-08 12:42 +0200, Ólafur Jens Sigurðsson wrote:
 
  Hello, I have a strange problem.
 
  If X is started from gdm at bootup or with /etc/init.d/gdm start then
  it starts (I know this since it beeps when it is up and running) but
  nothing shows on the screen. The same thing happens when I use startx
  and I have icewm in my .xinitrc. But if I have no .xinitrc file and I
  use startx then Gnome comes up fine.
 
 This is indeed very strange.
 
  I am using sid and have just made an upgrade to my system (I hadn't
  done a upgrade in quite a while and did an upgrade a few days ago then
  my problems started) so it is up to date.
 
  Any ideas on what could be wrong here?

Just did a aptitude safe-upgrade that pulled in a new version of the
intel driver, no change in behaviour.

Óli


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100515115323.ga24...@heima.gjk.dk



Re: X starting but nothing shows on the screen

2010-05-10 Thread Ólafur Jens Sigurðsson
On Mon, May 10, 2010 at 09:42:07PM +0200, Sven Joachim wrote:
 On 2010-05-08 12:42 +0200, Ólafur Jens Sigurðsson wrote:
 
  Hello, I have a strange problem.
 
  If X is started from gdm at bootup or with /etc/init.d/gdm start then
  it starts (I know this since it beeps when it is up and running) but
  nothing shows on the screen. The same thing happens when I use startx
  and I have icewm in my .xinitrc. But if I have no .xinitrc file and I
  use startx then Gnome comes up fine.
 
 This is indeed very strange.
 
  I am using sid and have just made an upgrade to my system (I hadn't
  done a upgrade in quite a while and did an upgrade a few days ago then
  my problems started) so it is up to date.
 
  Any ideas on what could be wrong here?
 
 No, but please show the kernel version, what graphics card you have and
 your /etc/X11/xorg.conf if it exists.

The graphics card is a 00:02.0 VGA compatible controller: Intel
Corporation 82865G Integrated Graphics Controller (rev 02) and the
kernel is 2.6.32-5-686 (I had 2.6.32-3 after my first upgrade and then
it completely locked up X but with -5 I can at least run X like this
from console). My xorg.conf file does not exist.

Cheers, Óli


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100510224422.ga4...@heima.gjk.dk



Re: X starting but nothing shows on the screen

2010-05-09 Thread Ólafur Jens Sigurðsson
On Sat, May 08, 2010 at 09:12:36AM -0500, Hugo Vanwoerkom wrote:
 Ólafur Jens Sigurðsson wrote:
 Hello, I have a strange problem.
 
 If X is started from gdm at bootup or with /etc/init.d/gdm start then
 it starts (I know this since it beeps when it is up and running) but
 nothing shows on the screen. The same thing happens when I use startx
 and I have icewm in my .xinitrc. But if I have no .xinitrc file and I
 use startx then Gnome comes up fine.
 
 I am using sid and have just made an upgrade to my system (I hadn't
 done a upgrade in quite a while and did an upgrade a few days ago then
 my problems started) so it is up to date.
 
 Any ideas on what could be wrong here?
 
 What's in the log?

The first log is from a failed startx with icewm in .xinitrc and the
second log is with a successful starts with no .xinitrc and gnome
coming up fine.

cheers, Óli

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the xorg product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.7.6.901 (1.7.7 RC 1)
Release Date: 2010-04-12
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.26-2-amd64 i686 Debian
Current Operating System: Linux heima 2.6.32-5-686 #1 SMP Sat May 1 04:16:37 
UTC 2010 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 
root=UUID=2f52ae52-6874-433c-9c4f-0a65032c73ce ro quiet
Build Date: 19 April 2010  06:12:31PM
xorg-server 2:1.7.6.901-3 (Cyril Brulebois k...@debian.org) 
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sun May  9 09:57:25 2010
(==) Using system config directory /usr/share/X11/xorg.conf.d
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |--Screen Default Screen Section (0)
(**) |   |--Monitor default monitor
(==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to /usr/lib/xorg/modules
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
(II) Loader magic: 0x81eacc0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 7

(--) PCI:*(0:0:2:0) 8086:2572:1043:80a5 Intel Corporation 82865G Integrated 
Graphics Controller rev 2, Mem @ 0xf000/134217728, 0xfe78/524288, I/O @ 
0xefe0/8
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: extmod
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor=X.Org Foundation
compiled for 1.7.6.901, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: dbe
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor=X.Org Foundation
compiled for 1.7.6.901, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: glx
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor=X.Org Foundation
compiled for 1.7.6.901, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: record
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor=X.Org Foundation
compiled for 1.7.6.901, module version

X starting but nothing shows on the screen

2010-05-08 Thread Ólafur Jens Sigurðsson
Hello, I have a strange problem.

If X is started from gdm at bootup or with /etc/init.d/gdm start then
it starts (I know this since it beeps when it is up and running) but
nothing shows on the screen. The same thing happens when I use startx
and I have icewm in my .xinitrc. But if I have no .xinitrc file and I
use startx then Gnome comes up fine.

I am using sid and have just made an upgrade to my system (I hadn't
done a upgrade in quite a while and did an upgrade a few days ago then
my problems started) so it is up to date.

Any ideas on what could be wrong here?

Cheers, Óli


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100508104207.ga2...@heima.gjk.dk



Re: Problem with libXrender

2010-03-19 Thread Ólafur Jens Sigurðsson
On Thu, Mar 18, 2010 at 09:55:30PM -0400, Wayne wrote:
 ~$ sudo ldconfig -v |grep libXrender
 [sudo] password for wtopa:
 ldconfig: Can't stat /lib/i486-linux-gnu: No such file or directory
 ldconfig: Can't stat /usr/lib/i486-linux-gnu: No such file or directory
 ldconfig: Can't stat /lib/x86_64-linux-gnu: No such file or directory
 ldconfig: Can't stat /usr/lib/x86_64-linux-gnu: No such file or directory
 ldconfig: Cannot stat /usr/lib/libfakeroot-0.so: No such file or directory
 ldconfig: Cannot stat /usr/lib/libgthumb-2.6.9.so: No such file or directory
 libXrender.so.1 - libXrender.so.1.3.0
 
 Something looks fishy here..

Hmm ... Im not sure if this is so fishy. When ldconfig returns Can't
stat, that means the dir/file is mentioned in the config for ldconfig
(that is in one of the files in /etc/ld.so.conf.d/) but is not in the
system. When it returnes Cannot stat then the file is usually a
symlink to a file that no longer exists. But that these dirs are not
there (specially /usr/lib/i486-linux-gnu and
/usr/lib/x86_64-linux-gnu) could be a problem, not familiar with the
64 bit architecture to know if they should be there or not.

Good luck and file bug reports if you find something out of this.

Oli


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100319212643.ga4...@heima.gjk.dk



Re: php5-memcache package errno=11 Resource temporarily unavailable

2010-03-18 Thread Ólafur Jens Sigurðsson
On Thu, Mar 18, 2010 at 12:29:02PM +, Alex Kent wrote:

 So I'm wondering, if this package isn't going to make it into the
 official debian lenny sources - what is the best way to proceed?

Thats what backport is for, check out
http://www.backports.org/dokuwiki/doku.php

HTH, Oli


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100319004917.ga4...@heima.gjk.dk



Re: Problem with libXrender

2010-03-18 Thread Ólafur Jens Sigurðsson
On Thu, Mar 18, 2010 at 07:39:10PM -0400, Wayne wrote:
 Guys
 
   I having a problem getting acroread and now eagle to run it claims
 that libXrander is bad.  From the following I can see a problem.
 
 [VT/dev/pts/1 wt...@dj-squeeze]
 ~$ ls -l /usr/lib/libXrender*
 -rw-r--r-- 1 root root 58K 2009-11-25 13:54 /usr/lib/libXrender.a
 lrwxrwxrwx 1 root root  19 2009-12-10 06:48 /usr/lib/libXrender.so
 - libXrender.so.1.3.0
 lrwxrwxrwx 1 root root  19 2009-12-10 06:48 /usr/lib/libXrender.so.1
 - libXrender.so.1.3.0
 -rw-r--r-- 1 root root 38K 2009-11-25 13:54 /usr/lib/libXrender.so.1.3.0
 
 [VT/dev/pts/1 wt...@dj-squeeze]
 ~$ eagle
 /home/wtopa/.eagle/bin/eagle: error while loading shared libraries:
 libXrender.so.1: cannot open shared object file: No such file or
 directory

Ok, I see you have compiled your own there since its in your home
directory. This could lead it to search for libs in the wrong places.

Try the following:

strace eagle 2 strace.txt
grep libXrender strace.txt

and see if the location for the lib this grep should give you is
/usr/lib or perhaps it is /opt or something else, you might be able to
solve it then by making a symlink from the result of strace to
/usr/lib and then eagle should find the lib.

HTH, Oli


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100319011204.gb4...@heima.gjk.dk



Re: make Xorg driver fails - missing Xf86Resources.h

2010-03-17 Thread Ólafur Jens Sigurðsson
On Tue, Mar 16, 2010 at 09:27:15PM -0500, Ron Johnson wrote:
 
 Yet I demonstrated that it's in xserver-xorg-dev.  However, I'm
 running Sid and you're Squeeze.
 
 Maybe you need to upgrade.

Yup, that file is not available in any package for squeeze.

Cheers, Oli


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100317181059.ga5...@heima.gjk.dk



Re: make Xorg driver fails - missing Xf86Resources.h

2010-03-17 Thread Ólafur Jens Sigurðsson
On Tue, Mar 16, 2010 at 09:29:16PM -0300, Rogerio Luz Coelho wrote:
 $ make install
 
 Making install in
 src
 make[1]: Entrando no diretório
 `/home/rogerio/xf86-video-sis-imedia/src'
 /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
 -I..-fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1
 -I/usr/include/drm -I/usr/include/X11/dri   -g -O2 -MT init.lo -MD -MP -MF
 .deps/init.Tpo -c -o init.lo
 init.c
 libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden
 -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm
 -I/usr/include/X11/dri -g -O2 -MT init.lo -MD -MP -MF .deps/init.Tpo -c
 init.c  -fPIC -DPIC -o .libs/init.o
 In file included from
 init.h:60,
  from
 init.c:63:
 *sis.h:63:24: error: xf86_ansic.h: Arquivo ou diretório não encontrado
 (file not found)
 sis.h:68:27: error: xf86Resources.h: Arquivo ou diretório não encontrado
 (file not found)*
 In file included from
 init.h:60,
  from init.c:63:

These files (xf86_ansic.h and xf86Resources.h) are not be found in any
debian package and are therefore not supported by Debian, ask the
upstream developer for this software your trying to compile.

HTH, Oli


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100317182602.gb5...@heima.gjk.dk



Re: Extracting Dependencies of a deb package which is not a part of DPKG system

2010-03-16 Thread Jens Van Broeckhoven
On Tuesday 16 March 2010 20:24:53 Tech Geek wrote:

 
 Alternatively, if anyone can suggest a better method on how to achieve that
 would be great.
 

gdebi does this:
http://packages.debian.org/sid/gdebi

PS: Opera has Debian repo:
http://deb.opera.com/


Jens.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/201003162047.49085.jens.vanbroeckho...@telenet.be



Re: Why doesn't iceweasel work with iceape

2010-02-27 Thread Jens Van Broeckhoven
On Saturday 27 February 2010 16:30:08 Bret Busby wrote:
 I am running Debian 5.
 
 I have iceweasel installed, and I have iceape installed.
 
 I use iceape because it allows me, on clicking on a mailto link, to open
 an iceape mail composer window.
 
 In trying to configure iceweasel to do the same (iceweasel defaults to
 opening evolution, which I understand to be much the same as microsoft
 outlook), I open the iceweasel Edit - Preferences - Applications -
 mailto option, and it displays the options Use Gmail, Use Yahoo!
 Mail, Always ask, and Use other, which does not give access to
 iceape mail composer.
 
 But, it does not display an option for Use Iceape Mail Composer, and,
 with iceape mail composer, in viewing the properties, and thus the
 launch command, the iceweaselpreferences options, do not allow for
 entering the command to run iceape mail composer; iceape -compose.
 
 So, iceweasel recognises proprietary email applications (gmail and yahoo
 mail), but, does not recognise the realted email application; iceape
 mail composer, and, apparently, prohibits the use of iceape mail
 composer, to acion mailto links.
 
 Why doesn't iceweasel work with iceape?
 
 --
 Bret Busby
 Armadale
 West Australia
 ..
 
 So once you do know what the question actually is,
   you'll know what the answer means.
 - Deep Thought,
Chapter 28 of Book 1 of
The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts,
written by Douglas Adams,
published by Pan Books, 1992
 
 
 

1. run:  dpkg-reconfigure iceweasel
2. run:  update-alternatives --config x-www-browser


-- 
Jens Van Broeckhoven 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/201002271739.27665.jens.vanbroeckho...@telenet.be



Re: error python-axiom

2010-02-12 Thread Ólafur Jens Sigurðsson
On Thu, Feb 11, 2010 at 10:34:32AM +1030, Stef Daniels VK5HSX wrote:
 Hi Peoples,
 
   Wondering whether you could advise me as to why this is happening.
 I have tried reconfiguring, configuring, purging, removing,
 reinstalling to NO avail.
 
 s...@jill:~$ sudo apt-get install -f
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following packages were automatically installed and are no
 longer required:
   libbcel-java libgcj9-0-awt libmx4j-java fastjar
 Use 'apt-get autoremove' to remove them.
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 1 not fully installed or removed.
 After this operation, 0B of additional disk space will be used.
 Setting up python-axiom (0.6.0-1) ...
 pycentral: pycentral pkginstall: Not overwriting local files:
dpkg: 
 /usr/lib/python2.4/site-packages/axiom/benchmarks/benchmark_itemdeletion.py
 not found.
 pycentral pkginstall: Not overwriting local files:
dpkg: 
 /usr/lib/python2.4/site-packages/axiom/benchmarks/benchmark_itemdeletion.py
 not found.
 dpkg: error processing python-axiom (--configure):
  subprocess installed post-installation script returned error exit status 1
 Errors were encountered while processing:
  python-axiom
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 s...@jill:~$
 
 

Have you tried apt-get auotremove as it suggests? Do you get the same
error?
What about if you try using aptitude instead of apt-get, it is
sometimes smarter then apt-get.
If none of these help then state what version your using (stable,
testing, unstable, experimental).

HTH

Oli


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



Re: avi to dvd

2010-02-06 Thread Jens Van Broeckhoven
On Saturday 06 February 2010 20:49:56 Bogdan wrote:
 Hey,
 
 Can someone point me to a decent GUI  [i don't want to go through the
 command line for this] avi to dvd converter? I've Googled a little and
 found some references for DeVeDe and ManDVD, but i'm not able to make a
 documented decision.
 
 Thank you,
 

Devede is comparable with ConvertXtoDVD for windows.

 


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



Re: don't upgrade grub or grub-pc ! what's wrong with LILO ?

2010-02-01 Thread Jens Van Broeckhoven
On Monday 01 February 2010 16:24:58 Brian Denheyer wrote:
 Imagine by surprise when I finished upgrading unstable and ended up
 with a system that wouldn't boot.
 
 And I'm not the only one, judging from the bug list.
 
 So notice to those running unstable, DON'T UPGRADE GRUB !
 
 So you're probably wondering what my question is :-)
 
 Is there any good reason for a system to use grub instead of lilo ?
 
 Grub appears to me to be a annoying, complicated, and hard to
 understand, and those are it's good points :-(
 
 I never had a problem with LILO, but for some reason Deb decided to
 make grub the default.
 
 
 Brian
 
Not all GRUB functions are supported in LILO (I would mostly miss the the 
network boot). 

Debian isn't linux only , kfreebsd and gnu-hurd don't work with LiLo (... and 
even some Linux ports would have problems with it as well).

Debian needs a default and grub is more suitable in most cases.
Nothing  will stop you from using LiLo if that's what you prefer.

Jens.


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



SV: ram

2010-01-27 Thread Jens Hjalmarsson
2gb har maskinen. 

4 stycken 512mb minnen.

/Jens

-Ursprungligt meddelande-
Från: Martin Bagge / brother [mailto:mar...@bagge.nu] 
Skickat: den 27 januari 2010 10:14
Till: mattias
Kopia: debian-user-swedish@lists.debian.org
Ämne: Re: ram

On Tue, 26 Jan 2010, mattias wrote:

 Fattar någon denna detalj

efter konversation offlist dårå.

Det som söks är hur mycket ram maskinen har. Jag har inte lusläst 
utskriften nedan men jag har aldrig använt lshw heller så det kanske finns 
någon annan som är bättre lämpad.

brukar använda free för att kolla liknande info men skärmläsare kanske 
inte fixar den utmatningen särskilt väl?

 lshw -C memory
 *-firmware
 description: BIOS
 vendor: Dell Computer Corporation
 physical id: 0
 version: A07 (09/27/2004)
 size: 64KiB
 capacity: 448KiB
 capabilities: pci pnp apm upgrade shadowing escd cdboot bootselect edd
 int13floppytoshiba int5printscreen int9keyboard int14serial int17printer
 acpi usb
 agp ls120boot biosbootspecification netboot
 *-cache:0
 description: L1 cache
 physical id: 700
 size: 8KiB
 capacity: 16KiB
 capabilities: internal write-back data
 *-cache:1
 description: L2 cache
 physical id: 701
 size: 512KiB
 capacity: 512KiB
 capabilities: internal varies unified
 *-memory
 description: System Memory
 physical id: 1000
 slot: System board or motherboard
 size: 2GiB
 *-bank:0
 description: DIMM SDRAM Synchronous 333 MHz (3.0 ns)
 physical id: 0
 slot: CHANNEL A DIMM 0
 size: 512MiB
 width: 64 bits
 clock: 333MHz (3.0ns)
 *-bank:1
 description: DIMM SDRAM Synchronous 333 MHz (3.0 ns)
 physical id: 1
 slot: CHANNEL B DIMM 0
 size: 512MiB
 width: 64 bits
 clock: 333MHz (3.0ns)
 *-bank:2
 description: DIMM SDRAM Synchronous 333 MHz (3.0 ns)
 physical id: 2
 slot: CHANNEL A DIMM 1
 size: 512MiB
 width: 64 bits
 clock: 333MHz (3.0ns)
 *-bank:3
 description: DIMM SDRAM Synchronous 333 MHz (3.0 ns)
 physical id: 3
 slot: CHANNEL B DIMM 1
 size: 512MiB
 width: 64 bits
 clock: 333MHz (3.0ns)
 Enter a shell command to execute in the text field below. The cd command
may
 be used to change directory for subsequent commands.

 Tabell med 3 kolumner och 2 rader
 Execute command:
  
 Clear history
 Execute previous command
   lshw -C memory
 Edit previous
 Clear commands


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



-- 
/brother
http://martin.bagge.nu
On Bruce Schneier's birthday, a person standing at the very center of
Stonehenge casts a shadow in the shape of Bruce Schneier's PGP public key
fingerprint.


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



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



Re: kdm not working after upgrade from KDE 3.5 to 4.3.4

2010-01-19 Thread Jens Van Broeckhoven
On Tuesday 19 January 2010 12:45:27 Thierry Chatelet wrote:
 On Tuesday 19 January 2010 12:09:47 Rémi Moyen wrote:
  Hi all,
 
  (this is my first post on this list, please excuse me if I make any
   mistakes...)
 
  I have a Debian testing system on which for a long time I kept old KDE
  3.5 packages because I didn't want KDE 4 (I tried it around 4.0,
  didn't like), I figured it was time I gave it another try. So after an
  aptitude update, I did an aptitude dist-upgrade (something I hadn't
  done since at least 6-12 months -- I did a number of updates of
  specific packages in the mean time, though).
 
  aptitude offered me a solution which required removing a lot of
  packages (old KDE 3.5 ones), installing a lot of new ones, and
  updating some. The install went fine, without any error messages. I
  now have a bunch of KDE 4.3.1 packages (version 4:4.3.4-1, the latest
  in squeeze).
 
  I rebooted, got to the kdm welcome screen, obviously in KDE 4 style,
  and logged in... only to see kdm pop again! No error message. I'm not
  on this computer right now, but there wasn't any error message (nor
  anything that looked even remotely related) in /var/log/kdm.log. In
  the console, though, I can see when launching kdm some messages (sorry
  for not having copied down the exact formulation) along the line of
  cannot copy file /etc/kde4/kdm/Xsession.
 
 This is a bug in kdm squeeze and sid. You have to log twice and it will
  work. Thierry
 
For me, KDE didn't boot using KDM at all (most likely a security setting).
However, KDM has an option to login without X and startx still works (no 
solution but good enough for me till everything is fixed).

Jens.


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



Re: USB muis stopt booten

2010-01-19 Thread Jens Van Broeckhoven
On Tuesday 19 January 2010 11:01:01 Paul van der Vlis wrote:
 Hallo,
 
 Van een klant hoor ik dat het gebruik van een Microsoft Intellimouse met
 USB aansluiting ervoor zorgt dat een machine niet wil booten. Zonder
 muis boot hij prima, en als de muis er na het booten in wordt gestoken
 functioneert alles prima.
 
 Jammergenoeg heb ik niet de melding die het booten geeft, als die er al
 is. Maar het kernel wordt wel gestart.
 
 Mijn indruk is dat de muis defect moet zijn, het is toch een veel
 gebruikte muis. Of is jullie iets speciaals bekend over deze muis m.b.t.
 Debian Lenny?
 
 Met vriendelijke groet,
 Paul van der Vlis.
 

Ik heb net dezelfde muis en die werkt hier prima.
Als ik een gebroken (kabel doorgebeten door mijn hond) usb muis gebruik, boot 
Lenny inderdaad niet.

Je eerste indruk lijkt me dan ook correct.

Jens.


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



Re: KDE achtergrond valt weg

2010-01-15 Thread Jens Van Broeckhoven
On Thursday 14 January 2010 17:09:53 Paul van der Vlis wrote:
 Matijs van Zuijlen schreef:
  Paul van der Vlis wrote:
  Sjoerd Hardeman schreef:
  Daarvoor heb je toch gksu/kdesu?
 
  Maar dat is volgens mij niet vanuit het menu te starten, ik ken het in
  elk geval niet in Gnome.
 
  Niet dat ik het mis hoor, maar sommige van mijn klanten wel.
 
  Die willen dan bijvoorbeeld een grafische editor kunnen starten als
  root. Of Nautulus. Dat soort dingen kan in Debian alleen vanaf de
  commandline voor zover ik weet.
 
  Ik zie gksu ook niet 1-2-3 in het menu, maar daar heb ik dan gelukkig
  Gnome Terminal voor ...
 
 Maar dat is niets voor mensen die niets van een terminal willen weten en
 alles grafisch willen doen.
Met de meeste(?) file-managers komt dit als een optie.

  al met al nog steeds geen reden om maar je hele X sessie als
  root te starten.
 
 Ik ben daar uiteraard ook niet voor. Maar als je alles grafisch wilt
 doen is dat volgens mij de enige optie. Default mag dat niet, maar je
 kunt het wel grafisch aanzetten ;-)
Huh?
Root in X is altijd slecht.
KDE vraagt gewoon je pw indien nodig (geen idee hoe gnome dat doet).


Jens.

PS: @OP, Uw emails zijn bijzonder moeilijk te lezen door je html layout...


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



Re: Is apt-get still the cool package installer?

2009-12-19 Thread Jens Van Broeckhoven
On Friday 18 December 2009 04:39:49 Nick Boyce wrote:

 That's good to know. Now maybe I can remove the wrapper script for
 apt-get that I put on some of our Debian boxes at work for the benefit
 of other sysadmins who were accustomed to using apt-get, which simply
 displays You probably want to call 'aptitude' rather than 'apt-get',
 because .. blah blah.
 
 Cheers
 Nick Boyce

Your users will still have to run autoremove  manually.
IMO, using two different package managers in a work environment will always 
make it harder to track everything that happened.

Jens.
 


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



Re: Zomaar root, zonder paswoord

2009-12-15 Thread Jens Van Broeckhoven
On Tuesday 15 December 2009 11:54:39 Paul van der Vlis wrote:
 Vincent Zweije schreef:
  On Tue, Dec 15, 2009 at 09:27:35AM +0100, Paul van der Vlis wrote:
  ||  Het valt me op dat ik in Lenny met toepassingen | hulpmiddelen |
  ||  terminal als root root kan worden zonder paswoord in te tikken.
  ||
  ||  Ik kan ook pakketten installeren met Synaptic zonder paswoord.
  ||
  ||  Dit lijkt me ongewenst, en in elk geval wil ik het kunnen
  || controleren.
  ||
  ||  Ik heb geprobeerd de instellingen van gksu te wijzigen met
  || gconf-editor, maar dat lijkt zo in eerste instantie geen effect te
  || hebben.
 
  Mijn gok is dat bij inloggen een password manager wordt gestart, en dat
  die automatisch met je login-password wordt ontsloten.
 
 Dat klopt, ik heb libpam-gnome-keyring geinstalleerd. Ik weet zo niet of
 dat default is:
 http://packages.debian.org/lenny/libpam-gnome-keyring
 
  Je hoeft je dan dus geen zorgen te maken dat iemand anders ook zomaar
  beheerdersrechten kan verkrijgen.
 
 Daar was ik ook niet bang voor. Maar ik verbaas me dat blijkbaar zomaar
 mijn root-paswoord automatisch wordt vergeven. Ik kan nu niet meer
 iemand anders achter mijn PC wat laten Googelen, bijvoorbeeld.
 
 Bij sommige paswoorden vind ik het uitstekend dat ze onthouden worden
 (denk aan WLAN paswoorden bij een laptop), bij andere paswoorden weer
 niet. Ik wil dat kunnen controleren.
 
 Met vriendelijke groet,
 Paul van der Vlis.
 

Ik zie niet echt in wat dit met een password-manager te maken heeft.
Synaptic lijkt bij de eerste start altijd te vragen of het je paswoord moet 
onthouden voor je huidige sessie.

Niet echt veilig IMO.

Jens.


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



Re: movies in a beamer (latex) presentation and linux (movie15)

2009-07-07 Thread Ólafur Jens Sigurðsson
On Tue, Jul 07, 2009 at 02:38:26AM +0300, Micha Feigin wrote:
 I tried to use the package movie15 to include a movie in a beamer 
 presentation (latex via lyx) which worked great under windows but doesn't 
 work under linux.
 
 Any way to do this under linux?

Not much information for us to build on here but then again perhaps
you should rather be asking in a latex specific post list.

But you might give us any error messages that you get when using
linux, we might be able to help you out then.

Cheers

Oli


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



Re: FF 3.5 in Unstable?

2009-07-04 Thread Jens Van Broeckhoven
On Saturday 04 July 2009 20:12:33 Dr. Jennifer Nussbaum wrote:
 Hi,

 Im running Debian Unstable, and had hoped that the new version of FireFox
 would be in Unstable pretty quickly. But its not there yet.

 Im using it happily on my Mac system, and i'd really like to get it on
 Debian as well. Is there a safe way of getting it now? I guess i can get it
 from the Mozilla site, but then i dont want to be in a position where my
 Debian packages are out of whack because i did this, or where i dont know
 of any updates.

 Thanks!

 Jen.

It will first appear in experimental.
If you can't wait, you can grab some very early alpha debs from Mike Hommey's 
blog page:
http://glandium.org/blog/

Jens.


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



RE: Får inte till SMTP AUTH med exim4 och telia

2009-06-28 Thread Jens Hjalmarsson
Hej,

Du kan prova smtprelay1.telia.com istället så slipper du SMTP AUTH helt.

Jens



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



Re: X freezes

2009-06-24 Thread Ólafur Jens Sigurðsson
Just upgraded to kernel 2.6.30 and now at least I get X, and it seems
to be a bit faster then the 2.6.26 kernel, so I am happy at the moment.

Seems there was some bug in 2.6.29 that caused the intel driver to
mailfunction for my graphics card, but it is fixed now hopefully.

Cheers

Oli


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



Re: Pidgin 2.5.7 backport to Lenny

2009-06-24 Thread Jens Peter Secher
2009/6/23 Frank Lin PIAT fp...@klabs.be:
 On Mon, 2009-06-22 at 15:55 +0200, Jens Peter Secher wrote:
 I have recompiled pidgin 2.5.7-1 for Lenny and put it at
 http://people.debian.org/~jps/lenny/

 That's nice. Are you willing to provide security updates?


Yah... OK.
-- 
Jens Peter Secher.
_DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_.
A. Because it breaks the logical sequence of discussion.
Q. Why is top posting bad?


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



Re: Show me locale fomats

2009-06-23 Thread Ólafur Jens Sigurðsson
On Tue, Jun 23, 2009 at 05:34:08PM +0300, Dotan Cohen wrote:
 On a Debian system how can the user see what his locale configuration
 configures? For instance, I know that if a user has:
 LC_TIME=en_US.UTF-8
 then his date format is mm/dd/ however where can I see that? How
 can I get the system to show that to me?
 

by issuing the locale command.

Cheers

Oli


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



Re: X freezes

2009-06-23 Thread Ólafur Jens Sigurðsson
On Tue, Jun 23, 2009 at 11:37:22PM +0200, Florian Kulzer wrote:
 On Tue, Jun 23, 2009 at 12:36:40 +, Ólafur Jens Sigurðsson wrote:
  Hey all
  
  When booting using kernel 2.6.29 my X freezes
 
 Does the rest of the system still work when that happens? (e.g. VT switch, 
 ssh,
 ALT-SysRq)

I can't VT switch, but I can use the ALT-SysRq to reboot.

 
but not when using
  kernel 2.6.26, but the older kernel runs X really slow and takes up a
  lot of CPU when doing simple things like blocking text in a
  gnome-terminal (so the terminal has to scroll, else it doesn't).
  
  My system (lspci) is:
  
  00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub 
  Interface (rev 02)
  00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated 
  Graphics Controller (rev 02)
 
 [...]
 
  My x.org file is:
 
 [...]
 
  Section Device
  Identifier  Configured Video Device
  EndSection
 
 Try to add
 
   Option  AccelMethod   UXA
 
 and/or
 
   Option  Tilingfalse
 

Ok, that seemed to get me a bit further (as in, when starting with
startx and just running twm I get to navigate twm's menus, when
starting gdm and pressing the Action button I get the options up which
I didn't get before just a grey box, but then it freezes) but it still
freezes.

Oli


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



  1   2   3   4   5   6   7   8   9   10   >