Re: how to enable trim for an external encrypted SSD?

2017-11-21 Thread Joerg Desch
Am Wed, 15 Nov 2017 22:00:54 -0500 schrieb Stefan Monnier:

> I highly doubt that TRIM would help.  IOW, it's just a gut feeling you
> have, but I strongly doubt you have concrete data that can show it might
> be related to the presence/absence of TRIM-support.

May be you are right. I hope so... ;-)



Re: how to enable trim for an external encrypted SSD?

2017-11-11 Thread Joerg Desch

Am 11.11.17 15:27, schrieb Christian Seiler:


If it's the kernel driver there's a chance that'll be fixed in a future
kernel version.


Hmm... Arch Linux (that I tried) comes with a recent kernel and this still
not work.



Unfortunately I can't say much more about that, I've never had an
external SSD.


I had the same situation with my Sandisc Exreme thumb drive before! Here
heparin reports TRIM too, and fstrim failed too. At that time I thought
that the problem is the thumb drive controller. A thumb drive is no SSD. As
a result of the missing TRIM, the drive shows IO errors after just 1 year
of usage.

That could become an expensive hobby. :-/



Re: how to enable trim for an external encrypted SSD?

2017-11-11 Thread Joerg Desch
Am Sat, 11 Nov 2017 14:13:12 +0100 schrieb Christian Seiler:

> Also, did you mount the device with -o discard or set that option with
> tune2fs (_before_ mounting it)?

No, not now. I want to use fstrim in favour to the discard option. But 
I've tested it with an Arch Linux installation with a more fresh kernel. 
There both vairante (fstrim and discard-option in fstab) fails too. In 
case of the discard option, the error is written to the logs.

> What does the command
> findmnt | grep /media/jd/TEST

$ findmnt | grep /media/jd/TEST
├─/media/jd/TEST  /dev/sdg1  ext4
rw,nosuid,nodev,relatime,data=ordered

$ sudo lsblk -D
[sudo] password for jd: 
NAME   DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
sda   0  512B   2G 0
├─sda10  512B   2G 0
└─sda20  512B   2G 0
sdb   00B   0B 0
sdg   00B   0B 0
└─sdg100B   0B 0


In this case, sda is a internal SSD (Samsung EVO) with working TRIM and 
sdb is a HDD.



Re: how to enable trim for an external encrypted SSD?

2017-11-11 Thread Joerg Desch
Am Mon, 06 Nov 2017 14:28:32 +0100 schrieb Christian Seiler:

> I don't what you want is possible. When you plug in an external drive
> (that is _not_ in /etc/fstab etc.) the process of how it gets mounted is
> different:
...
> tune2fs -o +discard /dev/external_disk_device

My drive has arrived and even a ext4 without LUKS fails to (fs)trim the 
mount! Any idea why?


$ sudo hdparm -I /dev/sdg1
...
   *Data Set Management TRIM supported (limit 8 blocks)
   *Deterministic read data after TRIM
$ sudo fstrim /media/jd/TEST
fstrim: /media/jd/TEST: Verwerfungsvorgang wird nicht unterstützt.




Re: how to enable trim for an external encrypted SSD?

2017-11-06 Thread Joerg Desch
Am Tue, 07 Nov 2017 01:00:54 +0500 schrieb Alexander V. Makartsev:

> I don't use TRIM feature on my systems because of that, and hope for a
> firmware of modern SSD will manage everything automatically. Am I wrong?

I've used a ext4 formatted, unencrypted (!) 64GB SanDisk Extreme USB 3.0 
thumbdrive together with Unison. I sync a collection of documentation, 
some application configurations and a bunch of git repositories to it. 
The sync was done 4-5 days a week. The amount of changes was less than 
5MB a day.

IMO SanDisk is a trustful company with products of high quality. But the 
thumbdrive has not even lasted a year!

By the way... hdparm reports that the thumbdrive supports TRIM, but I was 
never able to use it!

So much for the topic "the firmware will do that". ;-)



Re: how to enable trim for an external encrypted SSD?

2017-11-06 Thread Joerg Desch
Am Mon, 06 Nov 2017 14:28:32 +0100 schrieb Christian Seiler:

> But all that doesn't really help you if the underlying LUKS container
> isn't opened with the discard option set. And as far as I know there is
> no possibility of tagging a LUKS container with that option, you must
> always supply that option to the cryptsetup command (which is done
> implicitly via /etc/crypttab).

Thanks for your detailed and extensive answer. That's exactly the answer 
I was afraid of. ;-)

So I will add an entry to the /etc/crypttab and hope that fstrim will do 
it's job. All system without a modified crypttab should mount the device 
but fstrim will fail. I think I can live with that solution.


> You could ask the LUKS developers to include an additional flag in their
> headers that allows you to specify that this volume should be opened
> with discards allowed by default

That is a good idea. I think I will write an ticket for that.

Thanks again.



how to enable trim for an external encrypted SSD?

2017-11-06 Thread Joerg Desch
Normally I would enable TRIM support in the /etc/fstab or the /etc/
crypttab by add the discard option.

Now I have bought a SanDisk Extreme Portable SSD. My goal is to add a LUKS 
encrypted partition without an explicit fstab entry. I've done this with 
some USB thumbdrives before, but not with TRIM support. The drvie should 
be plugged into any Linux device without the need to change the 
configuration.

What is the correct way to add TRIM support to an external SSD with LUKS 
encrypted partition?



Re: Bug: updating Debian9 not "allowed".

2017-10-26 Thread Joerg Desch
Am Thu, 26 Oct 2017 13:13:57 +0100 schrieb Darac Marjal:

> [Aside: The debian packaging tool is called "synaptic". "Synaptics" are
> a company producing touchpads. The two are not related]

I know, but I always make this mistake. ;-)

> I believe this is a known bug in synaptic: #864640 [1].

It is hard to believe that this bug is known since June and that there is 
neither a fix nor a solution. Deleting the file has worked for me, but I 
can't say that there are no side effects.

How should a newbie solve this? Without a work-around there are no 
updates possible.



Bug: updating Debian9 not "allowed".

2017-10-26 Thread Joerg Desch
I'm still running Debian 8 on all of my systems. Since it is time to 
switch to Debian 9, I've tried to have a first look at it. So I've 
installed the nonfree DVD-Image 9.2 within a VirtualBox container. All 
went fine, until I've tried to update the APT database.

Both, apt and Synaptics updates fails. In both cases the error reports, 
that /etc/apt/trusted.gpg is not accessible by user "_apt". 

The recommendation I've found was to delete trusted.gpg.

OK, this was a workaround for using apt. Both update and upgrade works 
without errors. Trying Synaptics leads to the previous behavior. The file 
trusted.gpg appears again and with this file, the error returns.


By the way... Why is the VirtualBox Guest Utils package not available in 
the official repositories?




