Re: vagrant [Was: Re: packages status]

2014-02-23 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-08 17:12, Felix C. Stegerman wrote:
> On 2014-01-08 04:44, Diogene Laerce wrote:
>> Hi,
> 
>>>> [...] I would like to automate the installation process from
>>>>  scratch to a django development platform. But forgot to
>>>> note every modification from the very beginning. ^^ :)
>>> I'm not sure what you mean by "development platform", but for 
>>> standardized/customized development/testing environments, 
>>> vagrant (http://www.vagrantup.com/) is quite useful.  It makes
>>> it very easy to create, use, and share custom virtual
>>> machines.
> 
>> Actually I didn't know vagrant but I was going to use ansible to 
>> do about the same job. The vagrant documentation provides an 
>> explanation on how to use them as a synergy so : thank you ! ;)
> 
> You're welcome.
> 
>>> The only downside is that it is not configured very securely
>>> by default.
> 
> To expand on the insecure configuration: by default, vagrant: *
> listens to *: allowing anyone on the local network to access 
> your VM (unless firewalled). * uses a known ssh key pair and user
> password. * shares the folder containing the Vagrantfile with the
> VM, allowing someone who manages to access/compromise the VM access
> to the Vagrantfile, which allows him to inject ruby code that you
> will run when using vagrant the next time.
> 
> All of these can be fixed.  I've written some instructions a while 
> back on how to create a secure (ubuntu) base box yourself: 
> https://gist.github.com/obfusk/5768197
> 
>> The less scripting I need to do the better, anyway. :)
> 
>> Lots of reading to come..
> 
> Have fun.
> 
> - Felix

I'm currently working on a (ruby) development VM using vagrant+ansible
[1].  It uses an ubuntu base box b/c ubuntu provides one and I prefer
users not have to download a base box from an unknown source.


- - Felix

[1] https://github.com/obfusk/dev-vm-ruby/tree/ansible
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJTCgL5AAoJELIY/ywn/GzGDl4P/ji4u54HuEGdmHnom8M0yHfX
pkXPK2L5lM5RecvwiQKX+jUlA5apZrFglwPjdymnQs7KKFbQrLFSyC7gee726geG
rLS+RUnXtUG5MwlrXK1EyEiSoB9Z2pwHhtYljFBEDLFn78FXQNJkrdYT8Nu0Zy6Y
SLOHv0FdLE9mMWuYvCnpSLJ/dMxDmaE9JSgLQqoqGzsLWYCK7/XXvYTAgoQ5QmmT
wFeBMcTGzyAI+mG9WCScYxBuQdsLP4Pc8kWAyoDGm7RT+mfamlaDSPGe3OiDcb3z
4sT0BBGTwzexDcghUUPu8npU9fyJm8yTeCJ70ZJuArqfuKk+GK6G3T4xflz0oAJE
aSeYFQ5OwD968pKCQyg5qsBjdZ1GhTlZrwM4Cs99cYx19uQuAN6jyOpRSAjtwS3/
mUxBG/kWuK+YtRq3mWrSD5Trf+0bZcDQTlHYg8P5e7ShKQrufT8mVLSTY5y0kowu
dj30bwiT6mR2SdXDzS/IEWqSErTfoLt6GFkbsm/7GwVoM+YXO8IJn+u+ETnT7pnV
URfSDrNqiQ+gUl48CST+cCsK3TtHN6cgs08J9TFIa2eOqjbipKIPr3ZB+ZVQIn88
smUSxLav/JZ7Iu+FI+iKl+BNRbbpfy0h9kY0FJXNkHGTlq7ToiA/OCYXLxvBXQwD
ctEU9KPOdougZX0nKVl1
=MhQv
-END PGP SIGNATURE-


-- 
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/530a0300.6050...@obfusk.org



Re: Where are the local GVFS mounts?

2014-02-23 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-02-23 05:15, Mike Toews wrote:
> Hi,
> 
> I have mounted a smb share through the convenience clicking through
> of Gnome's Nautilus browser. Great! However, I cannot seem to do
> anything with it from a terminal. The properties (again, from
> Nautilus) don't say where the local mount is, and the "Open in
> Terminal" extension is not available for any of these directories.
> 
> Digging though similar questions and the technology behind, I have 
> discovered this was made possible with GVFS: 
> https://wiki.gnome.org/Projects/gvfs/doc
> 
> which says: "The default mount point is /run/user//gvfs,
> usually located on tmpfs, with a fallback to the old location
> ~/.gvfs when not available."
> 
> On my Debian Wheezy 7.4 (amd64) where I'm having this difficulty, 
> these directories do not exist:
> 
> /run/user /var/run/user ~/.cache/gvfs
> 
> And this directory is empty: ~/.gvfs/
> 
> And the smb mount is not found here: /media/ /mnt/
> 
> But, from the same terminal, I can see that there is a GVFS mount: 
> $ gvfs-mount -l ... Mount(0): sharedir on wincomp ->
> smb://wincomp/sharedir/ Type: GDaemonMount
> 
> So where is the local mount that I can use with a shell? Why is it
> so obscure to find?
> 
> This is my same question: http://superuser.com/q/717893/79304
> 
> -Mike
> 
> 

IIRC, I had to install gvfs-fuse, add myself to the fuse group, log
out and back in; then I could access gvfs in
/var/run/user/$MY_USER_ID/gvfs.

NB: I use sid, so YMMV.

Update: I just looked at the superuser question, and it seems to have
received the same answer I'm giving here.  Except that w/ wheezy, gvfs
shows up in ~/.gvfs instead of /var/run/user/$MY_USER_ID/gvfs.


- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJTCfyDAAoJELIY/ywn/GzGm8YP/jhNEyZuxRgXoVcWS67NkJzx
pR9UQn5CbeKFBl1Sl+gu5IILI0UeYeZ1U0WUAJweCbUUn9MhB7T2q6HGzSnbEDzG
0xosCeQMd8mSyDGPCYegnsFdpFeFBaQmyflNV6nt6dWVxwfa4YyxEWh53NwPIOM8
k0NjPKY4FJmcVvKRwavp0t6erd6+GDLfRTNWjeWP3STPzsBRcnLP75EqOquQDwzi
MtWR8MY8hzCKH8VSMnGx0gYy8klWTX7xO6oFyCfjeZBgwqPK2iYAWjg3m6SVexfp
xnSll/pd2VLRlIfFB2Xsm5mA943wtOe4KdQgCyRKf3aJoHqaYVpYtb6V7c54Kwfq
qkiM6Om+qpAjRVzVOtd19HTZonYUzj9lnidiCGKg+UgxXZqQqraRVO22b/VLQQvJ
AX+GBiI+Dl+Khf8RESTuVY8DxgtCZ1vJs1wHuaKkSM5uhY0X1UUSXSzFmJoAfbYp
sz29b4a2adewMXJTSTS6Pw7k4vSur8CdIzwHOTwP70ze2NEyJTQZJ2uuYoRqSNGg
J/qFK+eMqUdG+9yzg1au7gLn8yHQ/y8flIAF7LgmevtakdxJxR3s4Hii2Ysnbu8H
l9IO8g7Y68F6kmJ5UlBGL5TLmEwWJ1o872UUw0Lv4tPVPx4sxzxfL3HVNzWnH4bI
AUj0VrMwRb9T21KHzOvs
=Kc0C
-END PGP SIGNATURE-


-- 
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/5309fc8b.4010...@obfusk.org



Re: Help with command - cp

2014-01-30 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-30 01:51, Zenaan Harkness wrote:
> On 1/30/14, Felix C. Stegerman  wrote:
>> On 2014-01-29 10:43, berenger.mo...@neutralite.org wrote:
> 
>>> And then: $ cd ~/bar && rm `find -name '.*'`
>> 
>> Find is indeed very useful, but that's probably a bad idea.
>> You'll get into trouble with filenames containing spaces for
>> example.
> 
>> If you really want to use find, use something like:
>> 
>> $ find -depth -name '.?*' -exec echo rm -rv -- {} \;
>> 
>> Which will not match '.' because it expects at least one
>> character after the dot, will handle filenames correctly,
> 
> Does find do the filename-with-space escaping for us with those 
> {braces}? (I don't have access to man pages ATM sorry).

I tested it with a file named ".foo bar baz", so yes ;-)


- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJS6tWUAAoJELIY/ywn/GzG0LMP/AgEkUX4UFzeJVngwA98diLr
1TG8TAFN60StfUro32EZtZEiCvwXxlWQRe5QPwV4MRIzXlfPYsLJ5E2AwxPxbS/C
O1kJaVjL4D/7SyHyNdNzdigvichVLGb7xaG9Uq0rGohytTQ+mer7umlfVMo5RRMg
dgc/QaoqnTcW79Vl4vo4Ol8xfA9TRm8iTS3N0NPL4wSHE5UDfWvgiH53XgdBOso8
yQ5K4YRksD/AdypW5nWwRzUTc17UAWYRwL83PLjfep6D5e1l5CTPg5LPB94EBIuH
58Kvu43+1A2V72aPM3QPazE0HG36t97+5PLAxo5npk+s8TJRnoYBIvYdFPQ7vVvb
0c5l4SEtIMzXthoHMKYCNBx5juXEOjlmEJjSPgnWfoRpTJ/VdzGaf+IDeKoC/8Y0
WiFGX0ucx5/8NI2J+i7eJa1CpWJ3k7+ILcjpd7D8syQRY0A6Llp0+YssP3/wL3Yb
h9kgRcU/q2VAyjmB2/+uzH0cquss4y4UhjM2rwwpxEa46lg3Vd7vQi19xpHSqdTT
kL7Yhu3y2jY0g6IkDexoF0Q0YbDb3mK7Io8Sl4jzpxcJ3D3FEps7u6GtZM1ZMgaZ
j02P6GdfoVXrr4h+d5PytKDUNYFrTuEAW68jo5z7Xp0c1ZXtQiLCXmYZ2puc9J6u
wOFHGcnWBhMLt83VfAu+
=wlLC
-END PGP SIGNATURE-


-- 
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/52ead59c.6060...@obfusk.org



Re: Help with command - cp

2014-01-29 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-29 10:43, berenger.mo...@neutralite.org wrote:
> 
> 
> Le 26.01.2014 15:26, Lisi Reisz a écrit :
>> I am wanting to use the CLI to copy some files from dirA to dirB.
>> I want to exclude all hidden files.  Will this command achieve
>> it? :--
>> 
>> cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B
>> 
>> Thanks, Lisi
> 
> Just a note, too late but it could help later too, for another
> problem.
> 
> What I would have made is a quick and dirty method: first a classic
> copy ( I do not know rsync too ) $cp -r ~/foo ~/bar
> 
> And then: $ cd ~/bar && rm `find -name '.*'`

Find is indeed very useful, but that's probably a bad idea.  You'll
get into trouble with filenames containing spaces for example.  find
will also (as you point out) try to remove the current directory
('.').  And you won't remove hidden directories because you didn't
call rm with '-r', which is a good thing since it would have removed
said current directory.

If you really want to use find, use something like:

$ find -depth -name '.?*' -exec echo rm -rv -- {} \;

Which will not match '.' because it expects at least one character
after the dot, will handle filenames correctly, and remove directories
recursively.  Once you remove the 'echo' of course.  I left it in
there so you can run it to see what would be removed.

Of course, in this case you should probably use rsync instead.

> Indeed, it have really poor performances (in term of computer
> ones), since some files are first copied and then deleted, but it
> should work ( did not tried, actually ) and does not require any
> learning except the very basic use of find, in case you do not
> already know it. Could be made in a better way of the same
> direction, maybe by using find to select stuff to copy, but I take
> for sure that the lines will be quite more complex, as find is a
> really powerful tool, but it's man is not really clear about how to
> do stuff which could be considered basic. I can remember having
> some pain with it for more complex things like excluding some
> directories and only selecting files with different extensions.
> 
> Note that folders . and .. can not be removed so you will warnings,
> but those are simply warnings.
> 
> This is just another (and a dirty one) way to do the thing you
> needed :)


- - Felix
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJS6RGLAAoJELIY/ywn/GzGPfwQALH7Rslw4LWZyOrR71hqXq0T
y+XWTHS6eDVZDgn8JCh70Bky+DHvvYuqpu+VerJec0BKZSXz5OU+YeDY3wELp+AR
TXPt5/7wgrxATspi1t356kWx47Cp0BOmS3AX/16fStV4tQ5YX6r/bCUKUMbtVlU7
bHozq0L0iFi6rysnvZFWZpeZIDTFqo7BTRs05ggd/iuWZALm3eYlbsQJ2ep7gb2H
yrAvt0wy1pTN8vGjtZiZcIqy9CHhNXJ7w3qAz0TLrAJ3+KvpDmMiJxq+a2dPc4Nu
rJAmJFu6YX1hEzTpCV73vV/i7xTI11zJISnxS3QPdaawpNsI0wbAQNv0x6xmZyVo
8Bw7Gr26/LJm7N18cyknSKCEoenCOP6I/Q1sijkloORMWE9uA8s+5BLBYLvXXrsT
XjuTTYg8igpy/h6d4Cl1XjZRtJnC1zmDZwGRep6OCwzw9qNGwyq9Xy+0vn9CzJ+P
y4U5YKDjHWC3NHdrOCZp1Kajo2viZDZ3KMz5t7hh3RIwpcwkdTjCiq/bea3rDAqv
rClMVRKqz65uGNNqiTmnguSb0gSDtfaEWshpGv9em5DUyArp+NZR9ZTn+ggLyOi/
tnrs6zTAuth9gnplVWgFQtmvJ9oBLHLqwHlGxbeqd9IWqiLhik2iMcOPMvwGYukf
TVe/Kf5MUp0Gi6e5aYvO
=bvG0
-END PGP SIGNATURE-


-- 
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/52e91193.1010...@obfusk.org



Re: Help with command - cp

