Re: encfs over sshfs suffering with permission problem

2012-11-22 Thread J. B
On Fri, 23 Nov 2012 09:28:21 +0530
Kushal Kumaran  wrote:


> 
> 1. Ensure both encfs and sshfs are running as you, not root or any other
> user.
> 

Confirmed

> 2. Check for I/O errors both on the local box and the remote box (run
> dmesg and look for suspicious logs).
>
nothing found

> 3. Verify that you are able to create, delete and rename files on the
> sshfs mountpoint directly.  Verify that newly-created files are writable
> by you.

on sshfs mount point
--

echo "test" > test.txt
echo "test more" >> test.txt

 cat test.txt 
test
test more

mv test.txt test12.txt

rm test12.txt

> 
> 4. After mounting using sshfs and encfs, attach strace to the encfs
> process (run strace -p  -o ~/encfs.log -f), and try to create
> a single file in the sshfs mountpoint (presumably this fails).  Then
> detach the strace (C-c in that shell), and examine encfs.log for
> permission errors (EPERM).  If you do not understand the log, reply back
> with a link to the log.  The log might be large, so upload it to, for
> example, paste.debian.net, rather than attaching it to your email.
> 

cd to encfs mout point

cd ../pcbackup_decrypt/

touch 123
touch: cannot touch `123': Permission denied

log from strace

=
13184 read(4, 
"8\0\0\0\3\0\0\0\253\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\350\3\0\0\350\3\0\0"..., 
135168) = 56
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 writev(4, [{"x\0\0\0\0\0\0\0\253\0\0\0\0\0\0\0", 16}, 
{"\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0"..., 104}], 
2) = 120
13184 read(4, 
"8\0\0\0\3\0\0\0\254\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\350\3\0\0\350\3\0\0"..., 
135168) = 56
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 writev(4, [{"x\0\0\0\0\0\0\0\254\0\0\0\0\0\0\0", 16}, 
{"\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0"..., 104}], 
2) = 120
13184 read(4, 
"8\0\0\0\3\0\0\0\255\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\350\3\0\0\350\3\0\0"..., 
135168) = 56
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 writev(4, [{"x\0\0\0\0\0\0\0\255\0\0\0\0\0\0\0", 16}, 
{"\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0"..., 104}], 
2) = 120
13184 read(4, 
"8\0\0\0\3\0\0\0\256\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\350\3\0\0\350\3\0\0"..., 
135168) = 56
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 writev(4, [{"x\0\0\0\0\0\0\0\256\0\0\0\0\0\0\0", 16}, 
{"\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0"..., 104}], 
2) = 120
13184 read(4, 
"8\0\0\0\3\0\0\0\257\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\350\3\0\0\350\3\0\0"..., 
135168) = 56
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 writev(4, [{"x\0\0\0\0\0\0\0\257\0\0\0\0\0\0\0", 16}, 
{"\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0"..., 104}], 
2) = 120
13184 read(4, 
"8\0\0\0\3\0\0\0\260\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\350\3\0\0\350\3\0\0"..., 
135168) = 56
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 writev(4, [{"x\0\0\0\0\0\0\0\260\0\0\0\0\0\0\0", 16}, 
{"\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0"..., 104}], 
2) = 120
13184 read(4, 
"8\0\0\0\3\0\0\0\261\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\350\3\0\0\350\3\0\0"..., 
135168) = 56
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 writev(4, [{"x\0\0\0\0\0\0\0\261\0\0\0\0\0\0\0", 16}, 
{"\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0"..., 104}], 
2) = 120
13184 read(4, 
"8\0\0\0\3\0\0\0\262\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\350\3\0\0\350\3\0\0"..., 
135168) = 56
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 lstat("/tmp/pcbackup_encrypt/", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
13184 writev(4, [{"x\0\0\0\0\0\0\0\262\0\0\0\0\0\0\0", 16}, 
{"\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\20\0\0\0\0\0\0"..., 104}], 
2) = 120
13184 read(4, 
",\0\0\0\1\0\0\0\263\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\350\3\0\0\350\3\0\0"..., 
135168) = 44
13184 lstat("/tmp/pcbackup_encrypt/SqUeX,,Q7SGt21hq7ByV-Zvc", 0x7fff5fd26eb0) = 
-1 ENOENT (No such file or directory)
13184 lstat("/tmp/pcbackup_encrypt/SqUeX,,Q7SGt21hq7ByV-Zvc", 0x7fff5fd27190) = 
-1 ENOENT (No such file 

Re: screensaver recommendation

2012-11-22 Thread lina

On 23 Nov, 2012, at 12:02, Tony Baldwin  wrote:

> On Thu, Nov 22, 2012 at 10:58:52PM -0500, Tony Baldwin wrote:
>> On Fri, Nov 23, 2012 at 11:42:33AM +0800, lina wrote:
>>> Hi,
>>> 
>>> I wish to have a screensaver.
>>> 
>>> Thanks ahead for recommendation.
>>> 
>>> 
>>> 
>>> xscreensaver doesn't work for me cause it won't recognize the password
>>> due to I use the dovrak layout. To me, seems the reboot is the only resort.
>> 
>> If you just want the screen to lock, or if that, at least, is useful to
>> you, perhaps you should look at slock, xlock, or xlockmore.
> Seems the only one of these currently in our repos is slock,

Thanks Tony,

After $slock

How can I unlock?


> which comes with suckless-tools.
> I think it used to be part of dwm-tools, or something.
> The suckless folks brought us great stuff like dwm and wmii window
> managers. Good stuff.
> 
> ./tony
> -- 
> http://www.tonybaldwin.me
> all tony, all the time!
> 3F330C6E


--
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/dce18c72-e908-41f0-a6b7-89e90290d...@gmail.com



Re: screensaver recommendation

2012-11-22 Thread Tony Baldwin
On Thu, Nov 22, 2012 at 10:58:52PM -0500, Tony Baldwin wrote:
> On Fri, Nov 23, 2012 at 11:42:33AM +0800, lina wrote:
> > Hi,
> > 
> > I wish to have a screensaver.
> > 
> > Thanks ahead for recommendation.
> > 
> > 
> > 
> > xscreensaver doesn't work for me cause it won't recognize the password
> > due to I use the dovrak layout. To me, seems the reboot is the only resort.
> > 
> 
> If you just want the screen to lock, or if that, at least, is useful to
> you, perhaps you should look at slock, xlock, or xlockmore.
> 
Seems the only one of these currently in our repos is slock,
which comes with suckless-tools.
I think it used to be part of dwm-tools, or something.
The suckless folks brought us great stuff like dwm and wmii window
managers. Good stuff.

./tony
-- 
http://www.tonybaldwin.me
all tony, all the time!
3F330C6E


signature.asc
Description: Digital signature


Re: Guide / Tools

2012-11-22 Thread Tony Baldwin
On Thu, Nov 22, 2012 at 10:36:41PM -0500, Tony Baldwin wrote:
> On Thu, Nov 22, 2012 at 10:56:07AM -0800, Gary Roach wrote:
> > On 11/21/2012 06:02 AM, Hugo Vanwoerkom wrote:
> > >Crypticmofo wrote:
> > >>Hello
> > >>
> > >>I'm new to debian and i hang out in the irc channels .. i realize
> > >>that irc is there really for support so i wanted to take my question
> > >>here ..
> > >>
> > >> From the more exprienced Debian users can you guys paste or post a
> > >>list of the most common commands that you use
> While I do not find a comprehensive wiki with anything like a full
> listing of possible bash shell command line tools, I did find these very
> useful items: 
> 

Or, doh...why didn't I think of this one:
Bash Reference Manual
http://www.gnu.org/software/bash/manual/bashref.html

-- 
http://www.tonybaldwin.me
all tony, all the time!
3F330C6E


signature.asc
Description: Digital signature


Re: screensaver recommendation

2012-11-22 Thread Tony Baldwin
On Fri, Nov 23, 2012 at 11:42:33AM +0800, lina wrote:
> Hi,
> 
> I wish to have a screensaver.
> 
> Thanks ahead for recommendation.
> 
> 
> 
> xscreensaver doesn't work for me cause it won't recognize the password
> due to I use the dovrak layout. To me, seems the reboot is the only resort.
> 

If you just want the screen to lock, or if that, at least, is useful to
you, perhaps you should look at slock, xlock, or xlockmore.

I don't know if the dvorak layout will have any bearing on how they
work.
I usually use slock on my laptop and must map it to Mod1+x to lock the
screen if I walk away from it. (I have xscreensaver set up that way, and
with the timed lock feature on my desktop).
Slock just blanks the screen and locks it.
It unlocks when you enter the password of the logged in user, but it
doesn't even give a prompt.  Quite useful.

Tony
-- 
http://www.tonybaldwin.me
all tony, all the time!
3F330C6E


signature.asc
Description: Digital signature


Re: encfs over sshfs suffering with permission problem

2012-11-22 Thread Kushal Kumaran
"J. B"  writes:

> Dear list,
>
> My non admin user is added to the fuse group. restarted the box.
>
> I have mounted a remote folder within my local box using sshfs and then
> successfully created encfs over it and also copied some files into that
> folder. After that I have "fusermount -u" the encfs and then sshfs.
>
> Next time I have mounted that remote encrypted folder over sshfs,
> but the encfs mount point is empty !!! though sshfs mount point
> shows  .encfs file. 
>
> whenever I try to copy file at encfs mount point; it gives "permission 
> denied" error,
> What might be the problem with encfs then ?
>
> Also tried with other_user with encfs but no success :-(
>

1. Ensure both encfs and sshfs are running as you, not root or any other
user.

2. Check for I/O errors both on the local box and the remote box (run
dmesg and look for suspicious logs).

3. Verify that you are able to create, delete and rename files on the
sshfs mountpoint directly.  Verify that newly-created files are writable
by you.

4. After mounting using sshfs and encfs, attach strace to the encfs
process (run strace -p  -o ~/encfs.log -f), and try to create
a single file in the sshfs mountpoint (presumably this fails).  Then
detach the strace (C-c in that shell), and examine encfs.log for
permission errors (EPERM).  If you do not understand the log, reply back
with a link to the log.  The log might be large, so upload it to, for
example, paste.debian.net, rather than attaching it to your email.

-- 
regards,
kushal


-- 
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/50aef462.88c5440a.166c.f...@mx.google.com



screensaver recommendation

2012-11-22 Thread lina
Hi,

I wish to have a screensaver.

Thanks ahead for recommendation.


Below are some background info.:

lightdm install
lightdm-gtk-greeter install
xfce4   install
xfce4-panel install
xfce4-session   install
xfce4-settings  install

xscreensaver doesn't work for me cause it won't recognize the password
due to I use the dovrak layout. To me, seems the reboot is the only resort.

Here is the partial content of  xorg.conf.dovrak under /etc/X11/xorg.conf.d

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" "dvorak"
Option "XkbOptions" "grp:shift_toggle,ctrl:swapcaps,ctrl:nocaps"
EndSection


Best regards,


-- 
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/50aef0a9.2090...@gmail.com



Re: Guide / Tools

2012-11-22 Thread Tony Baldwin
On Thu, Nov 22, 2012 at 10:56:07AM -0800, Gary Roach wrote:
> On 11/21/2012 06:02 AM, Hugo Vanwoerkom wrote:
> >Crypticmofo wrote:
> >>Hello
> >>
> >>I'm new to debian and i hang out in the irc channels .. i realize
> >>that irc is there really for support so i wanted to take my question
> >>here ..
> >>
> >> From the more exprienced Debian users can you guys paste or post a
> >>list of the most common commands that you use
> >>
> >>I already know of the docs like
> >>
> >>debian-handbook
> >>debian-kernel-handbook
> >>debian-refernce
> >>apt-common
> >>
> >>And yes most of the manpages
> >>
> >>What i really want are real life uses everyday ie.. do you use a lot
> >>of dpkg commands do you use  a lot of apt or aptitude commands everday
> >>
> >>Also .. in your experience what are good handy tools we should have
> >>and learn that are a must to be able to navigate / use Debian
> >>
> >
> >still for me:
> >
> >mc (in a text VT)
> >
> >Hugo

I recommend learning vim (http://www.vim.org)
Grep and sed are both immensely useful, as is find...there are, indeed,
many.

While I do not find a comprehensive wiki with anything like a full
listing of possible bash shell command line tools, I did find these very
useful items: 


Advanced Bash Scripting Guide:
http://www.tldp.org/LDP/abs/html/index.html
bash hackers wiki: http://wiki.bash-hackers.org/doku.php
Linux for Newbies/Command Line:
https://en.wikibooks.org/wiki/Linux_For_Newbies/Command_Line
Linux Command Line Basics:
http://www.cs.wmich.edu/wiki/index.php/Linux_Command_Line_Basics
Linux Guide/Linux Commands:
https://en.wikibooks.org/wiki/Linux_Guide/Linux_commands
Linux Guide/Using the shell:
https://en.wikibooks.org/wiki/Linux_Guide/Using_the_shell

I could very easily set up another dokuwiki on one of my servers
somewhere for cli wiki, but, with so many already started and not
complete on the internet, I have no illusions that anything I start
would ever become comprehensive or the go-to guide.

Also, follow this person on identi.ca:
https://identi.ca/climagic
Their site: http://suso.suso.org/xulu/Command_Line_Magic


./tony
-- 
http://www.tonybaldwin.me
all tony, all the time!
3F330C6E


signature.asc
Description: Digital signature


Re: Can Debian's paranoia be tamed

2012-11-22 Thread John Hasler
Richard Owlett writes:
> I suspect I'm looking more for a display manager than a desktop
> environment.

You don't mean a display manager: that's GDM, XDM, etc
.  You mean a window
manager such as FVWM, etc .

> I'm beginning to think the line between them can at times be blurry.

Display managers, and particularly window managers and desktop
environments  are
often confounded.  A window manager is a component of a desktop
environment.  Decent desktop environments allow you to use the window
manager of your choice.

-- 
John Hasler


-- 
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/87fw412gfv@thumper.dhh.gt.org



Re: Can Debian's paranoia be tamed

2012-11-22 Thread Richard Owlett

berenger.mo...@neutralite.org wrote:

Remove gdm, and put in the file "/root/.bash_profile"
following lines:
===
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ];then
 startx
fi
===
To have a auto-login, you can also modify "/etc/inittab" and
replace a "/sbin/getty" by "/bin/sh".
The better with those solutions is the removal of a useless
software.


That is reason I'm learning Debian instead of Ubuntu.
I'm exploring just how many undesired I get with any flavor 
of Gnome. I suspect I'm looking more for a display manager 
than a desktop environment. I'm beginning to think the line 
between them can at times be blurry.



The problem is that you will not have a shiny
background while you are not logged in.


No problem. I'm of the CPM-80 era.



Of course, you asked for a very unsecure trick, do that at
your own risk if someone or yourself in another state (say,
after a nice night with friends and beers ;)) can access
physically your computer... but you said it was not the case.
And, seriously, windows users do that by default and their
computers works not so bad.

Le 22.11.2012 18:00, Richard Owlett a écrit :

I've a laptop whose *SOLE* purpose in life is to be used
in a manner
that a even I would never do on a machine with real data
on it.
It has intrinsically the best security in place
  Only _*I*_ have physical access to the machine.
  It has no possibility of connecting to the internet.
  It will *never* be updated.
  The installation CD lives in the drive, for various
reasons the
hard drive is wiped and reinstall done 2-3 times per week.

When I boot I want to do *ANYTHING*!
HOW?

{Owl now ducks for cover from incoming brick-a-brac ;}






--
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/50aecc33.5000...@cloud85.net



Re: Wheezy, XFCE: system shutdown

2012-11-22 Thread Brian
On Thu 22 Nov 2012 at 23:18:21 +0100, Hartwig Atrops wrote:

> Any idea? XFCE configuration or window manager? I use XDM on this machine. 
> The 
> Sun with Squeeze is running KDM.

XDM does not co-operate with consolekit.

Search the list archives at

   http://lists.debian.org/

using 'xdm', 'xfce' and 'policykit'.


-- 
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/20121123005721.GP6794@desktop



Re: Can Debian's paranoia be tamed

2012-11-22 Thread Richard Owlett

green wrote:

Richard Owlett wrote at 2012-11-22 11:00 -0600:

   The installation CD lives in the drive, for various reasons the
hard drive is wiped and reinstall done 2-3 times per week.

When I boot I want to do *ANYTHING*!
HOW?


Use grml instead?



Not looking for a "live" system. I'm only looking to "tame" 
Debian until I know all its possibilities. "Security" in 
itself is good/necessary but not "automagic" that tries to 
out think the user.





--
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/50aec55d.3080...@cloud85.net



Re: Can Debian's paranoia be tamed

2012-11-22 Thread Richard Owlett

Tom Grace wrote:

On 22/11/12 18:06, Richard Owlett wrote:


Effectively that's what I want.
BUT neither 'root' nor 'superuser' is recognized by Gnome login screen :<


Presuming you're using GDM, maybe this will help you out?
http://projects.gnome.org/gdm/docs/2.14/configuration.html#securitysection

You could even get it to auto login if you want.




That documentation is for version 2.14.0. I have 3.30.6 
installed. I now know what to read tomorrow ;)
It may not be current, but it may get me asking "right" 
questions.

Thanks.


--
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/50aec288.8010...@cloud85.net



Re: Can Debian's paranoia be tamed

2012-11-22 Thread Miles Fidelman

MPR wrote:

On Thu, Nov 22, 2012 at 10:06 AM, Richard Owlett  wrote:

Darac Marjal wrote:

Log in as root?

Effectively that's what I want.
BUT neither 'root' nor 'superuser' is recognized by Gnome login screen :<

Edit /etc/passwd and change the UID and GID for your login to 0 (which
effectively makes you root). Then "chown -R root:root /home/username"
to your home directory. Now you can log in with your username but you
will be root.


you might try using expert mode when installing, and then answering yes 
when the installer asks about enabling root login, or.. google "debian 
enable root login" and you'll find multiple ways to enable root login 
after the fact (note: it's a good idea to disable remote telnet login 
before doing so; maybe install ssh if you want remote access)


--
In theory, there is no difference between theory and practice.
In practice, there is.    Yogi Berra


--
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/50aebbe9.8030...@meetinghouse.net



Re: Can Debian's paranoia be tamed

2012-11-22 Thread MPR
On Thu, Nov 22, 2012 at 10:06 AM, Richard Owlett  wrote:
> Darac Marjal wrote:
>>
>> Log in as root?
>
> Effectively that's what I want.
> BUT neither 'root' nor 'superuser' is recognized by Gnome login screen :<

Edit /etc/passwd and change the UID and GID for your login to 0 (which
effectively makes you root). Then "chown -R root:root /home/username"
to your home directory. Now you can log in with your username but you
will be root.


-- 
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/can3v7bqrjcwxbhsctkiyktvcie7faszz8lrulytythz2psm...@mail.gmail.com



Adding a new Raid-1 array to a LVM partition

2012-11-22 Thread James Allsopp

Hi,
Originally set my Debian system up on a raid array (raid 1 made up of 
2x1Tb drives) containing four logical volumes, containing the following 
ext4 partitions. /boot is ext3 and separate, and swap is one partition 
on each drive.


/dev/mapper/VolGroup-LogVol00 /
/dev/mapper/VolGroup-LogVol01 /tmp
/dev/mapper/VolGroup-LogVol02 /var
/dev/mapper/VolGroup-LogVol03 /home


# pvdisplay
  --- Physical volume ---
  PV Name   /dev/md0
  VG Name   VolGroup
  PV Size   927.50 GiB / not usable 768.00 KiB
  Allocatable   yes
  PE Size   4.00 MiB
  Total PE  237439
  Free PE   23689
  Allocated PE  213750
  PV UUID   vYmhhF-z0xf-QqGy-wYyZ-8IS2-bcRB-GlwfGa


# vgdisplay
  --- Volume group ---
  VG Name   VolGroup
  System ID
  Formatlvm2
  Metadata Areas1
  Metadata Sequence No  5
  VG Access read/write
  VG Status resizable
  MAX LV0
  Cur LV4
  Open LV   4
  Max PV0
  Cur PV1
  Act PV1
  VG Size   927.50 GiB
  PE Size   4.00 MiB
  Total PE  237439
  Alloc PE / Size   213750 / 834.96 GiB
  Free  PE / Size   23689 / 92.54 GiB
  VG UUID   NhgEud-Mlip-Es6n-E4Bj-U8FU-7Rxx-2tkAVs
lvdisplay
  --- Logical volume ---
  LV Name/dev/VolGroup/LogVol01
  VG NameVolGroup
  LV UUIDwBchCi-lEZr-ML4C-2o6d-Oh1W-4Lh1-5glhQH
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size9.77 GiB
  Current LE 2500
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:1

  --- Logical volume ---
  LV Name/dev/VolGroup/LogVol00
  VG NameVolGroup
  LV UUIDD4DPyJ-yTBC-Lnk8-qq2m-gBt7-WZ6C-v1h6M3
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size34.18 GiB
  Current LE 8750
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:0

  --- Logical volume ---
  LV Name/dev/VolGroup/LogVol03
  VG NameVolGroup
  LV UUIDZKD1dH-8qAF-ZrEC-faHL-goeU-KJoZ-9i62PK
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size781.25 GiB
  Current LE 20
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:2

  --- Logical volume ---
  LV Name/dev/VolGroup/LogVol02
  VG NameVolGroup
  LV UUIDPzHuVd-Mo6A-yu5x-uNC6-IuwB-V3K4-N5KsAa
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size9.77 GiB
  Current LE 2500
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:3




There's only one physical volume, on md0 and one volume group.

I've filled my /home so I've bought two 2TB drives and I want to make 
them into a raid array and add this to VolGroup-LogVol03. I was 
wondering if someone could check this to see if this is the right plan.


Create the raid array:
mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sd[de]1

Create a physical volume on it
pvcreate /dev/md1

Extend the volume group
vgextend VolGroup /dev/md1

Extend the logical partition
lvextend /dev/VolGroup/LogVol03 -l +[large number]

Check the partition.
e2fsck -f /dev/VolGroup/LogVol03

Resize the filessystem.
resize2fs /dev/VolGroup/LogVol03

Should this work? Thanks
James


--
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/50aeb1bc.1060...@googlemail.com



Re: Thunderbird not working with Dovecot

2012-11-22 Thread Jochen Spieker
David Guntner:
> Jochen Spieker grabbed a keyboard and wrote:
>> 
>> https://support.mayfirst.org/wiki/speedup_thunderbird_imap
> 
> Well, unless I'm looking at the wrong setting, I've got it configured
> for 1.  "Maximum number of connections to cache" in Advanced settings
> for the server is currently set to 1.  If there's a different setting
> controlling that, please let me know and I'll check it.

No, that should be it.

>> What did you use before Dovecot? A different IMAP server? Which one?
> 
> I'm a Mandriva refugee, newly arrived to Debian. :-)  I was using a
> package that Mandriva didn't even include in the last couple of
> releases, which was called something like "2006k".

Ah, that was probably uw-imap which appears to be pretty much dead:

http://www.washington.edu/imap/

> Ok, I've just set "auth_debug = yes" - hopefully that will provide some
> clues.

Unfortunately, it doesn't.

   imap_client_workarounds = tb-extra-mailbox-sep
>>> 
>>> What they're describing doesn't seem related to the particular problem
>>> that *I'm* having, but I figured it couldn't hurt to put it in place.
>> 
>> ACK.
> 
> Is that your way of saying that I should turn that back off? :-)

No, I meant to say that I agree that it is unrelated but probably
doesn't hurt.

For further analysis, you can follow Dovecot's instructions. They even
have a separate page for TB:

http://wiki.dovecot.org/Debugging/Thunderbird

You can also try to upgrade to the backport[1] of Dovecot 2.1. Beware
that this upgrade involves the migration to conf.d-style configuration
files. But as I understand, you didn't have to tweak many things in the
original dovecot.conf anyway.

If this still doesn't help you might want to either ask the TB devs or
on the Dovecot mailing list. The latter is probably more promising, but
I am not sure whether version 1.2 is still supported in some way.

J.

[1]: http://wiki.debian.org/Backports

-- 
I hate myself but have no clear idea why.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Can Debian's paranoia be tamed

2012-11-22 Thread Andrew M.A. Cater
On Thu, Nov 22, 2012 at 10:30:54PM +0100, berenger.mo...@neutralite.org wrote:
> Remove gdm, and put in the file "/root/.bash_profile" following lines:
> ===
> if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ];then
>   startx
> fi
> ===
> To have a auto-login, you can also modify "/etc/inittab" and replace
> a "/sbin/getty" by "/bin/sh".
> The better with those solutions is the removal of a useless
> software. The problem is that you will not have a shiny background
> while you are not logged in.
> 
> Of course, you asked for a very unsecure trick, do that at your own
> risk if someone or yourself in another state (say, after a nice
> night with friends and beers ;)) can access physically your
> computer... but you said it was not the case.
> And, seriously, windows users do that by default and their computers
> works not so bad.
> 
> Le 22.11.2012 18:00, Richard Owlett a écrit :
> >I've a laptop whose *SOLE* purpose in life is to be used in a manner
> >that a even I would never do on a machine with real data on it.
> >It has intrinsically the best security in place
> >  Only _*I*_ have physical access to the machine.
> >  It has no possibility of connecting to the internet.
> >  It will *never* be updated.
> >  The installation CD lives in the drive, for various reasons the
> >hard drive is wiped and reinstall done 2-3 times per week.
> >
> >When I boot I want to do *ANYTHING*!
> >HOW?
> >
> >{Owl now ducks for cover from incoming brick-a-brac ;}
> 
> 
> -- 
> 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/bd643219ceb49b94ab1d615a37cdc...@neutralite.org

/etc/kde4/kdmrc or the equivalent for gdm3 - there should be an option for

AllowRootLogin = false

Change to AllowRootLogin = true

and you should be fine.

AndyC


--
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/2012110205.ga6...@galactic.demon.co.uk



Re: [Fwd: [D-community-offtopic] Outrageous sexism - dump questions - carbon copy - ignoring hidden ids - HTML - top posting - brainstorming - etc.]

2012-11-22 Thread Mike McClain
On Thu, Nov 22, 2012 at 12:14:19PM +0100, Ralf Mardorf wrote:

>
> All off-topic is caused by people who feel offended by harmless jokes,
> breaking threads, asking the wrong questions, carbon copy, brainstorming
> etc., not by the people who make harmless jokes, are breaking threads,
> asking the wrong questions, carbon copy, brainstorm etc..

Perhaps you should re-examine your assumption that offensive behavior
is harmless as well as the assumption that 'people who make harmless
jokes, ...' are not responsible for the responses.
Mike
--
People hardly ever make use of the freedom they have,
for example, freedom of thought;
instead they demand freedom of speech as a compensation.
- Soren Kierkegaard


-- 
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/20121122204943.GC24102@playground



Re: Wheezy, XFCE: system shutdown

2012-11-22 Thread Hartwig Atrops
On Monday 19 November 2012 23:52:13 Go Linux wrote:
> --- On Mon, 11/19/12, Hartwig Atrops  wrote:
> > From: Hartwig Atrops 
> > Subject: Re: Wheezy, XFCE: system shutdown
> > To: debian-user@lists.debian.org
> > Date: Monday, November 19, 2012, 3:03 PM
> > On Monday 19 November 2012 20:05:15
> >
> > Go Linux wrote:
> > > --- On Mon, 11/19/12, Nate Bargmann 
> >
> > wrote:
> > > > From: Nate Bargmann 
> > > > Subject: Re: Wheezy, XFCE: system shutdown
> > > > To: debian-user@lists.debian.org
> > > > Date: Monday, November 19, 2012, 12:51 PM
> > > > * On 2012 19 Nov 12:46 -0600, Hartwig
> > > >
> > > > Atrops wrote:
> > > > > xfce4-power-mangager was missing, but
> >
> > installing it did
> >
> > > > not solve the problem.
> > > >
> > > > > group settings: there is no group named
> >
> > *power* or
> >
> > > > similar. What would be the
> > > >
> > > > > rigth group configuration?
> > > >
> > > > My user is in the powerdev group.  I get even
> >
> > the
> >
> > > > Suspend and Hibernate
> > > > buttons on this desktop machine even though I
> >
> > don't use
> >
> > > > them.
> > > >
> > > > $ cat /etc/group | grep power
> > > > powerdev:x:115:username
> > >
> > > I'm on gnome squeeze right now, am NOT in the powerdev
> >
> > group and still have
> >
> > > working hibernate suspend.  Will check xfce wheezy
> >
> > groups in a bit.
> >
> > Hmm...
> >
> > I have a Squeeze / XFCE installation running on a Sun Blade
> > 100 (Debian
> > Sparc), the buttons are all there and are usable.
> >
> > Groups:
> >
> > root@PEKING:~# grep power /etc/group
> > powerdev:x:110:
> >
> > i.e. group exists, but no users in it
> >
> > Shutdown works anyway.
> >
> > Regards,
> >
> >    Hartwig
>
> OK.  Now on refracta wheezy xfce. There isn't even a powerdev group listed
> and all five shutdown options are present and functioning.
>
> In addition to pm-utils and xfce4-power-manager, I have upower and
> libupower-glib1 installed.  You might also look at acpi-support.  Though
> it's not installed here, your hardware might need it.

Ok. upower and libupower-glib1 were already there. I installed acpi-support, 
but no change.

On my Wheezy / XFCE installation, graphical root login is not blocked - I did 
not expect that. When I login as root, the XFCE logout dialog presents two 
additional buttons (hibernate + ?), and the shutdown button is functional.

So I think, it's a configuration problem.

Any idea? XFCE configuration or window manager? I use XDM on this machine. The 
Sun with Squeeze is running KDM.

Thanks,

   Hartwig



--
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/201211222318.22012.hartwig.atr...@arcor.de



Re: Outrageous sexism. Was: Re: Mail client, threads, etc...

2012-11-22 Thread berenger . morel



Le 22.11.2012 22:07, Beco a écrit :
On Wed, Nov 21, 2012 at 7:28 PM, François TOURDE  
wrote:

Le 15665ième jour après Epoch,
Lisi Reisz écrivait:


On Wednesday 21 November 2012 16:55:22 Beco wrote:
Use of smiley face should point this was just a joke. As we can 
see in

this first use in 1982:


That is what is so very offensive.  He thinks that being so rude 
about just

over half of the population is _funny_. As apparently do you.


Yes, me too. Because I'm a french native, I consider joking is a 
good

way to avoid the toxic "politically correct" way of life.

Please, Lisi, could you put me on your "kill-file", because there is
chances that I post jokes sometimes.

Thanks in advance.



François,

I was proud to be one of many who visited France and came back 
without

liking a single Frenchman.
Now you ruined it!

Regards,
Beco

PS. If your english is as bad as mine, maybe you don't understand 
what

I mean, or maybe I wrote something that mean other than what I want
you to understand. In any case, get over it. I'll not explain a 
comma.

(Alas, it took a Frenchman to ruin it!)


Hey, it is very outrageous for my compatriots, you know? I'm 
obfuscated... err... no, that's not the good word... damn!



--
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/511a08b32f5fb2f7fdb8ec86389f9...@neutralite.org



Re: Can Debian's paranoia be tamed

2012-11-22 Thread berenger . morel

Remove gdm, and put in the file "/root/.bash_profile" following lines:
===
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ];then
startx
fi
===
To have a auto-login, you can also modify "/etc/inittab" and replace a 
"/sbin/getty" by "/bin/sh".
The better with those solutions is the removal of a useless software. 
The problem is that you will not have a shiny background while you are 
not logged in.


Of course, you asked for a very unsecure trick, do that at your own 
risk if someone or yourself in another state (say, after a nice night 
with friends and beers ;)) can access physically your computer... but 
you said it was not the case.
And, seriously, windows users do that by default and their computers 
works not so bad.


Le 22.11.2012 18:00, Richard Owlett a écrit :

I've a laptop whose *SOLE* purpose in life is to be used in a manner
that a even I would never do on a machine with real data on it.
It has intrinsically the best security in place
  Only _*I*_ have physical access to the machine.
  It has no possibility of connecting to the internet.
  It will *never* be updated.
  The installation CD lives in the drive, for various reasons the
hard drive is wiped and reinstall done 2-3 times per week.

When I boot I want to do *ANYTHING*!
HOW?

{Owl now ducks for cover from incoming brick-a-brac ;}



--
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/bd643219ceb49b94ab1d615a37cdc...@neutralite.org



Re: dbus and power management

2012-11-22 Thread Michael Soulier
On 2012-11-20, at 9:37 AM, Michael Biebl  wrote:

> org.freedesktop.UPower provided by upower
> 
> http://upower.freedesktop.org/
> http://upower.freedesktop.org/docs/

Thanks, this works now.

http://www.but-i-digress.ca/suspend-on-lid-close-debian-squeeze.html


-- 
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/1c26e23b-93da-4ec3-8ad5-abad244b5...@digitaltorque.ca



Re: Outrageous sexism. Was: Re: Mail client, threads, etc...

2012-11-22 Thread Beco
On Wed, Nov 21, 2012 at 7:28 PM, François TOURDE  wrote:
> Le 15665ième jour après Epoch,
> Lisi Reisz écrivait:
>
>> On Wednesday 21 November 2012 16:55:22 Beco wrote:
>>> Use of smiley face should point this was just a joke. As we can see in
>>> this first use in 1982:
>>
>> That is what is so very offensive.  He thinks that being so rude about just
>> over half of the population is _funny_. As apparently do you.
>
> Yes, me too. Because I'm a french native, I consider joking is a good
> way to avoid the toxic "politically correct" way of life.
>
> Please, Lisi, could you put me on your "kill-file", because there is
> chances that I post jokes sometimes.
>
> Thanks in advance.
>

François,

I was proud to be one of many who visited France and came back without
liking a single Frenchman.
Now you ruined it!

Regards,
Beco

PS. If your english is as bad as mine, maybe you don't understand what
I mean, or maybe I wrote something that mean other than what I want
you to understand. In any case, get over it. I'll not explain a comma.
(Alas, it took a Frenchman to ruin it!)




-- 
Dr Beco
A.I. researcher

--> . <--

"Look again at that dot. That's here. That's home. That's us. On it
everyone you love, everyone you know..." (Carl Sagan, 1934-1996)


--
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/caluyw2z-zp0vadouwmusei-ozpzy+35wbppypgvmuhv2v5p...@mail.gmail.com



Re: Question about deb versioning

2012-11-22 Thread Sven Joachim
On 2012-11-22 21:38 +0100, Pedro Eugênio Rocha wrote:

> Here's the apt's output:
>
> # LC_MESSAGES=C apt-get install acesso
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  acesso : Depends: libapache2-mod-passenger (>= 2.2.3) but it is not going
> to be installed

That's a typical totally useless apt message, it never tells _why_ it
won't install something.

> E: Broken packages
>
> # LC_MESSAGES=C apt-cache show acesso | grep Depends
> Depends: memcached, libapache2-mod-passenger (>=2.2.3)
>
>
> It's most probably a packaging mistake in our custom
> package, but I just can't figure why.

Try "aptitude -s install acesso" (you don't have to be root for that),
and look what solutions, if any, aptitude proposes.  There is a prompt
("Accept this solution? [Y/n/q/?]") at the end, if you press "n",
aptitude tries to find another solution.

Cheers,
   Sven


--
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/87a9u9pcwb@turtle.gmx.de



Re: Question about deb versioning

2012-11-22 Thread Pedro Eugênio Rocha
On Thu, Nov 22, 2012 at 6:25 PM, Sven Joachim  wrote:

>
> Please copy and paste the exact error messages (with LC_MESSAGES=C).
>

Here's the apt's output:

# LC_MESSAGES=C apt-get install acesso
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 acesso : Depends: libapache2-mod-passenger (>= 2.2.3) but it is not going
to be installed
E: Broken packages

# LC_MESSAGES=C apt-cache show acesso | grep Depends
Depends: memcached, libapache2-mod-passenger (>=2.2.3)


It's most probably a packaging mistake in our custom
package, but I just can't figure why.


Thanks


> Cheers,
>Sven
>
>
> --
> 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/87haohpepw@turtle.gmx.de
>
>


-- 
Pedro Eugênio Rocha


Re: Question about deb versioning

2012-11-22 Thread Sven Joachim
On 2012-11-22 21:10 +0100, Pedro Eugênio Rocha wrote:

> I'm trying to install a custom deb package that depends
> on libapache2-mod-passenger (>= 2.2.3) on a fresh debian squeeze, but apt
> is reporting errors. I found that the current version of the package on
> squeeze is 2.2.11debian-2, what should be enough to meet the dependency, I
> suppose.

Indeed that should be sufficient.

> Is deb versioning system assuming that 2.2.11debian-2 is less than 2.2.3?

No, it is not that broken.

> Would the best way to solve this problem be changing the dependency to (>=
> 2.2.3debian) ?

No, this is almost surely not going to help.

> Any hints would be appreciated.

Please copy and paste the exact error messages (with LC_MESSAGES=C).

Cheers,
   Sven


--
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/87haohpepw@turtle.gmx.de



Question about deb versioning

2012-11-22 Thread Pedro Eugênio Rocha
Hi guys,

I'm trying to install a custom deb package that depends
on libapache2-mod-passenger (>= 2.2.3) on a fresh debian squeeze, but apt
is reporting errors. I found that the current version of the package on
squeeze is 2.2.11debian-2, what should be enough to meet the dependency, I
suppose.

Is deb versioning system assuming that 2.2.11debian-2 is less than 2.2.3?
Would the best way to solve this problem be changing the dependency to (>=
2.2.3debian) ?

Any hints would be appreciated.


Thanks,

-- 
Pedro Eugênio Rocha


Re: Guide / Tools

2012-11-22 Thread Gary Roach

On 11/21/2012 06:02 AM, Hugo Vanwoerkom wrote:

Crypticmofo wrote:

Hello

I'm new to debian and i hang out in the irc channels .. i realize
that irc is there really for support so i wanted to take my question
here ..

 From the more exprienced Debian users can you guys paste or post a
list of the most common commands that you use

I already know of the docs like

debian-handbook
debian-kernel-handbook
debian-refernce
apt-common

And yes most of the manpages

What i really want are real life uses everyday ie.. do you use a lot
of dpkg commands do you use  a lot of apt or aptitude commands everday

Also .. in your experience what are good handy tools we should have
and learn that are a must to be able to navigate / use Debian



still for me:

mc (in a text VT)

Hugo



I sent this before but it never showed up on the list. So:

This whole thread points out a major problem with using Linux. There is 
no comprehensive, cross referenced, command dictionary anywhere. I have 
a C programming reference that was written by Kernegian and Ritchy way 
back when, which referenced the C commands by function, that I used to 
live by. We need something like this for the Linux / Unix community. I 
think a properly architectured WIKI would be a wonderful idea. 
Unfortunately I don't feel I have the knowledge necessary to start one. 
As an example, if I look up 'System Maintenance' I should get a sub list 
of Aptitude, dpkg, apt-get etc, with a quick blurb on each. A newbe 
could then make a choice of which package the wish to try. I've been 
using Debian linux for over 15 years and am still finding commands that 
are useful. The worst part is that I am loosing commands at about the 
same rate because of only occasional use. It is really frustrating when 
you know there is a command that you used 2 years ago that is exactly 
what you need but can't remember its name.


Gary R.


--
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/50ad37cc.1070...@verizon.net



--
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/50ae7547.8030...@verizon.net



Re: Can't fix doc-base installation problem (DONE)

2012-11-22 Thread Gary Roach

On 11/22/2012 03:46 AM, Tom Furie wrote:

On Wed, Nov 21, 2012 at 04:19:28PM -0800, Gary Roach wrote:

   

root@mycomputer:/etc/doc-base# aptitude reinstall doc-base

It seems that some files are missing (install-docs?) but I can't
determine what they  are or where they are. Some help, plese.
 

Install-docs belongs to package doc-base. Doc-base can't be
re-installed, because it isn't currently installed. What happens when
you run "aptitude install doc-base"?

If that doesn't work, you could try Osamu's advice.

Cheers,
Tom

   
Sorry to have bothered all of you and appreciate your effort. I'm trying 
to restore a system from cold iron and am having difficulty with 
Backuppc's restore functions. I started comparing files with another 
(supposedly identical) system and found all sorts of discrepancies. I'm 
re-formatting and re-installing everything again.


Thanks for your efforts.

Gary R.


--
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/50ae749d.2020...@verizon.net



Re: Can Debian's paranoia be tamed

2012-11-22 Thread Glenn English
A little CLI typing will fix right up that lack of a GUI root login. Sometimes 
it's necessary. A suggestion, though: when you do manage to get root in a GUI, 
make the background a bright, solid red to remind yourself of where you are.

But I'm hoping Debian's paranoia will never go away. I use Debian because of 
what I consider it's (relative) security and reliability. As an admin, I like 
that the software at least tries to keep me from shooting myself in the foot. 

The multi-level releases are a good idea, IMHO. If I want my servers to really 
work, I can use stable. If I want to check out a little more modern (and 
possibly buggy) software, I can use one of the others -- with lots of beta 
testers.

I hope Debian's paranoia is never 'tamed.' As long as there are workarounds 
like startx and su -, and sudo...

-- 
Glenn English





--
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/2244b401-1f86-4a9e-91a5-7db561130...@slsware.com



Re: Can Debian's paranoia be tamed

2012-11-22 Thread Beco
On Thu, Nov 22, 2012 at 3:17 PM, Tom Grace
 wrote:
> On 22/11/12 18:06, Richard Owlett wrote:
>>
>> Effectively that's what I want.
>> BUT neither 'root' nor 'superuser' is recognized by Gnome login screen :<
>
> Presuming you're using GDM, maybe this will help you out?
> http://projects.gnome.org/gdm/docs/2.14/configuration.html#securitysection
>
> You could even get it to auto login if you want.
>
>
> --




Hi there,

In the same subject: my computer is not THAT safe (it has internet and
all), but I recall years ago I could login as root (KDE). Now I can't.

What to change to allow that?

(I know it's a bad idea, no need to say.)


Thanks!
Beco







-- 
Dr Beco
A.I. researcher

--> . <--

"Look again at that dot. That's here. That's home. That's us. On it
everyone you love, everyone you know..." (Carl Sagan, 1934-1996)


-- 
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/caluyw2zpx_l1rjfyq5nukf8tttu81apjjbn8f1evlwnipyb...@mail.gmail.com



Re: Can Debian's paranoia be tamed

2012-11-22 Thread Tom Grace
On 22/11/12 18:06, Richard Owlett wrote:
> 
> Effectively that's what I want.
> BUT neither 'root' nor 'superuser' is recognized by Gnome login screen :<

Presuming you're using GDM, maybe this will help you out?
http://projects.gnome.org/gdm/docs/2.14/configuration.html#securitysection

You could even get it to auto login if you want.


-- 
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/50ae6c57.4070...@deathbycomputers.co.uk



Re: Can Debian's paranoia be tamed

2012-11-22 Thread green
Richard Owlett wrote at 2012-11-22 11:00 -0600:
>   The installation CD lives in the drive, for various reasons the
> hard drive is wiped and reinstall done 2-3 times per week.
> 
> When I boot I want to do *ANYTHING*!
> HOW?

Use grml instead?


signature.asc
Description: Digital signature


Re: Can Debian's paranoia be tamed

2012-11-22 Thread b.g. white
Start without X. Log in as root. Start X
On Nov 22, 2012 11:20 AM, "Darac Marjal"  wrote:

> On Thu, Nov 22, 2012 at 11:00:17AM -0600, Richard Owlett wrote:
> > I've a laptop whose *SOLE* purpose in life is to be used in a manner
> > that a even I would never do on a machine with real data on it.
> > It has intrinsically the best security in place
> >   Only _*I*_ have physical access to the machine.
> >   It has no possibility of connecting to the internet.
> >   It will *never* be updated.
> >   The installation CD lives in the drive, for various reasons the
> > hard drive is wiped and reinstall done 2-3 times per week.
> >
> > When I boot I want to do *ANYTHING*!
> > HOW?
>
> Log in as root?
>
>


Re: Can Debian's paranoia be tamed

2012-11-22 Thread Richard Owlett

Darac Marjal wrote:

On Thu, Nov 22, 2012 at 11:00:17AM -0600, Richard Owlett wrote:

I've a laptop whose *SOLE* purpose in life is to be used in a manner
that a even I would never do on a machine with real data on it.
It has intrinsically the best security in place
   Only _*I*_ have physical access to the machine.
   It has no possibility of connecting to the internet.
   It will *never* be updated.
   The installation CD lives in the drive, for various reasons the
hard drive is wiped and reinstall done 2-3 times per week.

When I boot I want to do *ANYTHING*!
HOW?


Log in as root?



Effectively that's what I want.
BUT neither 'root' nor 'superuser' is recognized by Gnome 
login screen :<


[installed from Debian GNU/Linux 6.0.5 "Squeeze" - Official 
i386 DVD Binary-1 20120512-13:45]





--
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/50ae69ae.90...@cloud85.net



Fresh repository for Chromium browser (Debian stable)

2012-11-22 Thread Georgi Naplatanov

Hi

I'm looking for repository for Chromium browser (something like 
http://mozilla.debian.net/ for Iceweasel) for Debian stable. I looked at 
unofficial Debian repositories page [1], but there is repository for 
Google Chrome only.


Does anybody know Debian repository for Chromium browser with more 
recent versions ( > 20 ) ?


Best regards
Georgi

[1] - http://wiki.debian.org/UnofficialRepositories


--
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/50ae6795.6020...@oles.biz



Re: iceweasel locking up

2012-11-22 Thread Tony Baldwin
On Thu, Nov 22, 2012 at 11:58:54AM -0500, Brad Alexander wrote:
> Can you use snapshot.d.o to roll back to iceweasel 16?
> 

It's IW 15, currently. I'd have to roll forward to 16.
I suppose I didn't specify that.
This is on Squeeze, amd64.

iceweasel 15.0.1-1~bpo60+1

But I think I resolved the matter.
I don't think was an update from Debian,
but an add-on I had added on (Lucifox, and ebook reader application).

I disabled the addon, and things seem pretty normal.

Tony



> --b
> 
> On Thu, Nov 22, 2012 at 10:56 AM, Tony Baldwin  wrote:
> > Have we become the Ubuntu project, breaking stuff regularly with
> > updates?
> >
> > Once again a recent update has messed iceweasel up.
> > It keeps locking up while loading pages, to where you can't even use
> > another tab, or anything.
> > I hate it when this happens.
> > Last time, it was nearly a month before another update fixed the issue.
> > I resorted to using (blechh) google chrome.
> >
> > ./tony
> > --
> > http://www.tonybaldwin.me
> > all tony, all the time!
> > 3F330C6E
> >
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.10 (GNU/Linux)
> >
> > iQEcBAEBAgAGBQJQrktIAAoJEKzBa7M/MwxuxtwH/jQILa83wPN/2aZhdjBrqHpm
> > cCce/AGH2x0xg0Z/vOnhLCftTGOYAir70yLH8MK2uDsj+46w4RNyYZ8PjHcklVX3
> > nwdyir9Cswjw2xZoAodnA5EG+8Q/7fLtOYaj/0+n26kn1YCvzBqrkr0J+iciwd/0
> > 2JGtaOsCltRELKdUzqpfK//UyWv4zVctO4/ipJkZIGBUkx9XCSA8jluiekUDFyd3
> > n/azatSJpQdjNUNOrTChj80qQv14Os2W9NznWjeMsRzViDEyT7dwFaSMJv2nt4x5
> > IfV+DhQujxLKRh/p5APHJd2XRRW/z/lH5h8XCYvxNX67jOCod6qLuLm+rAvSGP0=
> > =TH5q
> > -END PGP SIGNATURE-
> >

-- 
http://www.tonybaldwin.me
all tony, all the time!
3F330C6E


signature.asc
Description: Digital signature


Re: Can Debian's paranoia be tamed

2012-11-22 Thread Darac Marjal
On Thu, Nov 22, 2012 at 11:00:17AM -0600, Richard Owlett wrote:
> I've a laptop whose *SOLE* purpose in life is to be used in a manner
> that a even I would never do on a machine with real data on it.
> It has intrinsically the best security in place
>   Only _*I*_ have physical access to the machine.
>   It has no possibility of connecting to the internet.
>   It will *never* be updated.
>   The installation CD lives in the drive, for various reasons the
> hard drive is wiped and reinstall done 2-3 times per week.
> 
> When I boot I want to do *ANYTHING*!
> HOW?

Log in as root?



signature.asc
Description: Digital signature


Can Debian's paranoia be tamed

2012-11-22 Thread Richard Owlett
I've a laptop whose *SOLE* purpose in life is to be used in 
a manner that a even I would never do on a machine with real 
data on it.

It has intrinsically the best security in place
  Only _*I*_ have physical access to the machine.
  It has no possibility of connecting to the internet.
  It will *never* be updated.
  The installation CD lives in the drive, for various 
reasons the hard drive is wiped and reinstall done 2-3 times 
per week.


When I boot I want to do *ANYTHING*!
HOW?

{Owl now ducks for cover from incoming brick-a-brac ;}



--
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/50ae5a21.5030...@cloud85.net



Re: Guide / Tools

2012-11-22 Thread Tony van der Hoff
On 22/11/12 16:35, Doug wrote:
> On 11/22/2012 05:52 AM, "Morel Bérenger" wrote:
>>> This whole thread points out a major problem with using Linux. There is
>>> no comprehensive, cross referenced, command dictionary anywhere. I
>>> have a C
>>> programming reference that was written by Kernegian and Ritchy way back
>>> when, which referenced the C commands by function, that I used to
>>> live by.
>>> We need something like this for the Linux / Unix community. I
>>> think a properly architectured WIKI would be a wonderful idea.
>>> Unfortunately I don't feel I have the knowledge necessary to start one.
>>> As an example, if I look up 'System Maintenance' I should get a sub list
>>> of Aptitude, dpkg, apt-get etc, with a quick blurb on each. A newbe
>>> could
>>> then make a choice of which package the wish to try. I've been using
>>> Debian linux for over 15 years and am still finding commands that
>>> are useful. The worst part is that I am loosing commands at about the
>>> same
>>> rate because of only occasional use. It is really frustrating when you
>>> know there is a command that you used 2 years ago that is exactly
>>> what you
>>> need but can't remember its name.
>>>
>>> Gary R.
>> This... is really true, and an excellent idea.
>> The problem is probably also that some commands can be used for more than
>> one thing, so making category is not so easy.
>> Example: grep
>> _ can be used to search a text in a file
>> _ can be used to search files containing some text
>>
>> Also, should that wiki be a reference, containing full doc of
>> commands, or
>> simply a "repertoire" (not sure for the word) which said  "cd is used to
>> change directory".
>> One is too long, the other is too short. Another solution would be to add
>> a short example to the second...
>>
>>
> Altho some of the Linux commands that seem to be specific to certain
> distros
> may not be found there, a very useful book is "Linux in a Nutshell,"
> which calls
> itself "A Desktop Quick Reference."  O'Reilly.  $50 when I bought mine
> several
> years ago.  I use it all the time.
>

Or a free PDF download. I got it here:
http://it-ebooks.info/book/403/

-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/50ae56a8.8040...@vanderhoff.org



Re: Guide / Tools

2012-11-22 Thread Doug

On 11/22/2012 05:52 AM, "Morel Bérenger" wrote:

This whole thread points out a major problem with using Linux. There is
no comprehensive, cross referenced, command dictionary anywhere. I have a C
programming reference that was written by Kernegian and Ritchy way back
when, which referenced the C commands by function, that I used to live by.
We need something like this for the Linux / Unix community. I
think a properly architectured WIKI would be a wonderful idea.
Unfortunately I don't feel I have the knowledge necessary to start one.
As an example, if I look up 'System Maintenance' I should get a sub list
of Aptitude, dpkg, apt-get etc, with a quick blurb on each. A newbe could
then make a choice of which package the wish to try. I've been using
Debian linux for over 15 years and am still finding commands that
are useful. The worst part is that I am loosing commands at about the same
rate because of only occasional use. It is really frustrating when you
know there is a command that you used 2 years ago that is exactly what you
need but can't remember its name.

Gary R.

This... is really true, and an excellent idea.
The problem is probably also that some commands can be used for more than
one thing, so making category is not so easy.
Example: grep
_ can be used to search a text in a file
_ can be used to search files containing some text

Also, should that wiki be a reference, containing full doc of commands, or
simply a "repertoire" (not sure for the word) which said  "cd is used to
change directory".
One is too long, the other is too short. Another solution would be to add
a short example to the second...


Altho some of the Linux commands that seem to be specific to certain 
distros
may not be found there, a very useful book is "Linux in a Nutshell," 
which calls
itself "A Desktop Quick Reference."  O'Reilly.  $50 when I bought mine 
several

years ago.  I use it all the time.

--doug


--
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/50ae5456.50...@optonline.net



Found Workaround! Re: Failing to find LVM on RAID in while booting wheezy.

2012-11-22 Thread Hendrik Boom
On Tue, 20 Nov 2012 22:02:47 +, Hendrik Boom wrote:

> How can I get it so scan again for logical volumes from the busybox? 
> And after I've done that, how can I get it to try to look for the root
> partition again and proceed with booting.
>
> And I should mention that the wheezy I'm trying to boot is stuck halfway
> in a squeeze-to-wheezy upgrade.  I followed the instructions in the
> release notes up to the point where I had to boot into the new kernel,
> and have been unable to complete this step.
> 
> --hendrik

It seems to work if, after it waits unsuccessfully for a root partition,
and gives me the (initramfs) prompt, I enter the command

   vgchange -a y

I found this on the web in an archlinux website.  There was other advice 
there that didn't work (such as using an lvmwait=/dev/md0 kernel parameter)
but then archlinux isn't Debian.

And to get it to resume booting, I just need to end the busybox 
shell with a control-D.

Now I can get on with the squeeze->wheezy upgrade.

-- hendrik


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



Re: Debian Package Version system

2012-11-22 Thread Florian Ernst
Hello all,

On Thu, Nov 22, 2012 at 09:54:22AM +0100, Arnoud Tijssen wrote:
> After performing some vulnerability scans on some our systems one of
> the outcomes was that some software packages were out of date.
> We`re using the package management system of Debian and all packages
> were updated (apt-get update & apt-get (dist-)upgrade) prior to the
> scan.