Re: Debian8 is not playing with Synology using NFS/CIFS

2017-08-08 Thread Joerg Desch
Am Tue, 08 Aug 2017 14:31:33 + schrieb Curt:

> Did you look on the innertubes? This seems to be quite a popular
> question. No help here, for instance?
> 
> https://superuser.com/questions/860553/user-id-mapping-with-nfs-on-
synology-nas
> 
> If not I'm sorry for wasting your time.

Thanks for the link. I think the whole NFS stuff is a really ugly and 
partly broken dinosaur. I'm using NFS (v3) for decades now, and all the 
glitches are still not really solved. And CIFS for Linux clients seems to 
be no way to go.

I'm afraid I have to setup Kerberos to work-around the broken ipmapd 
stuff. More than a little bit "oversized"...

Thanks for the help!



Re: Debian8 is not playing with Synology using NFS/CIFS

2017-08-08 Thread Joerg Desch
Am Tue, 08 Aug 2017 11:34:58 +0100 schrieb Darac Marjal:

> On Tue, Aug 08, 2017 at 10:09:42AM +0000, Joerg Desch wrote:
>>Am Tue, 08 Aug 2017 11:01:12 +0100 schrieb Darac Marjal:
>>
>>> I'll assume that the Synology is a black box, and so we can't work out
>>> how it's configured.
>>
>>Yes, more or less.
>>
>>
>>> Try "mount -v -t nfs name.or.ip.of.synology:/ /some/mountpoint" and
>>> see what errors result.
>>
>>Mounting isn't the problem. The mount is working without errors
>>
>>mount.nfs: trying text-based options
>>'hard,intr,vers=4,addr=192.168.1.1,clientaddr=192.168.1.88'
>>
>>My only problem is the (very old) goal to get different uid/gid working.
> 
> OK, that's good. NFSv4 doesn't send UIDs/GIDs over the wire any more, it
> sends Usernames and Groups.

Hmm. I'm not so sure

On my local workstation, my ID is 3000. On the Synology, the id is 1027. 
On both machines, my user name is "jd". SO, if the mapping is "name 
based", I should see all the files with uid 1027 on the servers with the 
correct name on the client.

This is not the case! A "ls -l" shows me all the different UIDs, but 
neither the corresponding name, nor "nobody".

I try cp/chmod/chgrp again tomorrow morning and post the result here.

Thanks so far...



Re: Debian8 is not playing with Synology using NFS/CIFS

2017-08-08 Thread Joerg Desch
Am Tue, 08 Aug 2017 11:01:12 +0100 schrieb Darac Marjal:

> I'll assume that the Synology is a black box, and so we can't work out
> how it's configured.

Yes, more or less.

> 
> Try "mount -v -t nfs name.or.ip.of.synology:/ /some/mountpoint" and see
> what errors result.

Mounting isn't the problem. The mount is working without errors

mount.nfs: trying text-based options
'hard,intr,vers=4,addr=192.168.1.1,clientaddr=192.168.1.88'

My only problem is the (very old) goal to get different uid/gid working.


Thanks




Debian8 is not playing with Synology using NFS/CIFS

2017-08-08 Thread Joerg Desch
It drives me crazy. Really. The company I'm working for is switching from 
a Dell server running Ubuntu to a Synology HA solution. On my desktop, 
I'm using Debian 8 and only Debian (Yes I know, I can be lucky ;-)).

My first try was to mount the new shares using NFS4 and taraa... 
imapd. This fails because the ID mapping does not work. On both sides, 
the (same) domain is inserted into "/etc/imapd.conf". Without any 
changes. For now, I'm not really sure what ipmapd is for. A hoax? Fun?

The second try was the ugly solution using CIFS. The bad insight this 
morning... Synology disables the "unix extensions". The second... There 
is no ID mapping too. My hope with CIFS was, that die total user and 
group stuff is done using "names" and not IDs.

So, if anybody out there is running a Synology server. Is there a working 
solution to get uid/gip mapping, unix access flags and symlinks?

I'm happy for every (positive) answer. ;-)



Re: How to use Garmin Connect with Debian 7?

2017-07-13 Thread Joerg Desch

Am 13.07.17 12:13 nachm., schrieb Jörg-Volker Peetz:

there's this nice blog in German:
https://blog.dafb-o.de/neue-firmware-fuer-garmin-devices-unter-linux/ where the
firmware update procedure from Linux is detailed and a link to the firmware
files for your device is given http://gawisp.com/perry/edge/ .


Thanks for the links. Today I have tried to connect the FR235 to the Garmin
Android app. So much pain Damned Bluetooth. After 10 fails to add the
FR to the app, I had some luck. After that, the app shows me a running
firmware download. The progress was 50% for 20 minutes. So I abort this
juke.

I will try the step in the blog above. Thanks again.



Re: How to use Garmin Connect with Debian 7?

2017-07-12 Thread Joerg Desch
Am Wed, 12 Jul 2017 14:14:20 +0200 schrieb tomas:

> I'm downright appalled to see that a little piece of hardware comes tied
> to TahCloud and doesn't give the user any choices in that. I'd be raging
> at Garmin, were I their customer, for being (mis)treated like that.

My mistake... The Forerunner works like a charm without cloud connection. 
It's my personal choose to let the companion software sync the data to 
the cloud in order to get the processed results.

So Garmin is doing it right. ;-)




Re: How to use Garmin Connect with Debian 7?

2017-07-12 Thread Joerg Desch
Am Wed, 12 Jul 2017 14:08:22 +0200 schrieb solitone:

> Yes, I used to have a VirtualBox instance on my previous laptop, and it
> did work. Then I migrated that VirtualBox image to KVM when I prepared
> my new laptop, and it continued to work.

Just because you mentioned it You have build a VirtualBox image from 
the content of your harddrive?

Which tool have you used for this?

Does Windows reconfigure all the drivers after starting inside a VM?

What's the benefit in using libvirt / KVM?



Re: How to use Garmin Connect with Debian 7?

2017-07-12 Thread Joerg Desch
Am Wed, 12 Jul 2017 07:43:31 -0400 schrieb Fungi4All:

> I think you need to read up to the NMEA183 protocol, which for a while
> it was the standard of i/o data ever since the first gps had wired
> connections on it.

Both devices are visible as filesystem. So I can easily copy and convert 
the recorded FIT files. My problem is the connection to the Garmin 
Connect cloud service. I have to initialize the device and bind it to my 
account.





Re: How to use Garmin Connect with Debian 7?

2017-07-12 Thread Joerg Desch
Am Wed, 12 Jul 2017 13:28:11 +0200 schrieb solitone:

> I have a Garmin Edge 520, and I use the Garmin Connect app on my
> smartphone to sync it, not the Windows tool. I just needed the Windows
> tool during initial configuration, but once it's registered you no
> longer need it (except for some rare events when you need it to solve
> weird sync issues).

