Re: kernel calgary dma error

2014-07-11 Thread rjc
On Fri, Jul 11, 2014 at 12:46:10PM BST, Rafał Świętochowski wrote:

 Witam po aktualizacji kolejnej kernela stable pojawił sie znowu błąd
 kernela jak w poprzednich wydaniach

Znowu? Ten sam co poprzednio? Jejku! ;^)

Jaki blad sie pojawil?

Jaki blad byl w poprzednich wydaniach?

 CZy błąd jest Wam znany?

Moja magiczna kula cos dzisiaj szwankuje.

 Maszyna IBM x366
 kernel obecny Linux kolejarz 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2
 x86_64 GNU/Linux
 az sie boje go zaktualizowac bo na innej maszynie najnowszy zawiesza
 nie mam screena ale jest to zwiazane z ustawieniem calgary

Bylo by duzo latwiej gdybys napisal dokladnie o jaki blad chodzi - nie
wiem jak reszta, ale ja w myslach czytac nie umiem.

Jedyne co znalazlem jesli chodzi o DMA IBM Calgary to to:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678567

Niby naprawione, ale Witek nie potwierdzil.

Pozdrawiam,

rjc


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140711124918.ga15...@linuxstuff.pl



Re: Jak zrobić blokadę wysyłania wiadomości email z załącznikiem.

2014-03-12 Thread rjc
On Tue, Mar 11, 2014 at 09:19:29PM GMT, pch0317 wrote:

 poczytaj może to: http://www.squid-cache.org/Doc/config/reply_body_max_size/

Z tego co widze to sluzy to do ograniczenie *down*-, a nie *up*-load.

rjc


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140312071304.gb17...@linuxstuff.pl



Re: Jak zrobić blokadę wysyłania wiadomości email z załącznikiem.

2014-03-12 Thread rjc
On Wed, Mar 12, 2014 at 10:17:13PM GMT, Michał Prokopiuk wrote:
  On Tue, Mar 11, 2014 at 08:59:58PM +0100, Łukasz Wojton wrote:
   Chodzi o to żeby pracownicy w biurze nie mieli możliwości wysłania
   maila z załącznikiem większym niż 2mb (np. przez swoją pocztę na
   gmail.com)
  ^

 Można by rozważyć smtp-proxy. Ja używam do ograniczania rozsyłania spamów
 przez userów nieco go pod siebie przerobiłem. Sądze, że nie byłoby dużą
 filozofią dodanie limitowania wielkości załącznika.

Wiekszosc bedzie uzywac jakiegos webmaila, wiec cokolwiek zwiazanego z
SMTP nie ma sensu.

Pytanie do Lukasza:

Chodzi Ci tylko o ograniczenie zalacznikow do poczty, czy jakikolwiek
upload plikow (np. masz limit na upload od providera, etc.)?

Bedac jak najbardziej precyzyjnym pomoze nam pomoc Tobie :^)

Pozdrawiam,

rjc


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140312072317.gc17...@linuxstuff.pl



Re: Jak zrobić blokadę wysyłania wiadomości email z załącznikiem.

2014-03-12 Thread rjc
On Wed, Mar 12, 2014 at 08:32:37AM GMT, Łukasz Wojton wrote:

 Dzięki za szybką odpowiedź. 

Nie ma sprawy.

 Chodzi o ograniczenie załączników e-mail. 

W takim razie:

1. Jeśli nie używasz własnego serwera (lub wspomnianego wcześniej
   proxy) SMTP, będzie to bardzo niemożliwe (webmail).

2. Możesz oczywiście filtrować docelowe porty SMTP (25, 465 i 587)
   jeśli użytkownicy używają jakiegoś klienta poczty w
   przeciwieństwie do webmaila. Problem w tym, że na pewno coś
   popsujesz ;^)

3. Ostatecznie, zakładając, że używają klientów, które da się
   skonfigurować, możesz ustawić limit załączników tamże.

Nie podałeś jednak żadnych informacji co do konfiguracji klientów, czy
też powodu dla którego próbujesz coś takiego skonfigurować, więc trudno
udzielić jednoznacznej odpowiedzi.

Pozdrawiam,

rjc

P.S. Nie top-postuj, proszę.


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140312091319.gc14...@linuxstuff.pl



Re: Neprzerwane komunikaty ... podziękowanie

2013-03-08 Thread rjc
On Fri, Mar 08, 2013 at 09:27:25AM GMT, Lech Pankowski wrote:
 Rzeczywiście jest coś z firewall'em, ale nie tylko, bo nie przechodzi
 również zdalne montowanie dysku zewnętrznego, który na bliźniaczym
 systemie montuje się bez problemów.

Zle regulki firewalla mogo byc za to rowniez odpowiedzialne - proponuje
przejzec je i upewnic sie czy firewall przepuszcza potrzebne porty.

Najszybciej mozna to sprawdzic wylaczajac firewall zupelnie i sprobowac
zamontowac dysk.

Pozdrawiam,
-- 
rjc


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130309072710.ga8...@linuxstuff.pl



Re: full automated installation preseed without any network connection?

2012-07-11 Thread rjc
On Wed, Jul 11, 2012 at 07:11:13AM BST, Andrei POPESCU wrote:
 On Ma, 10 iul 12, 16:29:54, anots...@fastmail.fm wrote:
  Dear list,
  
  can Debian be fully automated installed when there is no network
  connection available?
 
 Could you please give more details about what you want to achieve? I'd 
 install on a removable drive, boot the new system with it and cp -a 
 everything over.
 
 If you need to do this on several (more or less identical) machines you 
 can create an image that you can just copy over.

What the OP means is using Debian Installer (d-i) with preseeding.

I personally use it for fully automated install over the network but
yes, you can use d-i with preseeding for off-line installation - think
CD/DVD or USB memory stick with a local .deb repository.

Regards,
-- 
rjc

http://tools.ietf.org/html/rfc1855


-- 
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/20120711093817.ga30...@linuxstuff.pl



[OT] Long threads, Was: Re: Filezilla a security risk