Such scans often merely compare version numbers, which most often isn't
quite appropriate to determine whether a certain vulnerability still
exists. Please see "The version number for a package indicates that I am
still running a vulnerable version!" in the Debian Security FAQ at
http://www.debian.org/security/faq#version

The remainder of that page provides further insight into some of the
peculiarities involved.

Cheers,
Flo


-- 
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/20121122161341.gr14...@fernst.no-ip.org



iceweasel locking up

2012-11-22 Thread Tony Baldwin
Have we become the Ubuntu project, breaking stuff regularly with
updates?

Once again a recent update has messed iceweasel up.
It keeps locking up while loading pages, to where you can't even use
another tab, or anything.
I hate it when this happens.
Last time, it was nearly a month before another update fixed the issue.
I resorted to using (blechh) google chrome.

./tony
-- 
http://www.tonybaldwin.me
all tony, all the time!
3F330C6E


signature.asc
Description: Digital signature


RE: Debian Package Version system

2012-11-22 Thread Arnoud Tijssen
Thanks for the info, this solves the issue.
I probably have been looking in the wrong direction.


-Original Message-
From: Darac Marjal [mailto:mailingl...@darac.org.uk] 
Sent: donderdag 22 november 2012 15:51
To: debian-user@lists.debian.org
Subject: Re: Debian Package Version system