2014-01-26 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-27 02:04, Mathias Bauer wrote:
> * Felix C. Stegerman wrote on 2014-01-26 at 23:58 (+0100):
> 
>> On 2014-01-26 23:24, Mathias Bauer wrote:
> 
>>> * Mr Smiley wrote on 2014-01-26 at 20:56 (+):
>>> 
>>>>> cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B
>>>> 
>>>> If you don't put a / after B it will copy all files to a file
>>>> called B
>>> 
>>> No, obviously not.
>>> 
>>> [...]
>> 
>> It does if there's only one file in A and B does not exist.
>> 
>> $ mkdir A; echo HI >> A/foo $ cp -a A/* B $ cat B HI
> 
> Yes, but ... come on, that's a rather trivial shell expansion! By
> the way, don't you consider it a little bit strange to change the
> original problem conditions *afterwards*?
> 
> * Lisi Reisz wrote on Sun, 26 Jan 2014, at 14:26 (+):
> 
>> I am wanting to use the CLI to copy some files from dirA to dirB.
>> I want to exclude all hidden files.
> 
> Read ... file*S*.
> 
> Regards, Mathias

You're absolutely right *in this context*.  But if you're not aware
that the command will behave differently when there's only one file,
you may run into trouble later on when you use it in a different
context.  That's why I mentioned it.  So people don't expect it to
work in the same way with *any number* of files.  You'll also get
different results if there are *no files* (unless you use nullglob).


- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJS5bXcAAoJELIY/ywn/GzG5GQP+gOx4MFOs+Gee5XKk4E7Xkwn
nkem4A0jMvHpIVWIm1+f79D/VoV93oyM4EbL/ppeRY3zco1TjfxWMwjxB2tLNrEM
y58q2+n0/4wsrtyc5CKFRAtw2xGNhkZLezXMBk0sm62zlAXt5qQDUgUMqLfyl+nn
Ha0eR9tVWpEiLQVi0TZl7Mn/TvKwvN2DlcrOp5urgB8q6CerZiUGcxteblQSkRQm
8h2a8q4sNeT0m/gBtxCtgG/0l4FOC0tE9swhadwHNIUDIA2W0Q3NWR4OpirVHhcF
7Mjlmt8IzEhOWh6Sq0iWd3Therg/dZsI2VXfxLyP/OpYEnIOwoHRv0HUwE8A+I1N
jaE7y0oHeT3oT0/9Og6ii5cxSFUixRVKVkIr0oaw4CEhDWm8rvyNNPUM/mlP0wlV
raslS5e9wSko3WqzrfoCN4jREC9EoYIrsjssfiQ1dqBVZVXoGOcEC1UabcLM9rSq
QshUQXGmb/oDDLXQVgtOMP1oCCJ3RNj7zgtqiiRF+9B9VrqRP5Shn3PAAFT379nq
uMJ6YSP5KOquRXs4b+iuM6KfwlNKgaxJKP9EgvoNoFMxO+IzO7LUQnNaC5L250lJ
/Vo3Q41Yo3ia9QFiE/XoNy5iOBjPnm8W8izSr+E7HWFwad7xvZiEFHfxuKKZ1vw9
8z/KqTSjHMSEQgOjtV/E
=nkeh
-END PGP SIGNATURE-


-- 
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/52e5b5e3.4040...@obfusk.org



Re: Help with command - cp

2014-01-26 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-26 23:24, Mathias Bauer wrote:
> * Mr Smiley wrote on 2014-01-26 at 20:56 (+):
> 
>>> cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B
>> 
>> If you don't put a / after B it will copy all files to a file 
>> called B
> 
> No, obviously not.
> 
> $ mkdir src $ echo foo > src/file1 $ echo bar > src/file2 $ echo
> baz > src/.hidden1 $ [ -e ./target ] || echo "./target not found!" 
> ./target not found! $ cp -Rp ./src/* ./target cp: target `./target'
> is not a directory $ cp -Rp ./src/* ./target/ cp: target
> `./target/' is not a directory $ [ -e ./target ] || echo "./target
> not found!" ./target not found!

It does if there's only one file in A and B does not exist.

  $ mkdir A; echo HI >> A/foo
  $ cp -a A/* B
  $ cat B
  HI

> [...] Regards, Mathias


- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJS5ZMoAAoJELIY/ywn/GzG8aoP/RAwuBJoYttXvEGzhg4HGtMq
B/8ZlYQHxkSFBYUzmC6QBeJqJTidrRdt/XtIxTNp4kaS4iF7Hw8zGTdNvhNvpXLh
5Oa+3Cavj2fIYBUGO6d4x/2y+V6TE93/WHhKsSqSePfStMxC4YDTlwVggDCYXlOF
izU475gmvVag684q2VxaoQdSkr5kQDtITDeQBabX8y6EO1d/MXP8NWKcLsAS/8wr
BgWxDDuF7yGuwC4+dXcWJp2JStQ0LB+ba1ITk5f6PQchS8ccf7/2u1uSX/8ORWYL
3gJgWMsgNY52XCOefvvOTKWqwGYWPI7HiJ+q9JInGShnURgp4PMt65V+MN8HQHDQ
8WSCJu3g9JnCpp8EJzdi3T3L0iJCyvJN12gteyep6Su31jmwMJizC71PpOgZwKzP
7xizwcOii6F0dkxxaIO7K6ntwrNWePIj89NKEHGMCeoxjcoSWJ7+Z7MNmSRc7Yor
uPt9AzPq+fjpfUcRrWxLokIDFD9GL6ZTeZ8WpVEOI1PTSt4oiZpJKceWRWZWNMU2
o+cp1eqDvDHm45Pp6nA1oNOxfbTilsFySzuDubdUB7ZGV3Z1N7hHzAUgn8f2/hu1
UouMBC90DfswfAZomXHMRLD4Tth81ZzACKqPf4EhCiO1qFuOwJRsNdxDS+hq6ALI
sq0KEVZrPnmj75ZGnDL4
=CMk1
-END PGP SIGNATURE-


-- 
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/52e59330.4020...@obfusk.org



Re: Help with command - cp

2014-01-26 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-26 21:48, Mathias Bauer wrote:
> * Felix C. Stegerman wrote on 2014-01-26 at 15:49 (+0100):
> 
>> On 2014-01-26 15:26, Lisi Reisz wrote:
>>> I am wanting to use the CLI to copy some files from dirA to 
>>> dirB.  I want to exclude all hidden files.  Will this command 
>>> achieve it?
>> 
>> I prefer using rsync instead:
>> 
>> $ rsync --dry-run -av --progress --exclude='.*' /path/to/A/
>> /path/to/B/
>> 
>> * The slashes after A and B are important.
> 
> No, you only have to take care about the trailing slash of the 
> source A.  See rsync(1):
> 
> A trailing slash on the source changes this behavior to avoid 
> creating an additional directory level at the destination. You can
> think of a trailing / on a source as meaning "copy the contents of
> this directory" as opposed to "copy the directory by name", but in
> both cases the attributes of the containing directory are
> transferred to the containing directory on the destination.  In
> other words, each of the following commands copies the files in the
> same way, including their setting of the attributes of /dest/foo:
> 
> rsync -av /src/foo /dest rsync -av /src/foo/ /dest/foo
> 
> The trailing slash of the target directory B is irrelevant:
> 
> $ mkdir -p foo/dir $ touch foo/file foo/dir/file foo/.hidden
> foo/dir/.hidden $ rsync -av --exclude='.*' foo target1 $ rsync -av
> --exclude='.*' foo target2/
> 
> The results are identical directories ./target1 and ./target2. Of
> course, both need not exist.

You're right.  I always use trailing slashes on both sides, because
that way both rsync and cp behave as I expect them to.

> Regards, Mathias


- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJS5YdqAAoJELIY/ywn/GzGUmsQAKlXbyJ8gEyVBMt5BfMrerTD
QTCCJWXiANMgYgRJsSfqxIYvKarh/efFC58XrV5XB/gqy2ov6sEIjCa7ZANRwk6j
hwVwUDz3et4MWaeoYpFIAn01U33UZj1RxpO2EfEXF8if7nSe87ctjeC/ulmuWDHJ
nsTNn9vN3mEigBFAWDVQ4sBIS+0tQNhHkFUUJTcAU98qvbUjNrynj8EsL0MNoIti
4bw6KbRU1ApCOe522G8q7pPHac9EXKp8DZvnjnKbC92VaI6JxqvWQ9b5IDoQ7y7W
Zbc2leTiFhJHfPz0F9dojxMTmO3Eb2Y4+nGisUBveq3WLa2lpQsIwJSfZE3lZ7Zf
bAllluz3hVTbwyGV9hRT+qocVLEL1Ya+UYB5ktnYpIOZ/eTqTJcDhvx0ZXrojceY
1c8V2a1Jf0Ht/+4yyuBie156pQn+8bps7EdFf3rrJhN4Te5UrlOYg095V4Cur/8d
ZgQ4Jt32RE9ri/rELwsYJ1HbuP3VR7I0RablHHwzlSCWO3JNk8OCmgZg8Y0IBSD0
qwa2X8WOtqvvsQzBrcUIJ0FXOJ6Im64eoNf334nUTvlZIYE5rV2sm9dMvSiMlVLS
sug0dxczH6/jHtIkH44ayrRylrNzLCwyK2fH3ykzotSBJJNo9K8ZfQb6HpFOVXtM
EH1ChAvkDi8SXIYqnOuD
=VhGP
-END PGP SIGNATURE-


-- 
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/52e58773.8090...@obfusk.org



Re: Help with command - cp

2014-01-26 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-26 15:26, Lisi Reisz wrote:
> I am wanting to use the CLI to copy some files from dirA to dirB.
> I want to exclude all hidden files.  Will this command achieve it?
> :--
> 
> cp -Rp /path/to/sourcedir/A/* /path/to/destinationdir/B

Not quite.  But close.  You can get in trouble depending on how many
items are in A and whether or not B exists.  And it will only ignore
hidden files if they are in A directly, not if they are in subdirectories.

I prefer using rsync instead:

$ rsync --dry-run -av --progress --exclude='.*' /path/to/A/ /path/to/B/


Notes:

* Existing files in B will be overwritten.
* You may want to look at the manpage to see what the options do.
* The slashes after A and B are important.
* The --dry-run option will show you what the command will do without
actually performing the copy -- so you can check whether it behaves as
expected.  Leave it out to actually perform the copy.
* You can add the --delete option if you want to completely
synchronise the directories, as it will cause removal of files in B
that are not in A (except those excluded -- see the man page).
* If you only want to exclude hidden files in A itself (not in
subdirectories), use --exclude='/.*' instead.


> Thanks, Lisi


- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJS5SBZAAoJELIY/ywn/GzG3EQQANJhaP/VLk2EcFQL+eTggCRi
qTVWmbrSsMiaj2pBOrTelThGIVXsrWCukjkuOA/vxKKtMZJD2ZtLUIAi8HSj7zzw
zLdnpQPmJgjecd8vxlw27pQkVgQfyDUOxXk4MZ9d3GQoFoZ3T21lHFfPWskZqJbL
QqJ3ZrhYU4ijbmr7YBxGNiw/Ph5nc6FwihiU9DvcoNThJy+MlIklJJVAhMu+UaZ8
i9OOCsF7zAXxkbbk1bXjn+ni6PkiKD7AkTWrCQ/4vpa448cwZCth/v9p8akuniUu
7FserEDpwJhwdTInYWO7cBBXc2a9QDC5f/bCZ+eBbgpvrFBeiBt7f2ZStElMSWbY
Gv7BQ8x3ZZPJf0H+47wN00OOEuIouOWL88FWFMNaERtc4JQsXU9C+0n/O9N8AW+/
QNMZsw8zNAr4Eu/SFt88SuIWVO/zSDCPrcG6xweEirdKE8uFXca26seTHluYusp0
xnfXSzpT21ERXn2wnNASf7WHsP9T+5hcP3V7h+0t0dwtI3vC84e+PKBGMvcl40ps
QPjtybj2Dpz0u5sobgjnFN2RnguRRLbruTyvhcbb3LFZ69nORVJEFxzKEPAGmN2n
up1OsHO4HGwRTexyI3i3C+FxKeI2SoqSBbmvHx1W+oUZCqaal7lOyB1M7aTXCp98
sCidWvwF7U1EUTeGwzKs
=wAvY
-END PGP SIGNATURE-


-- 
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/52e5207b.4060...@obfusk.org



Re: How to unbind MacBook mouse buttons from Fn-F10 and Fn-F11

2014-01-20 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-20 15:03, Julian Gilbey wrote:
> I've just installed Debian jessie (testing) on a MacBook Pro and
> it's doing my head in :-(  I wonder if anyone has any ideas that
> might help me
> 
> I'm using XFCE4 as my window manager, if that makes any
> difference.
> 
> I really want to still have my F10 and F11 function keys work as
> just that; I'm happy to lose the "apple-cmd" keys to the left and
> right mouse buttons (which are also in a much more convenient
> location).
> 
> I found that the page 
> https://wiki.debian.org/MacBook#Mouse_2nd_and_3rd_buttons is fine 
> (though I had to change the keycodes), as long as I then enabled
> it using xkbset -m.
> 
> But I can't find any way to turn off the F10 and F11 mouse button 
> emulation :-(
> 
> I found that /proc/sys/dev/mac_hid/mouse_button2_keycode was 97, 
> mouse_button3_keycode was 100 (or perhaps it was the other way 
> around), and mouse_button_emulation was 0, yet it was still 
> emulating.  I set mouse_button2_keycode to 133 (left apple) and 
> mouse_button3_keycode to 134, and echo'd 1 to
> mouse_button_emulation, but that made no difference to the function
> key behaviour.
> 
> So something somewhere else is capturing these button presses, but
> I don't know where.
> 
> Does anyone have any clue?

IIRC there's the mouseemu package.

You may also be interested in this:
https://help.ubuntu.com/community/AppleKeyboard

> Many thanks,
> 
> Julian


- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJS3ZGrAAoJELIY/ywn/GzG9mAQAJbepJ9799eyx44+zup3d8u5
XuM+V78/87pFJdZu+1llFd7RO6LDqPpUpU+PBESPCzI0H4SsAlkm8VtcajL9sKcn
FFYZKDUglbuehfcQnMsriiaoRH5pVRv/5hQJ8kGgUX8cLDt+l3h8PCPDzUVCIxjH
7chkedEK1j2Cvx2Mz27DgeUo2aAr6kPqPWYAUGjdIu9mWe4mzsC/vyWoph7NKLQP
kdRwW5x47TTt6HQVgMCpChH6lRKF1Iotxs9da0kJtLGTbSXhD51FLxqlQlux4bz5
URaKlpTSaMY0cAAG6xPD2gvemHH8fNiAC4of2KbyzRX7ZSdC/Y2OOSl9+YtKbu7Z
nkaW+ZTTpEUHf0UG9Ms69dyP+zUqA/AY25RgPCvGeGEc5oAq5TW10osnSpuFt99O
6pI/+AQpXbeykDroPARRTMnnnGjoX6bMtWwueKLiwxfU6DqvEDQNqae6KoGcfJKF
kW8/HTvATTZDvfWg+TC4FWMdFHKJdFTBN6pYXmNUWGEaQ+Uvr1m3N4giB92rF3yc
mT9UlxbjWJnmcojAk09NEwSoejY8LUi5Y26+HyoFXAbY6wqJvwIFmcJQeAmQ4sGT
qtK6R0eZyW43jId5N8kpDVT34HS3wyS3ESJL31vkMwzMcVgpQ8XQE4/xFq+AaWj9
b1mDpIFpZVPfyyayJGPY
=tIe+
-END PGP SIGNATURE-


-- 
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/52dd91c3.2050...@obfusk.org



Re: Iceweasel weird behavior

2014-01-08 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-08 23:09, Alex S. wrote:
> On Wed, 08 Jan 2014 22:24:38 +0100 "Felix C. Stegerman"
>  wrote:
> 
>> 
>> It sounds like you're using a 32-bit firefox.  If you download
>> the .tar from the mozilla website (and are not using some apt
>> repo), you get a 32-bit version.  But 64-bit versions are
>> available at 
>> https://ftp.mozilla.org/pub/mozilla.org/firefox/releases.
> 
> Thanks, Felix! There don't seem to be anything on Mozilla website,
> that indicates that there are 64-bit versions available, I assumed
> there are none.

I can understand that.  I think I figured it out back when the
downloads still came directly from ftp.mozilla.org and had the
architecture in the file name.  So I looked for a 64-bit version and
found one.  But I don't think I've seen any links to them either.

- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJSzdT5AAoJELIY/ywn/GzG2osQALSlSgdvK2RQx5WPQgDYZIpa
TNJ665AzuLrKCmd4Cs5bzg5VUlEDe+tDGDEswxcD7OQ926mnpENXs8g83ds8ZELF
tCvmd9Qw7t8gQSEqMHveqKQZGPb+v2feOmM88pzqP8YzFZKYXoir37KNNnyaSQii
Er9K3dgJTFmp++TmPjDSMpTr9XTo+ff7UK24zmSHJa4mC1eT0Z/Fbf72UQkLQYdT
5iLfIhDTRDQ5/2IcqoR1209QzJ8QSN+1SRCH/UT3UOmOtd9PEZYns63SaiGF65Wo
o6TpRs9PbPm4bfX42fjPkvPo94LZWusZgdhih9dWpGHgz7DcBuSTGYPEVFXf7IGz
CK6UoH3L1g8Ey1R7Tig4l6O/eAe8JN/QEqdrj9Yo+EZpQV168h/v31K13vJVP+gE
uePItEPxp0WrZUzTe3s7jbYLW5NQWXC2TIu8W1u9iuJwjg68/aE2rVSSySm+RW3G
vyJNU9stRV60cLdY9RaOhH30ScvqxZCg/ghsMMkePkO+djxJgSL4uo8VlGXlqh2W
nXaR+vAURJPNmlZLJC3Rh3Xmzkl66AN2ICWYs+7V46DKbhgnmGWttq6tkLvQp5b8
nE3bxhLuNj9cuZclsB1PdPv4xwiX/HoLTJGGafgkyia4S4Bmy4pfg5bA2JGI+Pgv
wgW7xIILW3Du04E5Z8FD
=iaMZ
-END PGP SIGNATURE-


-- 
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/52cdd502.8040...@obfusk.org



Re: Iceweasel weird behavior

2014-01-08 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-08 20:50, Alex S. wrote:
> On Wed, 08 Jan 2014 18:41:30 +0100 Ralf Mardorf
>  wrote:
> 
>> On Wed, 2014-01-08 at 17:34 +0200, Alex S. wrote:
>> 
>> Perhaps you like a Qt based web browser 
>> http://packages.debian.org/jessie/qupzilla 
>> http://packages.debian.org/sid/qupzilla
>> 
>> Qupzilla is very close to the little bit older Mozilla browsers,
>> like older Firefox. Or try at least the original Firefox instead
>> of Iceweasel.
> 
> Thank for suggestion. I tried the original firefox, it does work.
> But it requires a great deal of 32-bit libraries that Iceweasel
> doesn't (I run a 64-bit system), and some of them conflict their
> 64-bit counterparts on Sid. I'd also rather stick with GTK. I'll
> try figuring strace output out, or switch to something like midori
> for a time, I think.
> 
> 

It sounds like you're using a 32-bit firefox.  If you download the
.tar from the mozilla website (and are not using some apt repo), you
get a 32-bit version.  But 64-bit versions are available at
https://ftp.mozilla.org/pub/mozilla.org/firefox/releases.

- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJSzcIOAAoJELIY/ywn/GzG1AIQAJOMImLM3/XAZhTxAaGUoE3z
+efMltLSwzF0KmIgt6hdgFwFLOwKmpWN8N+SbXGq3VAHObY95M8d+ouMrGCE8YNv
v/qgOIre+WwWqG7UrSVnc1pvokzVWs9jMLAtBIZD53MaPZ8SJn2qtJ0XhipXltYE
bpVi/e5U8Gbf/Hdw1bjAwIxJ08nwjw3uTklZ6AdixeXFp7WqFgwILMzS43V7dGq2
dLfD4NJG0ATdNclW0OrPU48jfa5UNhq3WdGEr5wcx4xCq6x0nJmXrL9+X6h7/J8L
MY8cFP5h0KXhHjnZm49cfvZCRhFcJnIN9aMzq9dTxIgYiddYxAkq9lXH5mg+7raH
e2/1zPQngEcKSQygllB+2E44ZEJa339nXhAPjm1GHjqDLn0mktH9Qg9zwBa+QXbs
Och2Kzrl6FPZ6TZ8GH0gK45MFc7iJRS0LM9GUJMGL9/yzLBFL2Av0NmQZol0+9O8
0fiavqJJBlPvYt3e3frXTpZL9hXJ37Rr7IPQFsl8l4FLch7Z7+iwQi3i74m6mpUi
7UNAruBnl6rM6I3ZzbzXvrd9UoQr3jk0XSQ7ZGRADQfuGsVP8F9SKlOfLY3pHece
BBnon6p2bbLnjFGITCTFN7jeHhjUPxUwQIZ/f6DDM4yJwY8NMmdo7/PJgSc8Yh/M
G2Wh5c48vJWjNxiRBN9K
=HXr8
-END PGP SIGNATURE-


-- 
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/52cdc216.10...@obfusk.org



vagrant [Was: Re: packages status]

2014-01-08 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-08 04:44, Diogene Laerce wrote:
> Hi,
> 
>>> [...] I would like to automate the installation process from 
>>> scratch to a django development platform. But forgot to note
>>> every modification from the very beginning. ^^ :)
>> I'm not sure what you mean by "development platform", but for 
>> standardized/customized development/testing environments,
>> vagrant (http://www.vagrantup.com/) is quite useful.  It makes it
>> very easy to create, use, and share custom virtual machines.
> 
> Actually I didn't know vagrant but I was going to use ansible to
> do about the same job. The vagrant documentation provides an
> explanation on how to use them as a synergy so : thank you ! ;)

You're welcome.

>> The only downside is that it is not configured very securely by
>> default.

To expand on the insecure configuration: by default, vagrant:
* listens to *: allowing anyone on the local network to access
your VM (unless firewalled).
* uses a known ssh key pair and user password.
* shares the folder containing the Vagrantfile with the VM, allowing
someone who manages to access/compromise the VM access to the
Vagrantfile, which allows him to inject ruby code that you will run
when using vagrant the next time.

All of these can be fixed.  I've written some instructions a while
back on how to create a secure (ubuntu) base box yourself:
https://gist.github.com/obfusk/5768197

> 
> The less scripting I need to do the better, anyway. :)
> 
> Lots of reading to come..
> 

Have fun.

- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJSzXjyAAoJELIY/ywn/GzG4FQQANqzvwLAfAKkKi+L2vJL0A0P
nwswShMIUj1GQ8jboAG2niWfB+84zBv6FU3L6oRBafCf0fiTfIobtc50SwvOHwXZ
ZIErJm8FfM6EOcFDE7cBpufWU4lQ7IEKeq19zF5nqdul7etSr6YH+rNwa6E/qFQT
K/K/j5wJ0enQ67cBGxQ+nuk9I44i89xvK6H+4TpNwzMS7EVFu5sgcLdXdg1Va4YH
81TMeqKdbE9QVryIQFo468yt1JLGzfBJ4eiSHsyuEDXbeWUE3Dlgrpms+JPZ+Og1
LZqx8dRmptipSccmnVwWt6DWqoyGX+kFMSBsSaAKftM4PXUHt7l7lVjfRKo9P2yx
wLwKT5h4M1O2CrydjJoxuPYU64M+29I0iL8Y1GZ1zIcsgW9/Z0y9dvX7DwKKlfCL
fcfVLws63zxvZ5wcaBtqOheBP0aY56ObBLQ7P91xzePS+oPPDtmM+UHAqgb+RfMl
7tZtWkIvsmJMWlRqq7jdH10FB8Oyf06dkyFI9nxzoJ7/to+krVV+rNXLt2Q510JC
1cpu8nk3Q7KgsV2YFcE9ml0YG36oegCGp02oEYc63ZlRDkMsxMIRilTxgkBK/xYb
l4XVg0Ck7z1yvuxJFKE9YbApx9lSv809TyytBoWo3urbJBMuUINxXiKkmks2CRBt
9RKtboC3iTs3usze/6X1
=MtMn
-END PGP SIGNATURE-


-- 
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/52cd78fd.6020...@obfusk.org



Re: since last upgrade unable to upgrade, install whatever...

2014-01-07 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-07 01:22, Vincent Lefevre wrote:
> On 2014-01-06 05:28:54 -0600, Selim T. Erdogan wrote:
>> Actually, after looking at
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734256, what you
>> could do is to remove apt-listbugs, install ruby1.9.1, and then 
>> reinstall apt-listbugs.
> 
> You also need to make sure that the right alternative is used for 
> /usr/bin/ruby.
> 

Only if you've manually configured it; 1.9.1 has a higher priority.

Also, ruby1.8 now no longer provides ruby-interpreter, which means
apt-listbugs should now pull in ruby1.9.1:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734319


- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJSzLrsAAoJELIY/ywn/GzGvKoP/AxtumF/46Jdb8ipe6ovX6LI
gEG/7w6ESPiEP4rLD79TVNJnNvoJCJ6OBSje/aPIVUFRKtFFDMyGxsRtdxnjSpUA
DND2oDrg9ah8nHr39KnI9w+zP+ViUaA0qZPY2Cz0lQf8dVE6GjJvH2bzZ21sznXq
q/7Wf7bqOaN4WQ/gadlQ+IoM3sv+95qtKKVe2CBGOjUG3dblxxFO87YIsnxNZUHt
9JGtFyyhajzn0OrP7nK1N1mly6MuJ/3UQtDJLtZq38IwfjrRu09scE34o/4rKMoR
zIyzO+nZyqm5+6ukmsHWuaJEWiiFy7qIWC/1kHGjwKzD5SkT47ozrbMMJgP2Yxt5
e6wVynFngvIJCij5JqJ1a+3BEo78j8rLVFSufsjMwGPtfvVKFmW4y51tWO8EEe4r
FpTbsv8z3Q+npkFJMWbLM2bfe9zM8PyTPu6MZV5xLJrk5xwi7758lUa2Mnzf8E0s
HcpwN8oSuRkTIAcW5TipvnqwFWYMOwVAQ4z29y71fY33eDBDmeKxy9jUhEeCUOWM
vwcxc4pvJa1lIw4QAFA8PmI3ioWcQ5nB5WuTyVDwG91BA6TKSoaveChQfvuN6882
JLBX7Xf/iheH7VO3hYKjxPNCX5BcBnzWMFQLR1+MdpYOCzwcdg+W3FhK40A+UeZi
N1Bd9HIlyegEUfEDgf7o
=qmax
-END PGP SIGNATURE-


-- 
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/52ccbaf4.30...@obfusk.org



Re: packages status

2014-01-07 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-07 05:08, Diogene Laerce wrote:
> [...] I would like to automate the installation process from
> scratch to a django development platform. But forgot to note every
> modification from the very beginning. ^^ :)

I'm not sure what you mean by "development platform", but for
standardized/customized development/testing environments, vagrant
(http://www.vagrantup.com/) is quite useful.  It makes it very easy to
create, use, and share custom virtual machines.  The only downside is
that it is not configured very securely by default.


- - Felix

> [...]

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJSzKkrAAoJELIY/ywn/GzGBCcP/1/KahZs2oAa0aHnBjSYHIyI
Bdcbtfaj42I2vH2pmykxunv3AIyYuIc8dUFuTEhbQ1gMJGYiYl1r0OGyixMm9VPK
6BxfgMfksHkNC5989TiL2FSGy2nLNjix9Mz5y9nVmQ8dnIcXG+QwVA80RIKZd+J8
pAjcj2FWXUIN6A4v8aOTBxs6S87o3JYsb8uAmD8iblISQoGx2picBNZ/zPJeFEez
yVNBTkkNpUlX/+ecJO4sgF43deiaDX5ns8WI/NfeZLVK1TzxG2YlsHFYFPNZ8p9J
254t0+STs31z1XHh5Hp7GLOJ7pMhyDklJz80javV6HI23GzYLEwma7g0DIVlWUoP
oMtiW/rycE84Mh8Au2x3um89+RBhFqFYDcCgTBqPhZzCSpgOUWt86GUl2XSC6dE2
/gwhFQXBLDLCVmxymLT0Qcpj7Yxnt2aWvzemKTDGN6DbHusIn0qyVzV0dvNwtqOp
YnWi6YpHzoN5hQ/GjRzMWUaH8YaF2X6Wqzqs4uxtj6LGkEzZrt1bSWG0jl0ctGYW
VzL3a+eWsrqi56fSNMwPcrFT4vkd1WfB+Yh9ILadiJz4wJK1Fvyajw0KYMvvyA8l
gNmIclOwH2ZbboFpXX9VNdZEyfPQWiGWvNfw1uoeUqwVTgDf6UREprvHIyfLIEry
O3M7ZtZTuEEiRxVA7Hcn
=a/jG
-END PGP SIGNATURE-


-- 
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/52cca934.9020...@obfusk.org



Re: Automatically activate xscreensaver-command -deactivate after un-hibernate ?

2014-01-07 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-04 23:26, Zenaan Harkness wrote:
> sid, xfce
> 
> Because I just have a blank screen as my lock screen, 
> un-hibernating just continues to show my blank screen.
> 
> It would be nice if the "unlock" password dialog appeared 
> automatically. Anyone know how I might do this in xfce?
> 
> TIA Zenaan
> 
> 

These seem promising:
https://wiki.archlinux.org/index.php/pm-utils#Creating_your_own_hooks,
http://askubuntu.com/questions/107276/how-can-i-get-a-script-to-always-run-on-resume-in-lubuntu.


- - Felix

(@Zenaan Harkness: Sorry about the PM, I pressed the wrong key.)
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJSzKUeAAoJELIY/ywn/GzGnzEP/04C+h9aQWaHpVW7Ys3BipQ7
O6gTAPe3P2/orPavPEppyywZKPOauwyOdyI7KuWyFIXXxhkcVLcjuOQxdo5yXvHZ
TDBeEHPwGK7t3QEoSaG7qcrMv4HaFiDxfiJMo4BsPIEs7Z1Z5NIXFR+ddZmEWDb5
zPAjT11xALSZMYIm0tdIbvsjJmbv8r/PHBcOqNIl7ZgRhkPhCPEY+bErDBwz/MBK
WnKdX/cwXUW1fzSv+HHD2hGHfoQa7+bzqygC01JNJS0ADkI2cvd2LEV2i4zeWG3j
w/nnt//u2Doxq209tKGYSPdpnnJ3gF3HdOytYNqMaiw30rJuHTUNciK2vm3neXcu
SFCB1OHlPRFHh6I/EIoldTK3scTenrXXNpk1yXXV00NorEA6ggKRu7OY5eD2hxPR
jYaaI/3rWr+3fTWpU+E4HDi3j0bFQHhFlBElkum38JBNVS+7Ge7qOJDL2kYGWWIk
oBS5ZqaA35BjrDWbSSufQw1DLl48p4qgERGqKMOX7V5B2qp7eQuzY/iFmu0d9FPS
rso+qtt/kckO4pllP0iPvSDFIpB6oJm2AxQqhDnoWR1wMvSDm8rvJquwcfuVut7v
75P9TTEX3ZX0vyC4DDFrEWiZLQwuf1ia1vJfOzXVT9bCHcOThDrld9FuArdDJ1DY
h8tY7gqoBkrBwFJ5sfwt
=KuFr
-END PGP SIGNATURE-


-- 
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/52cca527.8090...@obfusk.org



Re: New to Debian (Gentoo user) - package management

2014-01-07 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-05 01:43, Chris Bannister wrote:
> On Fri, Jan 03, 2014 at 10:31:35PM +, Lisi Reisz wrote:
>> On Friday 03 January 2014 14:16:34 Brian wrote:
>>> The '-s' can be omitted if more than one package is to
>>> installed.
>> 
>> i.e., if you are requesting more than one package, it will tell
>> you what it is going to install before doing it anyway.  You need
>> the -s for one package, because if you have only asked for one
>> package it otherwise just goes right ahead and installs it.
> 
> I've always looked on it as; if you didn't ask for a particular 
> package to be installed then it won't do it without your
> permission.
> 

Indeed.  I prefer aptitude to apt-get (and I'm assuming their
behaviour regarding installing packages not requested is the same --
correct me if I'm wrong).  When installing the packages you requested
does not result in more packages being installed, it just installs
them; otherwise it prompts.  And aptitude has the -P option to always
prompt.

@Tanstaafl:

Also, the -s option simulates the installation of packages (dry run,
like --pretend w/ emerge).  But if you use aptitude -P, you get a
prompt you can cancel.  Also, aptitude safe-upgrade/full-upgrade
always prompts before upgrading.

Also, aptitude has a TUI (and minesweeper), but no super cow powers
(apt-get moo vs aptitude moo).

The FAQ:
http://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html,
http://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html.

The Reference:
http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_basic_package_management_operations.

The Wiki: https://wiki.debian.org/Apt.

The handbook: http://debian-handbook.info/browse/wheezy/apt.html.

Wikipedia: https://en.wikipedia.org/wiki/Advanced_Packaging_Tool.

Also, the apt-get and aptitude man pages are pretty comprehensive.

And then there's also dpkg, dpkg-reconfigure, apt-cache, apt-file,
apt-show-versions, apt-listbugs, apt-listchanges, apt-rdepends,
update-alteratives, apt_preferences, debconf, etc.

Enjoy.


- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJSzJ/+AAoJELIY/ywn/GzGGfAQAMLxzT/CVxbl1kpQLi92b7JU
F2KuvDXtPQ7QxNq8w4e/p4Lva+xclKbTfniySvz6gx83/TC5ow1DybBjBWdcBzmv
aFeX2DJ+6an2yXsP1Xq6dEpi3Fd2H+Hk9xru74c6J+b37DcfS+rc42hArjO1vFa8
WIoa1VwBxKD3X3asgdT23BUTezV1yOg51Bgh4GEwwEZoy/BUXy71e0ymaQZlT+4V
i5XZd0BG5vF/xg5vEeofvNjSpSXE0QaTFqhpJsoZ2Vv+MHvj64XR6fqHG23BwPJD
tfKHOqz9IPNAZXkjZ4oLT/oqAL/lfaVRjA0Mpohfgc4nJpwgIraIcjqaM8t51Vw4
MS45mz6JaH7sBIZjJEsmdjqKVssTjd2Q9fTeb9oMRiRxvf9xPR2OVyd256hnzvDc
aZpJABNgiQEumFtvRoPGkzXjgud7cYltN1OCeAwE/pYc0rEAi6+plJG/ruDHRYWK
tGSqytQhBoLs77XUjjkuLaUuhdqdBfqAeiB/d3bluIPQs3ulaoPToVkqJmD41iIw
sULp1zXyaVCHTjrnUaZf8f8PLfPQ/HEFB9iRf3vwQz9w4fQCaVhjZ4g8dJWYbIKC
+8cmkUkXgqmIZ8D2+ZJfqKoYtM4WaeK/BCpL9bgX6En9H6n/lGPfRBd/TecQe+M4
GLMRLz2+/pNXnc+LZWq+
=wGim
-END PGP SIGNATURE-


-- 
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/52cca008.3060...@obfusk.org



Re: Problems while using Tor Browser on Debian 7

2014-01-07 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-06 20:17, André Nunes Batista wrote:
> On Sat, 2014-01-04 at 01:21 +0600, Muntasim-Ul-Haque wrote:
>> Hi, I have installed Tor on Debian 7 but couldn't use it.
>> Viladia is showing the following errors: /*[Warning] Could not
>> bind to 127.0.0.1:9050: Cannot assign requested address*//*
>> *//*[Warning] /var/run/tor is not owned by this user
>> (tranjeeshan, 1000) but by debian-tor (115). Perhaps you are
>> running Tor as the wrong user?*//* *//*[Warning] Before Tor can
>> create a control socket in "/var/run/tor/control", the directory
>> "/var/run/tor" needs to exist, and to be accessible only by the
>> user account that is running Tor.  (On some Unix systems, anybody
>> who can list a socket can connect to it, so Tor is being
>> careful.)*//* *//*[Warning] Failed to parse/validate config:
>> Failed to bind one of the listener ports.*/
>> 
>> Now how can I make Tor work? Thanking you, Muntasim-Ul-haque
> 
> Hello Muntasim!
> 
> From your description I'm guessing this might be a port collision 
> problem. "debian-tor" is a special user you can create to run the 
> tor process and it defaults the socks host to port 9050. Vidalia
> is a different software which AFAIK has been discontinued and runs
> its own tor instance. If both are running and configured to use
> the same socks host, the second one wouldn't be able to handle the
> port which is in use by a different process.
> 
> So the question is, how did you install tor?
> 