2012-07-08 Thread rjc
On Sun, Jul 08, 2012 at 06:48:44PM BST, Markus Schönhaber wrote:
 Yeah.
 Your statement that 587/tcp was smtps is simply wrong. I just corrected
 your wrong statement - nothing more. Why you feel the need to go to a
 great length to convince someone (whoever that might be) that your wrong
 statement was somehow right is completely beyond me.

I had been on this list [0] on and off for quite a while now and have
noticed that certain individuals find it hard to simply be wrong [1]
and will argue their case just to have the final word.

[0] in a minute I will be corrected that it is a Usenet news group ;^)
[1] or not always be 100% right

Regards,
-- 
rjc


-- 
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/20120708183148.ga2...@linuxstuff.pl



Re: Restore point needed

2012-07-07 Thread rjc
On Fri, Jul 06, 2012 at 11:23:23PM BST, Leo wrote:
 Hi!:
  I send a mail but I was'nt suscribe.
  I am from Uruguay, We use Linux system till a lot of years in our servers. 
 (www.higiene.edu.uy).
 I think - if possible for developpers -, that a restore point could be a 
 great step forward.
  When I make an : aptitude safe-upgrade, never I will now if I will have same 
 problems or now. If iIhave troubles, I c'ant revenir en arriere, (come 
 back).
 Thank you for pay attention at this sibject.

Use 'etckeeper' to keep your /etc configuration files in a VCS[0].

[0] git, hg, ...

Regards,
-- 
rjc


-- 
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/20120707092836.ga...@linuxstuff.pl



Re: startup script

2012-07-02 Thread rjc
On Mon, Jul 02, 2012 at 04:38:50AM BST, Andrei POPESCU wrote:
 On Du, 01 iul 12, 18:31:24, rjc wrote:
  
  Desktop Environments or Window Managers do not run $SHELL startup
  files, nor should they.
 No, but some display managers do :)
 At least gdm (and gdm3 IIRC) and kdm do this, which should cover most 
 users.

GDM sources /etc/profile and it's only to set environment variables,
and NOT meant to start programs - other sourced files are
distribution-specific.

Regards,
-- 
rjc


-- 
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/20120702090652.ga17...@linuxstuff.pl



Re: startup script

2012-07-02 Thread rjc
On Mon, Jul 02, 2012 at 06:14:45PM BST, Tony van der Hoff wrote:
  As mentioned, I have a link to that script in ~/kde/autostart.
  Unfortunately it doesn't autostart.
  
  And it won't.
 
 Why not? You chastise me for giving insufficient information, but you're
 equally terse ;)

Sorry, didn't mean to be abrupt ;^)

 Someone else suggested using the inbuilt KDE autostart tool. That does
 actually work, so Im out of the woods, but I'd dearly love to know how
 it works. Thank you very much for the suggestion.
 [...]
  [0] if $XDG_CONFIG_HOME is not set it defaults to $HOME/.config
  [1] if $KDEHOME is not set it defaults to $HOME/.kde4
 
 $KDEHOME is not set, but I have no kde4 directory.

Hmmm... I assumed it'll be there since KDE4 is the version in Squeeze.

Try here: 
http://docs.kde.org/stable/en/kde-workspace/kcontrol/autostart/index.html

Regards,
-- 
rjc


-- 
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/20120702183929.ga23...@linuxstuff.pl



Re: startup script

2012-07-01 Thread rjc
On Sun, Jul 01, 2012 at 02:05:47PM BST, Tony van der Hoff wrote:
 Thanks, Claudius. This is primarily for KDE, but I would expect it to
 work for a console login as well. Does KDE try to run ~/.bashrc or
 ~/.profile?

No it doesn't.

Desktop Environments or Window Managers do not run $SHELL startup
files, nor should they.

 The reason I asked here is because I previously tried doing exactly what
 you suggest by putting a link in ~/.kde/Autostart to the script, but it
 doesn't appear to work.

In KDE4 the directory in question is $XDG_CONFIG_HOME/autostart [0] or
$KDEHOME/Autostart [1].

 I don't appear to have ~/.bashrc nor ~/.profile.

Startup files in Bash are a bit of a mess [2] and, contrary to what
others have written here, .bashrc is not read during login (unless
sourced by other files obviously) and if you only log in using X then
you don't need either of those files anyway.

 Perhaps more detail is required.

Perhaps.

 I have a script named ~/scripts/start-socks-proxy.sh, containing:
 ---
 #! /bin/bash
 ssh -CNfqD8080 t...@.org.uk
 ---
 
 This works fine when invoking from a terminal, or when double-clicking
 in konqueror.

There's no reason why it shouldn't.

 As mentioned, I have a link to that script in ~/kde/autostart.
 Unfortunately it doesn't autostart.

And it won't.

P.S. If you'd like your script to run both from X and console login,
put it in KDE's autostart folder and run it from .bash_profile,
.bash_login or .profile (in that order as Bash will stop searching for
the other ones after the first success - told you it's a bit of a mess
;^)

P.P.S. Tony, you sent an email with very little information and got
very imprecise replies. Next time please post one with all required
details, i.e. what kind of login, console or X (and if the latter what
DE or WM), and what are you trying to achieve (i.e. script run at
every shell invocation or only once at logon - .bashrc is the wrong
place to put it BTW). Had you done that the first time around you
might have gotten the right answer to your question the first time
around, otherwise it a bit of a waste of time for us - my crystal ball
doesn't work very well on Sundays for example [3].

[0] if $XDG_CONFIG_HOME is not set it defaults to $HOME/.config
[1] if $KDEHOME is not set it defaults to $HOME/.kde4
[2] 
http://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-files-loading-order-bashrc-zshrc-etc/
[3] http://tools.ietf.org/html/rfc1855

Kind regards,
-- 
rjc


-- 
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/20120701173124.ga6...@linuxstuff.pl



Re: [OT] something about dropbox