On Thu, Nov 22, 2012 at 09:54:22AM +0100, Arnoud Tijssen wrote:
> Hi All,
> 
> After performing some vulnerability scans on some our systems one of the 
> outcomes was that some software packages were out of date.
> We`re using the package management system of Debian and all packages were 
> updated (apt-get update & apt-get (dist-)upgrade) prior to the scan.
> The vulnerability scanner most likely compares the version against that of 
> the source code, which differs.
> How can I tell which version in the debian package repository system 
> corresponds to which version of the source code.

http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version
states that a debian package has a version number that is formatted as:
  [epoch:]upstream_version[-debian_revision]

That is, a small integer (0, if unspecified) followed by a colon, then the 
upstream version, then (starting from the last hyphen) the debian revision 
(again 0 if unspecified).

So, taking some examples from my system:
 bash:  4.1-3   -> Upstream: 4.1
 acpid: 1:2.0.7-1squeeze4   -> Upstream: 2.0.7
 etckeeper: 0.48-> Upstream: 0.48

> That way I can whitelist these software packages in our vulnerability scans.

You might want to consider WHY the software was updated. Is there a newer 
upstream because there's a security vulnerability, or is it just new features 
(possibly untested).


--
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/e7e899956e6065488dbc6623f76f36a275bf5a6...@ramnl-ex02.ram.nl



Re: Debian Package Version system

2012-11-22 Thread Darac Marjal
On Thu, Nov 22, 2012 at 09:54:22AM +0100, Arnoud Tijssen wrote:
> Hi All,
> 
> After performing some vulnerability scans on some our systems one of the 
> outcomes was that some software packages were out of date.
> We`re using the package management system of Debian and all packages were 
> updated (apt-get update & apt-get (dist-)upgrade) prior to the scan.
> The vulnerability scanner most likely compares the version against that of 
> the source code, which differs.
> How can I tell which version in the debian package repository system 
> corresponds to which version of the source code.