Indeed.

Vidalia was a Tor GUI used by the Tor Browser Bundle (but not any
more, are you using the latest Tor Browser Bundle?).  The Tor Browser
Bundle (which is the recommended way to use Tor) includes Tor, so you
don't need to install it yourself (and probably shouldn't).  In fact,
it would seem you do have it installed (via apt) and you can't use
both at the same time because they use the same port.

Removing the debian tor package should fix the Browser Bundle.

- - Felix
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJSzJeMAAoJELIY/ywn/GzGY+wQAL5yiy/0Zj5rW3C14mwZAoXh
kOIbzSPWQbhXB9aQfNw2qkFU2pj5uQyTUieEt1RL9YP6lAxiuO6YunXuIoV3Ri8v
6WHhyAXNxTDXMgd5Csv4+xTNua0ovjzT4Mk8/+38P3qRPlciHATHnfYV/t25n/At
Tlpw+1eXLgxec1h6+UFsMFUB6DUqOVkkvA79VbjzDwbq2D1pyl+ZT+ZvYIDQja/o
FHxkkKhHrirDFdv/Z2kZ1EPHeQUyeEhwsCrLdm+J8ImSYRdr1uZjuQBQtmHmw63z
gHkTarlvlntPf6WZbtfW+nlS7yvmWPI9RmN/FtUS6QKVloRYwm2TB3LOQirB8u+G
X4tuLtce2y6EvECIDDMfpPuim9N37NDRqfmmBHScIw4T1fp/W8P+vL/YBeO+68nu
ZQhuo+rENGrsMglKdnpBknuh74s0KAU0PM6WoM77RiQrllW9rRxgdx9sXwjafttz
kBCgAecDrHfVJ7zCoi2xUorQGZ8bXvMhB7fPHKrURPEA5KGWpwMs9KIV3LE6P9RB
Ss35aSFPHvSXn0nZgyAMP2xHTNBxpwpKHPwAeXCpqaYu0Qvz2TGofM7y6CtLITu1
Ks+w4PuMuOtc6r/qt5pC8ywPM0vMAMrw71TBVUVNWMo8sAv2/C/HcRlOhkuoUVCz
0OyDJ/CqFEe6Ugq2YqHv
=exfU
-END PGP SIGNATURE-


-- 
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/52cc9799.4070...@obfusk.org



Re: since last upgrade unable to upgrade, install whatever...

2014-01-07 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-06 12:30, François Patte wrote:
> Le 06/01/2014 12:21, Selim T. Erdogan a écrit :
>> Erwan David,  6.01.2014:
>>> On Mon, Jan 06, 2014 at 11:56:35AM CET, François Patte
>>>  said:
 Le 06/01/2014 11:30, Erwan David a écrit :
> On Mon, Jan 06, 2014 at 11:24:44AM CET, François Patte
>  said:
>> Bonjour,
>> 
>> Since the last upgrade, I am unable to run any apt
>> command (install, upgrade...) all end like this:
>> 
>> /usr/lib/ruby/vendor_ruby/debian.rb:24:in `require': no
>> such file to load -- debian_version (LoadError) from
>> /usr/lib/ruby/vendor_ruby/debian.rb:24 from
>> /usr/sbin/apt-listbugs:269:in `require' from
>> /usr/sbin/apt-listbugs:269 E: Sub-process
>> /usr/sbin/apt-listbugs apt || exit 10 returned an error 
>> code (10) E: Failure running script
>> /usr/sbin/apt-listbugs apt || exit 10
>> 
>> 
>> file debian_version is on my system.
>> 
>> What to do?
> 
> Bug is in ruby-debian which does not provide
> debian_version.so for ruby 1.8
> 
> You may comment out everything in
> /etc/apt.conf.d/10apt-listbugs until it is fixed.
 
 # ls /etc/apt.conf.d/10apt-listbug /bin/ls: cannot access
 /etc/apt.conf.d/10apt-listbug: No such file or directory
 
 # ls /etc/apt.conf.d/ /bin/ls: cannot access
 /etc/apt.conf.d/: No such file or directory
 
 hum!
>>> 
>>> Maybe it differs for you but that's where my jessie stores the
>>> fact that apt* should launch apt-listbugs before install
>>> 
>>> Maybe in apt.conf for you ?
>> 
>> Mine was in /etc/apt/apt.conf.d/10apt-listbugs 
>> ^ (note extra "apt/", and final "s")
> 
> OK thanks, I found it...
> 
> Any idea how long this bug will last? Or how to have any info when
> it will be corrected?
> 
> 
> Thank you
> 

The bug report (which will be updated as it is fixed) is here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734233

- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJSzJKQAAoJELIY/ywn/GzGy7YP/jVRUOPOXoilPjDacURAWFRt
7sErsfxYJJKWgbsd9aZUFOsUkFB4ojQqvlxuzcimdEUbesnEgTj0nF57bhGsZLmn
K449ddQk2JpdTrcF+m14TRWdnFoapjvrsREUBCsREedsUfPVNXCIhY0OHqVDZ1zW
0kdORuCHrRfIek9/XLXPtnks8uX3oI8nUsCUXWEHLNzlDS5crFFITeyp03dKoLK3
NfJp7ririfSt9H4vME1ufEWGBtr/EkRhv6v67v/5jy3Ud9mmnGG47C9dil0QcocA
lM84Kz8W7AozKKc97jiMbBRL/daSrhUS/YgV+kZ6+NItROyDPgE8D9CnCuph6Jwz
Axjb9z6pDMBOarIO0REc+ETBcqufIif9jzFRm4soGEgeAqxXI0hnJ8nvQrRNgmJ1
nDcdrNBu42q/mxr+1g8jbicEZr4yLBCnRIesgCTSTjk6gx68V8tgReWlFvIFq+NA
BA4NqBgWp0mpf1LHkiwBJ9aLFhJ5K9PSlI5kXaejekglZqqQrOX5qJbSRUARWTPM
V7ZllREn7I/IeY7kq48s10YtjKMGfdmY8cPBTXTHckvG7fRuRd4G7EJJ+NLfseQ/
mkMNU6R2nwssjIgfUlhsiDK1f647YOqnpnPBRiP/4XS7kW+h7NQBbLT3jlBydxqp
TB2eOuJwN3zsDiR9/QdQ
=hdhU
-END PGP SIGNATURE-


-- 
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/52cc929a.20...@obfusk.org



Re: stable mix testing

2014-01-07 Thread Felix C. Stegerman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2014-01-07 20:16, Pol Hallen wrote:
> Hi all! I've a strange problem: debian stable with mate desktop:
> with only stable sources list I don't have any upgrade to do, I
> added testing repository like it:
> 
> /etc/apt/sources.list
> 
> # STABLE deb http://ftp.it.debian.org/debian/ stable main contrib
> non-free deb-src http://ftp.it.debian.org/debian/ stable main
> contrib non-free deb http://security.debian.org/ stable/updates
> main contrib non-free deb-src http://security.debian.org/
> stable/updates main contrib non-free # MATE deb
> http://repo.mate-desktop.org/debian wheezy main # TESTING deb
> http://ftp.it.debian.org/debian/ testing main contrib non-free
> 
> /etc/apt/preferences
> 
> Package: * Pin: release a=stable Pin-Priority: 700
> 
> Package: * Pin: release a=testing Pin-Priority: 500
> 
> apt-get upgrade
> 
> The following packages will be upgraded: libfaac0 libsqlite3-0
> mate-backgrounds mate-icon-theme mate-themes
> 
> Also commenting mate repository I've same problem. I need keep
> debian stable and upgrade only one package. Is this because mate
> has become to debian (testing?). How keep whole debian stable and
> install a package (only one yes -) from testing? Any idea?
> 
> thanks!
> 

(It's been a while since I used apt pinning, but IIRC) if you only
want a single package from testing, you should probably Pin all
packages from testing to something like -10, and Pin that specific
package from testing to the same priority as stable.  e.g.

Package: *
Pin: release a=stable
Pin-Priority: 700

Package: *
Pin: release a=testing
Pin-Priority: -1

Package: some-package
Pin: release a=testing
Pin-Priority: 700


Or you could pin testing, but not pin the package at all and simply
install some-package=some-version.

You can check the priorities w/ 'apt-cache policy'.

- - Felix

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCgAGBQJSzJGWAAoJELIY/ywn/GzGrB4QALxSfMz3xQNpxwnvPZYDXZDB
/Uy9Pnn3OAhglPFR8/oZmurWmwQxxPnQP3+dnvy4860zCVq6DqH1ZQc8L4LkTba1
kroqMkOTmpbUb2doYq4XLkitNsLqeTTeD7Boq74IG80kla4TRy2GETiTaZ+zJpQg
zsdlG2eokq1TmFQ072Wt11tx+9pfB9G2haLm4KnPaJyoMgPa2A0D5OgnJTc+QtUJ
0/7s/to98+ePZKsChgetu+aJECaXc/xOd6Aeb9XjsfyoHIIqONQj7GtU92+njDiY
99blOsv8V65+i5LZgusdPmnL1D3H91P+JC6k7CdxfIZooX6rBtJ1PDxtYVSaWe2O
a01PiR0dxGRmdCi2arwttlfL8zr3X4umy7OZUh8rvyKCyjRrsJvFiprqAsPCS8z2
CVrgIs2tBDEJYdKcutrfpB0pelUX1wacwvWGJHEDAFFaUKG6y6fwX1bxmZK/pj4A
Ei46/PJ1bBnmFtRZ6N0fdcwkhl7yiszVKfrCby0Ng9mDGVnicbrDq+jbwK8O8+dl
7CkDgpOl7hxq9Zsg10YqboZxJNxEisu+LVwBpP+qkPG9SJ/SNyZMtrLG66scplE8
aN4SkW0ipEsv1/R6IcI6QgEH/NlWhUERoacxKYWReN1z0iVC9IRkE9hpS8QuZPyE
GKX+hE6j4D+TD9QqxNRi
=2KJS
-END PGP SIGNATURE-


-- 
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/52cc91a1.5050...@obfusk.org



Re: Windows-toolbar behavior in gnome

2006-06-21 Thread Felix C. Stegerman
* edwardsa <[EMAIL PROTECTED]> [2006-06-21 16:33]:
[...]
> You have only two choices, and neither produce the prior behavior for
> new windows. "smart" apparently looks at the focus behavior, which only
> changes  the interaction of the mouse with the window. That is to say,
> once the window is created, focus_mode decides whether focus is given
> by clicking or simple placement of the cursor. It does not effect
> whether new windows are automatically raised. That is really my point.
> Currently, metacity is a "Have it our way" window manager.
>
> I have run the same application (molden, a molecular visualization
> tool)  in KDE and I am able to exercise complete control over new
> windows. The default was exactly the same behavior as in gnome, but I
> could change it with the configure window behavior option. I was also
> able to alter the annoying behavior of firefox, described previously,
> where new instances of the browser are initiated behind other windows.
>
> I have looked fairly carefully at the metacity.schemas file and I have
> not found a way to alter the window behavior to customize metacity. I'm
> now using KDE because gnome/metacity had diminished my productivty. I
> miss the simplicity of gnome's presentation and would use it again if
> it met my needs. I realize that simplicity is one of the driving
> considerations for metacity. However, to misquote Einstein entirely out
> of context, things should be made as simple as possible, and no
> simpler. I would say that metacity is now a little too simple.
[...]

You could always use another window manager with GNOME.  I used GNOME
for a short period, and didn't like metacity either, so I just used
openbox.  Now I just use openbox + perlpanel (no GNOME).

Of course, openbox may not be what you want either, but you might be
able to find another window manager that is.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpsfqeHxA8OM.pgp
Description: PGP signature


Re: How to use sudo not root

2006-06-17 Thread Felix C. Stegerman
* Magnus Therning <[EMAIL PROTECTED]> [2006-06-17 11:38]:
> > > Historically in UNIX the group wheel has GID 0, in Debian that's
> > > the root group.
> >
> > Do you know where the name `wheel' comes from?
> 
> No I don't. I couldn't find anything on Google either (10 minute
> search only). One interesting peculiarity I wasn't aware of is that
> on BSDs, which have the wheel group, `su root` is only allowed for
> members of the wheel group.

That's how I've set it up as well.  I've added a system group wheel
and made sure PAM only allows su (and console logins) for members of
group wheel.  Also, SSH only allows members of group wheel to log in
remotely.  I think I got the idea from the "Securing Debian Manual".


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpOHNZoPjBKp.pgp
Description: PGP signature


Re: mount pendrive fstab entry ?

2006-06-17 Thread Felix C. Stegerman
* "B.Hoffmann" <[EMAIL PROTECTED]> [2006-06-17 22:00]:
> After some experimenting my fstab entry for mounting a pendrive now
> looks like this
> 
> dev/sda/media/usbdrive autorw,user,noauto  0   0

  ^ are you missing a '/' or was that a typo in your e-mail?

> but it still doesn't work (obviously or would not post).

This works for me:

/dev/sda2 /media/usbkey ext2 ro,user,noauto 0 0

Of course, my usb key is partitioned, so you may need to use /dev/sda
if yours is not.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpAeThEC4ZNo.pgp
Description: PGP signature


Re: Installation Python 2.3 with Debian Testing

2006-06-17 Thread Felix C. Stegerman
* Kumar Appaiah <[EMAIL PROTECTED]> [2006-06-17 06:11]:
> On 17/06/06, Felix C. Stegerman <[EMAIL PROTECTED]> wrote:
> >Debian BTS != bugzilla. ;-)
> 
> Acknowledged. Realized that the difference is more than subtle!
> Actually, it is *very* wrong to call Debian BTS bugzilla!
> Thanks for the tip.

Debian's BTS is by far the best I've seen.  I haven't used bugzilla
much before, but I definitely like the Debian BTS.  Especially the
reportbug command and the ability to use e-mail to control it and
request information.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgp0sNEBlzQvu.pgp
Description: PGP signature


Re: How to use sudo not root

2006-06-17 Thread Felix C. Stegerman
* Magnus Therning <[EMAIL PROTECTED]> [2006-06-17 01:24]:
> On Fri, Jun 16, 2006 at 21:50:39 +0200, Felix C. Stegerman wrote:
> [..]
> >> %admin ALL=(ALL) ALL
> >> 
> >> should do ... as they have in ubuntu
> >
> >What about group `wheel' ?
> 
> Historically in UNIX the group wheel has GID 0, in Debian that's the
> root group.

Do you know where the name `wheel' comes from?

> >vipw.  Interesting.
> 
> You also have vipgr, visudo (already mentioned in the thread I believe),
> and vidir :-)

I was already familiar with visudo, but I was unaware it was not the
only vi*.  Also, I believe you meant vigr (not vipgr).  And vidir
looks rather interesting.

# aptitude install moreutils ...


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpj1UEvd3clQ.pgp
Description: PGP signature


Re: How to use sudo not root

2006-06-16 Thread Felix C. Stegerman
* Richard <[EMAIL PROTECTED]> [2006-06-16 14:56]:
> On 16/06/06, Magnus Therning <[EMAIL PROTECTED]> wrote:
> > On Fri, Jun 16, 2006 at 15:41:11 +0800, Richard wrote:
> > > On 15/06/06, Joseph Smidt <[EMAIL PROTECTED]> wrote:
> > > > When I installed Debian I selected to not allow root login
> > > > thinking that would enable sudo and disable root.  But when I
> > > > logged into gnome it kept asking for the root password to do
> > > > admin things, so I set a  root password and it works.
> > > > However, I would like to disable root and have it so my sudo
> > > > password works for all the gnome admin things, like opening
> > > > synaptic.  How do I do that?  Thanks.  Joseph Smidt
> > >
> > > I think you should login as root and run the commands:
> > >
> > > usermod -G $USER $GROUPS,adm
> >
> > A shorter option (sorry couldn't help myself):
> > # usermod -a adm $USER
> 
> Yes you are right

Or even simpler:
# addgroup $USER $GROUP

> > > visudo
> > >
> > > # Members of the admin group may gain root privileges
> > > %adm ALL=(ALL) ALL
> >
> > Rather then using the group that exists to allow users to read log
> > files[1] it might be better to use the root group or create a
> > special group for this purpose.
> 
> Right again :-)
> 
> %admin ALL=(ALL) ALL
> 
> should do ... as they have in ubuntu

What about group `wheel' ?

> > > And then delete the password from root from your /etc/passwd and
> > > /etc/shadow files =second field
> >
> > I'd suggest using the -l argument to passwd instead of editing
> > /etc/passwd and /etc/shadow manually. If you still want to do it
> > manually you should probably use vipw to do it.
> 
> right again :-)

vipw.  Interesting.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpvNxJ0eM3jn.pgp
Description: PGP signature


Re: Installation Python 2.3 with Debian Testing

2006-06-16 Thread Felix C. Stegerman
* Kumar Appaiah <[EMAIL PROTECTED]> [2006-06-16 10:11]:
> Here's the bugzilla report:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373856

Debian BTS != bugzilla. ;-)


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpqJ0rVw13sj.pgp
Description: PGP signature


Re: python upgrade failing on Sid

2006-06-16 Thread Felix C. Stegerman
* loos <[EMAIL PROTECTED]> [2006-06-16 05:51]:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=373856

Thanks.  I really don't know why I didn't check for existing
bugreports.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpGmHwTPD3x5.pgp
Description: PGP signature


Re: python upgrade failing on Sid

2006-06-15 Thread Felix C. Stegerman
* "H.S." <[EMAIL PROTECTED]> [2006-06-16 01:39]:
> 
> I just tried to upgrade a Sid system, and here is the dpkg error I get:
> ---
[...]
> Setting up python2.4-minimal (2.4.3-7) ...
> Traceback (most recent call last):
>   File "/usr/bin/pycentral", line 1365, in ?
> main()
>   File "/usr/bin/pycentral", line 1359, in main
> rv = action.run(global_options)
>   File "/usr/bin/pycentral", line 892, in run
> pkg.set_default_runtime_from_version_info()
>   File "/usr/bin/pycentral", line 575, in 
> set_default_runtime_from_version_info
> self.default_runtime = get_runtime_for_version(versions[0])
> TypeError: unindexable object
> dpkg: error processing python2.4-minimal (--configure):
>  subprocess post-installation script returned error exit status 1
[...]
> -------
> 
> Any idea what could be the problem?

No.  But I do get the same error.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpEjN3tHOpwd.pgp
Description: PGP signature


Re: Moo! (WAS Re: upgrade only if installed)

2006-06-14 Thread Felix C. Stegerman
* Kelly Clowers <[EMAIL PROTECTED]> [2006-06-15 00:49]:
> try "apt-get moo"
> then "aptitude moo"
> then "aptitude moo -v"
> then "aptitude moo -vv"
> and so on

Now that was funny!


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgph0MDb0ABDN.pgp
Description: PGP signature


Re: CUPS (1.2) is screwed up totally--I have no printers