2012-06-26 Thread rjc
On Tue, Jun 26, 2012 at 04:38:48PM BST, lina wrote:
 Hi,
 
 I haven't used the dropbox yet, now downloading.
 
 want to hear some comments about the dropbox,
 
 both cons and pros are welcome.

+ multi-OS
+ easy to configure
+ available through web browser

- closed source
- Intel binary only [0]
- not WebDAV access [1]
- no CLI-only mode [2]
- untrusted 3rd party (EULA, Policy)
- no P2P (LAN-only) support [3]
- size (5GB) [4]
- not really for advanced use [5]

[0] I run Linux on SPARC, PowerPC and ARM (more and more popular nowadays)

[1] https://www.box.com/ does support WebDAV so you can access your files
with anything that speaks WebDAV
(box.com has a max 100MB size limit though)

[2] it still requires running within X session

[3] it still requires connection to the Internet

[4] box.com offered 50GB if signed up using an Android device

[5] have a look at Joey's git-annex assistant

http://www.kickstarter.com/projects/joeyh/git-annex-assistant-like-dropbox-but-with-your-own

Regards,
-- 
rjc


-- 
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/20120626175041.ga27...@linuxstuff.pl



Re: [OT] something about dropbox

2012-06-26 Thread rjc
On Tue, Jun 26, 2012 at 08:02:00PM BST, Denis Witt wrote:
 That's not correct. You can install and use it without having X
 installed. I did it so on one of the servers in the office. There is a
 CLI script written in python which is officially supported:

Yes, you are right.

I had Dropbox - Nautilus in my head. I do remember seeing dropbox.py
script somewhere, for some reason I assumed that it's a CLI control
for already (X bound) running Dropbox.

Thank you for correcting me.

Having a quick look it still is not does not off a real daemon mode -
you need to use terminal multiplexer (i.e. tmux, dtach, screen, etc.)

Ta,
-- 
rjc


-- 
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/20120626194836.ga13...@linuxstuff.pl



Re: bash related question, adding variable into path

2012-06-23 Thread rjc
On Fri, Jun 22, 2012 at 05:34:40AM BST, Umarzuki Mochlis wrote:
 below scripts stuck when i added id variable to a path.
 
 this script supposed to copy message files (from 18-22 june) from a
 zimbra store/mailbox of a user and copied it into /tmp
 
 #!/bin/bash
 echo Username? then [ENTER]:
 read username
 id=`/opt/zimbra/bin/mysql -e 'use zimbra;select id,comment from
 mailbox;' | grep $username | cut -f 1`
 mkdir /tmp/$username 2/dev/null
 for i in `egrep '(1[8-9]|2[0-2]) Jun 2012'
 /opt/zimbra/store/0/$id/msg/0/* | cut -d : -f 1 | uniq`
 do
 cp $i /tmp/$username
 done
 
 there must be something that i had missed...

1. Hard to tell, as you simply pasted the script instead of attaching
an actual fine - the line breaks are wrong I take it. Please simply
attach one next time.
2. Your problem is a bash problem per se as there's nothing bash
specific in your script, you might as well change the hashbang to
#!/bin/sh - it'll save you some resources ;^)
3. Backticks '`' can be tricky to work with, try using $() instead -
they nest better, are cleaner, more readable, and they're POSIX.
4. If you need literal results, quote the command substitution - $id.
5. Last but not least - debug your script!

Regards,
-- 
rjc


-- 
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/20120623102403.ga11...@linuxstuff.pl



Re: Antivirus for CLI

2012-06-20 Thread rjc
On Wed, Jun 20, 2012 at 06:49:30PM BST, Camaleón wrote:
 On Wed, 20 Jun 2012 19:38:25 +0200, Ralf Mardorf wrote:
 
  On Wed, 2012-06-20 at 15:56 +, Camaleón wrote:
  I know you are very prone to divert the conversation away from the
  topic
  
  At least not for that topic. 
 
 (...)
 
 Ralf, I asked for a specific question (why you don't like ClamAV) 
 because you said there were (sic) several reasons for that. If you 
 don't want/can't respond, that's okay but please don't make this lasts 
 longer than it should.

Since it doesn't add anything to the thread and is off-topic could you
kindly take this ping-pong off the list, please?

Ta,
-- 
rjc


-- 
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/20120620192826.ga16...@linuxstuff.pl



Re: Antivirus for CLI

2012-06-19 Thread rjc
On Tue, Jun 19, 2012 at 08:33:58AM BST, Muhammad Yousuf Khan wrote:
 i am not worried about client side protection because we have up to
 date antivirus clients installed on every client what i am worried
 about is to protect the server so virus would not effect the server
 side services.
 i am asking this because i believe precautionary measures before any
 disaster would be a good option to choose and i am not very experience
 in Linux world (Debian)

I can wholeheartedly recommend ClamAV.

I used it a while back integrated with Squid as part of DansGuardian.

A real life example from not so long ago: it detected a Flashback [0]
trojan horse while both McAfee and Sophos failed to do so.

[0] http://en.wikipedia.org/wiki/Trojan_BackDoor.Flashback

Regards,
-- 
rjc


-- 
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/20120619084513.ga13...@linuxstuff.pl



Re: [OT] google.com

2012-06-15 Thread rjc
On Fri, Jun 15, 2012 at 06:44:11AM BST, lina wrote:
 Even the first link given by Curt, not work. the www.google.com/ncr
 opened still the Malaysia language.

What web browser are you using and do you have cookies enabled?

Does this happen in any other browser?

Which country do you reside in?

P.S. Am I to assume that it is still on Debian?

Cheers,
-- 
rjc


-- 
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/20120615071224.ga18...@linuxstuff.pl



Re: [OT] google.com

2012-06-15 Thread rjc
On Fri, Jun 15, 2012 at 11:47:36AM BST, lina wrote:
 It's iceweasle related, other browser no problem.

In that case quit Iceweasel and:

% mv $HOME/.mozilla/firefox $HOME/.mozilla/firefox.old

If it starts working again remove the new firefox directory, copy
the old one to the original name (keep a copy) and clear all cookies.
If that works, the answer is obvious, if it doesn't clear all the
other settings, etc.

 Is it due to the updating,

Highly unlikely.

-- 
rjc

http://tools.ietf.org/html/rfc1855


-- 
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/20120615115943.ga24...@linuxstuff.pl



Re: [OT] google.com

2012-06-15 Thread rjc
On Fri, Jun 15, 2012 at 01:27:10PM BST, lina wrote:
 On Fri, Jun 15, 2012 at 7:59 PM, rjc r...@linuxstuff.pl wrote:
  On Fri, Jun 15, 2012 at 11:47:36AM BST, lina wrote:
  It's iceweasle related, other browser no problem.
 
  In that case quit Iceweasel and:
 
  % mv $HOME/.mozilla/firefox $HOME/.mozilla/firefox.old
 
 Thanks. It works.
 
 Best regards,

No worries.

As suspected - coockies or config is at fault :^)