http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version
states that a debian package has a version number that is formatted as:
  [epoch:]upstream_version[-debian_revision]

That is, a small integer (0, if unspecified) followed by a colon, then
the upstream version, then (starting from the last hyphen) the debian
revision (again 0 if unspecified).

So, taking some examples from my system:
 bash:  4.1-3   -> Upstream: 4.1
 acpid: 1:2.0.7-1squeeze4   -> Upstream: 2.0.7
 etckeeper: 0.48-> Upstream: 0.48

> That way I can whitelist these software packages in our vulnerability scans.

You might want to consider WHY the software was updated. Is there a
newer upstream because there's a security vulnerability, or is it just
new features (possibly untested).



signature.asc
Description: Digital signature


Re: Swap partition vs swap file

2012-11-22 Thread Darac Marjal
On Wed, Nov 21, 2012 at 12:23:42PM -0800, David Guntner wrote:
> Hi all,
> 
> While still trying to figure out why Thunderbird isn't working so well
> with Dovecot, I figured I'd move onto another mystery; thought I'd seek
> out some opinions here. :-)
> 
> When setting up Linux systems, I've always set up a separate swap
> partition.  I was reading a few days ago that apparently there's a nifty
> way to do like Windows does (that alone should probably be good enough
> reason to *not* do it... :-) ) and set up a swap *file* instead.
> 
> So, anyone?  Pros & cons?  Is there any reason to prefer one over the other?