I have the same situation here. The Edge 520 is running, only firmware 
updates needs Windows.


> I don't know whether it's possible to perform the initial configuration
> steps without the official Garmin tool, I have a Windows 10 installation
> on a libvirt virtual machine, that I use just for Garmin and iTunes.

That is a good idea. I could use the Windows license key of the dead 
windows notebook and run it inside VirtualBox. Do you know if the USB 
connection to the Garmin devices runs through the virtual host?





How to use Garmin Connect with Debian 7?

2017-07-12 Thread Joerg Desch
I'm using a Garmin Edge 520 for my bycicle and a (new) Forerunner for 
running. How can I access Garmin Connect without installing the Windows 
tools?

The Garmin Edge 520 is already registered to my Garmin Connect account. 
I've used an old Windows 7 notebook with isn't functional anymore. Now 
I've tried to sync the Edge 520 and (more important) to register the 
Forerunner with the garmin-plugin and the garmin-forerunner-tools. But it 
didn't work.

Is there anyone on the list using this tools?

I've installed firefox-esr from the official repos. I've tried to change 
the user agent string as mentioned by Andres Diener. But nothing happens. 
Neither the expected dialog appears, nor the configurations files are 
created.

garmin_get_info reports "garmin unit could not be opened!". The device 
itself is deteced and the filesysdtem is mounted:

"scsi 6:0:0:0: Direct-Access Garmin   FR235 Flash"

What's wrong?



Re: shutdown fails to power off host

2017-01-17 Thread Joerg Desch
Am Wed, 04 Jan 2017 22:59:46 -0800 schrieb Bob McGowan:

> When I shutdown my desktop system, the screen displays messages from
> systemd (I presume), the last of which is "Reached target Shutdown".

Just a thought...

I'm running Debian Jessie and I see the same behavior with my Thinkpad 
T500.

In my case the reason is the Network Manager. I have 2 NFS shares mounted 
over Wifi. The Network Manager stops Wifi before unmounting the NFS 
shares. This leads to a long time out. After that, I see the "Reached 
target Shutdown" message and the system in still powered.

I have to unmount the NFS volumes first and than I can shutdown the 
system.



Difference between LUKS drives with cryptsetup and Disks?

2016-11-04 Thread Joerg Desch
I've created a LUKS partition which I mount on demand. This partition was 
created using cryptsetup. While mounting the partition, GNOME asks me 
first for the passphrase and than for the "admin" password.

A while ago, I've created a LUKS partition on an USB thumb drive using 
GNOME Disks. In this case, mounting requires only the passphrase. And 
that doesn't depend on the used computer!

What is the difference? Can I change the behavior of my older LUKS 
partition too?



Re: System freezes after update to Jessie 8.4 [workaround]

2016-04-04 Thread Joerg Desch
My personal workaround...

yesterday, I had used GNOME3 Classic which reduced the freezes down to 
"every3 hours". ;-) Today morning, I've downgrades the kernel back to the 
previous version and I'm back to GNOME3 and Firefox for 2 hours now. No 
freeze so far...

What I've done is:

aptitude install linux-image-3.16.0-4-amd64=3.16.7-ckt20-1+deb8u4 linux-
headers-3.16.0-4-common=3.16.7-ckt20-1+deb8u4  linux-headers-3.16.0-4-
amd64=3.16.7-ckt20-1+deb8u4




Re: System freezes after update to Jessie 8.4

2016-04-04 Thread Joerg Desch
Some additional information...

After the X-Crash, neither CTRL-ALT_F1 nor CRTL-ALT-DEL works. Even CRTL-
ALT-BACKSPACE doesn't work.

But I've tried ALT-PRINT-REISUB and the system reboots.



Re: System freezes after update to Jessie 8.4

2016-04-04 Thread Joerg Desch
Am Mon, 04 Apr 2016 15:21:09 +0200 schrieb Sven Arvidsson:

> 3.16 was mentioned later in the thread:
> https://lkml.org/lkml/2016/3/9/373

OK. If I find some time, I will have a look at this.


> You might want to file a bug if there isn't one open already.

For the kernel-image package? Is the "radeon" stuff part of that package?



Re: System freezes after update to Jessie 8.4

2016-04-04 Thread Joerg Desch
Am Mon, 04 Apr 2016 13:17:53 +0200 schrieb Sven Arvidsson:

> What kernel are you running? Looks like it might be this:
> https://lkml.org/lkml/2016/3/6/257

The changlelog of the current kernel image pakcage lists these changes 
for "radeon":

- radeon/cik: Fix GFX IB test on Big-Endian
- radeon: Fix VCE ring test for Big-Endian systems
- radeon: Fix VCE IB test on Big-Endian systems





Re: System freezes after update to Jessie 8.4

2016-04-04 Thread Joerg Desch
Am Mon, 04 Apr 2016 13:17:53 +0200 schrieb Sven Arvidsson:

> On Mon, 2016-04-04 at 11:11 +0000, Joerg Desch wrote:
>> After the upgrade (and a restart), the system freezes from one second
>> to the other. It seems to be independent from the used application.
>> 
>> As a work-around, I'm running GNOME classic now. Without the EGL
>> features, the desktop is running now. Currently I avoid using Firefox,
>> because I don't know if the renderer uses EGL.
>> 
>> Can someone help?
> 
> 
> What kernel are you running?

3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) x86_64 GNU/Linux


> Looks like it might be this:
> https://lkml.org/lkml/2016/3/6/257

The 3D part seems to be the correct location, but the mentioned kernel is 
older.


> If so, you could probably work around it by installing/booting an
> earlier kernel.

This was the last upgrade. How can I get a changelog (on the package web 
site there is now changelog available) and how can I downgrade to the 
previous package. Only linux-image-3.16.0-4-amd64, linux-headers-3.16.0-4-
amd64 and linux-headers-3.16.0-4-common were updated.