-- 
rjc

http://tools.ietf.org/html/rfc1855


-- 
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/20120615160533.ga29...@linuxstuff.pl



Re: Up-gradation problem with gnome 2.14

2012-06-13 Thread rjc
On Wed, Jun 13, 2012 at 01:00:54PM BST, Joy Sankar Sengupta wrote:
 E: Dynamic MMap ran out of room
 E: Error occurred while processing libzeroc-ice34-dbg (NewVersion1)
 E: Problem with MergeList
 /var/lib/apt/lists/http.us.debian.org_debian_dists_sid_
 main_binary-i386_Packages
 E: The package lists or status file could not be parsed or opened.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=431410

Also, correct your sources.list entries.

Cheers,
-- 
rjc

http://tools.ietf.org/html/rfc1855


-- 
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/20120613131747.ga18...@linuxstuff.pl



Re: Linux Path

2012-06-11 Thread rjc
On Mon, Jun 11, 2012 at 03:15:06PM BST, Ethan Rosenberg wrote:
 If I access b.mp4 in /var/www/Webpages2,  [src=b.mp4] the file is found.
 
 It is not found using the full path [src=
 /home/ethan/Gingy/Pictures/Vol_1/b.mp4] .
 
 Where is my error?

Assuming that you can access any file on the file system simply by
appending full path to src. I leave it to you to find out why ;^)

The example below simply looks for:

/var/www/Webpages2/home/ethan/Gingy/Pictures/Vol_1/b.mp4

which doesn't exist - / means the document root

Cheers,
-- 
rjc


-- 
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/20120611142848.ga15...@linuxstuff.pl



Re: Network Security Services Update question

2012-06-08 Thread rjc
On Fri, Jun 08, 2012 at 09:13:41PM BST, ricccardo wrote:
 Hi to all, 
 I notice that the update manager propose to me to upgrade both libnss3
 and libnss3-1d. Under libnss3 I read:'Conflict with libnss3-1d'. So what
 should I do?? Which of them should I install??

sudo aptitude safe-upgrade

BTW, libnss3 conflicts with libnss3-1d version  2:3.13.4-2.

-- 
rjc


-- 
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/20120608222315.ga23...@linuxstuff.pl



Re: Turn Off Screen Saver

2012-06-06 Thread rjc
On Wed, Jun 06, 2012 at 03:21:52PM BST, Paul Nulandorn wrote:
 On Wed, 2012-06-06 at 10:13 -0400, Patrick Wiseman wrote:
  On Wed, Jun 6, 2012 at 10:06 AM, Paul Nulandorn
  paul.nuland...@optusnet.com.au wrote:
 
  You don't tell us what display manager you're using, but there's
  probably a power management function which is turning the screen off
  after a period of idleness.
 
 I'm using gnome 2.30.2. 
 
 I checked the power management settings and the screen saver is disabled
 there also.

What you're seeing is not the screen saver (since you've disabled it)
but the screen goes blank after a period of inactivity - this is
controlled by a power management software, in your example that would
be GNOME Power Manager [0]. I don't use Gnome so can't help you with
it I'm afraid.

A generic way to disable screen going blank would be to use xset.

% xset s off

[0] http://projects.gnome.org/gnome-power-manager/

Cheers,
-- 
rjc


-- 
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/20120606144133.ga6...@linuxstuff.pl



Re: IMS installation

2012-06-05 Thread rjc
On Tue, Jun 05, 2012 at 08:33:49AM BST, G Madhavi wrote:
 Dear sir,
 Greeitngs,

Hi,

 We want to install IMS server in debian(squeeze).for that we should install
  java jdk version 1.5.
 In debian.org website the package is not available.

1.5 version of Java is quite old - I doubt you'll find it in any
recent Linux distribution.

 so help me for further process..

Use version 6 (or 7) of OpenJDK instead.

Regards,
-- 
rjc


-- 
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/20120605085126.ga23...@linuxstuff.pl



Re: Unix command(s) to remove files recursively?

2012-06-05 Thread rjc
On Tue, Jun 05, 2012 at 11:42:35AM BST, Rodolfo Medina wrote:
 Hi.