Performance-wise? There's no difference
(http://serverfault.com/questions/25653/swap-partition-vs-file-for-performance#25708).
Flexibility-wise? Well, if you put your swap partition on LVM, then you
can move it around and extend it just as easily as you could a file.

Perhaps the only advantage a partition has is that you can fairly easily
ensure it's at the fast end of your disk (that said, balance up how long
the head's going to be there, with how long it takes to get there).

> 
> One thing to know about up front - my new Debian setup is on my home
> server.  It runs 24/7 and I *never* suspend/hibernate it.  So since it
> never has to resume from a swap partition, that particular item is moot. :-)
> 
> So, what is the common "best practice" (more-or-less) consensus on the
> subject these days?

A partition is probably the most common.



signature.asc
Description: Digital signature


Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread Rob Owens
On Thu, Nov 22, 2012 at 02:26:59PM +0530, J. B wrote:
> Dear All,
> 
> I am interested to know about folder encryption technology available
> in Linux for remote backup purpose.
> 
> Let me clarify. I do my daily backup through ssh+rsync to a remote server.
> It is quite fast because of rsync. On the remote box all the backups are
> stored inside a folder. How can I encrypt that folder ? In that case,
> I have to first decrypt the folder before doing rsync and then again encrypt.
> Can I use any fuse based technology to achieve this ?
> encfs+fuse is good but propt for the password, any option to provide password
> through file ?
> 
Are the source files encrypted?  If so, don't decrypt them and simply
rsync the encrypted files to the remote server.

-Rob