Start-Date: 2016-04-04  06:26:37
Commandline: apt-get dist-upgrade
Upgrade: subversion:amd64 (1.8.10-6+deb8u2, 1.8.10-6+deb8u3), apt:amd64 
(1.0.9.8.2, 1.0.9.8.3), multiarch-support:amd64 (2.19-18+deb8u3, 2.19-18
+deb8u4), linux-image-3.16.0-4-amd64:amd64 (3.16.7-ckt20-1+deb8u4, 3.16.7-
ckt25-1), libimage-magick-q16-perl:amd64 (6.8.9.9-5, 6.8.9.9-5+deb8u1), 
librsvg2-2:amd64 (2.40.5-1, 2.40.5-1+deb8u1), libgail18:amd64 (2.24.25-3, 
2.24.25-3+deb8u1), libpam0g:amd64 (1.1.8-3.1+deb8u1, 1.1.8-3.1+deb8u1
+b1), libsane-common:amd64 (1.0.24-8, 1.0.24-8+deb8u1), libc6-i686:i386 
(2.19-18+deb8u3, 2.19-18+deb8u4), libgif4:amd64 (4.1.6-11, 4.1.6-11
+deb8u1), libfglrx:amd64 (15.9-4~deb8u1, 15.9-4~deb8u2), apt-utils:amd64 
(1.0.9.8.2, 1.0.9.8.3), fglrx-atieventsd:amd64 (15.9-4~deb8u1, 
15.9-4~deb8u2), fglrx-control:amd64 (15.9-4~deb8u1, 15.9-4~deb8u2), 
libebml4:amd64 (1.3.0-2, 1.3.0-2+deb8u1), libgudev-1.0-0:amd64 (215-17
+deb8u3, 215-17+deb8u4), tzdata-java:amd64 (2015g-0+deb8u1, 2016c-0
+deb8u1), libc-dev-bin:amd64 (2.19-18+deb8u3, 2.19-18+deb8u4), libpam-
systemd:amd64 (215-17+deb8u3, 215-17+deb8u4), gtk2-engines-pixbuf:amd64 
(2.24.25-3, 2.24.25-3+deb8u1), libc-bin:amd64 (2.19-18+deb8u3, 2.19-18
+deb8u4), libc6:amd64 (2.19-18+deb8u3, 2.19-18+deb8u4), libc6:i386 
(2.19-18+deb8u3, 2.19-18+deb8u4), ruby:amd64 (2.1.5+deb8u1, 2.1.5
+deb8u2), libglib2.0-0:amd64 (2.42.1-1, 2.42.1-1+b1), libsvn1:amd64 
(1.8.10-6+deb8u2, 1.8.10-6+deb8u3), amd64-microcode:amd64 (2.20141028.1, 
2.20160316.1~deb8u1), libglib2.0-dev:amd64 (2.42.1-1, 2.42.1-1+b1), 
libapt-inst1.5:amd64 (1.0.9.8.2, 1.0.9.8.3), libgtk2.0-bin:amd64 
(2.24.25-3, 2.24.25-3+deb8u1), libgtk2.0-common:amd64 (2.24.25-3, 
2.24.25-3+deb8u1), udev:amd64 (215-17+deb8u3, 215-17+deb8u4), base-
files:amd64 (8+deb8u3, 8+deb8u4), gir1.2-gtk-2.0:amd64 (2.24.25-3, 
2.24.25-3+deb8u1), gnupg:amd64 (1.4.18-7, 1.4.18-7+deb8u1), linux-
headers-3.16.0-4-amd64:amd64 (3.16.7-ckt20-1+deb8u4, 3.16.7-ckt25-1), 
chromium:amd64 (49.0.2623.87-1~deb8u1, 49.0.2623.108-1~deb8u1), 
libsrtp0:amd64 (1.4.5~20130609~dfsg-1.1, 1.4.5~20130609~dfsg-1.1+deb8u1), 
initramfs-tools:amd64 (0.120, 0.120+deb8u1), libcairo-gobject2:amd64 
(1.14.0-2.1, 1.14.0-2.1+deb8u1), libpam-modules:amd64 (1.1.8-3.1+deb8u1, 
1.1.8-3.1+deb8u1+b1), libsndfile1:amd64 (1.0.25-9.1, 1.0.25-9.1+deb8u1), 
libcairo2:amd64 (1.14.0-2.1, 1.14.0-2.1+deb8u1), libudev-dev:amd64 (215-17
+deb8u3, 215-17+deb8u4), libudev1:amd64 (215-17+deb8u3, 215-17+deb8u4), 
libimage-magick-perl:amd64 (6.8.9.9-5, 6.8.9.9-5+deb8u1), libsane:amd64 
(1.0.24-8, 1.0.24-8+deb8u1), imagemagick-6.q16:amd64 (6.8.9.9-5, 6.8.9.9-5
+deb8u1), libservlet2.5-java:amd64 (6.0.41-3, 6.0.45+dfsg-1~deb8u1), 
libapt-pkg4.12:amd64 (1.0.9.8.2, 1.0.9.8.3), libfglrx-amdxvba1:amd64 
(15.9-4~deb8u1, 15.9-4~deb8u2), libpcre3-dev:amd64 (8.35-3.3+deb8u2, 
8.35-3.3+deb8u4), libhogweed2:amd64 (2.7.1-5, 2.7.1-5+deb8u1), librsvg2-
common:amd64 (2.40.5-1, 2.40.5-1+deb8u1), sane-utils:amd64 (1.0.24-8, 
1.0.24-8+deb8u1), systemd-sysv:amd64 (215-17+deb8u3, 215-17+deb8u4), 
libgtk2.0-0:amd64 (2.24.25-3, 2.24.25-3+deb8u1), libcairo2-dev:amd64 
(1.14.0-2.1, 1.14.0-2.1+deb8u1), imagemagick:amd64 (6.8.9.9-5, 6.8.9.9-5
+deb8u1), linux-compiler-gcc-4.8-x86:amd64 (3.16.7-ckt20-1+deb8u4, 3.16.7-
ckt25-1), systemd:amd64 (215-17+deb8u3, 215-17+deb8u4), fglrx-modules-
dkms:amd64 (15.9-4~deb8u1, 15.9-4~deb8u2), gpgv:amd64 (1.4.18-7, 1.4.18-7
+deb8u1), libpcrecpp0:amd64 (8.35-3.3+deb8u2, 8.35-3.3+deb8u4), 
libnettle4:amd64 (2.7.1-5, 2.7.1-5+deb8u1), libpam-modules-bin:amd64 
(1.1.8-3.1+deb8u1, 1.1.8-3.1+deb8u1+b1), libmagickwand-6.q16-2:amd64 
(6.8.9.9-5, 6.8.9.9-5+deb8u1), fglrx-driver:amd64 (15.9-4~deb8u1, 
15.9-4~deb8u2), tzdata:amd64 (2015g-0+deb8u1, 2016c-0+deb8u1), libmagick+
+-6.q16-5:amd64 (6.8.9.9-5, 6.8.9.9-5+deb8u1), libglib2.0-

System freezes after update to Jessie 8.4

2016-04-04 Thread Joerg Desch
I have an extremely hard problem after upgrading Debian Jessie from 8.3 
to 8.4 today. The system is a Dell Vostro with an AMD/ATI Turks PRO 
[Radeon HD 7570]. The free radeon driver is used for X. Desktop is GNOME3. 
The resolution is 25560x1440. I've used this resolution for about 3-4 
weeks now.

After the upgrade (and a restart), the system freezes from one second to 
the other. It seems to be independent from the used application.

As a work-around, I'm running GNOME classic now. Without the EGL 
features, the desktop is running now. Currently I avoid using Firefox, 
because I don't know if the renderer uses EGL.