Hi,

 Suppose that I have, in a certain directory and all its subdirs and subdirs'
 subdirs' subdirs... etc., a certain number of files terminating with `~', 
 e.g.:
 `myfile~', and that I want to remove all of them recursively.  Is there a Unix
 command to do that right away?

find top_dir_name -type f -name *~ -exec rm '{}' \;

man find

P.S. While you're at it I suggest man xargs - you'll find it more
useful than -exec with certain uses of find.

Cheers,
-- 
rjc


-- 
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/20120605110112.ga28...@linuxstuff.pl



Re: Unix command(s) to remove files recursively?

2012-06-05 Thread rjc
On Tue, Jun 05, 2012 at 12:15:24PM BST, Wolodja Wentland wrote:
 On Tue, Jun 05, 2012 at 12:01 +0100, rjc wrote:
   Suppose that I have, in a certain directory and all its subdirs and 
   subdirs'
   subdirs' subdirs... etc., a certain number of files terminating with `~', 
   e.g.:
   `myfile~', and that I want to remove all of them recursively.  Is there a 
   Unix
   command to do that right away?
  
  find top_dir_name -type f -name *~ -exec rm '{}' \;
 
 No need for -exec rm here ... You can just use -delete (please read the 
 manpage!).

No need to shout.

I'm well aware of -delete existence, however it is not portable or
required by POSIX (e.g. some versions of Solaris don't have it) so
-exec rm is more Unix (specifically mentioned by the OP) than
-delete in this example.

Cheers,
-- 
rjc


-- 
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/20120605124003.ga...@linuxstuff.pl



Re: Flashpalyer poroblems on Lenny.

2012-06-03 Thread rjc
On Sat, Jun 02, 2012 at 05:32:15PM BST, Lisi wrote:
 On Saturday 02 June 2012 07:59:40 rjc wrote:
  locate libklashpart.so
  Tried that :-(

If your locate database is up to date it means that the file is no
longer there and your plugins registry simply doesn't reflect that.

  apt-file is useful tool to search for package names containing
  specific string in full path, even when the package is not installed:
 
  apt-file search libklashpart.so
 
 lisi@Junior:~$ aptitude search libklashpart.so
 lisi@Junior:~$ apt-file search libklashpart.so
 bash: apt-file: command not found
 lisi@Junior:~$ su
 Password:
 Junior:/home/lisi# aptitude search libklashpart.so

This is not going to work - man aptitude.

 Junior:/home/lisi# apt-file search libklashpart.so
 bash: apt-file: command not found
 Junior:/home/lisi#

;^)

Well, you have to install it first and then update its database.

Cheers,
-- 
rjc


-- 
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/20120603125940.ga3...@linuxstuff.pl



Re: can server directly access exported nfs dir ?

2012-06-03 Thread rjc
On Sun, Jun 03, 2012 at 04:19:09PM BST, dave selby wrote:
 I have a server that provides a nfs share to several computers on my
 network, I also want to back up this nfs share.
 
 Do I need to mount this share on the server itself before I access it
 for backup or is it OK to access it directly ?
 
 I am not sure how picks nfs is with respect to direct access of its
 exported shares

You can access the files directly from the server.
Direct access is always referable over NFS or any other transport
for that matter.

-- 
rjc


-- 
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/20120603170711.gb20...@linuxstuff.pl



Re: Programs for direct friend-to-friend file transfer?

2012-06-02 Thread rjc
On Sat, Jun 02, 2012 at 07:08:44AM BST, Tom Rausner wrote:
 Dropbox ?

OP explicitly mentioned direct so it rules Dropbox out.
Dropbox is closed source and only works on Intel-compatible platform
so it rules it out for me for example.

nc (netcat) is what the user is looking for.

Cheers,
-- 
rjc


-- 
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/20120602062115.ga19...@linuxstuff.pl



Re: Flashpalyer poroblems on Lenny.

2012-06-02 Thread rjc
On Fri, Jun 01, 2012 at 05:23:42PM BST, Lisi wrote:
 I get the following* if I type about:plugins into my Konqueror location bar.  
 I want to get rid of Shockwqave Flash 7, but I simply cannot find a 
 file/folder/application libklashpart.so anywhere, so cannot delete it.
 
 Has anyone any ideas?

This should work:

locate libklashpart.so

apt-file is useful tool to search for package names containing
specific string in full path, even when the package is not installed:

apt-file search libklashpart.so

P.S. It looks like KDE-specific part of Gnash.

Cheers,
-- 
rjc

http://tools.ietf.org/html/rfc1855


-- 
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/20120602065940.ga28...@linuxstuff.pl



Re: `free' in GNU and DSFG?

2012-05-31 Thread rjc
On Thu, May 31, 2012 at 04:00:39PM BST, Camaleón wrote:
 If by reverse you mean a case sample of we being less restrictive, 
 well, the fact of having contrib and non-oss repositories available 
  ^^^
Obviously that should be non-free.

-- 
rjc


-- 
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/20120531154827.ga18...@linuxstuff.pl



Re: VPN on system boot

2012-05-29 Thread rjc
On Tue, May 29, 2012 at 08:39:54AM BST, Antonio Fernández Pérez wrote:
 Please, anybody could tell me why I can't to connect with this user?

Have you checked user's group membership, device and other files'
permissions?

 -- 
 
 *Antonio Manuel Fernández Pérez*
 
 *Ingeniero Técnico en Informática
 *Dpto. Programación y Sistemas Fabergames S.L.
 TLF:96626 / FAX:966551801
 www.fabergames.com
 
 [image: Imágenes integradas 1][image: Imágenes integradas
 3]http://www.facebook.com/fabergames
[image: Imágenes integradas 4] https://twitter.com/#!/Fabergames
   [image:
 Imágenes integradas 5]
 
   * * * ADVERTENCIA LEGAL * * *
 Le informamos, como destinatario de este mensaje, que el correo electrónico
 y las comunicaciones por medio de Internet no permiten asegurar ni
 garantizar la confidencialidad de los mensajes transmitidos, así como
 tampoco su integridad o su correcta recepción, por lo que FABERGAMES S.L.
 no asume responsabilidad alguna por tales circunstancias. Si no consintiese
 en la utilización del correo electrónico o de las comunicaciones vía
 Internet le rogamos nos lo comunique y ponga en nuestro conocimiento de
 manera inmediata. Este mensaje va dirigido, de manera exclusiva, a su
 destinatario y contiene información confidencial y sujeta al secreto
 profesional, cuya divulgación no está permitida por la ley. En caso de
 haber recibido este mensaje por error, le rogamos que, de forma inmediata,
 nos lo comunique mediante correo electrónico remitido a nuestra atención o
 a través del teléfono (+ 34) 966 26 11 11 y proceda a su eliminación, así
 como a la de cualquier documento adjunto al mismo. Asimismo, le comunicamos
 que la distribución, copia o utilización de este mensaje, o de cualquier
 documento adjunto al mismo, cualquiera que fuera su finalidad, están
 prohibidas por la ley.

Shorten your signature and stop using HTML, please.