2006-06-11 Thread Felix C. Stegerman
* Kenward Vaughan <[EMAIL PROTECTED]> [2006-06-12 04:22]:
> On Mon, Jun 12, 2006 at 02:07:46AM +0200, Felix C. Stegerman wrote:
> > * Eike Lantzsch <[EMAIL PROTECTED]> [2006-06-12 00:08]:
> > > On Sunday 11 June 2006 17:42, Felix C. Stegerman wrote:
> > > > * Kenward Vaughan <[EMAIL PROTECTED]> [2006-06-11 13:16]:
> > > > > Just to pass this titillating piece of info along if the
> > > > > earlier posts aren't enough...  I have submitted a bug
> > > > > report.  The notes that I took for its contents follow.  If
> > > > > anyone has some thought on what to try, I'd love to hear
> > > > > from you.
> > > > >
> > > > > I need my printers... :(
> > > >
> > > > <...>
> > > >
> > > > Have you tried purging all CUPS packages and reconfiguring all
> > > > printers?  That worked for me.
> > > 
> > > Oh well, KDE, acroread, scribus andwhatnot depend on
> > > cupsyslibs2.  "dpkg-reconfigure cupsys" should do the trick but
> > > it didn't for me.
> > 
> > The following worked for me:
<...>
> 
> I went the whole 9 yards, and purged all of them along with the
> packages which depended on them.  Reinstallation, etc.  Same
> problems as before (wrong ID, etc.).  Installed printconf, which
> nicely found the LaserJet, but it still doesn't print.
> 
> The only error I have found in the error log that seemed to be real
> was the constant comment about not being able to find pscript5.dll.
> This doesn't exist in any package.
> 
> Thanks for the suggestion.  
> 
> I am installing cups-pdf as well.

Just wondering: do you have any of foomatic-db-*, hpijs, hpijs-ppds
installed ?  I'm not sure whether there are other (good) drivers for
HP LaserJets, I've always used hpijs for my HP LaserJet 1100.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpdDDSVzrkHY.pgp
Description: PGP signature


Re: Mixed dual-monitor setup: too weird?

2006-06-11 Thread Felix C. Stegerman
* Reid Priedhorsky <[EMAIL PROTECTED]> [2006-06-12 02:28]:
> On Sun, 11 Jun 2006 21:20:08 +0200, Philippe De Ryck wrote:
> 
> > On Sun, 2006-06-11 at 13:23 -0500, Reid Priedhorsky wrote:
> >> Hi folks,
> >> 
> >> I'm contemplating a dual-monitor setup consisting of a 1280x1024
> >> LCD and a 1024x768 LCD. There's a couple of sources of oddity
> >> here: the difference
> ^^^ doh! this should be "CRT"
> 
> >> in resolution and the different display technologies.
> 
> > Why would that be weird? Of course, you won't have two identical
> > screens or a symmetric setup, but that works just fine. I am
> > talking about two separate screens in the config, not xinerama or
> > other stuff. That's how I use it and how I like it.
> 
> Well, it seems I made an error: the smaller screen would be a CRT,
> not an LCD. :/ I was thinking of stuff like text smoothing, which is
> best done differently on the two types of screens, but I've not seen
> any setups where one screen uses subpixel rendering and the other
> doesn't -- especially using Xinerama, which is important. I need to
> be able to move windows from screen to screen.

I'm not sure if it's of much help, but I have a dual-monitor setup w/
my laptop having a CRT connected through a KVM as a second screen.
I'm just mirroring the laptop's screen to the CRT, but everything
works fine.  I'd imagine merging would work OK too.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpavhMvwZSOg.pgp
Description: PGP signature


Re: secure-testing.debian.net down?

2006-06-11 Thread Felix C. Stegerman
* Andrew Schulman <[EMAIL PROTECTED]> [2006-06-12 01:40]:
> I have
> 
> deb http://secure-testing.debian.net/debian-secure-testing
> testing/security-updates main contrib non-free
> 
> in my /etc/apt/sources.list.  Since a couple of days now, apt-get update
> always hangs on this update.  Can anyone tell me what's up, or down?

On May 12th, the testing security archive moved:
http://lists.debian.org/debian-devel-announce/2006/05/msg6.html

It is odd, however, that http://secure-testing-master.debian.net is
unreachable as well.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpwU339UAJFt.pgp
Description: PGP signature


Re: CUPS (1.2) is screwed up totally--I have no printers

2006-06-11 Thread Felix C. Stegerman
* Kenward Vaughan <[EMAIL PROTECTED]> [2006-06-11 18:34]:
> On Sun, Jun 11, 2006 at 11:42:19PM +0200, Felix C. Stegerman wrote:
> > * Kenward Vaughan <[EMAIL PROTECTED]> [2006-06-11 13:16]:
> > > Just to pass this titillating piece of info along if the earlier
> > > posts aren't enough...  I have submitted a bug report.  The notes
> > > that I took for its contents follow.  If anyone has some thought on
> > > what to try, I'd love to hear from you.
> > > 
> > > I need my printers... :(
> > >
> > <...>
> > 
> > Have you tried purging all CUPS packages and reconfiguring all
> > printers?  That worked for me.
> 
> Yes and yes.  No change.  Includes reboots in between. What I don't
> know is whether there is another package outside of the "regular"
> cupsys ones which may be leaving traces of something about, messing up
> the purge.  Basically, I hit all the cups\* listed as installed.
> 
> It is also weird that CUPS identifies my usb printer (the Epson) with
> /dev/lp0, which is a parallel port.  

That is rather odd indeed.

> I'm wondering whether there is some problem with udev or the like.
> There is no /dev/usb directory, unlike the information below suggests. 
> Is this because of the existence of the /udev/.static directory???
> 
> Again, my system sees the printers properly (via hwinfo)

Something I just thought of: you could install cups-pdf and see
whether you can print to PDF files.  That way you'd be able to find
out if CUPS works at all.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpQBZVxEZdWK.pgp
Description: PGP signature


Re: CUPS (1.2) is screwed up totally--I have no printers

2006-06-11 Thread Felix C. Stegerman
* Eike Lantzsch <[EMAIL PROTECTED]> [2006-06-12 00:08]:
> On Sunday 11 June 2006 17:42, Felix C. Stegerman wrote:
> > * Kenward Vaughan <[EMAIL PROTECTED]> [2006-06-11 13:16]:
> > > Just to pass this titillating piece of info along if the earlier
> > > posts aren't enough...  I have submitted a bug report.  The notes
> > > that I took for its contents follow.  If anyone has some thought on
> > > what to try, I'd love to hear from you.
> > >
> > > I need my printers... :(
> >
> > <...>
> >
> > Have you tried purging all CUPS packages and reconfiguring all
> > printers?  That worked for me.
> 
> Oh well, KDE, acroread, scribus andwhatnot depend on cupsyslibs2.
> "dpkg-reconfigure cupsys" should do the trick but it didn't for me.

The following worked for me:

$ dpkg -l | grep -E '^[a-z][a-z]  ' | awk '{print $2}' | grep cups
cups-pdf
cupsys
cupsys-bsd
cupsys-client
cupsys-driver-gimpprint
cupsys-driver-gutenprint
libcupsimage2
libcupsys2
libgnomecups1.0-1

$ sudo aptitude purge cups-pdf cupsys cupsys-bsd cupsys-client
cupsys-driver-gimpprint cupsys-driver-gutenprint

$ sudo dpkg --force-depends --purge libcupsys2

$ sudo aptitude install libcupsys2 cups-pdf cupsys cupsys-bsd
cupsys-client cupsys-driver-gimpprint cupsys-driver-gutenprint

$ sudo dpkg-reconfigure cupsys


I then pointed firefox at http://localhost:631 and re-added my
printers.  All is fine now.

I only have a network printer (HP JetDirect), so I have no idea
whether this would (or even could) fix issues with USB or parallel
printers.  And even with network printers, YMMV.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpLF0vJwvt4M.pgp
Description: PGP signature


Re: CUPS (1.2) is screwed up totally--I have no printers

2006-06-11 Thread Felix C. Stegerman
* Kenward Vaughan <[EMAIL PROTECTED]> [2006-06-11 13:16]:
> Just to pass this titillating piece of info along if the earlier
> posts aren't enough...  I have submitted a bug report.  The notes
> that I took for its contents follow.  If anyone has some thought on
> what to try, I'd love to hear from you.
> 
> I need my printers... :(
>
<...>

Have you tried purging all CUPS packages and reconfiguring all
printers?  That worked for me.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpqAtI3gFdHS.pgp
Description: PGP signature


Re: x11 and unplugging / plugging usb mouse w/o restarting X11 ?

2006-06-09 Thread Felix C. Stegerman
* Johannes Zellner <[EMAIL PROTECTED]> [2006-06-09 23:14]:
> is it possible to unplug / plug an usb mouse w/o restarting the
> x server (and the mouse recognized again by X11 if it's plugged
> in)?

Yes.  I just did so to verify it ;-)  (using Xorg 7.0)


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgppZoBE0XVa0.pgp
Description: PGP signature


Re: is it a bad idea to use unstable on a server ?

2006-06-09 Thread Felix C. Stegerman
* "s. keeling" <[EMAIL PROTECTED]> [2006-06-09 04:25]:
> Michelle Konzack <[EMAIL PROTECTED]>:
> >  Am 2006-05-26 19:08:47, schrieb Felix C. Stegerman:
> > 
> > > So it comes down to:
> > >   * Is it a bad idea to use unstable on a production server when it
> > > comes to security?
> > 
> >  YES
> 
> I would agree.  However, there's these guys: www.grml.org, who take it
> for granted that people will use it in a production environment:
> 
>Notice: If you are using grml in a [production] environment and/or
>use a grml2hd installation we strongly recommend to subscribe to
>the grml-user mailinglist!
> 
> Good advice.
> 
> Pretty cool looking distro, fwiw.  I'm looking forward to playing with
> it (no opportunity yet).  Debian based SystemRescueCD based on unstable.

I discovered grml about two weeks ago, but unfortunately they don't
have a PPC port (yet) ;-)

> > >   * If so, would you recommend using testing, or stable?
> > 
> >  Stable with selected backports IF NEEDED!
> 
> Stable, yes.  Backports, for a server?  I'd build from source instead.
> Of course, that could mean dependency hell ...
> 
> Instead, just wean yourself from having to run bleeding edge software.

As I wrote (in another thread and somewhere else in this one), I've
decided to run stable and backport mysql + vim + linux-image myself.

I don't generally need/want bleeding edge software (on a server), I
just really like vim 7.0 and do need some features new to mysql 5.0.

Thanks.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpVz2WS5zA0g.pgp
Description: PGP signature


Re: [backports & security]

2006-06-04 Thread Felix C. Stegerman
* John Hasler <[EMAIL PROTECTED]> [2006-06-04 18:34]:
> Felix C. Stegerman writes:
> > I'll stick with stable and backport mysql, vim and the kernel
> > myself.
> 
> First check backports.org.  Someone probably has already done it
> (and there are 2.6 kernels in Stable).

backports.org has mysql-server 5.0, but neither vim 7.0 nor
linux-image 2.6.16 for powerpc.  And since the latest 2.6 kernels for
ppc are much better than older ones, I'd rather use 2.6.16 then 2.6.8.

Thanks for the tip though.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpacaelmcs4k.pgp
Description: PGP signature


Re: is it a bad idea to use unstable on a server ?

2006-06-04 Thread Felix C. Stegerman
* Jon Dowland <[EMAIL PROTECTED]> [2006-06-02 12:27]:
> > Do you think that security support for unstable is good
> > enough for this?  Or should I just go with stable +
> > backports?
> 
> I don't use unstable on servers anymore so I don't know if
> security support is good enough, although I know it is
> significantly better than it has been in the past, thanks to
> the testing security team (who, iirc, also cover sid).
> 
> > ~ vim: set ft=mail tw=70 sw=2 sts=2 et:
> 
> ^^ interesting idea, I think I shall borrow it :)

;-)  I've been adding modelines to every file I edit lately.  I've
come up with a vim function + key mapping to insert a modeline with my
preferred settings and the current file type as a comment of the form
used by the file type I'm editing (e.g. /* ... */ for C/C++, or # ...
for Perl/shell scripts etc.).

> I'd just go with stable, keep an eye on the debian-security list and
> backport anything that you really need (which should be very
> little).

As I replied to Johannes Wiedersich (in another thread), I've decided
to go with stable and do some backports myself.

Many thanks for your insights.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgp3R6l9dt1hi.pgp
Description: PGP signature


Re: [backports & security]

2006-06-04 Thread Felix C. Stegerman
* "Roberto C. Sanchez" <[EMAIL PROTECTED]> [2006-06-01 16:33]:
> Felix C. Stegerman wrote:
> > 
> > I'm running unstable on my desktop (well, actually a laptop), so I'm
> > accustomed to the occasional breakage and could probably live with it.
> > 
> > I'm just reluctant to use unstable on a production server connected to
> > the internet, because I don't want to leave the server (potentially)
> > vulnerable.
> > 
> > If, however, security updates to unstable are reliable enough, I would
> > seriously consider using it (and test upgrades on my laptop first).
> > 
> > Would you say unstable is reliable enough to use on a production
> > server that can handle occasional downtime?  Without any unnecessary
> > risk of leaving it open to vulnerabilities?
> 
> Personally, I stick to stable servers since I don't have time to babysit
> them through frequent dist-upgrades.  If you need only a few more recent
> packages, then stable+backports is probably your best bet.  If you need
> lots of new packages, then unstable might work for you.  However, you
> must realize that many (nearly all) Debian developers are volunteers
> (i.e., their employers do not pay them to work on Debian full time) and
> so packages can fall behind upstream releases because the maintainer
> gets busy.
> 
> For a good example of this, see http://bugs.debian.org/src:cyrus-sasl2
> 
> The cyrus-sasl2 package is arguably a very important package.  However,
> it is now something like three or four minor versions behind upstream
> and has a ton of bugs.  That is not a good situation and the maintainer
> has recently orphaned it.  However, there is enough attention from other
> Debian developers that at least security issues are resolved.
> 
> I would be careful of using a server running on unstable that uses
> packages which have been orphaned, as those are generally the least
> likely to receive attention.

As I replied to Johannes Wiedersich, I've decided to go with stable
and do some backports myself.

Many thanks for your insights.



- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgp28yGyCBaX9.pgp
Description: PGP signature


Re: [backports & security]

2006-06-04 Thread Felix C. Stegerman
* Johannes Wiedersich [2006-06-01 17:53]:
> Felix C. Stegerman wrote:
> 
> > Do you know what would be the best way to make sure I don't miss any
> > of those updates?  If I backport e.g. mysql from unstable/testing,
> > will I be able to rely on security announcements to debian-security,
> > or do I need to check for new vulnerabilities upstream?
> 
> Just looking up http://www.de.debian.org/security/faq
> 
> "Security breakage in the stable distribution warrants a package on 
> security.debian.org. Anything else does not. "
> 
> "Q: How is security handled for testing and unstable?
> 
> A: The short answer is: it's not. Testing and unstable are rapidly 
> moving targets and the security team does not have the resources needed 
> to properly support those. If you want to have a secure (and stable) 
> server you are strongly encouraged to stay with stable. However, work 
> is in progress to change this, with the formation of a testing security 
> team which has begun work to offer security support for testing, and to 
> some extent, for unstable."
> 
> If security and reliability are important, I'd stick to stable. Period. 
> YMMV.

I'll stick with stable and backport mysql, vim and the kernel myself.
I've been meaning to read the "Debian New Maintainers' Guide" anyway
;-)

I guess I'll just have to monitor upstream security announcements and
hope that I won't have to bring the service/server down (long) in case
any serious vulnerabilities are discovered.

Fortunately, the only users that will (should) be able to log in to my
server will be some friends and colleagues, so I should only have to
worry about keeping apache2 (which is in sarge) and my own backport of
mysql secure.  I might even restrict access to Public Key SSH only
(users can always forward port 80 to their local machines to access
the wiki)

> >>It's always a difficult decision between 'I'd rather have xxx' and 
> >>security. If reliability is important, I would rather stick to 
> >>stable, but YMMV.
> >I'm more concerned about security than reliability.  I can handle
> >occasional downtime if something breaks, but I'd rather avoid my
> >system being compromised.
> 
> I meant to write "reliability AND security".
> 
> About 'occsional downtime': If it's a server that is supposed to be 
> online 12 month per year, you should also consider the implications of 
> a downtime while you are on vacation or have other important things to 
> do ;-)

Many thanks for your insights ;-)


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpE2AjzqEgwB.pgp
Description: PGP signature


Re: is it a bad idea to use unstable on a server ?

2006-06-01 Thread Felix C. Stegerman
* Paul Johnson <[EMAIL PROTECTED]> [2006-05-27 01:07]:
> > So it comes down to:
> >   * Is it a bad idea to use unstable on a production server
> > when it comes to security?
> 
> Possibly to probably yes (the answer for stable would be "no").
> 
> >   * If so, would you recommend using testing, or stable?
> 
> Stable.
> 
> >   * And does anyone with experience running unstable on production
> > servers know of any other caveats I should be aware of?
> 
> Don't do it unless you want to babysit it constantly and do a lot of
> reading in your free time to keep track of development and latest
> bugs a lot more carefully than you otherwise would.

So just keeping up with debian security announcements wouldn't be
enough?  I would have to actively monitor security issues for the
services the server provides?  Or would it be enough to make sure I
keep the server up-to-date and occasionally take it down to fix some
debian-unstable-induced breakage to keep it secure?


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpVNCvLKwJz5.pgp
Description: PGP signature


Re: is it a bad idea to use unstable on a server ?

2006-06-01 Thread Felix C. Stegerman
* Jon Dowland <[EMAIL PROTECTED]> [2006-06-01 12:11]:
> >  * Is it a bad idea to use unstable on a production server when it
> >comes to security?
> >  * If so, would you recommend using testing, or stable?
> >  * And does anyone with experience running unstable on production
> >servers know of any other caveats I should be aware of?
> 
> I ran unstable on a server for several years in order to have some more
> up-to-date packages (this was in the woody era). I eventually regretted
> it, as e.g. libc updates are things you can live without when trying to
> provide a stable service.

A, yes ... Woody ;-)

> I'd just go with stable, keep an eye on the debian-security list and
> backport anything that you really need (which should be very little).

I wouldn't mind the occasional breakage that comes with using
unstable, since the server is only meant to be used by myself and some
of the people I (have to) work with.  So as long as it stays secure I
can handle even occasional downtime to sort things out.

Do you think that security support for unstable is good enough for
this?  Or should I just go with stable + backports?


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpjV4uZhOUNC.pgp
Description: PGP signature


Re: [backports & security]

2006-06-01 Thread Felix C. Stegerman
* Andrei Popescu <[EMAIL PROTECTED]> [2006-06-01 14:47]:
> > > It is said that compiling your own kernel with make-kpkg should
> > > be pretty easy. It generates a kernel package which you can than
> > > install with "dpkg -i". Never tried it myself though ...
> > > Compiling smaller software is generally just a matter of running
> > > "make" "make install". YMMV
> > 
> > I know ;-)  I've used make-kpkg a lot.  I'm not sure whether it's
> > easy to install one of the newer kernels (even a self-compiled
> > one) on sarge though, since it may depend on newer versions of
> > e.g. yaird.
> 
> You could avoid yaird by compiling everything in. I think the only
> problem would be udev, but I may be wrong

You're probably right ;-)  So the question is whether udev is easy to
backport to sarge, or whether it will cause problems.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgp8vW3lTJXDr.pgp
Description: PGP signature


Re: [backports & security]

2006-06-01 Thread Felix C. Stegerman
* "Roberto C. Sanchez" [2006-06-01 14:59]:
> Felix C. Stegerman wrote:
> > 
> > I've thought about using unstable (see an earlier thread I
> > started), and decided to go with stable instead.  But it's nice to
> > know that unstable can be used with very little problem.
> > 
> 
> In general, there are not too many problems or breakages with
> unstable.  Occasionally, complex packages will experience RC bugs or
> other such things will happen.  Security is generally handled
> quickly as well, as new package versions are first uploaded into
> unstable anyways.  The problem is that as an administrator, you have
> no guarantee that the behavior of your system will remain the same
> from one dist-upgrade to the next.  If you are running services in
> production, this could be a problem.  If you can stand occasional
> down time while you sort out such issues or if you have additional
> test servers, this tends to not be as much of a problem.

I'm running unstable on my desktop (well, actually a laptop), so I'm
accustomed to the occasional breakage and could probably live with it.

I'm just reluctant to use unstable on a production server connected to
the internet, because I don't want to leave the server (potentially)
vulnerable.

If, however, security updates to unstable are reliable enough, I would
seriously consider using it (and test upgrades on my laptop first).

Would you say unstable is reliable enough to use on a production
server that can handle occasional downtime?  Without any unnecessary
risk of leaving it open to vulnerabilities?


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpJknCWEfWSR.pgp
Description: PGP signature


Re: [backports & security]

2006-06-01 Thread Felix C. Stegerman
* George Borisov <[EMAIL PROTECTED]> [2006-06-01 11:39]:
> Felix C. Stegerman wrote:
> > 
> > I'm about to install sarge on a (production) server of my own, and
> > would rather like to have the latest versions of:
> >   * mysql (5.0)
> >   * vim (7.0)
> >   * the Linux kernel (2.6.16) [ppc]
> 
> The latter will probably cause the most problems. The Debian packages of
> the later kernels depend on an later version of libc6, with all the
> further dependency implications.
> 
> You will probably be able to use the kernels you compile yourself.
> 
> For the rest, you could consider mixing stable and testing (through APT
> pinning.) MySQL 5 is definitely in testing and vim 7 will make it there
> eventually.

Wouldn't mixing stable and testing be less secure than using
backports?  Or is security support for testing good enough to rely on
for (some packages on) production servers?


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgplJGDxaVy7e.pgp
Description: PGP signature


Re: [backports & security]

2006-06-01 Thread Felix C. Stegerman
* Johannes Wiedersich [2006-06-01 12:39]:
> > I'm about to install sarge on a (production) server of my own, and
> > would rather like to have the latest versions of:
> >   * mysql (5.0)
> >   * vim (7.0)
> >   * the Linux kernel (2.6.16) [ppc]
> > Since these are not in sarge, I'm considering using backported
> > versions from backports.org.  I was however unable to find much
> > information on the effect on security of using backports.org.  Since
> > this server will expose several services to the internet (apache,
> > subversion, mysql), I want to make sure that it is, and stays, secure.
> > So these are my questions:
> >   * Are you using unofficial repositories (e.g. backports.org) on
> > production servers ?
> 
> Not any more, but I used to when I needed a more recent samba than that 
> on woody. (Now using sarge). I now use it on my productive laptop for 
> kernel and OO 2.0, but the latter only very seldom.
> 
> >  * Do you (and can I) trust backports.org ?
> 
> I'm not from backports.org, but I don't know why you should trust their 
> mysql 5.0 less than what you would backport yourself. In both cases, 
> the chance to miss an important security update etc. is probably higher 
> than on stable, but you already knew that.