Can someone help?


Here is one of the several logged crashes:

Apr  4 07:07:11 jd-dell kernel: [ 2025.042433] BUG: unable to handle 
kernel NULL pointer dereference at 0008
Apr  4 07:07:11 jd-dell kernel: [ 2025.042460] IP: [] 
radeon_fence_ref+0xd/0x50 [radeon]
Apr  4 07:07:11 jd-dell kernel: [ 2025.042491] PGD 0 
Apr  4 07:07:11 jd-dell kernel: [ 2025.042498] Oops: 0002 [#1] SMP 
Apr  4 07:07:11 jd-dell kernel: [ 2025.042508] Modules linked in: 
sha256_ssse3 sha256_generic dm_crypt algif_skcipher af_alg dm_mod 
rpcsec_gss_krb5 nfsv4 dns_resolver joydev hid_logitech_dj usb_storage 
hid_generic bnep binfmt_misc usbhid hid pci_stub vboxpci(O) vboxnetadp(O) 
vboxnetflt(O) vboxdrv(O) nfsd auth_rpcgss oid_registry nfs_acl nfs lockd 
fscache sunrpc ath3k ecb btusb bluetooth 6lowpan_iphc wl(PO) 
x86_pkg_temp_thermal intel_powerclamp intel_rapl arc4 coretemp kvm_intel 
kvm ath9k crc32_pclmul ath9k_common ath9k_hw fglrx(PO) ath aesni_intel 
mac80211 aes_x86_64 lrw gf128mul cfg80211 glue_helper ablk_helper 
iTCO_wdt iTCO_vendor_support snd_hda_codec_realtek snd_hda_codec_generic 
dcdbas cryptd rfkill serio_raw snd_hda_codec_hdmi i2c_i801 pcspkr 
snd_hda_intel snd_hda_controller snd_hda_codec lpc_ich mfd_core snd_hwdep 
snd_pcm snd_timer snd battery soundcore ie31200_edac shpchp mei_me 
edac_core mei processor evdev vmhgfs(O) vmw_vmci fuse parport_pc ppdev lp 
parport autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif sr_mod 
crct10dif_generic cdrom radeon ahci crct10dif_pclmul libahci i2c_algo_bit 
crct10dif_common crc32c_intel ttm ehci_pci libata drm_kms_helper xhci_hcd 
psmouse ehci_hcd scsi_mod drm r8169 mii usbcore i2c_core usb_common fan 
thermal video thermal_sys button
Apr  4 07:07:11 jd-dell kernel: [ 2025.042873] CPU: 1 PID: 1207 Comm: Xorg 
Tainted: P   O  3.16.0-4-amd64 #1 Debian 3.16.7-ckt25-1
Apr  4 07:07:11 jd-dell kernel: [ 2025.042894] Hardware name: Dell Inc. 
Vostro 470/0NW73C, BIOS A10 10/19/2012
Apr  4 07:07:11 jd-dell kernel: [ 2025.042910] task: 88040a1b1530 ti: 
88040852c000 task.ti: 88040852c000
Apr  4 07:07:11 jd-dell kernel: [ 2025.042927] RIP: 0010:
[]  [] radeon_fence_ref+0xd/0x50 
[radeon]
Apr  4 07:07:11 jd-dell kernel: [ 2025.042955] RSP: 
0018:88040852fb18  EFLAGS: 00010292
Apr  4 07:07:11 jd-dell kernel: [ 2025.042967] RAX:  RBX: 
8804091d95f8 RCX: 8804091d8d08
Apr  4 07:07:11 jd-dell kernel: [ 2025.042982] RDX: 0001 RSI: 
 RDI: 
Apr  4 07:07:11 jd-dell kernel: [ 2025.042998] RBP: 8804091d9550 R08: 
8804091d8000 R09: 
Apr  4 07:07:11 jd-dell kernel: [ 2025.043014] R10: 0002 R11: 
88040852fe08 R12: 0020
Apr  4 07:07:11 jd-dell kernel: [ 2025.043029] R13: 88040852fbe0 R14: 
88040852fbb0 R15: 8804091d95f8
Apr  4 07:07:11 jd-dell kernel: [ 2025.043045] FS:  7f0057df7980
() GS:88041ec4() knlGS:
Apr  4 07:07:11 jd-dell kernel: [ 2025.043063] CS:  0010 DS:  ES: 
 CR0: 80050033
Apr  4 07:07:11 jd-dell kernel: [ 2025.043076] CR2: 0008 CR3: 
00040bce3000 CR4: 001407e0
Apr  4 07:07:11 jd-dell kernel: [ 2025.043091] Stack:
Apr  4 07:07:11 jd-dell kernel: [ 2025.043096]  a03130bc 
0028d7c0 ee400100 88040852fcd0
Apr  4 07:07:11 jd-dell kernel: [ 2025.043116]  8804091d8000 
88040a1b1530 88040a1b1530 0001
Apr  4 07:07:11 jd-dell kernel: [ 2025.043136]   
  
Apr  4 07:07:11 jd-dell kernel: [ 2025.043155] Call Trace:
Apr  4 07:07:11 jd-dell kernel: [ 2025.043173]  [] ? 
radeon_sa_bo_new+0x25c/0x460 [radeon]
Apr  4 07:07:11 jd-dell kernel: [ 2025.043197]  [] ? 
radeon_ib_get+0x2e/0xd0 [radeon]
Apr  4 07:07:11 jd-dell kernel: [ 2025.043220]  [] ? 
radeon_cs_ioctl+0x13c/0x730 [radeon]
Apr  4 07:07:11 jd-dell kernel: [ 2025.043241]  [] ? 
drm_ioctl+0x1c7/0x5b0 [drm]
Apr  4 07:07:11 jd-dell kernel: [ 2025.043258]  [] ? 
__do_page_fault+0x1d1/0x4f0
Apr  4 07:07:11 jd-dell kernel: [ 2025.043277]  [] ? 
radeon_drm_ioctl+0x46/0x80 [radeon]
Apr  4 07:07:11 jd-dell kernel: [ 2025.043294]  [] ? 
do_vfs_ioctl+0x2cf/0x4b0
Apr  4 07:07:11 jd-dell kernel: [ 2025.043307]  [] ? 
SyS_ioctl+0x81/0xa0
Apr  4 07:07:11 jd-dell kernel: [ 2025.043321]  [

Using github as repository for apt?

2016-01-12 Thread Joerg Desch
I've tried to find a way to use github or github-pages as host to provide 
a repository for apt. Does anyone knows such a solution?



Re: Differences Between ThinkPad Models

2015-12-03 Thread Joerg Desch
Am Thu, 03 Dec 2015 13:35:35 -0800 schrieb GC:

> Can someone help me compare the differences with each of these laptops?
> - Lenovo ThinkPad X60/X60s - Lenovo ThinkPad X60 Tablet - Lenovo
> ThinkPad T60 - Lenovo ThinkPad X200 - Lenovo ThinkPad R400 - Lenovo
> ThinkPad R500 - Lenovo ThinkPad T400 - Lenovo ThinkPad T500

ThinkWiki is your friend. ;-)

http://www.thinkwiki.org



VPN connection no longer available for me as user

2015-11-05 Thread Joerg Desch
I run into a bug where nm-connection-editor doesn't read the password out 
of the settings. And without password it doesn't save changes.

I hadn't recognized this first, so that I tested editing the setup as 
root. The console outputs leads me to a solution. After saving my changes 
as root, I no longer have access to the VPN. Even the entry isn't visible.

Within the configuration file, I have found the following line.

   permissions=user:root:;

I've changed it back to my login name, but it still doesn't work.

How can I change the permissions back to me as owner?



gnome-power-manager compatible with systemd?

2015-10-19 Thread Joerg Desch
I have installed a standard Debian Jessie (with systemd and GNOME3) on my 
older T500 (dual core). For some reasons, the *power statistics monitor* 
is not installed by default. Is there a reason for that?

Is it save to install gnome-power-manager (only to get the monitor) or 
does it may cause an conflict with the power management (if any) of 
systemd?

If have installed gnome-power-manager now without warnings. After that, 
the T500 doesn't shutdown completely. I had not have the time to debug 
this on the weekend, but as far as I remember, this wasn't the case 
before the installation of gnome-power-manager.



Re: Brightness configuration issue

2015-09-23 Thread Joerg Desch
Am Thu, 24 Sep 2015 00:05:11 +0200 schrieb sp113438:

> sudo redshift-gtk -b 0.5
> 
> dims 50%

>From the homepage:

Redshift has a brightness adjustment setting, but it does not work the 
way most people might expect. In fact it is a *fake brightness 
adjustment* obtained by manipulating the gamma ramps, which means that it 
does not reduce the backlight of the screen.

;-)