-- 
rjc


-- 
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/20120529101258.ga32...@linuxstuff.pl



Re: Debian 6.0 64 Bit : Putty

2012-05-29 Thread rjc
On Tue, May 29, 2012 at 11:51:25AM BST, Matty H wrote:
 Hi, I've recently installed a VPS with Debian 6.0 64 bit.
 
 The server is fully capable to handle it, And for some reason when i
 try to go through putty, The connection times out ?
 
 Any ideas ?

http://the.earth.li/~sgtatham/putty/0.55/htmldoc/Chapter4.html#S4.13.4

-- 
rjc


-- 
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/20120529142134.ga1...@linuxstuff.pl



[OT] Using Threading Properly [was: Debian as a DDNS Server]

2012-05-28 Thread rjc
Hi all,

Could I make a request to all list subscribers, please?

Please start with a new blank message when you start a new thread.

Please DO NOT simply reply to an old message changing its Subject.

Several reasons for it:

1. It's not a reply to the old thread.
2. It's not related to the old thread in any way.
3. Messes up threading in email clients.

Thank you,
-- 
rjc


-- 
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/20120528174743.ga3...@linuxstuff.pl



Re: Configure sudo

2012-05-25 Thread rjc
On Fri, May 25, 2012 at 09:13:05AM BST, Denis Witt wrote:
 sudo su must be disabled of course, also /etc/sudoers must be write 
 protected, even for root. This is no problem if you use chattr +i 
 /etc/sudoers.

/etc/sudoers file is read only by default.

 But i think enable all commands and disallow some, line su and all known 
 shells ;), isn't a good way to go. I would like to disallow all commands by 
 default but allow some of them:

What's wrong with specifying ONLY the commands which a user is allowed
to run as root?

 * restarting of web server
 * editing of php.ini
 * file transfer (ftp-ssl, sftp, http, etc.)
 * chmod/chown (some files only)
 * git, svn, rcs
 * some editors
 * apt-get install but not remove
 * dpkg-reconfigure
 
 What else?

What else is he supposed to do?

 When i did some tests with sudoers i wasn't able to disallow certain commands 
 with parameters like:
 
 passwd root
 
 The only way was to disable passwd at all, which isn't nice. Is there another 
 way to allow some parameters for certain commands?

Yes, simply specify the commands with their options:

userhost = /path/to/command option

You might find aliases useful.

man sudoers

Cheers,
-- 
rjc


-- 
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/20120525100851.ga13...@linuxstuff.pl



Re: how to update Debian OS properly

2012-05-25 Thread rjc
On Fri, May 25, 2012 at 11:57:28AM BST, Muhammad Yousuf Khan wrote:
 well, I have questions about upgrading Linux. since i have been using
 Microsoft for years the concept of upgrade I think is different from
 Linux upgrade.
 
 in a testing environment I was trying to upgrade the security patches
 and I run the command
 apt-get upgrade.
 It ran fine, but at the end it upgraded my whole OS, first my test
 machine was showing Debian version 6.0.4 now after the upgrade it
 shifted to Wheezy/SID which I think is unstable.

Read below [0].

 In Microsoft when we upgrade  the OS. it downloads only the security
 and OS patches.
 
 So the question are
 
 1. how to upgrade only the security patches?

aptitude update  aptitude safe-upgrade [1]

 2. if the upgrade patch trigger any critical issue. Like any service
 like hosting, filesharing or squid got effected by the update, how
 come we know which patch cause this problem and how to remove that
 specific patch because in Microsoft I have seen that security patches
 and OS patches some time make problems when run along with ongoing
 services.

There are no patches like in Windows. Patches in free (open source)
software are for source code [2].

Upgrading a package you effectively installing a new version of the
software.

 3. how to revert back to old OS, for example, in my case i upgraded my
 system from 6.0.4 to Wheezy/SID now want to revert things back.

You can always install an older version of the package.

[0] It seems like you had several entries in your sources.list file(s)
- post the content of your file here.

[1] safe-upgrade will only upgrade packages and won't remove any other
ones

[2] yes, I know, you can have binary patches as well

Cheers,
-- 
rjc


-- 
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/20120525115409.ga13...@linuxstuff.pl



Re: how to update Debian OS properly

2012-05-25 Thread rjc
On Fri, May 25, 2012 at 01:37:16PM BST, Muhammad Yousuf Khan wrote:
  1. how to upgrade only the security patches?
 
  aptitude update  aptitude safe-upgrade [1]
 
 ok it will only update the security patches, no matter if what ever i
 write in source.list?

No, this will upgrade any upgradeable packages - be it a security
update or not.

 one more question. for example. if i wanted to upgrade. but only to
 stable version not to unstable or testing. then what could be done to
 achieve this. if there is no stable version update then it shouldn’t
 download anything from servers.

You don't upgrade stable to stable, you upgrade certain packages
within the stable distribution - the above command will achieve just
that.

 what i want is not just security patch but also OS to OS upgrade but
 only stable releases
 for, example. lenny to new lenny (but stable version)

I don't quite get what you mean by Lenny to new Lenny?
Lenny is an unsupported old-stable release.

 for,example Lenny to Squeez (but stable squeez version)
 
 how it is possible?

Lenny to squeeze upgrade is somewhat different, you need to have
entries for both of these releases in you sources.list file(s).

aptitude update  aptitude full-upgrade

will do what you want here. Bear in mind that full-upgrade will remove
packages, i.e. the ones which are in conflict with the new ones.

  3. how to revert back to old OS, for example, in my case i upgraded my
  system from 6.0.4 to Wheezy/SID now want to revert things back.
 
  You can always install an older version of the package.
 
  [0] It seems like you had several entries in your sources.list file(s)
  - post the content of your file here.
 
 deb http://security.debian.org/ squeeze/updates main
 deb-src http://security.debian.org/ squeeze/updates main
 deb http://backports.debian.org/debian-backports squeeze-backports main
 deb http://ftp.de.debian.org/debian sid main