Do you know what would be the best way to make sure I don't miss any
of those updates?  If I backport e.g. mysql from unstable/testing,
will I be able to rely on security announcements to debian-security,
or do I need to check for new vulnerabilities upstream?

> If trust is of utmost importance, it is always better to compile 
> yourself; and if anything goes wrong you know whom to blame :=))
> 
> (You could achieve even more trust, if you scrutinize the source code 
> line by line before compiling... )
> 
> It's always a difficult decision between 'I'd rather have xxx' and 
> security. If reliability is important, I would rather stick to stable, 
> but YMMV.

I'm more concerned about security than reliability.  I can handle
occasional downtime if something breaks, but I'd rather avoid my
system being compromised.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpHSa3d2mJbi.pgp
Description: PGP signature


Re: [backports & security]

2006-05-31 Thread Felix C. Stegerman
* Robert Van Horn <[EMAIL PROTECTED]> [2006-06-01 08:41]:
> >   * Are you using unofficial repositories (e.g. backports.org) on
> > production servers ?
> >   * Do you (and can I) trust backports.org ?
> >   * Also, since even backports.org does not seem to have vim 7.0 and
> > kernel 2.6.16 (yet), what would be the best way/place to get these
> > from ?  Should I (try to) backport them myself ?
> 
> Hi, I use unstable on 6 production servers with very little problem.
> I compile my own kernels and use mysql out of the box from
> http://dev.mysql.com/downloads/ 
> I'm using gvim 6.4.1 so don't know about 7.0.
> Also I find it nicer to compile apache outside of debian -
> easier for me to keep track of multiple http servers in
> /usr/local/ than wherever debian puts them. If there is a
> mess up on an upgrade it can be a big pain to fix.

I've thought about using unstable (see an earlier thread I started),
and decided to go with stable instead.  But it's nice to know that
unstable can be used with very little problem.

Next time, please reply on-list, and don't top-post.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpv7Yb8xP1wp.pgp
Description: PGP signature


Re: [backports & security]

2006-05-31 Thread Felix C. Stegerman
* Andrei Popescu <[EMAIL PROTECTED]> [2006-06-01 08:10]:
> >   * Also, since even backports.org does not seem to have vim 7.0 and
> > kernel 2.6.16 (yet), what would be the best way/place to get these
> > from ?  Should I (try to) backport them myself ?
> 
> It is said that compiling your own kernel with make-kpkg should be
> pretty easy. It generates a kernel package which you can than
> install with "dpkg -i". Never tried it myself though ... Compiling
> smaller software is generally just a matter of running "make" "make
> install". YMMV

I know ;-)  I've used make-kpkg a lot.  I'm not sure whether it's easy
to install one of the newer kernels (even a self-compiled one) on
sarge though, since it may depend on newer versions of e.g. yaird.

Thanks anyway.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpK69H2amH59.pgp
Description: PGP signature


[backports & security]

2006-05-31 Thread Felix C. Stegerman
Hi,

I'm about to install sarge on a (production) server of my own, and
would rather like to have the latest versions of:
  * mysql (5.0)
  * vim (7.0)
  * the Linux kernel (2.6.16) [ppc]

Since these are not in sarge, I'm considering using backported
versions from backports.org.  I was however unable to find much
information on the effect on security of using backports.org.  Since
this server will expose several services to the internet (apache,
subversion, mysql), I want to make sure that it is, and stays, secure.

So these are my questions:
  * Are you using unofficial repositories (e.g. backports.org) on
production servers ?
  * Do you (and can I) trust backports.org ?
  * Also, since even backports.org does not seem to have vim 7.0 and
kernel 2.6.16 (yet), what would be the best way/place to get these
from ?  Should I (try to) backport them myself ?

Other suggestions & remarks are welcome.

Thanks.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpXnwhH2DusW.pgp
Description: PGP signature


Re: is it a bad idea to use unstable on a server ?

2006-05-31 Thread Felix C. Stegerman
* Olafur Jens Sigurdsson <[EMAIL PROTECTED]> [2006-05-27 00:43]:
> >   * Is it a bad idea to use unstable on a production server when it
> > comes to security?
> 
> Yes, see the reasoning of why stable has a security section.
> 
> >   * If so, would you recommend using testing, or stable?
> 
> Stable and run update on the security regularly.
> 
> >   * And does anyone with experience running unstable on production
> > servers know of any other caveats I should be aware of?
> 
> Sorry, dont run servers but this is just my knowledge of debian/server
> world after years of using linux and being subscribed to this list and
> hanging out on technology savy irc channels :-)
> 
> Information does go through with osmosis sometimes :-)

I figured as much.  I just wanted to check whether I was paranoid
enough, or too paranoid ;-)


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpk2F70NlnJD.pgp
Description: PGP signature


Re: is it a bad idea to use unstable on a server ?

2006-05-31 Thread Felix C. Stegerman
* Paul Johnson <[EMAIL PROTECTED]> [2006-05-27 01:07]:
> > So it comes down to:
> >   * Is it a bad idea to use unstable on a production server when it
> > comes to security?
> 
> Possibly to probably yes (the answer for stable would be "no").
> 
> >   * If so, would you recommend using testing, or stable?
> 
> Stable.
> 
> >   * And does anyone with experience running unstable on production
> > servers know of any other caveats I should be aware of?
> 
> Don't do it unless you want to babysit it constantly and do a lot of
> reading in your free time to keep track of development and latest
> bugs a lot more carefully than you otherwise would.

I figured as much.  I just wanted to check whether I was paranoid
enough, or too paranoid ;-)


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpr8rMt8h5Xg.pgp
Description: PGP signature


Re: is it a bad idea to use unstable on a server ?

2006-05-31 Thread Felix C. Stegerman
* Ron Johnson <[EMAIL PROTECTED]> [2006-05-27 01:09]:
> > * Is it a bad idea to use unstable on a production server when it
> >   comes to security?
> > * If so, would you recommend using testing, or stable?
> > * And does anyone with experience running unstable on production
> >   servers know of any other caveats I should be aware of?
> 
> If you want a stable "Debian", but need something more up-to-date,
> Ubuntu 2005.10 might be what you want.

I definitely prefer to stick with Debian so I'll go with sarge.
Thanks anyway.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpoHsI4zbpqg.pgp
Description: PGP signature


Re: mail delivery

2006-05-29 Thread Felix C. Stegerman
* Csanyi Pal <[EMAIL PROTECTED]> [2006-05-29 18:01]:
> I try to send a mail to Roberto but get the following error message:
>
> This message was created automatically by mail delivery software.
> A message that you sent could not be delivered to one or more of its
> recipients. This is a permanent error. The following address(es)
> failed:
>
>   [EMAIL PROTECTED] SMTP error from remote mailer after
>   RCPT TO:<[EMAIL PROTECTED]>: host
>   santiago.familiasanchez.net [66.93.22.254]: 504 : Helo
>   command rejected: need fully-qualified hostname
>
> I use exim4 on my Debian system with exim4-daemon-heavy.

I use exim4-deamon-light, but I had a similar problem a while ago. I
solved it by adding
  primary_hostname = my.host.name
to /etc/exim4/exim4.conf.template.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>  http://obfusk.net
~ "Any sufficiently advanced bug is indistinguishable from a feature."
~   -- R. Kulawiec
~ vim: set ft=mail tw=70 sw=2 sts=2 et:


pgpkRtVydX81W.pgp
Description: PGP signature


Re: debian kernel package for ubuntu

2006-05-26 Thread Felix C. Stegerman
* Gregory Soyez <[EMAIL PROTECTED]> [2006-05-26 18:32]:
> I'm trying to help someone rebuilding its kernel from sources. Since
> I do not have physical access to the machine, I planned to build a
> custom debian package linux-image using make-kpkg on my own debian
> box and let her install the package with dpkg on her ubuntu box.  So
> my question is simply to know if installing a debian kernel package
> on ubuntu is feasible or if it will lead to problems ?

I've done exactly that once or twice without any problems.  Of course
YMMV.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


pgppOXnxqln7y.pgp
Description: PGP signature


is it a bad idea to use unstable on a server ?

2006-05-26 Thread Felix C. Stegerman
Hi,

I've been using unstable on my desktop for several years now, and I'm
very happy with it.  I don't mind the occasional breakage, and
actually think fixing bugs can be fun ;-).  What I am planning to do
now, is to set up my Mac Mini as a "collaboration" server.

I want to use:
  * apache2 + twiki (discussions + documentation)
  * mysql
  * ssh
  * subversion

This server will be connected to the internet, but is meant to be used
only by me and other people working on projects with me.  Since I am
comfortable working with unstable, and prefer things to work the same
(as in have the same versions of most packages) across both my desktop
and server, I was wondering whether it would be such a bad idea to use
unstable.  I think I can live with occasional breakage, but I don't
want to compromise on security. 

So it comes down to:
  * Is it a bad idea to use unstable on a production server when it
comes to security?
  * If so, would you recommend using testing, or stable?
  * And does anyone with experience running unstable on production
servers know of any other caveats I should be aware of?

Thanks,


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


pgpSug9C6E17x.pgp
Description: PGP signature


Re: Vi problems from recent upgrade

2006-05-25 Thread Felix C. Stegerman
* David Baron <[EMAIL PROTECTED]> [2006-05-24 16:15]:
> In more recent versions of vi (vim), the insert/replace keyed
> functionality is no longer working as it was. The prompt "insert" or
> "replace" does not appear, one cannot go to the very end (after last
> character) of the line, and the direction keys give (escaped)
> characters instead of positioning the cursor. I recall something in
> the changelogs but that was a couple of updates ago. How do I get my
> "old" beloved vi back?

You should know that Vim behaves differently when invoked as vi then
when invoked as vim.  Therefore, you may want to use vim from now on.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


pgpDZzg3cLBPy.pgp
Description: PGP signature


Re: DPI setting

2006-04-30 Thread Felix C. Stegerman
* Digby Tarvin <[EMAIL PROTECTED]> [2006-04-30 23:50]:
> On Sun, Apr 30, 2006 at 11:22:27PM +0200, [EMAIL PROTECTED] wrote:
...
> > I have a debian installation and I use a relatively high resolution
> > monitor (1600x1200).  It works fine but it is convinced I have 75x75
> > DPI, so everything is *very* small.  Real resolution is about
> > 110x110 DPI.  How can I convince xorg X server to use another
> > setting?
<...>
> In theory a 'DisplaySize' entry in the monitor section of your
> xorg.conf file should do it (see xorg.conf(1)) However I tried it
> myself a couple of days ago on my Debian Etch system <...> and
> couldn't get it to work.
<...>
> Let me know if you have better luck. If anyone has any idea what might
> be going wrong, please let me know.

Hi,

Depending on how you start X, you may be starting it with the -dpi
option. (my gdm.conf uses: `X -dpi 96')
AFAIK, this will override any DisplaySize settings in xorg.conf.


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Screen resolution

2006-04-29 Thread Felix C. Stegerman
* Rodolfo Medina <[EMAIL PROTECTED]> [2006-04-29 23:05]:
> I strongly suspect that my screen resolution is lower than it should
> be: everything appears very big.
> Is there a way to check up the real performed resolution?

Try
$ xrandr


- Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: include ~/bin in $PATH under kde on debian (sarge)

2006-04-27 Thread Felix C. Stegerman
On 2006-04-26 16:41:47, Michael M. wrote:
> Felix C. Stegerman wrote:
> >
> >Since I use openbox + perlpanel + my_own_session_manager,
> >I just source my .bashrc in my .xinitrc.
> 
> Sorry, Felix, could you explain what you mean my "my own session 
> manager"? You mean something other than gdm, kdm, xdm or wdm?

No. I use GDM as Desktop Manager.
What I meant was that I don't use KDE/GNOME/whatever.

As I said (wrote), I use openbox + perlpanel.
But since I wanted an easy way to start some programs when I log in
(e.g. xscreensaver, xmodmap), I wrote a Perl script to do just that
based on an XML configuration file. It can even display a splash
screen similar to the one KDE uses. So what I meant was that I use my
Perl script in a similar way KDE and GNOME have their session managers
to load programs at startup.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: setting up an encrypted filesystem..

2006-04-27 Thread Felix C. Stegerman
On 2006-04-27 05:09:35, Digby Tarvin wrote:
> I've been looking at mechanism for setting up an encrypted filesystem
> under Etch, and I have the basics working as follows:
...
> However it seems that I need to add an entry to /etc/modprobe.d in
> order to get the device mapper module loaded. Or should it be
> /etc/modules.conf or /etc/modules that I edit?
> 
> Is this expected behavior - should I not have expected that
> installing cryptosetup to have done this? 

I don't know anything about cryptosetup (although it sounds
interesting ;-), but to automagically load a module at bootup, add it
to /etc/modules.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: include ~/bin in $PATH under kde on debian (sarge)

2006-04-26 Thread Felix C. Stegerman
> Aha! that works! Thanks.

You're welcome.

> Is that documented somewhere?
> I've looked at http://www.kde.org/documentation/ especially 
> http://www.kde.org/areas/sysadmin/, and http://docs.kde.org/

I found it out by reading (the comments in) /usr/bin/startkde,
but in unstable it's now documented in the man page for startkde.

> Of course it only works for kde. That's good enough for now since
> I only use kde but I'd like to know how to do it for gnome and
> other sessions.

Each DE has it's own startup scripts. So it's usually easier to start
KDE/GNOME/whatever from a customised .xsession / .xinitrc, especially
since KDE and GNOME don't seem to document this.

Since I use openbox + perlpanel + my_own_session_manager,
I just source my .bashrc in my .xinitrc.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: include ~/bin in $PATH under kde on debian (sarge)

2006-04-26 Thread Felix C. Stegerman
On 2006-04-26 16:06:20, John Stumbles wrote:
> Felix C. Stegerman wrote:
> 
> >I personally use .xsession / .xinitrc to start a custom X session and
> >add ~/bin to my $PATH in there.
> >To do the same with GNOME, you can edit ~/.gnomerc.
> >To do the same with KDE, you can create a new executable file in
> >~/.kde/env and set $PATH in there.
> 
> Doesn't work for me. I created
> $ mkdir .kde/env
> $ lsl .kde/env/
> total 12
> drwxr-xr-x  2 bart bart 4096 Apr 26 15:56 .
> drwx--  5 bart bart 4096 Apr 26 15:54 ..
> -rwxr-xr-x  1 bart bart  170 Apr 26 15:56 setpath
> -rw-r--r--  1 bart bart0 Apr 26 15:56 setpath-20060426155614
> 
> $ cat .kde/env/setpath
> #!/bin/bash
> # set PATH so it includes user's private bin if it exists
> if [ -d ~/bin ] ; then
> PATH=~/bin:"${PATH}"
> fi
> touch ~/.kde/env/setpath-`date '+%Y%m%d%H%M%S'`
> 
> The tag file (setpath-20060426155614) was created by me running the 
> script manually after creating it. I then logged out of my kde session 
> and logged in again: no new tag file, no extension to $PATH

Try renaming `setpath' to `setpath.sh'.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: etch mirrors, ppc, cannot find release file

2006-04-26 Thread Felix C. Stegerman
> I've run into some problems trying to install etch beta 2 (netinstall). 
> after configuring my network, I am asked to choose a mirror and then it 
> starts searching for the release file on that mirror. thing is, it never 
> finds the release file. I have tried all of the swedish mirrors listed, 
> some danish, some german and some US ones. no success. I've done the 
> configuring over and over again, plus it works just fine with the sarge 
> installer, so I am positive the problem is not me configuring the 
> network improperly.

This might help:
http://lists.debian.org/debian-mirrors-announce/2006/02/msg0.html


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: include ~/bin in $PATH under kde on debian (sarge)

2006-04-26 Thread Felix C. Stegerman
On 2006-04-26 10:39:43, John Stumbles wrote:
> On kubuntu (and SuSE, IIRC) if I have a ~/bin directory it gets included
> in my $PATH but this doesn't happen under debian. (In all cases I'm
> using kde with kdm as my window manager.)
...
> I've googled www and usenet and searched debian lists but not found an
> answer to the question of setting the environment for my whole X
> session, not just for console session within X.

I personally use .xsession / .xinitrc to start a custom X session and
add ~/bin to my $PATH in there.
To do the same with GNOME, you can edit ~/.gnomerc.
To do the same with KDE, you can create a new executable file in
~/.kde/env and set $PATH in there.

> I would also like to understand what happens when a gui session starts
> under kdm - what scripts etc get run?