Re: Wie restauriert man alte NetworkManager Konfigurationen?

2015-09-20 Thread Joerg Desch
Sorry, wrong group! Please, ignore the post

it was to early in the morning and the coffee was not cooked. ;-)





Wie restauriert man alte NetworkManager Konfigurationen?

2015-09-20 Thread Joerg Desch
Ich habe nach meinem Upgrade von Wheezy auf Jessie die VPN-Konfiguration 
aufgeschoben. Nun wollte ich das nachholen und habe (ganz blauäugig) die 
alte Datei unter /etc/NetworkManager/system-connections wieder 
einsortiert.

Leider erkennt der NetworkManager die Datei nicht. Zumindest zeigt er die 
Verbindung nicht and.

Muss ich sonst noch etwas machen?



problems with moving the toolsbars of Inkscape

2015-09-10 Thread Joerg Desch
I'm using Inkscape from Jessie and have some trouble with the arrangement 
of the toolbars. I've written a bug report (#797148) two weeks ago, but 
without reactions for now.

The positioning of the toolbars is only in some (rare) cases possible. It 
is very hard to find a place where the moved toolbar snaps into a 
position. Most bars doesn't snap to any position.

A second effect is the length of the bar. While moving the toolbar, the 
length of the bar is not truncated to the space needed, so that dragging 
a bar in fullscreen mode is not possible.

What are your experiences with moving the toolsbars?

Are there any solutions or work-arounds?



Re: systemd for administrators, printable version.

2014-11-17 Thread Joerg Desch
Am Mon, 17 Nov 2014 15:29:21 +0100 schrieb Erwan David:

> Is there a printable/epub/pdf version of systemd for administrators ?

http://www.bandwidthco.com/whitepapers/os/linux/systemd/systemd%20for%
20Administrators.pdf

Google leads me to this link... ;-)

I don't know the state of this document, but it seems to be the file you 
are looking for.


-- 
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/m4ep45$eju$1...@ger.gmane.org



Re: Whats your way of sharing data between PCs?

2014-09-23 Thread Joerg Desch
Am Mon, 22 Sep 2014 19:01:36 -0400 schrieb PaulNM:

> Questions for the OP:
> Is the Desktop always on?  If so, it could be the master server.

No the Desktop is only used if the screens of the notebooks are to 
small. ;-)


> Do you want to sync even if the laptops are not home, not just have
> copies of the files on them?

Yes and now. For the first step *No*, but I plan to sync parts of the 
data with my Desktop in the office too. If you use PCs to store 
informations, libraries, Codes and project data, it makes sense to "take 
this stuff with you". So I should anseer *Yes*, but may be later.


> Do you want the laptops to sync with each other if the desktop isn't
> around?

No, that isn't important. My first idea was a VPN to my server at home. 
It is Debian based and 24/7 up and running. But my internet here in 
Germany is poor. I only have 450kB downstream and 35kB upstream. I think 
these is may be not much. At least not for Unison, since it tries to read 
to much stuff while checking / scanning for changes.

How much data is transfered by BTsync if no changes are made?

Have you ever had conflicts?



-- 
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/lvs4uj$61m$1...@ger.gmane.org



Re: Whats your way of sharing data between PCs?

2014-09-22 Thread Joerg Desch
Am Sun, 21 Sep 2014 19:52:51 +0200 schrieb lee:

> Joerg Desch  writes:
> 
>> I currently use Unison to sync the data between the notebooks and the
>> NAS.
> 
> NFS over VPN?

Nope. Currently not. My first step is a solution which works in the local 
network. Later I would like to add my office PC too, but internet in 
Germany is slow (asymmetric DSL).


-- 
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/lvpo6v$std$2...@ger.gmane.org



Re: Whats your way of sharing data between PCs?

2014-09-22 Thread Joerg Desch
Am Sun, 21 Sep 2014 11:45:23 +0200 schrieb Hans:

>> Unison doesn't use rsync. As far as I know, Unison uses a rsync alike
>> algorithm which is bidirectional, while rsync is only unidirectional.
> 
> Nope, rsync is bidirectional, too.

Are you shure? I'm only aware of the unidirectional sync. The man page 
tells me this as description:

Rsync  is  a  fast  and  extraordinarily versatile file copying tool.  It 
can copy locally, to/from another host over any remote shell, or to/from 
a remote rsync daemon.

Which option enables bidirectional syncing? How are conflicts handled? I 
could find the infos in the man page.





-- 
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/lvpo25$std$1...@ger.gmane.org



Re: Whats your way of sharing data between PCs?

2014-09-21 Thread Joerg Desch
Am Sun, 21 Sep 2014 09:48:14 +0100 schrieb Joe:

> I wouldn't have thought so, to any great extent. You can use rsync over
> ssh if you're worried about the data being intercepted on your network,
> but I doubt that it will be much quicker as Unison is just a front-end
> to rsync.