This is the mistake you made, you've mixed both squeeze (stable) with
sid (unstable release) adding squeeze-backports on top of it.

I'd recommend reading about mixing of stable, testing unstable - stay
away from experimental ;^) - releases and what can you do with APT
pinning. Until then, stick with stable.

Cheers,
-- 
rjc


-- 
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/20120525130609.ga15...@linuxstuff.pl



Re: how to update Debian OS properly

2012-05-25 Thread rjc
On Fri, May 25, 2012 at 02:46:50PM BST, Tom H wrote:
 On Fri, May 25, 2012 at 8:49 AM, Ralf Mardorf
  You're issue is related to the sid repository. If you need something
  from sid, then uncomment it and after that comment it. Don't feel secure
  using pinning.
 
  You can name the repositories stable instead of squeeze, so it will
  use stable what ever Debian stable is named.
 
 That means that the OP'll be upgraded automatically to wheezy when it
 becomes stable! No one wants to do that. You want to choose when to
 upgrade, if at all...

I agree here, don't change squeeze to stable if you don't want to get
into trouble when wheezy comes out.

-- 
rjc


-- 
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/20120525135946.ga18...@linuxstuff.pl



Re: Hebrew - SOLVED

2012-05-23 Thread rjc
On Wed, May 23, 2012 at 03:58:53AM BST, Ethan Rosenberg wrote:
 
Here is the corrected question:
 
 How do I install a Hebrew keyboard and Israeli locale and be
 able to switch back and forth between English and Hebrew.
  
 Dear List -
 
 Sorry for the delay and thanks for all your help.
 
 I tried every way and could not find a mechanism for a keyboard
 shortcut to switch languages.
 
 So. as I understand
 
 The installed Hebrew keyboard is a blank keyboard w/o any keyboard
 map or bindings.
 
 To achieve the map and bindings for Hebrew - I setxkbmap il and for
 Engliish - setkbmap us.
 
 Two launchers on the desktop...DONE.

Hi Ethan,

No need for any launchers on the desktop.

Simply make sure you have, i.e.:

XKBLAYOUT=il,us

XKBOPTIONS=grp:alt_space_toggle

in your /etc/default/keyboard or /etc/X11/xorg.conf (depending on
Debian version).

Then you can toggle those two layouts with ALT and Space.

Cheers,
-- 
rjc


-- 
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/20120523072650.ga23...@linuxstuff.pl



Re: mail not sending message

2012-05-23 Thread rjc
On Wed, May 23, 2012 at 11:36:49PM BST, Chris Evans wrote:
 I am having trouble getting mail to send the message I attach the script
 below
 
 
 
 #!/bin/bash
 wget http://digitalatoll.com/
 rc=$?
 if [[ $rc != 0 ]] ; then
 # num...@txt.att.net
 SUBJECT=digitalatoll server down
 # Email To ?
 EMAIL=9166126...@txt.att.net
 # Email text/message
 EMAILMESSAGE=msg.txt
 echo error on server!  msg.txt
 mail -s $SUBJECT -t $EMAIL  $EMAILMESSAGE
 rm msg.txt
 fi
 rm index.html

mail doesn't support -t option.

echo Your message | mail -s $SUBJECT $EMAIL

should suffice.

You are over-complicating things ever slightly:

#!/bin/sh
wget http://digitalatoll.com/ -O /dev/null
if [ $? != 0 ] ; then
# num...@txt.att.net
SUBJECT=digitalatoll server down
# Email To ?
EMAIL=9166126...@txt.att.net
# Email text/message
echo Your message | mail -s $SUBJECT $EMAIL
fi

1. Now it doesn't require Bash (is POSIX-compatible).
2. No need to declare exit status as a variable.
3. Redirect wget to /dev/null, you don't need to remove any files
afterwards.
4. Use pipe with mail, no need to save to a file and then remove it.

On the whole you are saving several variable substitutions, several 
processes, file read/write and removal (disk I/O), and your script is
portable :^)

P.S. man mail ;^)

Cheers,
-- 
rjc


-- 
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/20120523230551.ga16...@linuxstuff.pl



Re: Repozytorium 'security' z archiwum debiana.

2012-05-18 Thread rjc
On Fri, May 18, 2012 at 07:49:53AM BST, Marcin Kulisz wrote:
 O ile sie nie myle to nie ma juz updatow bezpieczenstwa dla lennego jako ze
 lenny jest EOL 

Nie mylisz sie [0].

[0] http://www.debian.org/News/2012/20120209

-- 
rjc


-- 
To UNSUBSCRIBE, email to debian-user-polish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120518102946.ga21...@linuxstuff.pl



Re: Spam filter -please !

2012-05-17 Thread rjc
On Thu, May 17, 2012 at 08:45:25AM BST, Tom Rausner wrote:
 Hi Administrators of this list 
 
 Don't you think this list needs a spam filter upgrade ?
 
 Look what the pig draged in (I had to send it as HTML 'cause the spam
 was HTML);

http://lists.debian.org/debian-user/2012/05/msg01666.html

Top Right - Report as spam

Ta,
-- 
rjc


-- 
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/20120517083633.ga14...@linuxstuff.pl



Re: OT: language (was: Re: something about rm)

2012-05-17 Thread rjc
On Thu, May 17, 2012 at 04:59:40PM BST, Kelly Clowers wrote:
 On Thu, May 17, 2012 at 6:05 AM, Gary Dale garyd...@rogers.com wrote:
  On 17/05/12 03:48 AM, Panayiotis Karabassis wrote:
 
  On 17/05/2012 06:20 πμ, Gary Dale wrote:
 
  I suspect that file recovery is his current priority.
 
 
  It's a she. :-)
 
  It's? Shouldn't that be He's a she?  ;)
 
 These days I use singular they and friends when I don't know.
 
 I suspect that file recovery is their current priority.

You meant *plural* of course ;^)

-- 
rjc


-- 
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/20120517162317.gb14...@linuxstuff.pl



Re: something about rm