-- 
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/20121122131746.ga32...@aurora.owens.net



Re: encfs over sshfs suffering with permission problem

2012-11-22 Thread J. B
On Thu, 22 Nov 2012 23:37:47 +1100
Zenaan Harkness  wrote:

> On 11/22/12, J. B  wrote:
> > My non admin user is added to the fuse group. restarted the box.
> >
> > I have mounted a remote folder within my local box using sshfs and then
> > successfully created encfs over it and also copied some files into that
> > folder. After that I have "fusermount -u" the encfs and then sshfs.
> >
> > Next time I have mounted that remote encrypted folder over sshfs,
> 
> So, the next time:
> you mounted sshfs?
> then you mounted encfs?
>

definitely, other wise .encfs can't be seen through sshfs mount point.


> Have you missed that each time it is a two-step - sshfs, then encfs?
> 

surely two steps, no mistake in that. I have written a small script
to make the steps error free. it is just the permission issue with
encfs. I am able to write directly on sshfs mount point, but not at
encfs mount point. tried the whole process many times.


-- 
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/20121122181602.4b50f...@shiva.selfip.org



Re: encfs over sshfs suffering with permission problem

2012-11-22 Thread Zenaan Harkness
On 11/22/12, J. B  wrote:
> My non admin user is added to the fuse group. restarted the box.
>
> I have mounted a remote folder within my local box using sshfs and then
> successfully created encfs over it and also copied some files into that
> folder. After that I have "fusermount -u" the encfs and then sshfs.
>
> Next time I have mounted that remote encrypted folder over sshfs,

So, the next time:
you mounted sshfs?
then you mounted encfs?

Have you missed that each time it is a two-step - sshfs, then encfs?

Just guessing - you haven't provided enough info to be sure...

Best
Zenaan


-- 
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/caosgnsrdwwvz2thqfqvylq_sexzfr4wiryt6fe0scsfjesx...@mail.gmail.com



encfs over sshfs suffering with permission problem

2012-11-22 Thread J. B

Dear list,

My non admin user is added to the fuse group. restarted the box.

I have mounted a remote folder within my local box using sshfs and then
successfully created encfs over it and also copied some files into that
folder. After that I have "fusermount -u" the encfs and then sshfs.

Next time I have mounted that remote encrypted folder over sshfs,
but the encfs mount point is empty !!! though sshfs mount point
shows  .encfs file. 

whenever I try to copy file at encfs mount point; it gives "permission denied" 
error,
What might be the problem with encfs then ?

Also tried with other_user with encfs but no success :-(

Thanks


-- 
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/20121122175736.3f471...@shiva.selfip.org



Re: Mail client, threads, etc...

2012-11-22 Thread Tom Furie
On Wed, Nov 21, 2012 at 05:41:08PM +0100, Ralf Mardorf wrote:

> Apologize!

As a point of reference, I think the word you were looking for there was
"apologies", as in "Please accept my apologies".

Cheers,
Tom

-- 
The hater of property and of government takes care to have his warranty
deed recorded, and the book written against fame and learning has the
author's name on the title page.
-- Ralph Waldo Emerson, Journals, 1831


signature.asc
Description: Digital signature


Re: Can't fix doc-base installation problem

2012-11-22 Thread Tom Furie
On Wed, Nov 21, 2012 at 04:19:28PM -0800, Gary Roach wrote:

>root@mycomputer:/etc/doc-base# aptitude reinstall doc-base
> 
> It seems that some files are missing (install-docs?) but I can't
> determine what they  are or where they are. Some help, plese.

Install-docs belongs to package doc-base. Doc-base can't be
re-installed, because it isn't currently installed. What happens when
you run "aptitude install doc-base"?

If that doesn't work, you could try Osamu's advice.

Cheers,
Tom

-- 
A real friend isn't someone you use once and then throw away.
A real friend is someone you can use over and over again.


signature.asc
Description: Digital signature


Re: Outrageous sexism

2012-11-22 Thread Morel Bérenger
Le Jeu 22 novembre 2012 12:39, Chris Harries a écrit :
> Well some of us think it was harmless

So I guess we should do a vote? :D  <<<== this was a joke, hopefully
harmless, so people where elections are not fair, please do not take that
bad


/me ->[]


-- 
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/613fc7483aea3da536ffa40b7bfb8d19.squir...@www.sud-ouest.org



Re: Outrageous sexism

2012-11-22 Thread Chris Harries
Well some of us think it was harmless, especially if you understood
what he meant and not jumped the gun. We can all agree to disagree and
take this as a lesson not to make any joke in-case someone either a)
doesn't understand the joke or b) can't accept that some people's
English skills are not that great. If anyone should understand that
jokes and sarcasm doesn't come across well in text, it should be
people who are interested in IT. That's too much to ask though, so
lets move on

On 22 November 2012 11:36, Tony van der Hoff  wrote:
> On 22/11/12 11:14, Ralf Mardorf wrote:
>> Is there anything people are else allowed on Debian user mailing list,
>> besides dissing people for harmless jokes, breaking threads, asking the
>> wrong questions, carbon copy, brainstorming etc.?
>>
>> All off-topic is caused by people who feel offended by harmless jokes,
>> breaking threads, asking the wrong questions, carbon copy, brainstorming
>> etc., not by the people who make harmless jokes, are breaking threads,
>> asking the wrong questions, carbon copy, brainstorm etc..
>
> Your joke was not harmless. Stop playing the injured party.
> --
> Tony van der Hoff| mailto:t...@vanderhoff.org
> Buckinghamshire, England |
>
>
> --
> 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/50ae0e28.4050...@vanderhoff.org
>


-- 
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/cafcbn-t144y4d3x7lprxt6v4flh5fa4zbxs8afimdjhgne+...@mail.gmail.com



Re: Outrageous sexism

2012-11-22 Thread Tony van der Hoff
On 22/11/12 11:14, Ralf Mardorf wrote:
> Is there anything people are else allowed on Debian user mailing list,
> besides dissing people for harmless jokes, breaking threads, asking the
> wrong questions, carbon copy, brainstorming etc.?
> 
> All off-topic is caused by people who feel offended by harmless jokes,
> breaking threads, asking the wrong questions, carbon copy, brainstorming
> etc., not by the people who make harmless jokes, are breaking threads,
> asking the wrong questions, carbon copy, brainstorm etc..

Your joke was not harmless. Stop playing the injured party.
-- 
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


-- 
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/50ae0e28.4050...@vanderhoff.org



[Fwd: [D-community-offtopic] Outrageous sexism - dump questions - carbon copy - ignoring hidden ids - HTML - top posting - brainstorming - etc.]

2012-11-22 Thread Ralf Mardorf
Perhaps the Debian user informers and vigilante group could continue the
noise at
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic ?!

 Forwarded Message 
From: Ralf Mardorf 
To: d-community-offto...@lists.alioth.debian.org
Subject: [D-community-offtopic] Outrageous sexism - dump questions -
carbon copy - ignoring hidden ids - HTML - top posting - brainstorming -
etc.
Date: Thu, 22 Nov 2012 12:06:26 +0100

Is there anything people are else allowed on Debian user mailing list,
besides dissing people for harmless jokes, breaking threads, asking the
wrong questions, carbon copy, brainstorming etc.?

All off-topic is caused by people who feel offended by harmless jokes,
breaking threads, asking the wrong questions, carbon copy, brainstorming
etc., not by the people who make harmless jokes, are breaking threads,
asking the wrong questions, carbon copy, brainstorm etc..

What's their intention? Increasing the S/N ratio and blame others for
their bad?

Regards,
Ralf
___
D-community-offtopic mailing list
d-community-offto...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/d-community-offtopic


-- 
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/1353582859.27586.11.camel@q



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread Zenaan Harkness
If enough people consider a problem such, it is easy to route around..
If one person consider another a problem, kill-file is a (partial?)
route around for them.

Perhaps debian-user_speak-your-firetrucking-m...@lists.debian.org?  :)
Shorter needed, so probably debian-user-uncensored@ldo

Would there be enough subscribers?
Would it dilute the assister pool?
Would _most_ assisters simply subscribe to both?
Would such a list be allowed within the policies etc of Debian? If
not, a non-Debian venue would be required, likely reducing the
visibility of such a list.
Would it be worth the experiment even though these questions can't be
answered definitively without running the experiment?

Regards
Zenaan

PS What is the difference between "Politically Correct", and "respect
for others"? Does an apology demonstrate respect? What about
non-acceptance of apology? Is it ok to be pro-$CONTROVERSIAL if $C..L
is [female|male|white|black|etc]?

On 11/22/12, Ralf Mardorf  wrote:
> On Thu, 2012-11-22 at 11:05 +0100, Ralf Mardorf wrote:
>> On Thu, 2012-11-22 at 09:58 +, Jon Dowland wrote:
>> > On Thu, Nov 22, 2012 at 10:52:44AM +0100, Ralf Mardorf wrote:
>> > > If I type "encfs vs" into Google I get:
>> >
>> > Honestly, doing a basic google search and splurging the results
>> > into a mailing list post helps nobody. If you don't have personal
>> > experience of solving the problem, don't post.
>>
>> But it leaded to --stdinpass, the same result somebody else posted. So
>> if I post it it's bad and if somebody else does post the same it's ok?
>>
>> Wow, what a funny list.
>>
>> Ok now I know making a little harmless joke is forbidden and
>> brainstorming too.
>>
>> Anything else forbidden or unwanted that's not written in the policy for
>> this list?
>
> I nearly forgot, if I e.g. have knowledge, e.g. about systemd and the
> polkit issue, I shouldn't write about it, if somebody else with outdated
> knowledge thinks he knows it better. Same for audio.
>
> This list becomes more and more grotesque.
>
> There's more noise about top posting, HTLM posting, bad hidden email
> headers, not to do brainstorming, not to answer if you have more
> knowledge, not making a joke etc., than about Debian Linux.
>
> I nearly forgot too,
>
> a newbie shouldn't ask newbie questions, but read what a smart question
> is.
>
> Anything else?
>
>
>
> --
> 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/1353579701.26424.25.camel@q
>
>


-- 
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/CAOsGNSQA==_2rFQ+K=zei9the3rma79lg8htd6xperzpj0h...@mail.gmail.com



Re: Guide / Tools

2012-11-22 Thread steef

On 21-11-12 23:06, Ralf Mardorf wrote:

On Wed, 2012-11-21 at 21:28 +, Joe wrote:

I use dpkg [...] if I need to install a .deb

<...>

mc

Indeed. I never went the vi/emacs route since cooledit in mc does all
the admin work I need to do, and I don't do heavy text processing. And
my server doesn't have X, so mc is a useful semi-graphical file manager
and simple text editor combined. And I'm old enough to remember the
Norton Commander...

<.>

ah yes: the norton commander! the time 'we' could communicate with 
keyboard and screen (F4,F9 etc.etc.) how surprising that still was in 
1993/1994. i stop now: getting sentimental


reg.,

steef


--
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/50ae0656.5030...@home.nl



Re: Stuck in a loop with Lazarus/FPC after doing an upgrade - FIXED

2012-11-22 Thread brian


OK, it's sorted. Seems that synaptic is smarter than apt-get.


Brian.


On 11/22/2012 04:30 AM, brian wrote:

I seem to be stuck in a loop having tried to do an update. The problem
is with fpc, the FreePascal compiler.

I'd downloaded fpc and Lazarus (the sort-of Delphi clone using fpc)
from the SourceForge website, all was installed and working just fine.

Then I did an upgrade, and one of the updates to be installed was fpc
2.6.0-6.

The problem with this is that the upgrade (using apt-get) produced a
"broken pipe" error with almost every package, only the names
differed. I can paste the whole lot if needed, but an example is :-



Unpacking fp-units-rtl-2.6.0 (from
.../fp-units-rtl-2.6.0_2.6.0-6_amd64.deb) ...
dpkg: error processing
/var/cache/apt/archives/fp-units-rtl-2.6.0_2.6.0-6_amd64.deb
(--unpack):
trying to overwrite
'/usr/lib/fpc/2.6.0/units/x86_64-linux/rtl/objpas.o', which is also
in package fpc 2.6.0
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)



and I now appear to be stuck in a loop.