Unison doesn't use rsync. As far as I know, Unison uses a rsync alike 
algorithm which is bidirectional, while rsync is only unidirectional.


> Some small amount of time will be saved by not updating the
> display during copying, as Unison does, some will be lost in ssh
> encryption.

Unison is still reading much data over my WLAN. Even in "fast check 
mode"! So comparing 20G data takes a lng time (up to 10 minutes)
even is no new / changed files where found.


> The best gain will be in separating current/recent data from older data,
> if your work allows it.

I've though about this, but I'm afraid that I forget to start a sync in 
the case the older archives have changed.

My first idea was a daemon which uses the inotify protocol of the kernel 
to get informations which files has changed. But this only works on local 
file systems. Changes on the server side would be invisible.


-- 
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/lvm5hs$ieg$1...@ger.gmane.org



Whats your way of sharing data between PCs?

2014-09-21 Thread Joerg Desch
Hi.

I'm using Debian Wheezy on two Notebooks and one Desktop. All systems are 
using NFS to access a NAS. While the notebooks have all data on there 
local SSDs, the Desktop is working directly on the NFS share.

I currently use Unison to sync the data between the notebooks and the NAS. 
This is very time consuming even with enabled "fast checking".

I choose this solution because I need to take the notebooks with me. So I 
must have the data always up to date.

Is anyone in the same situation?

Is there a faster and more secure workflow?

Thanks for sharing your ideas.


-- 
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/lvlvod$fjb$1...@ger.gmane.org



Re: How to mount a LUKS partiotion with Nautilus with option discard?

2014-09-04 Thread Joerg Desch
Am Wed, 03 Sep 2014 14:41:03 +0200 schrieb Jochen Spieker:

> I have no idea.

I've got two tips by G+. (1) a mount point below ~ and (2) the option x-
gvfs-show as fstab option. Both doesn't change anything.


> I suggested to file the bug against Nautilus because it
> is the interface you are using.

I will collect all infos and file a report this evening.




-- 
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/lu93an$m5p$1...@ger.gmane.org



Re: How to mount a LUKS partiotion with Nautilus with option discard?

2014-09-02 Thread Joerg Desch
Am Tue, 02 Sep 2014 23:59:38 +0200 schrieb Jochen Spieker:

> This is missing the discard flag from your crypttab entry. It appears
> that Gnome ignores your settings.

Is it ignored by Gnome or by udisk?


> Either ask upstream (i.e. Gnome people) or open a bug report for
> nautilus.

Are you sure that Nautilus handles mounting of discs?


> I like the following pattern for bug reports:

Thanks for the info.



-- 
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/lu66m0$30d$1...@ger.gmane.org



Re: How to mount a LUKS partiotion with Nautilus with option discard?

2014-09-01 Thread Joerg Desch
Am Mon, 01 Sep 2014 12:19:39 +0200 schrieb Hans:

> As far as I remember (and someone may correct me, if I am wrong) if
> there is an entry in fstab, the devices are not mounted by the GUI (I
> guess you mean dolphin).

I'm using Nautilus in GNOME. Dolphin is KDE. IMO fstab entries without 
the option 'auto' are visible in the sidebar could be mounted by the GUI.

This seems to be not the case for LUKS entries.


> Fstab is used for mounting at boot. Try to comment out the entry in
> fstab, but leave the entry in crypttab.

Tested. It doesn't work. There is no visible change. Even a single entry 
in crypttab isn't shown in the Desktop GUI.


Any further tips?


-- 
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/lu3j9f$9m1$1...@ger.gmane.org



Re: How to mount a LUKS partiotion with Nautilus with option discard?

2014-09-01 Thread Joerg Desch
Am Mon, 01 Sep 2014 08:18:09 +0200 schrieb Hans:

> cryptsetup luksOpen /dev/sda4 home2
> mount /dev/mapper/home2 /mnt
> 

Thanks. The manual way on the shell is working, but I has some hopes that 
the GUI would be working too! An mentioned in my other followup, LUKS 
encrypted USB sticks are handled as expected.



-- 
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/lu1fo3$abc$2...@ger.gmane.org



Re: How to mount a LUKS partiotion with Nautilus with option discard?

2014-09-01 Thread Joerg Desch
Am Mon, 01 Sep 2014 09:48:30 +0200 schrieb Jochen Spieker:

> Joerg Desch:
>>
>> I'm using a separate LUKS encrypted partition on my SSD, which I only
>> mount after login. Since there is now way to to this with
>> crypttab/fstab, I have to use Nautilus to do this.
> 
> Hm? I don't understand why you say mounting manually is not possible
> with crypttab/fstab. Just make the entries as usual and add the option
> "noauto" in fstab.

OK, here is my /etc/crypttab

private_luks UUID=... none luks,noauto,discard


And this is my /etc/fstab

/dev/mapper/private_luks /media/privates ext4 user,nofail,noauto,noatime


The LUKS partition is installed on a PC where several people have access!
So I don't want the system to ask for the passphrase at boot time! It 
must aks for the passphrase after the login!

If I use a LUKS encrypted USB stick, all this is done. But with a 
partition on the SSD, Wheezys GNOME don't do it. I don't know why.




> The crypttab file supports the noauto option as well. Then
> you have to run two commands for mounting the filesystem:
> 
> cryptdisks_start $mapped_device mount $mount_point

Is it possible to get this working with the GUI? 


> You don't need the discard option for your filesystem to run fstrim. You
> only need it in /etc/crypttab. How do you tell that you "can't use
> fstrim"?
> Do you receive an error message when running fstrim?

Yes! ioctl failes while TRIm is not supported.

fstrim: /media/PRIVAT_C/: FITRIM ioctl failed: Die Operation wird nicht 
unterstützt



> As pointed out above, this only shows the filesystem option. The status
> of your LUKS device can be queried like this:
> 
> # cryptsetup status home-decrypted /dev/mapper/home-decrypted is active
> and is in use.
>   type:LUKS1 cipher:  aes-xts-plain64 keysize: 256 bits device: 
>   /dev/mapper/kida-home--crypt--lv offset:  4096 sectors size:   
>   88436736 sectors mode:read/write flags:   discards
> 

/dev/mapper/udisks-luks-uuid- is active and is in use.
  type:LUKS1
  cipher:  aes-cbc-essiv:sha256
  keysize: 256 bits
  device:  /dev/sdb7
  offset:  4096 sectors
  size:408795136 sectors
  mode:read/write



-- 
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/lu1fjn$abc$1...@ger.gmane.org



How to mount a LUKS partiotion with Nautilus with option discard?

2014-08-31 Thread Joerg Desch
I'm using a separate LUKS encrypted partition on my SSD, which I only
mount after login. Since there is now way to to this with crypttab/fstab,
I have to use Nautilus to do this.