2012-05-17 Thread rjc
On Thu, May 17, 2012 at 01:50:12AM BST, Tony Baldwin wrote:
 I was kind of thinking the same thing...rm to umount a remote dir?
 But, shouldn't it be
 fusermount -u mount_point
 ??

fusermount is, as the name suggests, for (un)mounting FUSE filesystems.

 This is what I use if mounting remote dirs with sshfs, anyway.

Since SSHFS is a FUSE filesystem in this example that would work -
umount however will deal with any filesystem (as long as there's a
corresponding mount.$FSTYPE helper program of course).

Cheers,
-- 
rjc


-- 
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/20120517162915.gc14...@linuxstuff.pl



Re: OT: language (was: Re: something about rm)

2012-05-17 Thread rjc
On Thu, May 17, 2012 at 05:33:45PM BST, Tony van der Hoff wrote:
 On 17/05/12 17:23, rjc wrote:
  On Thu, May 17, 2012 at 04:59:40PM BST, Kelly Clowers wrote:
  On Thu, May 17, 2012 at 6:05 AM, Gary Dale garyd...@rogers.com wrote:
  On 17/05/12 03:48 AM, Panayiotis Karabassis wrote:
 
  On 17/05/2012 06:20 πμ, Gary Dale wrote:
 
  I suspect that file recovery is his current priority.
 
 
  It's a she. :-)
 
  It's? Shouldn't that be He's a she?  ;)
 
  These days I use singular they and friends when I don't know.
 
  I suspect that file recovery is their current priority.
  
  You meant *plural* of course ;^)
  
 I think he meant what he said. There is a nasty usage developing in
 English (in the UK, at least) for their singular, to denote he or
 she. I have resisted it so far.

I know what he meant, hence the ;^)

 It would be much better to originate a new word, such as heshe, or
 shehe, and hisher, instead of overloading an existing plural.

Personally it doesn't bother me as much as illeism.

-- 
rjc


-- 
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/20120517171433.ga24...@linuxstuff.pl



Re: something about rm

2012-05-16 Thread rjc
On Wed, May 16, 2012 at 07:48:56PM BST, Gary Dale wrote:
 What the F! are you doing using rm -r to umount it with rm -r?
 
 The correct sequence of actions if you want to mount point to be
 deleted after you're done with it is:
 
 umount ~/mount_point
 rmdir mount_point
 
 NEVER use rm -r unless you are sure you have files in a directory
 that you want to remove. rmdir is safer for removing directories.
 Since you shouldn't have files in a mount point (although nothing
 stops you from doing so - you just can't see them when the folder is
 used as a mount point), rmdir is always appropriate.

+1 yes, I know! ;^)

One thing worth adding, put these in your alias file:

alias mv='mv -i'
alias cp='cp -i'
alias rm='rm -i'

I know it isn't much of a help now but it will save you future grief.

Cheers,
-- 
rjc


-- 
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/20120516193155.ga28...@linuxstuff.pl



Re: /var/swap set to 2048MBytes as configured

2012-05-16 Thread rjc
On Wed, May 16, 2012 at 07:25:24PM BST, Charles Kroeger wrote:
 on looking into dphys-swapfile I see what it wants to create is a
 swap=16010MByte however when 'checking existing' keeps the configured 2048MB
 instead and so does basically nothing.
 
 How or where does one change this configured amount or remove it so 
 dphys-swapfile
 can create its file. If I remove the /var/swap file it is just recreated. I 
 noticed
 that vim can't edit this file so where is this configuration of 2048 coming 
 from?

Let me guess, you have 8GB of RAM?

The limit you are talking about is hard-coded into /sbin/dphys-swapfile.
In order to change it you need to create your own config.

man 8 dphys-swapfile

/var/swap IS the swap file, not a config one - you can't edit swap.

P.S. Please, read the documentation provided.

dpkg -L $package_name will show you all the files included in the
package (apart from the ones generated by maintainer scripts).
If there's not manual or info pages /usr/share/doc/$package_name
usually contains some documentation and/or examples.

Cheers,
-- 
rjc


-- 
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/20120516203420.ga25...@linuxstuff.pl



Re: server monitoring

2012-05-14 Thread rjc
On Mon, May 14, 2012 at 02:32:32PM BST, Denis Witt wrote:
 Try remote logging using syslog-ng.

rsyslog (Debian's default) supports remote logging.

Regards,
-- 
rjc


-- 
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/20120514181439.ga25...@linuxstuff.pl



Re: Files and directories showing in CLI but not in GUI

2012-05-13 Thread rjc
On Sun, May 13, 2012 at 12:04:16PM BST, Indulekha wrote:
 Almost certainly a permissiopns issue, espcially as he mentioned it was
 a fresh install mounting an old /home.
 I'd be wary of chmodding everything 666 and 777 personally, as certain
 things might need other perms. Besides, 644 and 755 are more secure.

I never suggested chmod everything from / up, only the files' and
directories' affected full path STARTING from / which in this
example is /home mounted somewhere in /target, /media, /mnt, etc.
And yes, 644 and 755 are enough to view the files but if the file
manager is running as a different user he might not be able to change
anything using GUI, that might be the reason why he can see the files
on in the terminal and not in the GUI file manger in the first place -
I don't know how this particular Live CD work.
Then chmod go-rwx or g-w and o-rwx will be enough to get /home back
to desired permissions.

Cheers,
-- 
rjc


-- 
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/20120513120925.ga24...@linuxstuff.pl



Re: To the list admins: Call for Ban on this SPAM

2012-05-13 Thread rjc
On Sun, May 13, 2012 at 12:34:36PM BST, John W. Foster wrote:
 I don't know about the rest of you but this is pure nonsense and should
 be banned from the mailing list and all entries purged from the
 archives. The mailer is:
 
 Sam aersi...@gmail.com
 
 Can those of you with admin authority do something. I doubt this is
 actually a real person. Looks like machine generated scripting to get
 emiail addresses from any who reply.
 thanks 
 frosty

You can report SPAM using list's web archive interface.

-- 
rjc


-- 
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/20120513123808.ga25...@linuxstuff.pl