If I try to do anything with apt-get, I get an error that there are
broken dependencies. Trying an apt-get -f install tries to install
these same packages, with, of course, the same error.

I've tried using dpkg to remove lazarus and fpc. Won't do it, broken
dependencies.

I've tried using dpkg to reinstall the SourceForge version of the
compiler. That at least works, warning me that I'm doing a downgrade,
so I still have a working lazarus installation, but it doesn't correct
the dependencies problem.

So, how do I get out of this mess? I tried e-mailing the packager for
fpc pointing out that there were problems, at least for my system
(64-bit AMD packages) but there's been no reply, not even an
acknowledgement.


Thanks,

Brian.





--
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/50ae05d3.8060...@meadows.pair.com



Re: Guide / Tools

2012-11-22 Thread Morel Bérenger
> This whole thread points out a major problem with using Linux. There is
> no comprehensive, cross referenced, command dictionary anywhere. I have a C
> programming reference that was written by Kernegian and Ritchy way back
> when, which referenced the C commands by function, that I used to live by.
> We need something like this for the Linux / Unix community. I
> think a properly architectured WIKI would be a wonderful idea.
> Unfortunately I don't feel I have the knowledge necessary to start one.
> As an example, if I look up 'System Maintenance' I should get a sub list
> of Aptitude, dpkg, apt-get etc, with a quick blurb on each. A newbe could
> then make a choice of which package the wish to try. I've been using
> Debian linux for over 15 years and am still finding commands that
> are useful. The worst part is that I am loosing commands at about the same
> rate because of only occasional use. It is really frustrating when you
> know there is a command that you used 2 years ago that is exactly what you
> need but can't remember its name.
>
> Gary R.

This... is really true, and an excellent idea.
The problem is probably also that some commands can be used for more than
one thing, so making category is not so easy.
Example: grep
_ can be used to search a text in a file
_ can be used to search files containing some text

Also, should that wiki be a reference, containing full doc of commands, or
simply a "repertoire" (not sure for the word) which said  "cd is used to
change directory".
One is too long, the other is too short. Another solution would be to add
a short example to the second...


-- 
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/686cb2dc9b68d813ee77b0385eb78b78.squir...@www.sud-ouest.org



Re: Outrageous sexism. Was: Re: Mail client, threads, etc...

2012-11-22 Thread Morel Bérenger
Le Mer 21 novembre 2012 19:12, Brad Rogers a écrit :
> On Wed, 21 Nov 2012 18:41:08 +0100
> Ralf Mardorf  wrote:
>
>
> Hello Ralf,
>
>
>> I'm not sure, if it's really just the language barrier. Coarse humour
>>
>
> I picked up your intent, but clearly others didn't.  At least one other
> person involved in this rigmarole is not a native English speaker.  As

Usually, French people as I are known to be poor in other languages.
But using a smiley, followed by the mention of the "hopefully it is [...]"
is not really ambiguous.
There are words, but there is also the spirit behind them.

On the other hand, what I have seen in reaction what immediate "ban",
without letting any chance to explain.

So, on one side, there is someone which made an error on reaction of the
phrase "errare humanum est" (I think this situation is quite funny,
speaking about that).
On the other, we have someone which had banned him immediately (or
whatever the word on mailing lists).

I think both made an error. The first one made a joke which was not a good
idea somewhere where you does not know everyone else, and he apologized.
The other just banned him, without trying to understand.

[mylife]
My father have always said me something like "When you argue with someone,
if one got angry, it means he loosed, because he is unable to convince his
opponent that he is true."
I think he is wrong. When someone become angry, everyone loose, because
everyone failed to learn.
But I also think that the one which become angry is the one which loose
the more things:
_ he was not able to learn
_ he was not able to teach
_ he loosed 5 minutes of life ;)
[/mylife]

Seriously... I like doing jokes on girls. But I have nothing against jokes
on men. Both kinds of jokes makes fun of half the humanity. but humans are
able to laugh, and this is a very important thing. This is why those jokes
where made first.
Like jokes we french guys make on belgium peoples. They have also some on
us, french. And when we are together, we use them to make fun of others,
but also of us.
And there is no lack of respect there (I could say whatever I want on
them, the really make some very good beers, and I can only respect them
for that :P)


-- 
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/cc07b19fbc75e0d0dace2f906a3eee7e.squir...@www.sud-ouest.org



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread Ralf Mardorf
On Thu, 2012-11-22 at 11:05 +0100, Ralf Mardorf wrote:
> On Thu, 2012-11-22 at 09:58 +, Jon Dowland wrote:
> > On Thu, Nov 22, 2012 at 10:52:44AM +0100, Ralf Mardorf wrote:
> > > If I type "encfs vs" into Google I get:
> > 
> > Honestly, doing a basic google search and splurging the results
> > into a mailing list post helps nobody. If you don't have personal
> > experience of solving the problem, don't post.
> 
> But it leaded to --stdinpass, the same result somebody else posted. So
> if I post it it's bad and if somebody else does post the same it's ok?
> 
> Wow, what a funny list.
> 
> Ok now I know making a little harmless joke is forbidden and
> brainstorming too.
> 
> Anything else forbidden or unwanted that's not written in the policy for
> this list?

I nearly forgot, if I e.g. have knowledge, e.g. about systemd and the
polkit issue, I shouldn't write about it, if somebody else with outdated
knowledge thinks he knows it better. Same for audio.

This list becomes more and more grotesque.

There's more noise about top posting, HTLM posting, bad hidden email
headers, not to do brainstorming, not to answer if you have more
knowledge, not making a joke etc., than about Debian Linux.

I nearly forgot too,

a newbie shouldn't ask newbie questions, but read what a smart question
is.

Anything else?



-- 
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/1353579701.26424.25.camel@q



Re: Guide / Tools

2012-11-22 Thread Morel Bérenger
> Simple things are really simple in bc.
sounds like, yes.
I'll try that someday


-- 
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/b72a3ac3cd3870db99ec175b04065008.squir...@www.sud-ouest.org



Re: Preseeding german keyboard layout in Wheezy

2012-11-22 Thread Bernhard Schmidt
Bernhard Schmidt  wrote:

> I'm currently trying to streamline our Debian deployment using
> preseeding and I'm having issues setting a German keyboard layout. I use
> Wheezy daily 20121114 at the moment.
>
> Goals:
> - installer should be English
> - the country should be set to Germany (so timezone is okay)
> - default locale of the installed system should be English (so program
>   messages are not translated)
> - the keyboard should be set to German layout
>
> I can successfully set that configuration using a full manual
> installation but I seem to be missing some setting when using preseed
> commands.
>
> I use the following boot options:
> debian-installer/language=en debian-installer/country=DE
> debian-installer/locale=en_US.UTF-8 keymap=de
>
> The keymap question is not asked anymore (it is when I remove setting
> keymap=), but the keymap is still English. I also tried
> keyboard-configuration/xkb-keymap=de without success

FYI if anyone cares, apparently you need BOTH keymap=de and
debian-installer/keymap=de . I've opened bug #693956 for that.

Bernhard


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



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread Ralf Mardorf
On Thu, 2012-11-22 at 09:58 +, Jon Dowland wrote:
> On Thu, Nov 22, 2012 at 10:52:44AM +0100, Ralf Mardorf wrote:
> > If I type "encfs vs" into Google I get:
> 
> Honestly, doing a basic google search and splurging the results
> into a mailing list post helps nobody. If you don't have personal
> experience of solving the problem, don't post.

But it leaded to --stdinpass, the same result somebody else posted. So
if I post it it's bad and if somebody else does post the same it's ok?

Wow, what a funny list.

Ok now I know making a little harmless joke is forbidden and
brainstorming too.

Anything else forbidden or unwanted that's not written in the policy for
this list?


-- 
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/1353578712.26424.19.camel@q



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread Jon Dowland
On Thu, Nov 22, 2012 at 10:52:44AM +0100, Ralf Mardorf wrote:
> If I type "encfs vs" into Google I get:

Honestly, doing a basic google search and splurging the results
into a mailing list post helps nobody. If you don't have personal
experience of solving the problem, don't post.


-- 
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/20121122095806.GB8047@debian



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread Kushal Kumaran
"J. B"  writes:

> On Thu, 22 Nov 2012 10:17:28 +0100
> Ralf Mardorf  wrote:
>
>> "echo password | gpg --batch -q --passphrase-fd 0 --cipher-algo AES256 -c 
>> /tmp/file.tgz
>> echo password | gpg --batch -q -o /tmp/file.tgz --passphrase-fd 0 --decrypt 
>> /tmp/file.tgz.gpg"
>> 
>
> Thanks, but it doesn't fit with my requirement.
> I backup on a remote folder through ssh+rsync and need encryption
> on that remote folder. encfs+fuse is good but it prevents me as I
> have not found to provide the password through a key-file yet.
>

The --extpass or --stdinpass options for encfs can do this.

For example,

 cat password-file | encfs --stdinpass encrypted-dir clear-dir

-- 
regards,
kushal


-- 
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/874nkit11t.fsf@nitrogen.i-did-not-set--mail-host-address--so-tickle-me



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread J. B
On Thu, 22 Nov 2012 10:45:01 +0100
"tv.deb...@googlemail.com"  wrote:

> On 22/11/2012 09:56, J. B wrote:
> > Dear All,
> >
> > I am interested to know about folder encryption technology available
> > in Linux for remote backup purpose.
> >
> > Let me clarify. I do my daily backup through ssh+rsync to a remote server.
> > It is quite fast because of rsync. On the remote box all the backups are
> > stored inside a folder. How can I encrypt that folder ? In that case,
> > I have to first decrypt the folder before doing rsync and then again 
> > encrypt.
> > Can I use any fuse based technology to achieve this ?
> > encfs+fuse is good but propt for the password, any option to provide 
> > password
> > through file ?
> >
> > Any clue/suggestion is very much welcome.
> >
> > Thanks
> >
> >
> 
> Did you look into the "KEY MODULE OPTIONS" section in ecryptfs man ? 
> Seems like there are several options to provide a pass-file.
> 
> 

solved :-)

--extpass="cat $KEYFILE"


-- 
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/20121122152329.2024c...@shiva.selfip.org



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread Ralf Mardorf
On Thu, 2012-11-22 at 14:57 +0530, J. B wrote:
> 
> On Thu, 22 Nov 2012 10:17:28 +0100
> Ralf Mardorf  wrote:
> 
> > "echo password | gpg --batch -q --passphrase-fd 0 --cipher-algo AES256 -c 
> > /tmp/file.tgz
> > echo password | gpg --batch -q -o /tmp/file.tgz --passphrase-fd 0 --decrypt 
> > /tmp/file.tgz.gpg"
> > 
> 
> Thanks, but it doesn't fit with my requirement.
> I backup on a remote folder through ssh+rsync and need encryption
> on that remote folder. encfs+fuse is good but it prevents me as I
> have not found to provide the password through a key-file yet.

If I type "encfs vs" into Google I get:

encfs vs truecrypt
encfs vs luks

However, does this the trick:

-S, --stdinpass
 Read password from standard input.
 OR from the file descriptor number in ENCFS_PASSWORD_FD

?

http://www.ict.griffith.edu.au/anthony/info/crypto/encfs.hints




-- 
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/1353577964.26424.14.camel@q



Re: Outrageous sexism. Was: Re: Mail client, threads, etc...

2012-11-22 Thread Titanus Eramius
On Thu, 22 Nov 2012 00:11:08 +0100
Ralf Mardorf  wrote:

> On Wed, 2012-11-21 at 23:28 +0100, François TOURDE wrote:
> > Le 15665ième jour après Epoch,
> > Lisi Reisz écrivait:
> > 
> > > On Wednesday 21 November 2012 16:55:22 Beco wrote:
> > >> Use of smiley face should point this was just a joke. As we can
> > >> see in this first use in 1982:
> > >
> > > That is what is so very offensive.  He thinks that being so rude
> > > about just over half of the population is _funny_. As apparently
> > > do you.
> > 
> > Yes, me too. Because I'm a french native, I consider joking is a
> > good way to avoid the toxic "politically correct" way of life.
> > 
> > Please, Lisi, could you put me on your "kill-file", because there is
> > chances that I post jokes sometimes.
> > 
> > Thanks in advance.
> 
> http://en.wikipedia.org/wiki/Technology_in_The_Hitchhiker%27s_Guide_to_the_Galaxy#Point_of_View_Gun
> 
> 
> 