I'm running a regular Debian Wheezy.

After clicking on the (unmounted) LUKS partition, the system asks for the 
LUKS passphrase and than for the admin password. Now the partition is 
mounted as expected. The only problem is the missing 'discard' option, so 
I can't use fstrim with this partition.

Does anyone knows some tricks how to add discard support?

This is the current output of mount:

/dev/mapper/udisks-luks-uuid-... on /media/PRIVAT_C type ext4 
(rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,uhelper=udisks)



-- 
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/lu0vib$kle$1...@ger.gmane.org



Re: How to mount a LUKS partition from within GNOME?

2014-08-13 Thread Joerg Desch
Does nobody have a solution for this?

Am Thu, 07 Aug 2014 18:21:51 + schrieb Joerg Desch:

> My configuration entries are:
> 
> # /etc/crypttab private_luks  /dev/sdb7  none  luks,noauto
> 
> # /etc/fstab /dev/mapper/private_luks /media/privates ext4
> user,nofail,noauto,noatime\
> 1 2

GNOME (Nautilus) shows me the unmounted LUKS partition. But is labeled 
with the size of the partition. "Clicking" on the entry mounts the 
partition, but I always have to enter the admin password too.

After this, the partition is mounted, but the entries in fstab/crypttab 
are totally ignored!


-- 
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/lshf5j$djd$2...@ger.gmane.org



How to mount a LUKS partition from within GNOME?

2014-08-07 Thread Joerg Desch
I have successfully prepared a partition for the usage with LUKS. After 
that, I've added some entries to /etc/fstab and /etc/crypttab. Using 
"cryptdisks_start/stop" with "mount/umount" works fine.

Now I want to be able to mount the partition manually from within GNOME. 
I want to have the GUI requesting the passphrase. For this reason, my 
entries in the configuration files uses noauto be avoid the automatic 
mounting at startup.

My problem is, that Nautilus doesn't show an unmounted device! How do I 
mount a LUKS partition with Wheezys GNOME 3.4?


My configuration entries are:

# /etc/crypttab private_luks  /dev/sdb7  none  luks,noauto

# /etc/fstab
/dev/mapper/private_luks /media/privates ext4 user,nofail,noauto,noatime\ 
1 2



-- 
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/ls0g3v$6h5$2...@ger.gmane.org



Re: Different behaviour handling NFS mounts after login

2014-07-03 Thread Joerg Desch
Am Thu, 03 Jul 2014 02:42:05 -0600 schrieb Bob Proulx:

> Joerg Desch wrote:

> Warning.  Using "soft" can cause silent data corruption.

That's the reason I'm using "hard".


> Same with _netdev.  Personally I am
> only using "async" and nothing more these days.  "intr" is okay.

"_netdev" is good for notebooks. I've there is no WLAN available, the 
entries are not mounted. Since NetworkManager is brain-dead ;-), I'm no 
longer able to mount "shares" depending on the connected network. OK, 
that is only the half truth, since the dispatcher scripts allows 
mounting, but the developer of NetworkManager have cut-off the pre-down 
scripts, so it isn't possible to unmount the "shares". No idea why they 
have done this...


> But I am also not sure what you are asking.  Initially you wrote:
> 
>> Two of the machines opens Nautilus after each login. Neither the other
>> installation of Debian nor a remaining MINT installations shows this
>> behaviour.
>> 
>> What's the problem here? Should I change something in the mount
>> options?
>> Or is this a setting within GNOME?
> 

> So the problem is that Nautilus opens after a login?

Exactly.


> I don't see how
> that is related to NFS.  How would NFS mount options cause Nautilus to
> automatically start up at login time?

Me too. ;-) But I'm not sure. Joseph wrote a reply with this 
recommendation, so I want to give it a try.


> That sems like an autostart
> configuration of GNOME.  If you are wanting to prevent that then I would
> concentrate on looking there.

OK. I want USB thumb drives to be opened automatically, but not the NFS 
mounts. Is this possible?


-- 
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/lp36r4$en0$3...@ger.gmane.org



Re: Different behaviour handling NFS mounts after login

2014-07-03 Thread Joerg Desch
Am Thu, 03 Jul 2014 00:12:15 -0700 schrieb Joseph Loo:

>> rw,_netdev,hard,intr,user,nosuid,exec,async,auto
>>
> You might want to try soft instead of hard.

Thanks for your tip. I will try it this evening.

I'm no NFS expert and I've "created" the mount entries a long time ago. 
The option "hard" was added because of the weakness of my first WLAN 
(years ago... now it is stable).

Why do you think that changing this option influences the behaviour of 
GNOME?

Do you have recommendations for "more modern" NFS mount options? I've 
already removed the entries of the buffer sizes. ;-) I'm not sure if 
"nosuid" or "user" are still necessary.


-- 
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/lp324j$en0$2...@ger.gmane.org



Different behaviour handling NFS mounts after login

2014-07-02 Thread Joerg Desch
I've recently replaced Linux MINT on 3 machines with Debian Wheezy and 
GNOME3.4. All of my "shares" are mounted with NFS. For this purpose I use 
the following options (on all installations):

rw,_netdev,hard,intr,user,nosuid,exec,async,auto

Two of the machines opens Nautilus after each login. Neither the other 
installation of Debian nor a remaining MINT installations shows this 
behaviour.

What's the problem here? Should I change something in the mount options? 
Or is this a setting within GNOME?


-- 
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/lp2urb$en0$1...@ger.gmane.org



Re: How do package wallpapers for GNOME in Wheezy?

2014-06-29 Thread Joerg Desch
some new infos (but still no solution):

I've installed the package on Linux MINT 15 (or 16) and here it works as 
expected. After the installation of the package the wallpapers are 
visible inside the settings dialog.

Is there a difference to the GNOME 3.4 in Wheezy?


-- 
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/lop9ug$s7p$2...@ger.gmane.org



How do package wallpapers for GNOME in Wheezy?

2014-06-25 Thread Joerg Desch
Hi.

I've build a package with some of my favorite wallpapers. The package 
installs fine and I've created a XML file too. But the GNOME settings 
dialog of Wheezy doesn't show me my wallpapers.

I've installed all files below
/usr/share/backgrounds/joede-collection/1650x1050/
and installed the XML to
/usr/share/gnome-background-properties/joede-wallpaper-
collection-1366x768.xml

Here is a shortened copy of the XML content.




  
fictive_view_on_earth.jpg
/usr/share/backgrounds/joede-collection/1650x1050/
fictive_view_on_earth.jpg
  zoom
  #00
  #00
  solid
  
  
Forever-Shady.jpg
/usr/share/backgrounds/joede-collection/1650x1050/Forever-
Shady.jpg
  zoom
  #00
  #00
  solid
  


Is there something wrong?


-- 
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/lof289$mbd$1...@ger.gmane.org