AFAIK: The X server runs some stuff in /etc/X11/Xsession.d and the
chosen desktop environment / session runs its own stuff. (like
~/.gnomrc or ~/.kde/env/*)


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to track what packages apt-get installs and removes?

2006-01-22 Thread Felix C. Stegerman
On 2006-01-22 19:08:24, Sonixxfx wrote:
> Hi,
> 
> Can someone tell me how I can track what packages apt-get installs and
> removes? I occasianally run apt-get dist-upgrade from cron and I would like
> to know what has been installed and removed by apt-get afterwards.

I don't know about apt-get, but aptitude has a log file in
/var/log/aptitude.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mailing list "reader"?

2006-01-21 Thread Felix C. Stegerman
On 2006-01-21 12:12:29, G-Point wrote:
> Hello,
> i have gmail, and i would like to know from you which would be the best
> programs under linux to read mailing lists.
> thanks

I prefer (and use) mutt.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] printf format specifier

2005-12-27 Thread Felix C. Stegerman
On 2005-12-27 10:58:54, Hugo Vanwoerkom wrote:
> Hi,
> 
> I thought that %02.1f would print floating points as xx.x or 0x.x but it 
> does not. It prints x.x or xx.x.
> How do I ensure that there always are 2 digits before the floating point?

Try "%04.1f", since xx.x has length 4, not 2.

I must admit I overlooked that at first too ;-)


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: package broken?

2005-12-27 Thread Felix C. Stegerman
On 2005-12-27 20:57:41, kangja wrote:
> Can someone confirm if the package libjack0.100.0-0 is broken?
> I cannot install mplayer because of it.

It seems to be OK.

$ apt-cache policy libjack0.100.0-0
libjack0.100.0-0:
  Installed: 0.100.0-4
  Candidate: 0.100.0-4
  Version table:
 *** 0.100.0-4 0
900 http://ftp.nl.debian.org sid/main Packages
890 http://ftp.nl.debian.org etch/main Packages
100 /var/lib/dpkg/status


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: /etc/interfaces for logical interfaces

2005-12-27 Thread Felix C. Stegerman
On 2005-12-27 11:54:08, Joachim Fahnenmüller wrote:
> Hi everybody,
> 
> I read man interfaces but didn't understand completely.
> 
> I have a laptop with 1 interface eth0, and I want 2 setups: at work with inet
> dhcp, at home (to exchange data with my PC) inet static with a certain IP. 
> (If I
> understand correctly that is what they call 'logical interfaces'.)
> 
> What must I write in /etc/interfaces so that I can do e. g. 
> ifup eth0-home (eth0=home ?)
> to start eth0 with the desired settings?

I would recommend using laptop-net. It can automagically detect
whether you're at home or at work and adjust the network settings
accordingly.

With my setup, it looks for ip 192.168.1.1 (my router at home) and
if it is found uses ip 192.168.1.104. Otherwise it uses DHCP
(at university).


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NFS and Firewall on 2.6

2005-12-24 Thread Felix C. Stegerman
On 2005-12-22 15:07:50, Gerwin Bruner wrote:
> The only thing which is not working is to get nlockmgr onto port 4001.
> Is there any way to change the port? What did I miss out?

I think I successfully used sysctl for this once.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: OpenOffice 2.0 install from .deb?

2005-11-07 Thread Felix C. Stegerman
On 2005-11-07 12:30:16, Opus wrote:
> I downloaded the Linux binaries for OpenOffice 2.0 from OpenOffice.org
> and found that they are in RPMs.  I managed to figure out that I
> needed to install alien, which I did, and have now converted the
> RPMs to DEBs, but I don't know what to do with the DEB files.  I'm
> running Sarge with a 2.6 kernel and I do updates using Aptitude
> about once a week.
> 
> So, how do I get the OpenOffice 2.0 .deb files installed on my
> system?

Use dpkg (as root) to install .debs.

e.g.
$ sudo dpkg -i .deb

or
$ su -
$ dpkg -i .deb

You could also try to use OO.org 2.0 from unstable, but I suppose
you're using stable for a reason. Maybe a backport will be available
in the near future ...


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Comfortable with Debian,but 4 points...

2005-11-06 Thread Felix C. Stegerman
On 2005-11-06 16:48:38, nuno romano wrote:
> After some months with Debian(3.1PowerPC)I´m
> generally comfortable with it:
> 
> -compiling software,and dealing with the different
>  aspects of the package management system(good stuff!)
>  
> -Connections to the Internet.
> 
> -Printing system: my 70 dollars inkjet prints
>  documents,photos with quality nearly identical
>  to a 400 dollars laser printer,with refilled
>  inkjet cartridges.
>  
>  
> However,four points:
> 
> -Java: I don´t know which Java Runtime Environment,SDK
>  is the most effective,the blackdown.org or the
>  Gnu classpath,gcj,or other.For example,I want to
>  compile and run JGR a frontend for R(the statistics
>  software),which needs Java2-1.5,and I think none of
>  the above JRE,SDKs provides Java2-1.5.
>  Blackdown´s provide for the PPC Java2-1.3.1.
>  Do you know why Debian does not ship Blackdown´s
> Java?

AFAIK blackdown is not shipped because it's non-free.

You can't use Java from Sun, since that's x86 and OSX only.

You can use Java from blackdown, but 1.3 is the latest version for
powerpc. I therefore suggest you use IBM's Java JRE or SDK,
available (after free registration) at
http://www-128.ibm.com/developerworks/java/jdk/index.html.

The latest version is 1.4.2, and there is a 1.5 beta.

I suggest you use java-package to create a Debian package.
1.5 beta is not supported by java-package, but I posted a way to get
it working at http://ubuntuforums.org/showthread.php?t=78804.


> -Macromedia´s Shockwave Flash Player: The possible
>  solutions,none seems effective for the PPC.I can´t
>  see Flash content in Mozilla.Do you know of a
>  method,program to do that effectively?Advice 
>  appreciated.

No flash on PPC.

(well there are some free implementations, but I never got them to
work properly)


You may also want to subscribe to the debian-powerpc mailing list.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Abiword-Gnome, save as PDF, does not support italics?

2005-11-06 Thread Felix C. Stegerman
On 2005-11-06 21:34:02, Felix C. Stegerman wrote:
> On 2005-11-06 12:01:43, Andy Gower wrote:
> > Hi there,
> > 
> > I am using abiword-gnome 2.4.1-2 on Debian Testing and am trying to
> > save a ABW document as a PDF file.  The ABW document has items in
> > italicized font.  For some reason when I view the PDF file, the items
> > are not in italics anymore.  Is there an additional package (font or
> > otherwise) that I need to install to support this?
> 
> I get the same result (abiword-gnome 2.4.1-2 from unstable).
> 
> I never noticed this before, but then again I haven't used a word
> processor in years (since I prefer good old plain text) ;-)

Well that's strange. I just tried again and now it works.

I did however just upgrade openoffice.org to 2.0 and reinstall
msttcorefonts.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Abiword-Gnome, save as PDF, does not support italics?

2005-11-06 Thread Felix C. Stegerman
On 2005-11-06 12:01:43, Andy Gower wrote:
> Hi there,
> 
> I am using abiword-gnome 2.4.1-2 on Debian Testing and am trying to
> save a ABW document as a PDF file.  The ABW document has items in
> italicized font.  For some reason when I view the PDF file, the items
> are not in italics anymore.  Is there an additional package (font or
> otherwise) that I need to install to support this?

I get the same result (abiword-gnome 2.4.1-2 from unstable).

I never noticed this before, but then again I haven't used a word
processor in years (since I prefer good old plain text) ;-)


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: New kernel does not install

2005-11-06 Thread Felix C. Stegerman
On 2005-11-06 16:51:19, John Plate wrote:
> Hi Felix
> 
> > Probably the initrd.
> > 
> > Try
> > # make-kpkg --rootcmd fakeroot --append-to-version -jp --revision 01
> >   --initrd kernel_image
> 
> Yes - you was right. 
> 
> I didn't use the --initrd option as I got a warning from make-kpkg.
> Instead I did a mkinitrd and inserted by hand the initrd setting in
> /boot/grub/menu.lst
> 
> The new kernel booted correctly.
> 
> Please tell me how you compile the kernel? Do you use grub?

Hi,

I don't use grub (since I use Debian PPC).

I compile the same way you do:
# fakeroot make-kpkg --append-to-version "-flx0-ppc" --rev flx0
  --initrd kernel-image

You don't need an initrd, but then you have to make sure the drivers
you need are compiled into the kernel, not as modules.

I prefer to use the standard Debian kernels, but I needed an extra
feature, so I just added that to the default Debian kernel
configuration and recompiled. Now I have a lot of modules I don't
need, but I prefer to have a (close to) standard kernel.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Speedstepping on MacMini

2005-11-05 Thread Felix C. Stegerman
I accidentally hit "Reply" instead of "List-Reply"
Sorry about that.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: New kernel does not install

2005-11-05 Thread Felix C. Stegerman
I accidentally hit "Reply" instead of "List-Reply"
Sorry about that.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Speedstepping on MacMini

2005-11-05 Thread Felix C. Stegerman
On 2005-11-05 22:31:16, Thorsten Johannvorderbrueggen wrote:
> Hello all,
> 
> i played with different kernel version  But it won't work:
> 
> powernowd: PowerNow Daemon v0.96, (c) 2003-2005 John Clemens
> powernowd: Found 1 cpu:  -- 1 thread (or core) per physical cpu
> /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq: No such file or
> directory
> 
> PowerNowd encountered and error and could not start.
> Please make sure that:
>  - You are running a v2.6.7 kernel or later
>  - That you have sysfs mounted /sys
>  - That you have the core cpufreq and cpufreq-userspace
>modules loaded into your kernel
>  - That you have the cpufreq driver for your cpu loaded,
>and that it works. (check dmesg for errors)
> If all of the above are true, and you still have problems,
> please email the author: [EMAIL PROTECTED]
> 
> My Kernel config is attached. I tested in with Debian-Sid and
> Slackintosh
> 
> My question: Has anybody a working speedstepping on a MacMini?

I don't.

Like you I can load the cpufreq-userspace module, but my
/sys/devices/system/cpu/cpu0/ directory is empty.

I'm not much in need of this, but it'd be nice to get it working.

OT: You would not happen to know how to suspend-to-disk on a mac
mini, would you ?


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: New kernel does not install

2005-11-05 Thread Felix C. Stegerman
On 2005-11-05 20:39:15, John Plate wrote:
> Hi
> 
> I've installed Debian stable, the kernel is 2.6.8.
> 
> Next, I download kernel headers and source for 2.6.8. I copy the
> /boot/config... to /usr/src/kernel-source directory as .config.
> 
> I do a make menuconfig and exit with no changes. 
> 
> Then I make a new kernel-image with:
> 
> make-kpkg --rootcmd fakeroot --append-to-version -jp --revision 01 
> kernel_image
> 
> This should make a kernel identical to the one installed. 
> 
> I then install the kernel with:
> 
> dpkg -i kernel-image...deb
> 
> The new kernel cannot boot. The kernel installed can still boot. 
> 
> What is the problem?

Probably the initrd.

Try
# make-kpkg --rootcmd fakeroot --append-to-version -jp --revision 01
  --initrd kernel_image


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



aptitude: untrusted packages

2005-11-05 Thread Felix C. Stegerman
Hi,

Aptitude gave me a rather unexpected message today.

$ aptitude -s upgrade
<...>
WARNING: untrusted versions of the following packages will be installed!
Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.
  yaird
Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No":

$ apt-cache policy yaird
yaird:
  Installed: 0.0.11-10
  Candidate: 0.0.11-11
  Version table:
 0.0.11-11 0
900 http://ftp.nl.debian.org sid/main Packages
700 http://debian.jones.dk sid/misc Packages
 *** 0.0.11-10 0
890 http://ftp.nl.debian.org etch/main Packages
100 /var/lib/dpkg/status

I know that the message is a result of not having the gpg key for
debian.jones.dk in my keyring, but I'm not trying to install the
version from debian.jones.dk.

I don't have the key in my keyring because I don't trust the packages
there. I want to be notified when trying to install one of them.

When I answer yes to the question above, aptitude will get the
(trusted) package from ftp.nl.debian.org. So why does it warn me about
untrusted packages? I want to be able to install yaird (from the
normal repositories) without this warning. Only when a package will
actually be retreived from an untrusted source should aptitude warn
me.

Does anyone know what to do about this, or should I consider this a
bug and file a report?


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: getting java to compile and run

2005-11-02 Thread Felix C. Stegerman
On 2005-11-03 01:38:28, Neil Dugan wrote:
> Hi,
> 
> I have installed 'free-java-sdk' but it doesn't appear to have been
> setup correctly.  When I ask it to comple a "hello world" type class
> (from a book) I get the following error message.
> 
> ---cut---
> $ jikes  app.java
> Found 1 system error:
> 
> *** Semantic Error: You need to modify your classpath, sourcepath,
> bootclasspath, and/or extdirs setup. Jikes could not find package
> "java.lang" in:
> .
> ---cut---
> 
> I look in '/usr/share/doc/free-jave-sdk/README' it sugjested that I set
> 'JAVA_HOME' to '/usr/lib/fjsk' doing this didn't change anything.
> 
> If I use
> ---cut---
> $ jikes --bootclasspath /usr/lib/fjsdk/jre/lib/rt.jar app.java
> $ java app.class
> java.lang.ClassNotFoundException: app.class not found in
> java.lang.ClassLoader$1{urls=[file:/mnt/storage/share/neil/src/java/./],
> parent=null}
>at java.net.URLClassLoader.findClass (URLClassLoader.java:841)
>at java.lang.ClassLoader.loadClass (ClassLoader.java:360)
>at java.lang.ClassLoader$1.loadClass (ClassLoader.java:1285)
>at java.lang.ClassLoader.loadClass (ClassLoader.java:304)
>at java.lang.VirtualMachine.main (VirtualMachine.java:99)
> ---cut---
> 
> Can someone help me to get this working?
> 
> Regards Neil.

It should work if you use:
$ javac app.java
Instead of calling jikes manually, and
$ java app
Instead of supplying the .class suffix.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: gdm theme

2005-11-02 Thread Felix C. Stegerman
On 2005-11-02 21:37:58, salahuddin pasha wrote:
> i want that my gdm would use theme clearlooks (always)
> how i can do that.

In /etc/gdm/gdm.conf, find the [gui] section and add (or modify)
GtkTheme=


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistinguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: just show which packages have updates available?

2005-10-25 Thread Felix C. Stegerman
On 2005-10-24 10:34:19, Matthew Lenz wrote:
> is there a set of command parameters to aptitude or the apt-* utils to
> just output which packages have updates available?  i'd like something
> like "aptitude -V -n dist-upgrade" .. where -n is default 'no' to all
> questions. But -n doesn't exist from what I can see. :)
> 
> -Matt

Hi,

You could use -P to force a prompt and use
  # echo n | aptitude -P -s 
to simulate  and say no, e.g.
  # echo n | aptitude -P -s upgrade


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Any sufficiently advanced bug is indistiguishable from a feature."
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ppp SIGHUP problem

2005-10-20 Thread Felix C. Stegerman
On 10/19/05, Marc Brünink <[EMAIL PROTECTED]> wrote:

Hi,I've two computers. One of them connects to the internet via pppwithout problems. The other just refuses to collaborate :-)I tryed to reconfigure the ppp with help of pppconfig. Didn't help abit. Then I tryed to copy the working files from one computer to the
othercp -r /etc/pppcp -r /etc/chatscriptsDidn't help either.Anyone any clue?My syslog:Oct 19 22:12:09 localhost chat[3180]: send (ATDT*99#^M)Oct 19 22:12:09 localhost chat[3180]: expect (CONNECT)
Oct 19 22:12:09 localhost chat[3180]: ^MOct 19 22:12:10 localhost chat[3180]: ^MOct 19 22:12:10 localhost chat[3180]: CONNECTOct 19 22:12:10 localhost chat[3180]:  -- got itOct 19 22:12:10 localhost chat[3180]: send (\d)
Oct 19 22:12:11 localhost pppd[3179]: Serial connection established.Oct 19 22:12:11 localhost pppd[3179]: using channel 13Oct 19 22:12:11 localhost pppd[3179]: Using interface ppp0Oct 19 22:12:11 localhost pppd[3179]: Connect: ppp0 <--> /dev/ttyS3
Oct 19 22:12:39 localhost pppd[3179]: Hangup (SIGHUP)Oct 19 22:12:39 localhost pppd[3179]: Modem hangupOct 19 22:12:39 localhost pppd[3179]: Connection terminated.Many thanksMarc
Hello,

I'm not sure whether this is of any use to you, but
I had a similar problem (with my mom's PC running Ubuntu) 2 days ago.
The modem would dial, get an IP address and within
one minute I'd get a Modem Hangup.

This turned out to be a hardware problem.

I was using the 2 normally unused wires of the telephone
cable to send the signal back from the modem to the actual
telephone. After I moved the computer and modem upstairs,
this problem suddenly arose.
Disabling this "hack" made everything work again.
I guess some wires got crossed ;-)

So I'd suggest you make sure you haven't got some weird hardware
problem like I had. I really thought it was a software issue at first.
I only discovered the real cause by accident ...


Felix
-- Felix C. Stegerman <[EMAIL PROTECTED]>"Any sufficiently advanced bug is indistiguishable from a feature."
 -- R. Kulawiec



Network Security: File sharing & remote X sessions

2005-06-16 Thread Felix C. Stegerman
Hello,

I want to set-up a secure file-sharing and x-terminal server.

I have a small home network, which I share with my family.
I have a few computers (running Debian) which I administer and trust.
My family has several computers (running Windows), which I choose not
to trust.

I want to configure a Debian server to:
- Offer X sessions to my trusted computers
- Share files between my trusted computers
- Offer remote storage to the untrusted (Windows) computers

I want everything to be set-up as secure as possible, choosing not to
trust my LAN.

I have looked into NFS, SFS and SHFS to share files between my trusted
computers:
- NFS does not seem secure.
- SFS seems secure, but it seems to me that because it uses NFS
exports to localhost, a local user could use ssh to forward the NFS
exports to a remote host and access arbitrary files from there; of
course this is no problem when there are no untrusted local users.
- SHFS seems secure, but I have no idea how well it performs.

As for XDMCP and SSH w/ X-forwarding:
- XDMCP seems insecure.
- SSH w/ X11 is secure, but seems to lack the X session flexibility
that XDMCP offers.


So here are my questions:
- Is there a secure NFS alternative I haven't found ?
- Or is there a way to configure NFS/SFS to prevent local users from
forwarding NFS exports to other hosts w/ ssh ?
- Or is SHFS the way to go ?

And:
- Is there a secure XDMCP alternative ?
- Or a way to secure XDMCP ?

Any other suggestions, links to relevant documentation/howto's or
suggestions on how to securely serve files to Windows hosts (w/
Samba?) are welcome as well.


Felix

-- 
Felix C. Stegerman <[EMAIL PROTECTED]>

"Everyone knows that debugging is twice as hard as writing a program
in the first place. So if you are as clever as you can be when you
write it, how will you ever debug it?" -- B. Kernighan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ALSA under 2.6.7

2004-07-14 Thread Felix C. Stegerman
Felix C. Stegerman wrote:

What's worse is that as of recently I can't use
my headphones any more.
I've tried every alsamixer setting I could think of,
but still no sound.

I'd especially like to know whether my card is faulty or whether
ALSA is causing the problem.
Just to let you know, I solved the problem with my headphones.
I found out that my Audigy extension card wasn't connected to the 
power-supply any longer. I haven't got a clue how that could have 
happened, but that's what caused the problem.

So ALSA wasn't causing the problem after all.
Regards,
Felix
--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Using Linux on a Family PC

2004-07-09 Thread Felix C. Stegerman
Silvan wrote:
On Thursday 08 July 2004 02:37 am, David Baron wrote:

There are, as I posted, many decent kids games on linux. Some are specific
to KDE (a windows-like desktop for linux), some for Gnome (yet another) and
others will work on all X-windows systems. My daughter enjoys "Frozen

That's a bit misleading.  Everything should work on everything, regardless of 
what libs it's built against.  apt will install whatever libs you need to run 
whatever you want, and it doesn't matter what else you're running on top of   
X.  I've run any number of such things from a raw xinit session with no 
window manager at all.  (Hardly ideal or practical, but if that works, 
everything should work.)

I agree.
On my own desktop PC, I use XFCE but still use the Gnome & KDE apps I like.
And, David, thank you for letting me know about TuxPaint.
I already thought of Frozen-Bubbles and TuxRacer myself.
BTW, from your 'explaining' what KDE & Gnome are, I got the impression 
you thought I'm new to Debian (& GNU/Linux). I'm not. I'v been happily 
running unstable for almost 2 years now.

Regards,
Felix
--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Using Linux on a Family PC

2004-07-07 Thread Felix C. Stegerman
Jacob S. wrote:
On Tue, 06 Jul 2004 18:32:57 -0500
Kent West <[EMAIL PROTECTED]> wrote:

Felix C. Stegerman wrote:

I've recently acquired a 2nd hand PC I want to use as replacement
for our (windows 98) family PC.
That means my mother, stepfather and little sister (5 years old)
will (have to be able to) use it.
Of course, I want to use Debian as the OS, if I can.
Specifications:
CPU: 466MHz Celeron
RAM: 2x 64MB DDR PC100
NIC: 3Com 10/100
Drives:
 hda: 8.4 GB Seagate
 hdb: 8.4 GB Seagate
 fd0: 1.44MB 3.5" Floppy Drive
'DDR PC100' should be 'SDRAM DIMM pc100'
And I can use the cdrom drive from the old PC.
Internet access: ADSL (416 Kbit/sec up, 2240 Kbit/sec down)
My mother and stepfather will need to use the following types of 
applications:
- Browser & E-mail (POP3) client
- Word processor
- Spreadsheet program?
- Image manipulation program?

My little sister plays about 3 different Windows games (some have a 
Mac version too I believe) that she'll want to be able to play on
the new PC too.
I've thoght of using WINE, but I have no experience with it.
I've also thought of dual-booting, but would prefer not to use
windows at all.

WINE, if the games will play in it. If not, win4lin, or VMWare 
(cha-ching$), both of which will also require a Windows license; but
you won't have to reboot between OSes.

Not on a 466Mhz machine. I don't know of anything that will let Windows
games play on a machine that old at any kind of useable speed.
They are rather simple children's games.
The highest recommendations on the boxes are:
 - Windows 95 or higher
 - Pentium 133
 - 24MB ram
 - 20MB free space
 - 8X cd-rom
 - SVGA
 - 8-bit sound card
That doesn't seem too demanding.
And the games don't seem to require high speed.
But, as I've said (written), I have almost no experience with wine etc.
As for word processing, they're used to MS Word and Corel
Wordperfect 8. OpenOffice is also installed on the current PC, but
as far as I know they've never used it.
Unless they're writing complex documents, they'll adjust quickly
enough.

Unfortunately, even OOo is going to be slow for them. Upgrade the ram to
at least 256MB, if you can.
I'd like to, but I doubt my budget allows me to.
But I'll ask them whether they're willing to pay for more speed.

I hardly ever use a word processor myself, since I prefer plain
text, so I don't know what would be good replacements for
Word/Wordperfect and Excel.
Nothing replaces WordPerfect. How I'd dearly love to see a Free clone
of WP. As it is, I've learned to accept OOo. OOo and Abiword both
would probably suffice to replace Word; OOo and GNumeric both would
probably suffice to replace Excel (except for VB scripting).

Very true, unfortunately.
I remember WP 5.1. That was fast. I haven't used it for a long time 
though, so I can't really remember much of the advanced functionality.
My dad (note that my real dad and stepdad are different peoply, and my 
real dad does know a lot about computers since he's a sysadmin) still 
uses WP 5.1 regularly. Unfortunately he doesn't use Linux, but his 
company does use (dare I say this?) SCO UNIX. (which I believe they 
bought before SCO was taken over by Caldera though).

I doubt VB scripting is going to be a problem.
I haven't seen them do any word processing for months anyway.
Lately it's just been my sister playing games and my mother browsing and 
discovering the web.


Any suggestions, with arguments of course, on which apps to use are 
welcome.
Google and the Debian-User archives have all sorts of opinions on the 
matter.


Image manipulation is something my mother would like to do, but has 
not done before, so I'll try to get her to use The GIMP. Any other 
suggestions are welcome.
GIMP's what you want.

Definitely GIMP. Very nice tool.
I second that!

Another matter is which version of Debian to use.
I'd say unstable would be the best choice, but if anyone thinks 
otherwise please let me know.
I'd go with unstable, assuming you're willing to put up with the
little kinks that arise every now and then. The kinks are less painful
than the archaic packages in stable, and for me, unstable is more
usable than testing (because bugs get ironed out more quickly due to
the constant flux of unstable).
Exactly.
I use unstable on my desktop PC (Athlon XP 2100+), which works perfectly.
Since I started to use Debian about 2 years ago, starting with woody but 
upgrading to unstable after 2 months partly because the version of 
XFree86 in unstable did support my GeForce 4 Ti 4200 whereas the one in 
woody didn't, I've never been more content with my PC.
Thanks to Debian, installing, updating and removing software is very 
easy and clear.
And apart from the great stability (even in `unstable`), I really love 
the configurability and finally being able to use a REAL s

Re: Using Linux on a Family PC

2004-07-06 Thread Felix C. Stegerman
Hello,
As you may have noticed, I accidentally hit the 'send' button instead of 
the 'save as draft' button, which lead to an incomplete first email in 
this thread. Here is the complete email.

I've recently acquired a 2nd hand PC I want to use as replacement for
our (windows 98) family PC.
That means my mother, stepfather and little sister (5 years old) will 
(have to be able to) use it.

Of course, I want to use Debian as the OS, if I can.
Specifications:
 CPU: 466MHz Celeron
 RAM: 2x 64MB DDR PC100
 NIC: 3Com 10/100
 Drives:
  hda: 8.4 GB Seagate
  hdb: 8.4 GB Seagate
  fd0: 1.44MB 3.5" Floppy Drive
Internet access: ADSL (416 Kbit/sec up, 2240 Kbit/sec down)
My mother and stepfather will need to use the following types of 
applications:
- Browser & E-mail (POP3) client
- Word processor
- Spreadsheet program?
- Image manipulation program?

My little sister plays about 3 different Windows games (some have a Mac 
version too I believe) that she'll want to be able to play on the new PC 
too.
I've thoght of using WINE, but I have no experience with it.
I've also thought of dual-booting, but would prefer not to use windows 
at all.

My mother and stepfather already use Firefox and Mozilla Mail, so using 
Firefox and Thunderbird as browser and e-mail client won't be a problem.

As for word processing, they're used to MS Word and Corel Wordperfect 8. 
OpenOffice is also installed on the current PC, but as far as I know 
they've never used it.
I hardly ever use a word processor myself, since I prefer plain text, so 
I don't know what would be good replacements for Word/Wordperfect and 
Excel. I occasionally use Openoffice and Abiword, but my knowledge of 
those applications is limited.
Any suggestions, with arguments of course, on which apps to use are welcome.

Image manipulation is something my mother would like to do, but has not 
done before, so I'll try to get her to use The GIMP. Any other 
suggestions are welcome.

Another matter is which version of Debian to use.
I'd say unstable would be the best choice, but if anyone thinks 
otherwise please let me know.
I don't think additional software will have to be installed regularly, 
so I don't think I'll do much administration on this PC.
I'll probably have to perform security or otherwise important updates 
sometimes, but that's it.

So my questions are:
- What version of Debian do I use?
- How do I allow my little sister to continue to use her windows games?
- What Word processor(s) and spreadsheet application(s) should I install?
- What desktop manager/environment do I use?
- What file-management program(s) should I use?
- How much administration (updating etc.) should I do?
- What do I have to think of regarding security?
- What do I set-up regarding permissions and limiting their options for 
breaking anything, like deleting their important files, etc.?
- How do I make everyting as user-friendly as possible/nessecary?
- Do you have any additional tips?

Thanks in advance.
Regards,
Felix
--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Using Linux on a Family PC

2004-07-06 Thread Felix C. Stegerman
s. keeling wrote:
Incoming from Felix C. Stegerman:

Uh huh.  So?
I'd double the RAM and give them a CD/DVD or whatever.
I accidentally hit the 'send' button instead of the 'save as draft' 
button, which lead to an incomplete email.
The full email will follow shortly.

Regards,
Felix
--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Using Linux on a Family PC

2004-07-06 Thread Felix C. Stegerman
Hello,
I've recently acquired a 2nd hand PC I want to use as replacement for 
our family PC.
That means my Mom, Stepdad and little sister (5 years old) will use it.

Specifications:
 CPU: 466MHz Celeron
 RAM: 128MB DDR PC100
 NIC: 3Com 10/100
 Drives:
  hda: 8.4 GB Seagate
  hdb: 8.4 GB Seagate
  fd0: 1.44MB 3.5" Floppy Drive
Thanks in advance.
Regards,
Felix
--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



New (LAN) web server: do I use stable, testing or unstable?

2004-07-06 Thread Felix C. Stegerman
Hello,
I've recently acquired a 2nd hand PC I want to use as a web server.
For now, I just want the server to be accessible from my LAN,
later I may want to connect it to the Internet
through my ADSL connection.
Specifications:
 CPU: 466MHz Celeron
 RAM: 128MB DDR PC100
 NIC: 3Com 10/100
 Drives:
  hda: 8.4 GB Seagate
  hdb: 8.4 GB Seagate
  fd0: 1.44MB 3.5" Floppy Drive
It has no CD-ROM drive, but I can use one temporarily if I have to.
I want to have a basic web server set-up on this PC,
with Apache, PHP, MySQL.
I'll need SSH to do administration later on,
because I don't intend to leave a keyboard and monitor connected to it.
Maybe later I'll want to experiment with a ftp server and some
other server-services.
Of course I'm using Debian as the OS.
I'm just not sure whether to use stable, testing or unstable.
Stable (woody) is, you know, stable, which is very good.
Testing (sarge) is almost stable now, so it might be a good choice
to avoid updating from woody to sarge when it becomes stable.
Unstable is what I'm used to.
I know how things work and how to solve most problems.
Also, (security-)updates become available faster than in testing.
Currently I use unstable on my (Athlon XP 2100+) desktop PC.
I used woody for a couple of months before I decided to go unstable.
I haven't used testing.
I have Apache, PHP & MySQL installed on my desktop PC too,
to ease web development, and I know how to set that up for
stable and unstable.
Now, finally, here's my question:
What version would you recommend? And, of course, why?
Any tips, security-related etc. , are also welcome.
Thanks in advance.
Regards,
Felix
--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ALSA under 2.6.7

2004-06-30 Thread Felix C. Stegerman
Kjetil Kjernsmo wrote:
Hi all!
I finally decided it was time to upgrade to the 2.6 kernel. So I have 
compiled myself a kernel, based on Linus' 2.6.7 with the Ruby patches. 
I need those for my local multiuser setup. It all seems to work very 
nicely, except that I lost my sound. 

The problem is, I'm not really getting any error messages I'm able to 
see. Everything seems quite nice, it is just that I'm not hearing 
anything... 

Has anybody got ALSA working with the alsa-base and alsa-utils currently 
in Sarge? There are some examples lacking (bug reports have been filed 
on those, I'm sure they are working on it), so I'm feeling I'm just 
blindly trying different things but having no clue what they are 
supposed to do. 

Any hints, please?
Best,
Kjetil
I haven't had any problems like that with ALSA since I used 2.5.xxx.
I needed ALSA to get my Creative Audigy Platinum Ex working.
Now I'm using a self-compiled 2.6.7 kernel from kernel.org
and alsa-base and -utils from unstable.
This should tell you that ALSA from unstable with kernel 2.6.7 works.
So far so good. Now for my own problem.
Everything seemed ok except for the fact that my digital out
didn't work for a while, but I don't know whether that had
anything to do with ALSA or wheter the card was acting strange.
It did have a history of strange behaviour: it had lost use
of the back speakers on the windows pc it was originally in.
I never got those to work with ALSA either.
Fortunately my digital out seems ok now.
(Though digital and analog out don't work simultaniously any more)
What's worse is that as of recently I can't use
my headphones any more.
I've tried every alsamixer setting I could think of,
but still no sound.
I hope anyone on this list can shed some light on this.
I'd especially like to know whether my card is faulty or whether
ALSA is causing the problem.
Regards,
Felix
--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: System clock too fast after kernel upgrade

2004-06-22 Thread Felix C. Stegerman
Anthony Campbell wrote:
On 22 Jun 2004, Felix C. Stegerman wrote:

I realise this is probably not Debian-specific,
but I'm hoping someone on this list can help me out anyway.
[...]
I found the clock was fast (though not as fast as that) with kernel
2.6.6. It also was very difficult to regulate with adjtimex. Then I
realized that I had not optimized the kernel for the via chipset, which
I have; including this optimization seems to have restored things to
normal.

Anthony

What exactly do you mean by optimization?
More than compiled-in support/modules for your specific chipset?
I also have a VIA chipset: KT333 North Bridge / VT8233A South Bridge.
And I'm using CONFIG_BLK_DEV_VIA82CXXX=y in my kernel config.
AFAIK that's all the optimization I can get.
Felix
--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: System clock too fast after kernel upgrade

2004-06-22 Thread Felix C. Stegerman
Felix C. Stegerman wrote:
Stefano Rivoir wrote:

Felix C. Stegerman wrote:

I realise this is probably not Debian-specific,
but I'm hoping someone on this list can help me out anyway.
[...]
It's a known problem, both in early -bk and in -mm1. Either wait for 
-mm2 or look for the right fix, it's been around in the lkml (an abs 
macro that failed on a cast).
[...]
If I understand you correctly, the problem is caused by the -mm1 patch.
I'll try building an unpatched kernel and see whether it's ok.
[...]
2.6.7 without -mm1 patch works perfectly.
I don't really need the patch anyway now the standard kernel has
up-to-date ALSA.
Felix
--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: System clock too fast after kernel upgrade

2004-06-22 Thread Felix C. Stegerman
Stefano Rivoir wrote:
Felix C. Stegerman wrote:
I realise this is probably not Debian-specific,
but I'm hoping someone on this list can help me out anyway.

[...]
It's a known problem, both in early -bk and in -mm1. Either wait for 
-mm2 or look for the right fix, it's been around in the lkml (an abs 
macro that failed on a cast).

Bye
Thanks.
I guess I missed that while searching for solutions.
I've searched the LKML archive for any reference but couldn't find
anything. I'd appreciate it if you could point me in the right direction
so I can read about it myself.
If I understand you correctly, the problem is caused by the -mm1 patch.
I'll try building an unpatched kernel and see whether it's ok.
Felix
P.S.
I wonder why you sent this reply to me directly with a CC to the list 
instead of to the list only.
Maybe you didn't mean to?

--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



System clock too fast after kernel upgrade

2004-06-22 Thread Felix C. Stegerman
I realise this is probably not Debian-specific,
but I'm hoping someone on this list can help me out anyway.
I upgraded to kernel 2.6.7-mm1 today.
(source from kernel.org, built with make-kpkg)
Now, my system clock is running too fast: about 3-4x normal speed.
This is obviously not very convenient.
I searched google and found a reference to a similar problem [1].
The solution provided there, passing "clock=tsc" to the kernel,
has absolutely no effect.
I hope someone on this list can shed some light on this
and can help me solve this

Felix
[1] http://www.webservertalk.com/message240480.html
--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: /dev/hda2 on / type unknown ???

2004-06-22 Thread Felix C. Stegerman
Norman Walsh wrote:
My root partition is /dev/hda2. My machine boots up and runs fine.
$ cat /etc/fstab | grep hda2
/dev/hda2   /   ext2defaults,errors=remount-ro  0  1
$ mount | grep hda2
/dev/hda2 on / type unknown (rw,errors=remount-ro)
That looks a little frightening to me. I touched /forcefsck and
rebooted. It found errors on the root partition, claimed to fix them,
and rebooted but the result was still an "unknown" partition type.
Thoughts?
I just read your post and looked at my own situation.
What I found rather surprised me.
Same 'unknown type' here:
 $ mount | grep hda5
 /dev/hda5 on / type unknown (rw,noatime,errors=remount-ro)
I looked at /proc/mounts which also seemed to have a strange entry:
 $ cat /proc/mounts | grep '/ '
 rootfs / rootfs rw 0 0
 /dev/root / ext3 rw,noatime 0
I've never heard of rootfs and was unable to find some useful 
information quickly.

Unfortunately I don't know whether /proc/mounts used to look different,
since I never really used it.
It might be of interest which version of Debian you and I are using,
and what kernel. My set-up:
 Linux 2.6.7-mm1 (built from kernel.org)
 Debian testing/unstable (APT prefers unstable)
It'd be nice if someone could shed some light on this.
Felix
--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: libxft-dev problem

2004-03-13 Thread Felix C. Stegerman
Hervé Piedvache wrote:
Have you find any solution ... ? same trouble here ... :o(

Thanks !

Le vendredi 12 Mars 2004 17:24, quirin a écrit :

during apt-get upgrade i encountered the following problem with
libxft2-dev. (i use sid)

(Reading database ... 191853 files and directories currently installed.)
Preparing to replace libxft-dev 2.1.2-5
(using .../libxft-dev_2.1.2-6_i386.deb) ...
diversion of /usr/X11R6/include/X11/Xft/Xft.h
to /usr/X11R6/include/X11/Xft/Xft1.h by libxft-dev
Removing `diversion of /usr/X11R6/include/X11/Xft/Xft.h
to /usr/X11R6/include/X11/Xft/Xft1.h by libxft-dev'
dpkg-divert: rename involves overwriting `/usr/X11R6/include/X11/Xft/Xft.h'
with
 different file `/usr/X11R6/include/X11/Xft/Xft1.h', not allowed
dpkg: error processing /var/cache/apt/archives/libxft-dev_2.1.2-6_i386.deb
(--unpack):
subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libxft-dev_2.1.2-6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
so far i wasn't able to fix this problem on my computer. does anyone have
an idea how to deal with that?

I managed to get it installed properly by doing this:
# dpkg --ignore-depends=libxft-dev -r libxft-dev
# apt-get install -f
Regards,

Felix

--
Felix C. Stegerman
the QuiX project - Open Source Software Development
E-Mail: [EMAIL PROTECTED]
Web:http://www.quix.tk/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



  1   2   >