I too is from Europe as my mailaddress surely reveals, and I must say I
find this entire subject a bit off. Allow me to expand on that.

Being Germanys northen neighbour we tell jokes about the Nazis all the
time, but I know from experience that the Germans don't think they are
appropriate. Not telling the jokes around Germans is not some
political correct thing we do; it's out of respect for them.

The same goes for this subject in my opinion. Just because it's OK to
use a specific type of humor were one is from, does not mean it can or
should be used everywere, and it have nothing to do with political
correctness.

Even though I've been reading this list for almost a year now, I have
only posted two or three times due to the above, and how hard it can be
to write neutral in English. I think the best thing that can happen
from all of this is that we all learn a little, and it's not really a
solution to block out certain people or sign off (IMHO of course).

Besides, and not to be rude or harsh or anything, but isn't jokes
off-topic anyway?

From the cold North, Titanus


--
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/20121122104626.54f7d...@asrock.local.aptget.dk



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread tv.deb...@googlemail.com

On 22/11/2012 09:56, J. B wrote:

Dear All,

I am interested to know about folder encryption technology available
in Linux for remote backup purpose.

Let me clarify. I do my daily backup through ssh+rsync to a remote server.
It is quite fast because of rsync. On the remote box all the backups are
stored inside a folder. How can I encrypt that folder ? In that case,
I have to first decrypt the folder before doing rsync and then again encrypt.
Can I use any fuse based technology to achieve this ?
encfs+fuse is good but propt for the password, any option to provide password
through file ?

Any clue/suggestion is very much welcome.

Thanks




Did you look into the "KEY MODULE OPTIONS" section in ecryptfs man ? 
Seems like there are several options to provide a pass-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/50adf41d.6080...@googlemail.com



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread Ralf Mardorf
Oops, send to "ebian-u...@lists.debian.org" first:
   ^

On Thu, 2012-11-22 at 10:38 +0100, Ralf Mardorf wrote:
> On Thu, 2012-11-22 at 14:51 +0530, J. B wrote:
> > On Thu, 22 Nov 2012 10:07:36 +0100
> > Ralf Mardorf  wrote:
> > 
> > > http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html
> > > 
> > > 
> > but it can't encrypt folder
> 
> http://myridia.com/dev_posts/view/71
> 
> I would prefer such an indirect way to other ways, such as e.g. Ubuntu
> enables to encrypt/decrypt home folders automatically, because this
> could cause issues, if you have to recover data on a broken drive.
> 
> I don't know the way it's done for Ubuntu, perhaps I'm mistaken, you
> might google for "Ubuntu encrypted home".
> 
> I didn't read this myself and I don't have knowledge about it:
> 
> www.howtogeek.com/116297/how-to-recover-an-encrypted-home-directory-on-ubuntu/
> 
> http://en.wikipedia.org/wiki/ECryptfs
> 
> http://www.howtoforge.com/how-to-encrypt-directories-partitions-with-ecryptfs-on-debian-squeeze
> 
> I had one Ubuntu install where this was used for home automatically and
> it did annoy me.



-- 
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/1353577238.26424.10.camel@q



Stuck in a loop with Lazarus/FPC after doing an upgrade

2012-11-22 Thread brian
I seem to be stuck in a loop having tried to do an update. The problem 
is with fpc, the FreePascal compiler.


I'd downloaded fpc and Lazarus (the sort-of Delphi clone using fpc) 
from the SourceForge website, all was installed and working just fine.


Then I did an upgrade, and one of the updates to be installed was fpc 
2.6.0-6.


The problem with this is that the upgrade (using apt-get) produced a 
"broken pipe" error with almost every package, only the names 
differed. I can paste the whole lot if needed, but an example is :-




Unpacking fp-units-rtl-2.6.0 (from .../fp-units-rtl-2.6.0_2.6.0-6_amd64.deb) ...
dpkg: error processing 
/var/cache/apt/archives/fp-units-rtl-2.6.0_2.6.0-6_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/fpc/2.6.0/units/x86_64-linux/rtl/objpas.o', 
which is also in package fpc 2.6.0
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)



and I now appear to be stuck in a loop.

If I try to do anything with apt-get, I get an error that there are 
broken dependencies. Trying an apt-get -f install tries to install 
these same packages, with, of course, the same error.


I've tried using dpkg to remove lazarus and fpc. Won't do it, broken 
dependencies.


I've tried using dpkg to reinstall the SourceForge version of the 
compiler. That at least works, warning me that I'm doing a downgrade, 
so I still have a working lazarus installation, but it doesn't correct 
the dependencies problem.


So, how do I get out of this mess? I tried e-mailing the packager for 
fpc pointing out that there were problems, at least for my system 
(64-bit AMD packages) but there's been no reply, not even an 
acknowledgement.



Thanks,

Brian.


--
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/50adf0be.8080...@meadows.pair.com



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread J. B


On Thu, 22 Nov 2012 10:17:28 +0100
Ralf Mardorf  wrote:

> "echo password | gpg --batch -q --passphrase-fd 0 --cipher-algo AES256 -c 
> /tmp/file.tgz
> echo password | gpg --batch -q -o /tmp/file.tgz --passphrase-fd 0 --decrypt 
> /tmp/file.tgz.gpg"
> 

Thanks, but it doesn't fit with my requirement.
I backup on a remote folder through ssh+rsync and need encryption
on that remote folder. encfs+fuse is good but it prevents me as I
have not found to provide the password through a key-file yet.


-- 
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/20121122145739.69d09...@shiva.selfip.org



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread J. B
On Thu, 22 Nov 2012 10:07:36 +0100
Ralf Mardorf  wrote:

> http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html
> 
> 
but it can't encrypt folder


-- 
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/20121122145158.04e84...@shiva.selfip.org



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread Ralf Mardorf
"echo password | gpg --batch -q --passphrase-fd 0 --cipher-algo AES256 -c 
/tmp/file.tgz
echo password | gpg --batch -q -o /tmp/file.tgz --passphrase-fd 0 --decrypt 
/tmp/file.tgz.gpg"

http://www.linuxscrew.com/2007/08/16/encryption-files-with-gpg-without-user-intervention-batch/


-- 
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/1353575848.19877.106.camel@q



Re: java plugin

2012-11-22 Thread Greg Madden
On Tuesday 20 November 2012 16:32:35 you wrote:
> I thought I read or heard on a podcast (TechSNAP???) that Firefox
> (and by implicit extension Iceweasel) was blacklisting sun-java due
> to Oracle's epic fail with security. Can anyone confirm?

Using Iceweasel 10.0.10, from mozilla.debian.net in Squeeze, the plugin 
check feautre disables, it seems, any java stuff except the latest from 
Oracle. jre-7u9-linux-x64

>
> Not sure of a fix, other than, maybe, try openjdk/icetea. I don't
> usually run java apps, if I can avoid it. Do you need java, and more
> to the point, do you need *Sun's* java?
>
> --b
>
> On Tue, Nov 20, 2012 at 7:25 PM, Michael P. Soulier
>
>  wrote:
> > Hi,
> >
> > Nothing I do seems to get the java plugin working in iceweasel. I
> > installed sun-java6-plugin, confirmed that the symlinks from the
> > iceweasel plugins directory are there, but it doesn't appear in
> > about:plugins.
> >
> > Any tips?
> >
> > Thanks,
> > Mike
> >
>


-- 
Peace,

Greg


-- 
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/201211220008.47864.gomadtr...@gci.net



Re: how to encrypt/decrypt remote folder ?

2012-11-22 Thread Ralf Mardorf
http://www.cyberciti.biz/tips/linux-how-to-encrypt-and-decrypt-files-with-a-password.html


-- 
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/1353575256.19877.104.camel@q



Debian Package Version system

2012-11-22 Thread Arnoud Tijssen
Hi All,

After performing some vulnerability scans on some our systems one of the 
outcomes was that some software packages were out of date.
We`re using the package management system of Debian and all packages were 
updated (apt-get update & apt-get (dist-)upgrade) prior to the scan.
The vulnerability scanner most likely compares the version against that of the 
source code, which differs.
How can I tell which version in the debian package repository system 
corresponds to which version of the source code.
That way I can whitelist these software packages in our vulnerability scans.

Thnx,
Arnoud


--
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/e7e899956e6065488dbc6623f76f36a275bf5a6...@ramnl-ex02.ram.nl



Re: Identify PCI/PCI-X/AGP devices nature

2012-11-22 Thread Ralf Mardorf
On Thu, 2012-11-22 at 09:29 +0200, ed mente wrote:
> > Is it possible to find out what kind of PCI/PCI-X/AGP device is
> > installed on a PC?
> 
> you can start by running lspci -vv

I would run lspci too, but I always install hwinfo and also use it:

$ hwinfo --help
Usage: hwinfo [options]
Probe for hardware.
  --shortjust a short listing
  --log logfile  write info to logfile
  --debug level  set debuglevel
  --version  show libhd version
  --dump-db ndump hardware data base, 0: external, 1: internal
  --hw_item  probe for hw_item
  hw_item is one of:
   all, bios, block, bluetooth, braille, bridge, camera, cdrom, chipcard,
   cpu, disk, dsl, dvb, fingerprint, floppy, framebuffer, gfxcard, hub,
   ide, isapnp, isdn, joystick, keyboard, memory, modem, monitor, mouse,
   netcard, network, partition, pci, pcmcia, pcmcia-ctrl, pppoe, printer,
   scanner, scsi, smp, sound, storage-ctrl, sys, tape, tv, usb, usb-ctrl,
   vbe, wlan, zip

  Note: debug info is shown only in the log file. (If you specify a
  log file the debug level is implicitly set to a reasonable value.)




-- 
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/1353574583.19877.102.camel@q



how to encrypt/decrypt remote folder ?

2012-11-22 Thread J. B
Dear All,

I am interested to know about folder encryption technology available
in Linux for remote backup purpose.

Let me clarify. I do my daily backup through ssh+rsync to a remote server.
It is quite fast because of rsync. On the remote box all the backups are
stored inside a folder. How can I encrypt that folder ? In that case,
I have to first decrypt the folder before doing rsync and then again encrypt.
Can I use any fuse based technology to achieve this ?
encfs+fuse is good but propt for the password, any option to provide password
through file ?

Any clue/suggestion is very much welcome.

Thanks 


-- 
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/20121122142659.6743a...@shiva.selfip.org



Re: Identify PCI/PCI-X/AGP devices nature

2012-11-22 Thread George Chelidze

On 2012-11-22 11:29, ed mente wrote:

Is it possible to find out what kind of PCI/PCI-X/AGP device is
installed on a PC?


you can start by running lspci -vv




Hello,

below is a lspci -vv chunk for my extension VGA card

01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 
210] (rev a2) (prog-if 00 [VGA controller])

Subsystem: ASUSTeK Computer Inc. Device 8354
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at e300 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at e000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at 4000 [size=128]
[virtual] Expansion ROM at e400 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Address:   Data: 
Capabilities: [78] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, 
L1 <64us
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
		LnkCap:	Port #0, Speed 5GT/s, Width x16, ASPM L0s L1, Latency L0 
<256ns, L1 <4us

ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM L0s L1 Enabled; RCB 128 bytes Disabled- Retrain- 
CommClk+
ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- 
BWMgmt- ABWMgmt-

DevCap2: Completion Timeout: Not Supported, TimeoutDis+
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-, 
Selectable De-emphasis: -6dB
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- 
ComplianceSOS-

 Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB
Capabilities: [b4] Vendor Specific Information: Len=14 
Capabilities: [100 v1] Virtual Channel
Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
Arb:Fixed- WRR32- WRR64- WRR128-
Ctrl:   ArbSelect=Fixed
Status: InProgress-
VC0:Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb:Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [128 v1] Power Budgeting 
	Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=024 

Kernel driver in use: nvidia

also "dmidecode -t slot" corresponding output

Handle 0x0023, DMI type 9, 17 bytes
System Slot Information
Designation: Slot1
Type: x16 
Current Usage: In Use
Length: Long
Characteristics:
3.3 V is provided
PME signal is supported

Any ideas how can I bind one to another?

TIA,
--
George Chelidze


--
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/50ade146.1050...@magticom.ge