Re: Why syslog is not rotating?

2013-11-06 Thread Itay

On Mon, 4 Nov 2013, Paul E Condon wrote:


On 20131104_105718, Itay wrote:

On Sun, 3 Nov 2013, Reco wrote:


On Sun, 3 Nov 2013 17:16:02 +0200 (IST)
Itay  wrote:


On Sun, 3 Nov 2013, Reco wrote:



[...] Is there anything suspicious in the root mailbox?


root mail box has daily messages like this starting at june 2010
(yes, I know, bad me)


A lot has changed since I was skilled at Debian install, but I
remember that there was a way to automatically forward all emails
that are sent to root to some other mailbox, like your own user
mailbox. That way you would have become aware of your problem
back in june 2010. Whatever you do to fix logrotate problem, don't
forget to root mail forwarding to a place where you regularly
read your mail. Do this by adding a line to /etc/aliases (I think)


Actually, I had this implemented (but forgot all about it...).
The problem was that my mail client wasn't monitoring my local 
mailbox. (Yes, I know, emberassing... I'm not a skilled sys-admin.)
After the inquiries by Reco and Shawn I checked it and found the said 
messages.


Following your suggestion I edited /etc/aliases such that root mail 
will be sent to my personal mailbox, and a copy will be saved locally 
in root's mailbox.  Now the root entry looks like this


root: root,perso...@email.address.org

Hopefully I did it right.

Thanks for the pointer!

Itay




--
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/alpine.DEB.2.02.1311061022360.7090@gandalf.furmanet



Re: can't find pae kernel after a new install

2013-11-06 Thread Pierre Frenkiel

On Fri, 25 Oct 2013, Jochen Spieker wrote:


You do not need PAE with an AMD64 installation and your 64 Bit system
will not boot using a 32 Bit kernel. If you really, really want to have
a 686-PAE kernel then you need to enable multiarch.


  hi Jochan,
  thanks for your comments. I wanted to finish my laptop install
  before replying.
  I actually needed multiarch, not for the PAE kernel, but to install
  some packages which are only available for i386
  - xv (I don't know any other so powerful program, especially for printing)
  - skype
  After fighting several hours to install xv, I at last enabled multiarch
  with dpkg --add-architecture i386. After that, the xv install
  took about 1 minute.
  What remains unexplained is that I  had the 3.10-3-686-pae kernel
  on my old install, and I never enabled multiarch (At that time, I even ignored
  this possibility).Is there an other explanation than Alzheimer?


the installed kernel being 3.2.0-4-amd64  lot of packages I had on my old
install are now unavailable.


Not if you don't tell us which packages you are missing (except for
kernel packages).


  I didn't give te list, as the number was about 280.
  They were on my old install, but I discovered afterwhile that a lot of them
  came from jessie (I added jessie some time ago in my old install)

  I feel useful to add the following comment, even if this is off topic:
  I discovered that a lot of my problems came from my obstination to use
  apt-get. For example, it was strictly impossible to complete the install
  of texlive, apt-get giving an inifinite loop of unmet dependencies.
  Shifting to aptitude miraculously solved all problems. Nevertheless,
  I found that "apt-get -f install" is still necessary in some cases,
  when aptitude's only "solution" is to remove 600 packages...

best regards,
--
Pierre Frenkiel


--
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/alpine.deb.2.10.1311060825520@pfr2.frenkiel-hure.net



Re: Why syslog is not rotating?

2013-11-06 Thread Itay

On Tue, 5 Nov 2013, Dan Ritter wrote:


On Mon, Nov 04, 2013 at 06:18:42AM -0700, Paul E Condon wrote:



On 20131104_105718, Itay wrote:



root mail box has daily messages like this starting at june 2010
(yes, I know, bad me)


A lot has changed since I was skilled at Debian install, but I
remember that there was a way to automatically forward all emails
that are sent to root to some other mailbox, like your own user
mailbox. That way you would have become aware of your problem
back in june 2010. Whatever you do to fix logrotate problem, don't
forget to root mail forwarding to a place where you regularly
read your mail. Do this by adding a line to /etc/aliases (I think)


Yes. In /etc/aliases, make sure that there is a line like this:

root: deb...@itayf.fastmail.fm

(use whatever address is desired.)

and then, as root:

# newaliases

Then send an email to root to check that mail is going where you
want it to go.


It seems that exim4 is not configured, on my machine, to deliver mail 
to external domains.  I will have to read how to do it.


Thanks.

Itay



This method works for machines running exim (Debian default),
postfix, and sendmail. If you run something else, you are
expected to be able to figure it out from the documentation.

-dsr-






--
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/alpine.DEB.2.02.1311061117170.7090@gandalf.furmanet



Kernel panic - 2.6.32, tcp_keepalive_timer

2013-11-06 Thread Vladimir Zagaychuk
Good day!

I am getting kernel panic with the kernel version 2.6.32 - call trace is
available here:
http://i.imgur.com/kHfhRy9.jpg

Is there any ideas how to deal with this?
Thank you!

-- 
Vladimir Zagaychuk (VZ485-RIPE)


Debian on thecus N2560

2013-11-06 Thread Brian Platt
With energy prices here in the UK spiraling ever upwards it's time I changed my 
home NAS hardware to something a little less power hungry. After some random 
searching I came across the Thecus N2560 
http://www.thecus.com/product.php?PROD_ID=96 and was wondering how hard it 
would be to get debian on it or if there were any firmware images already 
available.
I've had a quick search and apparently it doesn't use a bios but rather a 
custom boot loader by intel so not sure if it will support booting from USB.
If it's not possible on this device can some suggest a suitable low powered one 
that supports 2 drives (for raid).

Re: What to do when not understanding man pages?

2013-11-06 Thread Richard Owlett

Jude DaShiell wrote:

The apt-cd package may help here.


I don't find "apt-cd". Do you mean "apt-cdrom" which "is used to 
add a new CD-ROM to APT's list of available sources."
I am NOT using the CDs/DVDs themselves. I have copied the 
contents to a hard disk partition for speed and convenience - not 
having high speed internet.




Also when searching for tutorials I
find it useful to append "tutorial OR howto" to google searches for
problems like this.  The howtos get you into another probably useful
category.


Been that route ;<
https://wiki.debian.org/HowToSetupADebianRepository#dpkg-scanpackages_and_dpkg-scansources
points to 
http://www.debian.org/doc/manuals/repository-howto/repository-howto.en.html

which has two problems:
  1. Its title labels it as "Obsolete Documentation"
  2. I can't figure how to apply what it says to my case.
It comes closer to my case than what I've found using Google to 
search for dpkg-scanpackages "tutorials"/"How-To".




 On Tue, 5 Nov 2013, Richard Owlett wrote:


Joe wrote:

On Mon, 04 Nov 2013 10:55:10 -0600
Richard Owlett  wrote:



To borrow from the hardware world, man pages would correspond to
Product Specification. What I'm looking for would correspond more
with an Application Note.



I think the magic word you want is 'tutorial'. You probably also want
to set time limits, as one of the most useless things in the world is
an obsolete tutorial. Man pages on the web are usually current.

If you want something a bit unusual, such as an obscure freeRADIUS
application, you probably want to track down half a dozen tutorials,
and try to read between the lines. It's surprising how much can be left
out of a set of 'step-by-step' instructions, but different people
generally leave out different things.



I think you just hit on why 'tutorials' did not come to mind. The Debian
tutorials I've seen have another problem in my situation - taking the reader
from one specific starting point to one specific end point. That normally is
not a problem for the reader as start/end points are aimed at majority.

My problem with the dpkg-scanpackages man pages is that I don't seem to be
able to apply it correctly to my situation. I wish to have a local repository
whose structure mimics the distribution DVDs.

I have a partition dedicated to my local repository. It is mounted as
/media/repo6 .
{I'm working on my Squeeze machine at the moment. Eventually I'll dual boot
Wheezy and Squeeze. Then I'll add another repository partition mounted as
/media/repo7 etc.}

Directory structure is:
/media/repo6/dists/squeeze/contrib/binary-i386
/media/repo6/dists/squeeze/contrib/binary-i386/release
/media/repo6/dists/squeeze/main
/media/repo6/dists/squeeze/main/binary-i386
/media/repo6/dists/squeeze/main/binary-i386/release
/media/repo6/pool
/media/repo6/pool/squeeze
/media/repo6/pool/squeeze/contrib
/media/repo6/pool/squeeze/contrib/...   {directories containing deb files}
/media/repo6/pool/squeeze/main
/media/repo6/pool/squeeze/main/...  {directories containing deb files}

I need appropriate Packages.gz under
/media/repo6/dists/squeeze/contrib/binary-i386
and
/media/repo6/dists/squeeze/main/binary-i386 .

I also need appropriate lines to add to sources.list







---
jude 
Avoid the Gates Of Hell, use Linux!





--
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/527a25b8.4060...@cloud85.net



Re: What to do when not understanding man pages?

2013-11-06 Thread Jude DaShiell
Yes, I meant apt-cdrom, actually what you're wanting to do is to make a 
local mirror of a repository.

On Wed, 6 Nov 2013, Richard Owlett wrote:

> Jude DaShiell wrote:
> > The apt-cd package may help here.
> 
> I don't find "apt-cd". Do you mean "apt-cdrom" which "is used to add a new
> CD-ROM to APT's list of available sources."
> I am NOT using the CDs/DVDs themselves. I have copied the contents to a hard
> disk partition for speed and convenience - not having high speed internet.
> 
> 
> > Also when searching for tutorials I
> > find it useful to append "tutorial OR howto" to google searches for
> > problems like this.  The howtos get you into another probably useful
> > category.
> 
> Been that route ;<
> https://wiki.debian.org/HowToSetupADebianRepository#dpkg-scanpackages_and_dpkg-scansources
> points to
> http://www.debian.org/doc/manuals/repository-howto/repository-howto.en.html
> which has two problems:
>   1. Its title labels it as "Obsolete Documentation"
>   2. I can't figure how to apply what it says to my case.
> It comes closer to my case than what I've found using Google to search for
> dpkg-scanpackages "tutorials"/"How-To".
> 
> 
> >  On Tue, 5 Nov 2013, Richard Owlett wrote:
> >
> > > Joe wrote:
> > > > On Mon, 04 Nov 2013 10:55:10 -0600
> > > > Richard Owlett  wrote:
> > > >
> > > > >
> > > > > To borrow from the hardware world, man pages would correspond to
> > > > > Product Specification. What I'm looking for would correspond more
> > > > > with an Application Note.
> > > > >
> > > >
> > > > I think the magic word you want is 'tutorial'. You probably also want
> > > > to set time limits, as one of the most useless things in the world is
> > > > an obsolete tutorial. Man pages on the web are usually current.
> > > >
> > > > If you want something a bit unusual, such as an obscure freeRADIUS
> > > > application, you probably want to track down half a dozen tutorials,
> > > > and try to read between the lines. It's surprising how much can be left
> > > > out of a set of 'step-by-step' instructions, but different people
> > > > generally leave out different things.
> > > >
> > >
> > > I think you just hit on why 'tutorials' did not come to mind. The Debian
> > > tutorials I've seen have another problem in my situation - taking the
> > > reader
> > > from one specific starting point to one specific end point. That normally
> > > is
> > > not a problem for the reader as start/end points are aimed at majority.
> > >
> > > My problem with the dpkg-scanpackages man pages is that I don't seem to be
> > > able to apply it correctly to my situation. I wish to have a local
> > > repository
> > > whose structure mimics the distribution DVDs.
> > >
> > > I have a partition dedicated to my local repository. It is mounted as
> > > /media/repo6 .
> > > {I'm working on my Squeeze machine at the moment. Eventually I'll dual
> > > boot
> > > Wheezy and Squeeze. Then I'll add another repository partition mounted as
> > > /media/repo7 etc.}
> > >
> > > Directory structure is:
> > > /media/repo6/dists/squeeze/contrib/binary-i386
> > > /media/repo6/dists/squeeze/contrib/binary-i386/release
> > > /media/repo6/dists/squeeze/main
> > > /media/repo6/dists/squeeze/main/binary-i386
> > > /media/repo6/dists/squeeze/main/binary-i386/release
> > > /media/repo6/pool
> > > /media/repo6/pool/squeeze
> > > /media/repo6/pool/squeeze/contrib
> > > /media/repo6/pool/squeeze/contrib/... {directories containing deb
> > > files}
> > > /media/repo6/pool/squeeze/main
> > > /media/repo6/pool/squeeze/main/...{directories containing deb 
> > > files}
> > >
> > > I need appropriate Packages.gz under
> > > /media/repo6/dists/squeeze/contrib/binary-i386
> > > and
> > > /media/repo6/dists/squeeze/main/binary-i386 .
> > >
> > > I also need appropriate lines to add to sources.list
> > >
> > >
> > >
> > >
> > >
> >
> > ---
> > jude 
> > Avoid the Gates Of Hell, use Linux!
> >
> >
> 
> 
> 

---
jude 
Avoid the Gates Of Hell, use Linux!


-- 
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/alpine.bsf.2.01.1311060629570.90...@freire1.furyyjbeyq.arg



Debian on thecus N2560

2013-11-06 Thread Brian Platt
With energy prices here in the UK spiraling ever upwards it's time I changed my 
home NAS hardware to something a little less power hungry. After some random 
searching I came across the Thecus N2560 
http://www.thecus.com/product.php?PROD_ID=96 and was wondering how hard it 
would be to get debian on it or if there were any firmware images already 
available.

I've had a quick search and apparently it doesn't use a bios but rather a 
custom boot loader by intel so not sure if it will support booting from USB.
If it's not possible on this device can some suggest a suitable low powered one 
that supports 2 drives (for raid).  
  

Re: Kernel panic - 2.6.32, tcp_keepalive_timer

2013-11-06 Thread Karl E. Jorgensen
Hi

On Wed, Nov 06, 2013 at 12:39:42PM +0200, Vladimir Zagaychuk wrote:
> Good day!
> 
> I am getting kernel panic with the kernel version 2.6.32 - call trace is
> available here:
> http://i.imgur.com/kHfhRy9.jpg
> 
> Is there any ideas how to deal with this?
> Thank you!

Not really - to make sense of it, the whole trace would be needed
(probably about 50-100 lines or so), rather than just the last 24
lines...

If the kernel panic made it to disk, have a look in /var/log/kern.log..

Hope this helps

-- 
Karl E. Jorgensen


-- 
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/20131106122853.GA5700@hawking



Re: No space left on device (28) but device is NOT full!

2013-11-06 Thread Wawrzek Niewodniczanski
On 5 November 2013 02:30, Tazman Deville  wrote:
> On Mon, Nov 04, 2013 at 06:43:45PM -0500, Hecber Cordova wrote:
>>Hi,
>>
>>Did you check inodes usage? (df -i)
>>
>>I could be inodes availability rather than block availability.
[...]
> I have no idea what the significance of this is, but
> df -i gives
> $ df -i
> FilesystemInodes   IUsed   IFree IUse% Mounted on
> /dev/sda71729920 1729920   0  100% /
>
> So, yeah...inodes, but I'm ignorant of what that means,
> or how to resolve that.
[...]

This is a bit off main topic, but definitely 'on' for this list. Lets
imagine a scenario there is nothing to delete on the troublesome
partition, but there is another disk. What would be the best tool to
move data to another partition having the same size, but higher number
of inodes?

Thanks,
Wawrzek
-- 
Dr  Wawrzyniec Niewodniczańskior Wawrzek for short
  PhD in Quantum Chemistry  & MSc in Molecular Engineering
   WWW: http://wawrzek.name E-MAIL: j...@wawrzek.name
  Linux User #177124


--
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/CAC7-vpCHd3V0E235JXaZTbfYE5e4z9OeMXTbG9-Vh-b�u...@mail.gmail.com



not your regular ipv4/ipv6 dns issue

2013-11-06 Thread mourik jan heupink

Hi all,

We are seeing strange delays in dns resolving with apt-get and wget. 
Tried various public dns servers (for example google dns, opendns)
I used tcpdump to see what actually happens, and we found out that 
apt-get makes two requests for security.debian.org:

standard query A
and
standard query 
But only the first query is answered...

Five seconds later, apt-get asks the same AGAIN, but this time waits for 
an answer, and obtains both A and  addresses:

No. TimeSourceDestination   Protocol Info
  1 0.00192.87.143.xx 8.8.8.8   DNS  
Standard query A security.debian.org
  2 0.18192.87.143.xx 8.8.8.8   DNS  
Standard query  security.debian.org
  3 0.0254878.8.8.8   192.87.143.xx DNS  
Standard query response A 212.211.132.250 A 212.211.132.32 A 195.20.242.89
  4 5.004465192.87.143.xx 8.8.8.8   DNS  
Standard query A security.debian.org
  5 5.0055308.8.8.8   192.87.143.xx DNS  
Standard query response A 212.211.132.250 A 212.211.132.32 A 195.20.242.89
  6 5.005601192.87.143.xx 8.8.8.8.  DNS  
Standard query  security.debian.org
  7 5.0302118.8.8.8   192.87.143.xx DNS  
Standard query response  2001:8d8:580:400:6564:a62:0:2  
2001:a78:5:1:216:35ff:fe7f:6ceb  2001:a78:5:0:216:35ff:fe7f:be4f
Note: of course security.debian.org has an  record, and my machine 
is also 100% ipv6 enabled. (and generally ipv4/ipv6 both work as expected)


We see no delays at all when using 'host' to get the info:


host ftp.nluug.nl
ftp.nluug.nl has address 192.87.102.42
ftp.nluug.nl has address 192.87.102.43
ftp.nluug.nl has IPv6 address 2001:610:1:80aa:192:87:102:43
ftp.nluug.nl has IPv6 address 2001:610:1:80aa:192:87:102:42
root@ws063:~#


If we use 'wget' to download files, we see the same behaviour:


wget http://ftp.nluug.nl/README.nluug
--2013-11-06 13:55:54--  http://ftp.nluug.nl/README.nluug
Resolving ftp.nluug.nl (ftp.nluug.nl)... 192.87.102.43, 192.87.102.42, 
2001:610:1:80aa:192:87:102:42, ...
Just the resolving takes 5 seconds, but the result is good: both ipv4 
and ipv6 addresses are returned. Downloading goes with normal speed.


Interestingly: When instructing wget to use ipv4 or ipv6, BOTH work quickly.
> wget -6 http://ftp.nluug.nl/README.nluug
or
> wget -4 http://ftp.nluug.nl/README.nluug
work quick.

I have also tried setting ipv6-addresses-only in /etc/resolv.conf, with 
exactly the same problems/results.


Can anyone here give me soms tips or clues what could be the problem 
here? Really hope someone has a clue...


Regards,
MJ


--
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/527a3fef.3050...@merit.unu.edu



Problem understanding/using dpkg-scanpackages

2013-11-06 Thread Richard Owlett
I tried to ask this in another thread. But I raised too many 
question in one post.


I do not have high speed internet. Therefore I purchase complete 
DVD sets.
I am doing multiple clean installs to determine my "optimum" 
solution.
Shuffling DVDs became a pain. I set aside a partition for myown 
repository.
I copied the /dists and /pool directories from all DVDs in the 
distribution set to that partition - it is mounted as 
/media/repo6. {I'm working on my Squeeze machine at the moment. 
Eventually I'll dual boot Wheezy and Squeeze. Then I'll add 
another repository partition mounted as /media/repo7 etc. Later 
they will be on an external 1 TB drive.}


My problem with the dpkg-scanpackages man pages is that I don't 
seem to be able to apply it correctly to my situation.


Directory structure is:
/media/repo6/dists/squeeze/contrib/binary-i386
/media/repo6/dists/squeeze/contrib/binary-i386/release
/media/repo6/dists/squeeze/main
/media/repo6/dists/squeeze/main/binary-i386
/media/repo6/dists/squeeze/main/binary-i386/release
/media/repo6/pool
/media/repo6/pool/squeeze
/media/repo6/pool/squeeze/contrib
/media/repo6/pool/squeeze/contrib/...	{directories containing deb 
files}

/media/repo6/pool/squeeze/main
/media/repo6/pool/squeeze/main/...  {directories containing deb files}

I need appropriate Packages.gz under
/media/repo6/dists/squeeze/contrib/binary-i386
and
/media/repo6/dists/squeeze/main/binary-i386 .

I also need appropriate lines to add to sources.list .

I started at
https://wiki.debian.org/HowToSetupADebianRepository#dpkg-scanpackages_and_dpkg-scansources
pointing to 
http://www.debian.org/doc/manuals/repository-howto/repository-howto.en.html

which has two problems:
  1. Its title labels it as "Obsolete Documentation"
  2. I can't figure how to apply what it says to my case.
It comes closer to my case than what I've found using Google to 
search for dpkg-scanpackages "tutorials"/"How-To".





--
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/527a41f4.4020...@cloud85.net



Re: What to do when not understanding man pages?

2013-11-06 Thread Richard Owlett

Jude DaShiell wrote:

Yes, I meant apt-cdrom, actually what you're wanting to do is to make a
local mirror of a repository.


Yes. Devil is in the details ;/



On Wed, 6 Nov 2013, Richard Owlett wrote:


Jude DaShiell wrote:

The apt-cd package may help here.


I don't find "apt-cd". Do you mean "apt-cdrom" which "is used to add a new
CD-ROM to APT's list of available sources."
I am NOT using the CDs/DVDs themselves. I have copied the contents to a hard
disk partition for speed and convenience - not having high speed internet.



Also when searching for tutorials I
find it useful to append "tutorial OR howto" to google searches for
problems like this.  The howtos get you into another probably useful
category.


Been that route ;<
https://wiki.debian.org/HowToSetupADebianRepository#dpkg-scanpackages_and_dpkg-scansources
points to
http://www.debian.org/doc/manuals/repository-howto/repository-howto.en.html
which has two problems:
   1. Its title labels it as "Obsolete Documentation"
   2. I can't figure how to apply what it says to my case.
It comes closer to my case than what I've found using Google to search for
dpkg-scanpackages "tutorials"/"How-To".



  On Tue, 5 Nov 2013, Richard Owlett wrote:


Joe wrote:

On Mon, 04 Nov 2013 10:55:10 -0600
Richard Owlett  wrote:



To borrow from the hardware world, man pages would correspond to
Product Specification. What I'm looking for would correspond more
with an Application Note.



I think the magic word you want is 'tutorial'. You probably also want
to set time limits, as one of the most useless things in the world is
an obsolete tutorial. Man pages on the web are usually current.

If you want something a bit unusual, such as an obscure freeRADIUS
application, you probably want to track down half a dozen tutorials,
and try to read between the lines. It's surprising how much can be left
out of a set of 'step-by-step' instructions, but different people
generally leave out different things.



I think you just hit on why 'tutorials' did not come to mind. The Debian
tutorials I've seen have another problem in my situation - taking the
reader
from one specific starting point to one specific end point. That normally
is
not a problem for the reader as start/end points are aimed at majority.

My problem with the dpkg-scanpackages man pages is that I don't seem to be
able to apply it correctly to my situation. I wish to have a local
repository
whose structure mimics the distribution DVDs.

I have a partition dedicated to my local repository. It is mounted as
/media/repo6 .
{I'm working on my Squeeze machine at the moment. Eventually I'll dual
boot
Wheezy and Squeeze. Then I'll add another repository partition mounted as
/media/repo7 etc.}

Directory structure is:
/media/repo6/dists/squeeze/contrib/binary-i386
/media/repo6/dists/squeeze/contrib/binary-i386/release
/media/repo6/dists/squeeze/main
/media/repo6/dists/squeeze/main/binary-i386
/media/repo6/dists/squeeze/main/binary-i386/release
/media/repo6/pool
/media/repo6/pool/squeeze
/media/repo6/pool/squeeze/contrib
/media/repo6/pool/squeeze/contrib/...   {directories containing deb
files}
/media/repo6/pool/squeeze/main
/media/repo6/pool/squeeze/main/...  {directories containing deb files}

I need appropriate Packages.gz under
/media/repo6/dists/squeeze/contrib/binary-i386
and
/media/repo6/dists/squeeze/main/binary-i386 .

I also need appropriate lines to add to sources.list







---
jude 
Avoid the Gates Of Hell, use Linux!








---
jude 
Avoid the Gates Of Hell, use Linux!





--
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/527a4309.40...@cloud85.net



Re: can't find pae kernel after a new install

2013-11-06 Thread Jochen Spieker
Pierre Frenkiel:
> On Fri, 25 Oct 2013, Jochen Spieker wrote:
> 
> What remains unexplained is that I  had the 3.10-3-686-pae kernel
> on my old install, and I never enabled multiarch (At that time, I even ignored
> this possibility).Is there an other explanation than Alzheimer?

None that I am aware of right now. :)

> I feel useful to add the following comment, even if this is off topic:
> I discovered that a lot of my problems came from my obstination to use
> apt-get. For example, it was strictly impossible to complete the install
> of texlive, apt-get giving an inifinite loop of unmet dependencies.
> Shifting to aptitude miraculously solved all problems. Nevertheless,
> I found that "apt-get -f install" is still necessary in some cases,
> when aptitude's only "solution" is to remove 600 packages...

I don't think anybody disputes that aptitude might give better results
in some cases. It's just that apt-get is recommended for upgrades
between releases. Upgrading testing or sid on a regular basis might pose
different problems than a release upgrade. If aptitude works for you,
feel free to use it.

J.
-- 
I count my partner's eyelashes.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Init system deba{te|cle}

2013-11-06 Thread berenger . morel



Le 05.11.2013 15:32, Jonathan Dowland a écrit :

On Tue, Nov 05, 2013 at 03:10:31PM +0100,
berenger.mo...@neutralite.org wrote:

As simple Debian users, we indeed do not mind about portability
stuff. But for Debian's maintainers, using systemd as default means
that they'll have to maintain other systems for Debian Hurd and
Debian KFreeBSD.


Debian Hurd is not a release architecture so the project is not 
hobbled

by its requirements (yet). That's certainly the case for KFreeBSD, so
long as it remains a release architecture for jessie. Quite 
separately

from the init discussion, I believe some of my fellow developers have
concerns regarding its readiness (and did so for wheezy too).


But, indeed, almost nobody mind about that, because linux is
probably the most used kernel in free software world, and not with a
small difference. Linux is like the windows of free software world
(in term of adoption, not about other aspects).


Yes, in Debian the amd64 variant of the Linux kernel is more popular
than the two KFreeBSD variants combined by a very large margin.


To be very honest, I have no idea about differences between the kernels 
from end-user point of view. Except that it seem you can use windows' 
drivers natively, of course (but that single point really sounds 
interesting in itself).


The lack of informations about those differences is the only one thing 
which made me not switching, and I do not know how longer my prudence 
will refrain my curiosity. And since I really trust Debian developers 
for doing quality work, I do not have a lot of concerns about it being 
ready.


From the developer point of view, the fact that FreeBSD can be compiled 
with other compilers than GCC is a strong argument for switching. My 
opinion is that being able to compile something with more than one 
compiler is a proof of quality.



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



Disable gjs-console

2013-11-06 Thread Dan
Hi,

Some times the program gjs-console from gnome3 takes 100% of my CPU.
That is quite annoying. I have no idea what gjs-console does. I have
disabled the gnome tracker from the start-up applications.

Does anybody have an idea of how to disable gjs-console? What is the
purpose of that program/daemon?

Thanks,
Dan


-- 
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/cak00fo+urrtp7fwokjeyuvgb9io_c9mhp_-t_excjl+eqxc...@mail.gmail.com



Fwd: Cron [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetim

2013-11-06 Thread Tony van der Hoff
I recently did a dist-upgrede from squeezy to wheezy, and all went
-apparently- well.

I'm now getting the following message from cron at half-hourly
intervals. No big deal, but I'd rather not.

I think php5 has now abandoned suhosin in favour of its own
improvements, so how do I get rid of the message?


 Original Message 
Subject: Cron[ -x /usr/lib/php5/maxlifetime ] && [ -d
/var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1
-type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) !
-execdir fuser -s {} 2>/dev/null \; -delete
Date: Wed, 06 Nov 2013 13:39:01 +
From: root@tony-lx (Cron Daemon)
To: root@tony-lx

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20100525/suhosin.so' - /usr/lib/php5/20100525/suhosin.so:
cannot open shared object file: No such file or directory in Unknown on
line 0




-- 
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/527a5212.1020...@vanderhoff.org



Re: mdadm messages

2013-11-06 Thread Tom H
On Mon, Nov 4, 2013 at 10:08 PM, François Patte
 wrote:
> Le 04/11/2013 19:01, Tom H a écrit :
>> On Mon, Nov 4, 2013 at 10:57 AM, François Patte
>>  wrote:
>>> Le 04/11/2013 11:28, Holger Stein a écrit :
 Am 04.11.2013 09:28, schrieb François Patte:


> I have these messages from mdadm:
>
> mdadm: cannot open /dev/md/4: No such file or directory
>  /dev/md/4 :
>  mdadm: cannot open /dev/md/5: No such file or directory
>  /dev/md/5 :
>
> Of course I haven't these directories, I have /dev/md[0-5] instead. Why
> does mdadm is searching there directories and how can I get rid of this
> message?

 under /dev/md/* are symlinks to /dev/md*. Do you have a folder /dev/md/?
 What says mdadm --detail --scan & mdadm --examine --scan
>>> /dev/md/ is empty
>>>
>>>  mdadm --detail --scan
>>> ARRAY /dev/md0 metadata=0.90 UUID=beab96c1:465bb223:6b8acb57:6d51b072
>>> ARRAY /dev/md1 metadata=0.90 UUID=2e8294de:9b0d8d96:680a5413:2aac5c13
>>> ARRAY /dev/md2 metadata=0.90 UUID=eb8b5efe:5a8f9369:e940a0f3:83d63ad1
>>> ARRAY /dev/md3 metadata=0.90 UUID=95c11201:1509169a:860a8b84:c49f865c
>>> ARRAY /dev/md4 metadata=1.2 name=dipankar:4
>>> UUID=4a28174a:f38b4938:233f85f7:6ce585a8
>>> ARRAY /dev/md5 metadata=1.2 name=dipankar:5
>>> UUID=5240f249:7feb6832:6682805f:97c4abea
>>>
>>> mdadm --examine --scan
>>> ARRAY /dev/md2 UUID=eb8b5efe:5a8f9369:e940a0f3:83d63ad1
>>> ARRAY /dev/md3 UUID=95c11201:1509169a:860a8b84:c49f865c
>>> ARRAY /dev/md0 UUID=beab96c1:465bb223:6b8acb57:6d51b072
>>> ARRAY /dev/md1 UUID=2e8294de:9b0d8d96:680a5413:2aac5c13
>>> ARRAY /dev/md/4  metadata=1.2 UUID=4a28174a:f38b4938:233f85f7:6ce585a8
>>> name=dipankar:4
>>> ARRAY /dev/md/5  metadata=1.2 UUID=5240f249:7feb6832:6682805f:97c4abea
>>> name=dipankar:5
>>
>> So the partitions in the v1.2 arrays refer to "/dev/md/X"...
>>
>> Do you have "/lib/udev/rules.d/64-md-raid-rules" on your system
>
> No! I have:
>
>  /lib/udev/rules.d/63-md-raid-arrays.rules
>
> and
>
> /lib/udev/rules.d/64-md-raid-assembly.rules

That's OK. It's "63..." that creates the udev stuff.


>>  and in
>> your initramfs?
>
> I don't know how to check this.

lsinitramfs /boot/initrd... | grep ...


>> Do you have any symlinks in "/dev/disk/{by-id,by-uuid}/" to your md devices?
>
> In /dev/disk/by-id:
>
> md-name-dipankar:4 -> ../../md4
> md-name-dipankar:5 -> ../../md5
> md-uuid-2e8294de:9b0d8d96:680a5413:2aac5c13 -> ../../md1
> md-uuid-4a28174a:f38b4938:233f85f7:6ce585a8 -> ../../md4
> md-uuid-5240f249:7feb6832:6682805f:97c4abea -> ../../md5
> md-uuid-95c11201:1509169a:860a8b84:c49f865c -> ../../md3
> md-uuid-beab96c1:465bb223:6b8acb57:6d51b072 -> ../../md0
> md-uuid-eb8b5efe:5a8f9369:e940a0f3:83d63ad1 -> ../../md2
>
> In /dev/disk/by-uuid
>
> 17e0b155-4d77-4769-b568-723329c5f656 -> ../../md2
> c13cc2f9-0fb7-4d2e-b720-129c62541e81 -> ../../md0

Strange. It's "63..." that creates these symlinks as well as the
"/dev/md/X" ones.


--
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/CAOdo=Szy=0SEVgRa1oh5YcYVH2w6R5CaOVV_17RaZ7WLT=s...@mail.gmail.com



Re: What to do when not understanding man pages?

2013-11-06 Thread Tom H
On Tue, Nov 5, 2013 at 11:41 AM, Richard Owlett  wrote:
> Tom H wrote:
>> On Mon, Nov 4, 2013 at 2:31 PM, Richard Owlett 
>> wrote:
>>>
>>> When using gunzip I got an unexpected result. The result of "gunzip
>>> myfile.gz" was a single file named "myfile". What I expected/desired
>>> was to have two files on the disk - "myfile.gz" and "myfile". There
>>>  was only one - "myfile".
>>
>> gunzip -k owlett.gz
>
> I do not see a -k option in man page
> http://manpages.debian.org/cgi-bin/man.cgi?query=gunzip&apropos=0&sektion=0&manpath=Debian+7.0+wheezy&format=html&locale=en
>>
>> or
>> gunzip -c owlett.gz > owlett

In Debian 8.


-- 
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/CAOdo=SzySOWxjAeia01=twv5ngopk-varsdqpkj4crcbsja...@mail.gmail.com



Re: Fwd: Cron [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlif

2013-11-06 Thread Sven Hartge
Tony van der Hoff  wrote:

> I recently did a dist-upgrede from squeezy to wheezy, and all went
> -apparently- well.

> I'm now getting the following message from cron at half-hourly
> intervals. No big deal, but I'd rather not.

> I think php5 has now abandoned suhosin in favour of its own
> improvements, so how do I get rid of the message?

> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php5/20100525/suhosin.so' - /usr/lib/php5/20100525/suhosin.so:
> cannot open shared object file: No such file or directory in Unknown on
> line 0


apt-get purge php5-suhosin

I recommend to run "aptitude purge ~c" after a dist-upgrade to get rid
of all removed but still un-purged packages.

~c matches all removed, but still configured packages. Purging them
removes the left-over cruft, such as config-files, cron-jobs,
init-scripts, etc.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


-- 
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/3a6g957o0...@mids.svenhartge.de



Booting netinst via PXE

2013-11-06 Thread Lucio Crusca
Hello *,

I've followed this guide [1] and now I have my PXE server up and running, 
however that guide doesn't tell how to configure tftp-hpa menus for Debian, let 
alone the netinst version.

This other guide [2] tell something about Lenny, but I couldn't find the 
debian-installer folder in the wheezy netinst ISO image.

I've tried adapting the instructions in both guides with a few guesses: now 
Debian boots but after asking the language and keyboard tries to mount a CDROM 
(which obviously does not exist) instead of going networked, and the show 
stops.

The PXE menu for Debian is as follows:

LABEL 6
MENU LABEL Debian 7.2.0 (64-bit)
KERNEL debian/7/amd64/vmlinuz
APPEND boot=install netboot=nfs \ 
nfsroot=10.151.44.254:/cache/debian/7/amd64/loop \ 
initrd=debian/7/amd64/initrd.gz \ 
method=nfs:10.151.44.254:/cache/debian/7/amd64/loop lang=it keymap=it ip=dhcp\ 
noipv6 ramdisk_size=1
TEXT HELP
Installa Debian 7.2.0 64-bit
ENDTEXT

Obviously the server has address 10.151.44.254 and is sharing /, /cache and 
everything below those via NFS. Please note that the sheer amount of items 
after "APPEND" is the result of many trials, but I bet they aren't all 
required.

Please note also that a similar configuration does work for ubuntu netinst 
(except in that case I have boot=casper option instead of boot=install).

What am I doing wrong?

[1]. https://help.ubuntu.com/community/PXEInstallMultiDistro
[2]. 
http://www.howtoforge.com/setting-up-a-pxe-install-server-for-multiple-linux-distributions-on-debian-lenny-p2



-- 
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/2109417.Br4mLknz2c@fx



Re: Booting netinst via PXE [more or less SOLVED]

2013-11-06 Thread Lucio Crusca
In data mercoledì 6 novembre 2013 16:09:42, Lucio Crusca ha scritto:
> What am I doing wrong?

I still don't know what, but switching to the minimal ISO (mini.iso) instead 
of the one with the debian installer bundled did the trick.

That suggests me that the same problem would show up with Ubuntu or other 
distros, except that my PXE server was already using mini.iso for Ubuntu...



--
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/1598802.PE2g1BRyXH@fx



Re: Fwd: Cron [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlif

2013-11-06 Thread Tony van der Hoff
On 06/11/13 14:39, Sven Hartge wrote:
> Tony van der Hoff  wrote:


> 
> I recommend to run "aptitude purge ~c" after a dist-upgrade to get rid
> of all removed but still un-purged packages.
> 
> ~c matches all removed, but still configured packages. Purging them
> removes the left-over cruft, such as config-files, cron-jobs,
> init-scripts, etc.


Excellent, thank you Sven. That fixed it.

Cheers,

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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/527a63dc.2090...@vanderhoff.org



Re: mdadm messages

2013-11-06 Thread François Patte
Le 06/11/2013 15:29, Tom H a écrit :
> On Mon, Nov 4, 2013 at 10:08 PM, François Patte
>  wrote:
>> Le 04/11/2013 19:01, Tom H a écrit :
>>> On Mon, Nov 4, 2013 at 10:57 AM, François Patte
>>>  wrote:
 Le 04/11/2013 11:28, Holger Stein a écrit :
> Am 04.11.2013 09:28, schrieb François Patte:
> 
> 
>> I have these messages from mdadm:
>>
>> mdadm: cannot open /dev/md/4: No such file or directory
>>  /dev/md/4 :
>>  mdadm: cannot open /dev/md/5: No such file or directory
>>  /dev/md/5 :
>>
>> Of course I haven't these directories, I have /dev/md[0-5] instead. Why
>> does mdadm is searching there directories and how can I get rid of this
>> message?
>
> under /dev/md/* are symlinks to /dev/md*. Do you have a folder /dev/md/?
> What says mdadm --detail --scan & mdadm --examine --scan
 /dev/md/ is empty

  mdadm --detail --scan
 ARRAY /dev/md0 metadata=0.90 UUID=beab96c1:465bb223:6b8acb57:6d51b072
 ARRAY /dev/md1 metadata=0.90 UUID=2e8294de:9b0d8d96:680a5413:2aac5c13
 ARRAY /dev/md2 metadata=0.90 UUID=eb8b5efe:5a8f9369:e940a0f3:83d63ad1
 ARRAY /dev/md3 metadata=0.90 UUID=95c11201:1509169a:860a8b84:c49f865c
 ARRAY /dev/md4 metadata=1.2 name=dipankar:4
 UUID=4a28174a:f38b4938:233f85f7:6ce585a8
 ARRAY /dev/md5 metadata=1.2 name=dipankar:5
 UUID=5240f249:7feb6832:6682805f:97c4abea

 mdadm --examine --scan
 ARRAY /dev/md2 UUID=eb8b5efe:5a8f9369:e940a0f3:83d63ad1
 ARRAY /dev/md3 UUID=95c11201:1509169a:860a8b84:c49f865c
 ARRAY /dev/md0 UUID=beab96c1:465bb223:6b8acb57:6d51b072
 ARRAY /dev/md1 UUID=2e8294de:9b0d8d96:680a5413:2aac5c13
 ARRAY /dev/md/4  metadata=1.2 UUID=4a28174a:f38b4938:233f85f7:6ce585a8
 name=dipankar:4
 ARRAY /dev/md/5  metadata=1.2 UUID=5240f249:7feb6832:6682805f:97c4abea
 name=dipankar:5
>>>
>>> So the partitions in the v1.2 arrays refer to "/dev/md/X"...
>>>
>>> Do you have "/lib/udev/rules.d/64-md-raid-rules" on your system
>>
>> No! I have:
>>
>>  /lib/udev/rules.d/63-md-raid-arrays.rules
>>
>> and
>>
>> /lib/udev/rules.d/64-md-raid-assembly.rules
> 
> That's OK. It's "63..." that creates the udev stuff.
> 
> 
>>>  and in
>>> your initramfs?
>>
>> I don't know how to check this.
> 
> lsinitramfs /boot/initrd... | grep ...

sbin/mdadm
conf/mdadm
etc/mdadm
etc/mdadm/mdadm.conf
scripts/local-top/mdadm

but /etc/initramfs-tools/scripts/local-topscripts/local-top/mdadm does
not exist

There is /usr/share/initramfs-tools/scripts/local-top/mdadm though

-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte



signature.asc
Description: OpenPGP digital signature


Re: No space left on device (28) but device is NOT full!

2013-11-06 Thread Neal Murphy
On Wednesday, November 06, 2013 07:44:18 AM Wawrzek Niewodniczanski wrote:
> This is a bit off main topic, but definitely 'on' for this list. Lets
> imagine a scenario there is nothing to delete on the troublesome
> partition, but there is another disk. What would be the best tool to
> move data to another partition having the same size, but higher number
> of inodes?

Assuming the problem is /var/log is part of the root filesystem and is crammed 
with millions of files. Assume other drive is /dev/sdb. The general process is 
as follows.

1. Reboot to single-user
2. Add partition #1 to /dev/sdb
3. 'mkreiserfs /dev/sdb1'  # to avoid the whole issue of inodes
4. 'mount /dev/sdb1 /mnt'
5. 'cd /var/log; find . -depth | cpio -pdv /mnt'
6. 'if [ $? -eq 0 ]; then cd ..; mv log log-; rm -rf log-; fi&'
7. 'mkdir log; chmod 755 log
8. 'echo "/dev/sdb1 /var/log reiserfs defaults,notail 0 1" >> /etc/fstab'
9. 'wait'
10. 'umount /mnt; init 6'


-- 
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/201311061143.09913.neal.p.mur...@alum.wpi.edu



Re: Disable gjs-console

2013-11-06 Thread Reco
 Hi.

On Wed, 6 Nov 2013 15:16:55 +0100
Dan  wrote:

> Hi,
> 
> Some times the program gjs-console from gnome3 takes 100% of my CPU.
> That is quite annoying. I have no idea what gjs-console does. I have
> disabled the gnome tracker from the start-up applications.

This seems to be a variation of
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674497


> Does anybody have an idea of how to disable gjs-console?

This is a dirty hack, but should work:

dpkg-statoverride --update --add root root 0644 /usr/bin/gjs-console
pkill -9 -f gjs-console

To revert this change, use:

dpkg-statoverride --update --remove /usr/bin/gjs-console


> What is the purpose of that program/daemon?

Please read an output of 'apt-cache show gjs'.
My guess is - some kind of debugging tool. Personally, I don't trust
nor use any DE written in javascript.

Reco


-- 
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/20131106204330.f4279e84b3de0e305c879...@gmail.com



Re: No space left on device (28) but device is NOT full!

2013-11-06 Thread Beco
On 6 November 2013 13:43, Neal Murphy  wrote:
> Assuming the problem is /var/log is part of the root filesystem and is crammed
> with millions of files. Assume other drive is /dev/sdb. The general process is
> as follows.
>
> 1. Reboot to single-user
> 2. Add partition #1 to /dev/sdb
> 3. 'mkreiserfs /dev/sdb1'  # to avoid the whole issue of inodes
> 4. 'mount /dev/sdb1 /mnt'
> 5. 'cd /var/log; find . -depth | cpio -pdv /mnt'
> 6. 'if [ $? -eq 0 ]; then cd ..; mv log log-; rm -rf log-; fi&'
> 7. 'mkdir log; chmod 755 log
> 8. 'echo "/dev/sdb1 /var/log reiserfs defaults,notail 0 1" >> /etc/fstab'
> 9. 'wait'
> 10. 'umount /mnt; init 6'
>

Hi Neal,

I think I'm going to ask about the easier part:

What is "9. wait" for?

Thx,
Beco.



-- 
Dr Beco
A.I. researcher

"For the things we have to learn before we can do them, we learn by
doing them" (Aristotle)


-- 
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/caluyw2x+vyf-h4i_yxgzdsnc2b7+iuxyeq4zqxdjgy7yyow...@mail.gmail.com



Re: No space left on device (28) but device is NOT full!

2013-11-06 Thread Jonathan Dowland
On Wed, Nov 06, 2013 at 11:43:09AM -0500, Neal Murphy wrote:
> 3. 'mkreiserfs /dev/sdb1'  # to avoid the whole issue of inodes

Before opting for ReiserFS (version 3), users would be advised to
do some reading on the current level of support it attracts in the
kernel, and possibly seek out some filesystem comparisons in order
to make an informed filesystem choice.


-- 
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/20131106171725.gb27...@bryant.redmars.org



Re: No space left on device (28) but device is NOT full!

2013-11-06 Thread Sven Hartge
Neal Murphy  wrote:

> 3. 'mkreiserfs /dev/sdb1'  # to avoid the whole issue of inodes

Really? ReiserFS 3 is dead, IMHO and ReiserFS 4 was never included in
any vanilla kernel.

I'd suggest XFS or a properly configured ext4.

Sure, ext4 has a fixed set of inodes, but properly configured and sized
for the task, you should never run out of them.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.


-- 
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/4a6gjb6o0...@mids.svenhartge.de



Re: Disable gjs-console

2013-11-06 Thread Dan
On Wed, Nov 6, 2013 at 5:43 PM, Reco  wrote:
>  Hi.
>
> On Wed, 6 Nov 2013 15:16:55 +0100
> Dan  wrote:
>
>> Hi,
>>
>> Some times the program gjs-console from gnome3 takes 100% of my CPU.
>> That is quite annoying. I have no idea what gjs-console does. I have
>> disabled the gnome tracker from the start-up applications.
>
> This seems to be a variation of
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674497
>
>
>> Does anybody have an idea of how to disable gjs-console?
>
> This is a dirty hack, but should work:
>
> dpkg-statoverride --update --add root root 0644 /usr/bin/gjs-console
> pkill -9 -f gjs-console
>
> To revert this change, use:
>
> dpkg-statoverride --update --remove /usr/bin/gjs-console
>
>
>> What is the purpose of that program/daemon?
>
> Please read an output of 'apt-cache show gjs'.
> My guess is - some kind of debugging tool. Personally, I don't trust
> nor use any DE written in javascript.
>
> Reco
>

Thanks a lot,

I do not understand your command dpkg-statoverride --update --remove
/usr/bin/gjs-console

This is the process that takes 100% of the CPU
/usr/bin/gjs-console -I /usr/share/gnome-documents/js -c const
SearchProvider = imports.shellSearchProvider; SearchProvider.start();

The problem is related to gnome-documents which I think is a kind of crawler:
 GNOME Documents is a standalone application to find, organize and
view your documents.

I tried to remove gnome-documents but gnome depends on gnome-documents.

The solution will be to create a script that is executed in the
startup of gnome and does a killall gjs-console.

Dan


-- 
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/cak00fo+kgptx_r+jwv+0casss6qv+wbffxnoawgqpvg5ajd...@mail.gmail.com



Re: No space left on device (28) but device is NOT full!

2013-11-06 Thread Neal Murphy
On Wednesday, November 06, 2013 12:11:33 PM Beco wrote:
> On 6 November 2013 13:43, Neal Murphy  wrote:
> > Assuming the problem is /var/log is part of the root filesystem and is
> > crammed with millions of files. Assume other drive is /dev/sdb. The
> > general process is as follows.
> > 
> > 1. Reboot to single-user
> > 2. Add partition #1 to /dev/sdb
> > 3. 'mkreiserfs /dev/sdb1'  # to avoid the whole issue of inodes
> > 4. 'mount /dev/sdb1 /mnt'
> > 5. 'cd /var/log; find . -depth | cpio -pdv /mnt'
> > 6. 'if [ $? -eq 0 ]; then cd ..; mv log log-; rm -rf log-; fi&'
> > 7. 'mkdir log; chmod 755 log'
> > 8. 'echo "/dev/sdb1 /var/log reiserfs defaults,notail 0 1" >> /etc/fstab'
> > 9. 'wait'
> > 10. 'umount /mnt; init 6'
> 
> Hi Neal,
> 
> I think I'm going to ask about the easier part:
> 
> What is "9. wait" for?

You want the background delete to complete before rebooting. If it already 
finished, wait returns immediately.

N


-- 
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/201311061246.43209.neal.p.mur...@alum.wpi.edu



Compiling kernel: problem!

2013-11-06 Thread Antispammbox-debian



Hi all

I try compiling kernel 3.10 on Squeeze 6.0.7. with cpu 
Intel Centrino1  32bit.


Unpack source in /usr/src, and:
adduser user src
chown -R root:src /usr/src
chmod -R g+w /usr/src


cp /boot/config-`uname -r` ./.config
make menuconfig, but don't change any!
make deb-pkg



After finishid, 4 file.deb is present:

linux-image-3.10.0_3.10.0-1_i386.deb
linux-headers-3.10.0_3.10.0-1_i386.deb
linux-firmware-image_3.10.0-1_i386.deb
linux-libc-dev_3.10.0-1_i386.deb



After installed file.deb and reboot, the hard disk change letters!
from sda1 to hda1.

From console, the command:  fdisk -l, blkid and mount, is very slow!



What could be the problem?


Thanks

Regards








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

Archive: http://lists.debian.org/02B29CDA5B7B41CFABD6277BC9F3F856@CentrinoDuo



Re: Disable gjs-console

2013-11-06 Thread Reco
On Wed, 6 Nov 2013 18:41:46 +0100
Dan  wrote:

> On Wed, Nov 6, 2013 at 5:43 PM, Reco  wrote: 
> Thanks a lot,
> 
> I do not understand your command dpkg-statoverride --update --remove
> /usr/bin/gjs-console

This asks ask dpkg to do two things:

a) Remove executable bit from /usr/bin/gjs-console for now.
b) Remove executable bit from /usr/bin/gjs-console for future updates.

Please run 'man dpkg-statoverride' for more details.

> 
> This is the process that takes 100% of the CPU
> /usr/bin/gjs-console -I /usr/share/gnome-documents/js -c const
> SearchProvider = imports.shellSearchProvider; SearchProvider.start();

And if gnome-shell can not execute it, there will be no process.
No process = no CPU consumption.

> 
> The problem is related to gnome-documents which I think is a kind of crawler:
>  GNOME Documents is a standalone application to find, organize and
> view your documents.
> 
> I tried to remove gnome-documents but gnome depends on gnome-documents.

'gnome' is just a metapackage. Purge gnome-documents, keep everything
else.

Reco


-- 
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/20131107001259.01158348fb8b3298586e5...@gmail.com



Re: mdadm messages

2013-11-06 Thread Tom H
On Wed, Nov 6, 2013 at 4:36 PM, François Patte
 wrote:
> Le 06/11/2013 15:29, Tom H a écrit :


>> lsinitramfs /boot/initrd... | grep ...
>
> sbin/mdadm
> conf/mdadm
> etc/mdadm
> etc/mdadm/mdadm.conf
> scripts/local-top/mdadm

I would've grepped for "rules" too since the problem might be that the
"/dev/md/X" symlinks aren't being created by udev in the initramfs. I
don't understand how the other symlinks generated by the same udev
rule are being created if these aren't...


> but /etc/initramfs-tools/scripts/local-topscripts/local-top/mdadm does
> not exist
>
> There is /usr/share/initramfs-tools/scripts/local-top/mdadm though

This is normal. The distro-provided file under "/usr/" is used in the
initramfs but a user can add a file under "/etc/" if needed.


--
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/CAOdo=sw0un1vofcsooxc7h1yicdcgyypxcek3km2ihuvlnd...@mail.gmail.com



Re: Booting netinst via PXE

2013-11-06 Thread Bob Proulx
Lucio Crusca wrote:
> I've followed this guide [1] and now I have my PXE server up and
> running, however that guide doesn't tell how to configure tftp-hpa
> menus for Debian, let alone the netinst version.
> [1]. https://help.ubuntu.com/community/PXEInstallMultiDistro

Note that the guide above does things slightly different than the way
Debian usually suggests to set up a PXE install of Debian.  Note that
I said different not wrong.  There are many good valid ways to do this
task.  But I think that difference may be at the source of the
confusion.

> APPEND boot=install netboot=nfs \ 
> nfsroot=10.151.44.254:/cache/debian/7/amd64/loop \ 
> initrd=debian/7/amd64/initrd.gz \ 
> method=nfs:10.151.44.254:/cache/debian/7/amd64/loop lang=it keymap=it 
> ip=dhcp\ 
> noipv6 ramdisk_size=1

The above guide sets up an NFS mount to the installation image.
Basically the machine boots as an NFS disk client.  For Fedora and
OpenSUSE it mounts the installation media that way.  Instead of
booting a local cdrom it is booting a remote nfs mounted cdrom image.
And since those were netinst images the installation proceeds from
there downloading from the network.  I think.  I didn't actually set
it up to try it.  But definitely it sets up an NFS client mount.

The Ubuntu installation in the above guide is yet again different.  It
sets up the NFS client mount again.  But it uses a live cd image for
the system.  The live cd has support for installing Debian and that is
how they are going about it.  Boot what is effectively an NFS diskless
client and then use the running live cd system's launch point for
installing Debian.

> This other guide [2] tell something about Lenny, but I couldn't find the 
> debian-installer folder in the wheezy netinst ISO image.
> [2]. 
> http://www.howtoforge.com/setting-up-a-pxe-install-server-for-multiple-linux-distributions-on-debian-lenny-p2

That article follows the more traditional Debian approach to network
installation.  It is older and written for Lenny 5 and so specific
version numbers and strings have changed but the concepts are still
the same and valid.  In that article there is no NFS used anywhere.

> I've tried adapting the instructions in both guides with a few guesses:

Since those two guides use different strategies to accomplish the task
I think that is the source of the issue.  It is hard to combine the
techniques because they are doing things in such completely different
ways.

> now Debian boots but after asking the language and keyboard tries to
> mount a CDROM (which obviously does not exist) instead of going
> networked, and the show stops.

Yes.  You have mixed strategies.  The installation is part one way and
part another way.

After spending as much time on this as I am sure that you have spent
already I think you will hate me for suggesting this.  I think you
should abandon the nfs diskless client mount strategy.  At least
initially.  It is very useful to have a bootable nfs diskless client.
I definitely have a simple nfs diskless client environment and it is
very useful.  It is a good building block for other things such as FAI
which uses it too.  But the debian-install has built in support for
network installation and doesn't need it.  It is very much simpler to
set up.  You will still use the same tftp server and dhcp server that
you already have set up now.

The official guide is here:

  http://www.debian.org/releases/stable/i386/ch04s05

This uses the redirector to automatically pick a close mirror to you.
Use it to download the netboot.tar.gz file for your architecture.  It
is architecture specific.  You may want to rename it to something with
amd64 in the name so that you can also set up an i386 flavor too.

  wget 
http://http.debian.net/debian/dists/wheezy/main/installer-amd64/current/images/netboot/netboot.tar.gz

Unpack that into the tftp directory.  This is the instructions from
the second howto reference you were following.  Wherever you have set
up your tftp files that is the directory to unpack the above
netboot.tar.gz file.  I have mine at /srv/tftp (using this in
/etc/default/tftpd-hpa file: TFTP_DIRECTORY="/srv/tftp") and so I end
up with files like this partial list:

  ...
  /srv/tftp/pxeboot/debian-installer/amd64/boot-screens/menu.c32
  /srv/tftp/pxeboot/debian-installer/amd64/initrd.gz
  /srv/tftp/pxeboot/debian-installer/amd64/linux
  /srv/tftp/pxeboot/debian-installer/amd64/pxelinux.0
  ...

Unpack the netboot.tar.gz file so that in your environment the files
are available over tftp.  This could be at /var if you set yours up
that way.  That part does not matter.  I like /srv for such things
rather than /var but it is arbitrary.

> however that guide doesn't tell how to configure tftp-hpa menus for
> Debian, let alone the netinst version.

Then for the menu system the documentation is basically all in the
syslinux and pxelinux documentation.

  http://www.syslinux.org/wiki/index.php/PXELINUX

I am using various menus that I like usi

Re: Installing same packages in a Squeeze installation in a new Wheezy installation

2013-11-06 Thread Bob Proulx
Ken Heard wrote:
> In a new box where the Wheezy OS will be freshly installed I want to
> install all the packages which I presently have in a box with Squeeze.

This is a question that appears on the list every so often.  People
want to be able to do this.  But unfortunately it isn't easy to do
well in practice.  It is easy do sloppily.  But hard to do well.  And
so there are many proposed solutions but none of them work well.

> # dpkg --get-selections '*' > selection.dpkg
> # debconf-get-selections> selection.debconf
> ...
> You can transfer these 2 files to another computer, and install there
> with the following.
> # dselect update
> # debconf-set-selections < myselection.debconf
> # dpkg --set-selections  < myselection.dpkg
> # apt-get -u select-upgrade# or dselect install

Typo there: s/select-upgrade/dselect-upgrade/

That is definitely the old venerable way of doing this on Debian from
a decade of years ago.  When working on the same version of Debian it
even worked relatively well.  Then.  But now we have extended_states
in APT supporting 'apt-get autoremove'.  With regards to that the
above no longer works well.  For one problem it completely breaks the
extended_states paradigm.

The extended_states paradigm is to track for each package whether it
was installed manually or installed as a dependency of another
package.  If you install foo and foo depends upon libfoo then foo is
marked as manual and libfoo is marked as automatic.

With the above get-selections, set-selections method then everything
is set to manually installed.  So if you do this then you must also
take into consideration the extended states and handle it somehow.

I suppose setting everything to auto, then running autoremove and
saying no, then manually selecting top level packages to mark as
manual, then repeating the autoremove, until the list is as desired
would work okay.

> Will this command sequence generally work when the "from" box has
> Squeeze and the "to" box has Wheezy?  Specifically, will the packages
> installed in the Wheezy box having the same names as the ones in the
> Squeeze box be the Wheezy versions rather than the Squeeze versions?

Some will and some won't.  Some packages names in Squeeze 6 have been
dropped from Wheezy 7.

Easier to answer this question yourself.  Simply generate a list of
all package names installed on your Squeeze 6 system and then test
if they are available on a Wheezy 7 system.

  apt-get install dctrl-tools
  grep-status -s Package -n "install ok installed" > squeeze.list

  apt-get install apt-show-versions
  apt-show-versions $(cat squeeze.list) > wheezy.status

Then examine the wheezy list and see what squeeze packages are in wheezy.

> I would assume that when the second group of commands is run any
> packages or config files already in the Wheezy box which are later
> versions of than those in the Squeeze box would be left alone.

The get-selections, set-selections process doesn't know about
versions.  APT will select for installation the newest available from
the sources.list file.

> Also it would appear that where there are no exact equivalents in the
> two boxes the Squeeze versions would be installed if the dependency
> situation allowed it; otherwise they would not be.
> 
> To know what happened when the second group of commands is run can a
> log file be thereby created for that purpose?

When I am faced with this problem I set up a second machine and then
install the packages that I want installed.  Then I manually do the
task transfer from one machine to the other.  Edit /etc config files.
Copy over raw data.  Check out files that are checked into version
control.  That type of thing.  Then I know for sure what has gone into
the new system.  And I know that lint and cruft on the old system
isn't transfered.  Or if it is transferred then it is all freshly done
and available for documentation and future cleanup.  Don't leave cruft
to be tripped over later.

Bob


signature.asc
Description: Digital signature


mounting my USB RAM Stick

2013-11-06 Thread Jean-Marc
Hi List,

I got a strange behavior with my laptop.
When I insert a USB stick, it mounts but belongs to root.
If I plug it in my desktop, it mounts with my user.

Two Jessie systems kernel 3.10 Gnome3.

And my user get plugdev group.

Any suggestions ?

-- 
Jean-Marc 


pgpDOo646WVF4.pgp
Description: PGP signature


How to deal with Xresources

2013-11-06 Thread Frank McCormick

I have been fooling around with xclock (under Icewm) but
now have a question- is it possible to prevent the window manager from
applying its' decorations to xclock? I had a look at editres but
was unable to find anything corresponding to a resource that might
prevent decorations.

Thanks


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

Archive: http://lists.debian.org/527ab849.6000...@videotron.ca



Re: Installing same packages in a Squeeze installation in a new Wheezy installation

2013-11-06 Thread Bob Proulx
Jerry Stuckle wrote:
> Chris Bannister wrote:
> > Instead it would make more sense to install a fresh Wheezy system and
> > then install the top level packages you require.

I would normally do this.  I would set up a new machine.  Then
manually put in the work to move each task over from the old to the
new.  Been there many times.  It is work and effort.  But less work
in total than trying to avoid the work.

> This is a live server, with all kinds of modifications to the
> configuration files (unfortunately, many were before my time and are
> not documented).  Due to the mods, upgrading to Squeeze was a mess

Sigh.  I am once again dealing with a very similar situation.  And I
can't really do what I want to do which is to move to a clean system
and move tasks over to it.  I pretty much need to clean it up in
place.  Which is a difficult situation.  Double sigh.  I just need to
carefully walk through the minefields there.

But I still would not myself use the strategy of doing the
get-selections and set-selections because in my opinion I don't like
the direction of that strategy.  I would identify the top level
packages and install those.  It is easy to install missing packages.
The problem is that they are initially missing and so you find them by
seeing what is broken.  That is bad.  But I know of no better way.

> So what I'm going to do is build a new server, install the same
> software that's on the current one, then reply the modifications to
> the configuration files.  Once it is thoroughly tested, I will
> replace the old one with the new one.

It is a plan.  It should work.  Who am I to judge?

On the same version?  Or jumping to a newer version?

> And no, I do NOT consider this "jumping through hoops".  I consider
> it a much more reliable way to upgrade a live system than just
> blindly upgrading to Wheezy.

I hate having a system that has a lot of hand crafted customization
that is completely unknown.  I don't mind if it is known and
documented.  But I hate it when it isn't known.

Bob


signature.asc
Description: Digital signature


Re: mdadm messages

2013-11-06 Thread Bob Proulx
François Patte wrote:
> I have these messages from mdadm:
> 
> mdadm: cannot open /dev/md/4: No such file or directory
>  /dev/md/4 :
>  mdadm: cannot open /dev/md/5: No such file or directory
>  /dev/md/5 :
> 
> Of course I haven't these directories, I have /dev/md[0-5] instead. Why
> does mdadm is searching there directories and how can I get rid of this
> message?

Hmm...  Do you have both of these kernel modules installed?  I think
those /dev/md/* symlinks are automatically generated when md_mod is
loaded.  Not sure.  Easy to look for though.

  $ lsmod | grep -e dm_mod -e md_mod
  dm_mod 64008  35 
  md_mod 92559  5 raid1

Bob


signature.asc
Description: Digital signature


Re: mdadm messages

2013-11-06 Thread François Patte
Le 06/11/2013 21:27, Tom H a écrit :
> On Wed, Nov 6, 2013 at 4:36 PM, François Patte
>  wrote:
>> Le 06/11/2013 15:29, Tom H a écrit :
> 
> 
>>> lsinitramfs /boot/initrd... | grep ...
>>
>> sbin/mdadm
>> conf/mdadm
>> etc/mdadm
>> etc/mdadm/mdadm.conf
>> scripts/local-top/mdadm
> 
> I would've grepped for "rules" too since the problem might be that the
> "/dev/md/X" symlinks aren't being created by udev in the initramfs. I
> don't understand how the other symlinks generated by the same udev
> rule are being created if these aren't...

lib/udev/rules.d
lib/udev/rules.d/50-firmware.rules
lib/udev/rules.d/60-persistent-storage-dm.rules
lib/udev/rules.d/56-lvm.rules
lib/udev/rules.d/91-permissions.rules
lib/udev/rules.d/80-drivers.rules
lib/udev/rules.d/60-persistent-storage.rules
lib/udev/rules.d/50-udev-default.rules
lib/udev/rules.d/55-dm.rules
lib/udev/rules.d/63-md-raid-arrays.rules


63-md-raid-arrays.rules:


# do not edit this file, it will be overwritten on update

SUBSYSTEM!="block", GOTO="md_end"

# handle md arrays
ACTION!="add|change", GOTO="md_end"
KERNEL!="md*", GOTO="md_end"

# partitions have no md/{array_state,metadata_version}, but should not
# for that reason be ignored.
ENV{DEVTYPE}=="partition", GOTO="md_ignore_state"

# container devices have a metadata version of e.g. 'external:ddf' and
# never leave state 'inactive'
ATTR{md/metadata_version}=="external:[A-Za-z]*",
ATTR{md/array_state}=="inactive", GOTO="md_ignore_state"
TEST!="md/array_state", ENV{SYSTEMD_READY}="0", GOTO="md_end"
ATTR{md/array_state}=="|clear|inactive", ENV{SYSTEMD_READY}="0",
GOTO="md_end"
LABEL="md_ignore_state"

IMPORT{program}="/sbin/mdadm --detail --export $devnode"
ENV{DEVTYPE}=="disk", ENV{MD_NAME}=="?*",
SYMLINK+="disk/by-id/md-name-$env{MD_NAME}",
OPTIONS+="string_escape=replace"
ENV{DEVTYPE}=="disk", ENV{MD_UUID}=="?*",
SYMLINK+="disk/by-id/md-uuid-$env{MD_UUID}"
ENV{DEVTYPE}=="disk", ENV{MD_DEVNAME}=="?*", SYMLINK+="md/$env{MD_DEVNAME}"
ENV{DEVTYPE}=="partition", ENV{MD_NAME}=="?*",
SYMLINK+="disk/by-id/md-name-$env{MD_NAME}-part%n",
OPTIONS+="string_escape=replace"
ENV{DEVTYPE}=="partition", ENV{MD_UUID}=="?*",
SYMLINK+="disk/by-id/md-uuid-$env{MD_UUID}-part%n"
ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[^0-9]",
SYMLINK+="md/$env{MD_DEVNAME}%n"
ENV{DEVTYPE}=="partition", ENV{MD_DEVNAME}=="*[0-9]",
SYMLINK+="md/$env{MD_DEVNAME}p%n"

IMPORT{program}="/sbin/blkid -o udev -p -u noraid $tempnode"
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID_ENC}=="?*",
SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*",
SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"

LABEL="md_end"


Thank you if you can understand what I don't!

Regards
-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte



signature.asc
Description: OpenPGP digital signature


Re: mdadm messages

2013-11-06 Thread François Patte
Le 06/11/2013 22:50, Bob Proulx a écrit :
> François Patte wrote:
>> I have these messages from mdadm:
>>
>> mdadm: cannot open /dev/md/4: No such file or directory
>>  /dev/md/4 :
>>  mdadm: cannot open /dev/md/5: No such file or directory
>>  /dev/md/5 :
>>
>> Of course I haven't these directories, I have /dev/md[0-5] instead. Why
>> does mdadm is searching there directories and how can I get rid of this
>> message?
> 
> Hmm...  Do you have both of these kernel modules installed?  I think
> those /dev/md/* symlinks are automatically generated when md_mod is
> loaded.  Not sure.  Easy to look for though.
> 
>   $ lsmod | grep -e dm_mod -e md_mod
>   dm_mod 64008  35 
>   md_mod 92559  5 raid1

Yes! I get this answer:

lsmod | grep -e dm_mod -e md_mod
dm_mod 63645  35
md_mod 87742  6 raid1

-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte



signature.asc
Description: OpenPGP digital signature


Re: Installing same packages in a Squeeze installation in a new Wheezy installation

2013-11-06 Thread Jerry Stuckle

On 11/6/2013 4:49 PM, Bob Proulx wrote:

Jerry Stuckle wrote:

Chris Bannister wrote:

Instead it would make more sense to install a fresh Wheezy system and
then install the top level packages you require.


I would normally do this.  I would set up a new machine.  Then
manually put in the work to move each task over from the old to the
new.  Been there many times.  It is work and effort.  But less work
in total than trying to avoid the work.



And how do you know what "each task" is when you don't have 
documentation in the complete system?  And if you don't know what is 
required by the tasks?



This is a live server, with all kinds of modifications to the
configuration files (unfortunately, many were before my time and are
not documented).  Due to the mods, upgrading to Squeeze was a mess


Sigh.  I am once again dealing with a very similar situation.  And I
can't really do what I want to do which is to move to a clean system
and move tasks over to it.  I pretty much need to clean it up in
place.  Which is a difficult situation.  Double sigh.  I just need to
carefully walk through the minefields there.



I can't "clean it up in place" and risk downtime on a live system.


But I still would not myself use the strategy of doing the
get-selections and set-selections because in my opinion I don't like
the direction of that strategy.  I would identify the top level
packages and install those.  It is easy to install missing packages.
The problem is that they are initially missing and so you find them by
seeing what is broken.  That is bad.  But I know of no better way.



How can you do that when you don't know all of the tasks and what they 
require?



So what I'm going to do is build a new server, install the same
software that's on the current one, then reply the modifications to
the configuration files.  Once it is thoroughly tested, I will
replace the old one with the new one.


It is a plan.  It should work.  Who am I to judge?

On the same version?  Or jumping to a newer version?



This whole discussion has been about upgrading to Wheezy.


And no, I do NOT consider this "jumping through hoops".  I consider
it a much more reliable way to upgrade a live system than just
blindly upgrading to Wheezy.


I hate having a system that has a lot of hand crafted customization
that is completely unknown.  I don't mind if it is known and
documented.  But I hate it when it isn't known.

Bob



Me, too.  But unfortunately, I didn't set up the system, nor did I 
administer it for some years.


Jerry


--
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/527ac4ed.1030...@attglobal.net



Re: How to deal with Xresources

2013-11-06 Thread Jochen Spieker


Frank McCormick  wrote:
>I have been fooling around with xclock (under Icewm) but
>now have a question- is it possible to prevent the window manager from
>applying its' decorations to xclock? I had a look at editres but
>was unable to find anything corresponding to a resource that might
>prevent decorations.

http://www.icewm.org/manual/icewm-14.html

J. 


-- 
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/f73f26e4-93c4-43db-ac81-e1d6ee212...@email.android.com



Re: Compiling kernel: problem!

2013-11-06 Thread Stephen Powell
On Wed, 06 Nov 2013 15:07:58 -0500 (EST), Antispammbox-debian wrote:
> 
> Hi all
> 
> I try compiling kernel 3.10 on Squeeze 6.0.7. with cpu 
> Intel Centrino1  32bit.
> 
> Unpack source in /usr/src, and:
> adduser user src
> chown -R root:src /usr/src
> chmod -R g+w /usr/src
> 
> cp /boot/config-`uname -r` ./.config
> make menuconfig, but don't change any!
> make deb-pkg
> 
> After finishid, 4 file.deb is present:
> 
> linux-image-3.10.0_3.10.0-1_i386.deb
> linux-headers-3.10.0_3.10.0-1_i386.deb
> linux-firmware-image_3.10.0-1_i386.deb
> linux-libc-dev_3.10.0-1_i386.deb
> 
> After installed file.deb and reboot, the hard disk change letters!
> from sda1 to hda1.
> From console, the command:  fdisk -l, blkid and mount, is very slow!
> 
> What could be the problem?
> 
> Thanks
> 
> Regards

You're not having a problem compiling the kernel, you're having a
problem running the kernel.  It sounds to me like the compiling
went just fine.  Your subject line is misleading.  I know a few things
about compiling kernels, but I've never heard of these specific
usage problems.  I am currently using a custom 3.10 kernel on an
up-to-date jessie system with no problems.  Perhaps the new kernel
requires a newer release of other software, such as udev or
initramfs-tools, than you currently have on your squeeze system.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
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/1192128197.242564.1383778158749.javamail.r...@md01.wow.synacor.com



Re: Installing same packages in a Squeeze installation in a new Wheezy installation

2013-11-06 Thread Tom H
On Wed, Nov 6, 2013 at 9:25 PM, Bob Proulx  wrote:
> Ken Heard wrote:
>>
>> In a new box where the Wheezy OS will be freshly installed I want to
>> install all the packages which I presently have in a box with Squeeze.
>
> This is a question that appears on the list every so often. People
> want to be able to do this. But unfortunately it isn't easy to do
> well in practice. It is easy do sloppily. But hard to do well. And
> so there are many proposed solutions but none of them work well.
>
>> # dpkg --get-selections '*' > selection.dpkg
>> # debconf-get-selections > selection.debconf
>> ...
>> You can transfer these 2 files to another computer, and install there
>> with the following.
>> # dselect update
>> # debconf-set-selections < myselection.debconf
>> # dpkg --set-selections < myselection.dpkg
>> # apt-get -u select-upgrade # or dselect install
>
> Typo there: s/select-upgrade/dselect-upgrade/
>
> That is definitely the old venerable way of doing this on Debian from
> a decade of years ago. When working on the same version of Debian it
> even worked relatively well. Then. But now we have extended_states
> in APT supporting 'apt-get autoremove'. With regards to that the
> above no longer works well. For one problem it completely breaks the
> extended_states paradigm.
>
> The extended_states paradigm is to track for each package whether it
> was installed manually or installed as a dependency of another
> package. If you install foo and foo depends upon libfoo then foo is
> marked as manual and libfoo is marked as automatic.
>
> With the above get-selections, set-selections method then everything
> is set to manually installed. So if you do this then you must also
> take into consideration the extended states and handle it somehow.

You can select the non-automatically installed packages with "aptitude
search '?narrow(~i,!~M)'".


-- 
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/CAOdo=szmnwkytvorwpdbj6bstasncyam5ransd-oh7kg1qt...@mail.gmail.com



Re: Problem understanding/using dpkg-scanpackages

2013-11-06 Thread Zenaan Harkness
On 11/7/13, Richard Owlett  wrote:
> I purchase complete DVD sets.
> I am doing multiple clean installs to determine my "optimum"
> solution.
> Shuffling DVDs became a pain. I set aside a partition for myown
> repository.
> I copied the /dists and /pool directories from all DVDs in the
> distribution set to that partition - it is mounted as
> /media/repo6.

OK, here's a test I just ran, which seems to work, as I'll show below.

It is my understanding that, for your purposes of an offline mirror
created by simply dumping the contents of the various DVDs that you
have, you only need the "pool" directories.

First, to emulate your DVD pool scenario, I copied a subset of
pool/..., the "z" directory from my pool/main/ directory, to a
temporary location:
mkdir /media/repo6
cp -r /my/full/mirror/pool/main/z /media/repo6
cd /media/repo6
mkdir -p pool/main
mv z pool/main

In your case, you would for each DVD insert and copy off the files
something like as follows:
cp -rf /media/cdrom/debian/pool /media/repo6

Next, I ran the following command (many warnings are produced):
dpkg-scanpackages . | gzip - > Packages.gz

Note that I am still in the /media/repo6 directory.

Next I added the following line to /etc/apt/sources.list, commenting
out all other lines in that file:
deb file:/media/repo6 ./

Finally I ran the following command:
apt-get update

and got this output:
Ign file: ./ InRelease
Ign file: ./ Release.gpg
Ign file: ./ Release
Ign file: ./ Translation-en_AU
Ign file: ./ Translation-en
Reading package lists... Done


So, using this procedure, seems to work for me. In the past, I have
used this same procedure, using the DVD set, as you are using, and it
works just fine.

Good luck
Zenaan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOsGNSSWWR0KELhhVhq85mKCw15jRLxAkO+5=-fujrnsy0c...@mail.gmail.com



Re: Problem understanding/using dpkg-scanpackages

2013-11-06 Thread Neal Murphy
On Wednesday, November 06, 2013 07:11:24 PM Zenaan Harkness wrote:
> On 11/7/13, Richard Owlett  wrote:
> > I purchase complete DVD sets.
> > I am doing multiple clean installs to determine my "optimum"
> > solution.
> > Shuffling DVDs became a pain. I set aside a partition for myown
> > repository.
> > I copied the /dists and /pool directories from all DVDs in the
> > distribution set to that partition - it is mounted as
> > /media/repo6.

I've been following this for a while. How hard would it be to create a local 
web site that mirrors the essential parts of, say, ftp.us.debian.org? Then 
tell net install to load from that host. Would the net install then function 
as expected (albeit somewhat quicker)?


-- 
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/201311062010.00554.neal.p.mur...@alum.wpi.edu



Re: How to deal with Xresources

2013-11-06 Thread Frank McCormick

On 06/11/13 05:24 PM, Jochen Spieker wrote:



Frank McCormick  wrote:

I have been fooling around with xclock (under Icewm) but
now have a question- is it possible to prevent the window manager from
applying its' decorations to xclock? I had a look at editres but
was unable to find anything corresponding to a resource that might
prevent decorations.


http://www.icewm.org/manual/icewm-14.html

J.





  Looks like what I'll need - didn't even think about IceWms' 
facilities...I was concentrating on X resources (obviously).


Thanks



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

Archive: http://lists.debian.org/527afaf5.9090...@videotron.ca



Re: No space left on device (28) but device is NOT full!

2013-11-06 Thread Celejar
On Mon, 04 Nov 2013 21:51:26 -0600
Stan Hoeppner  wrote:

...

> Food for thought:  your /dev/sda7 is an EXT filesystem of 26GB with 1.7M
> inodes.  XFS would give you ~23M inodes on a 26GB filesystem.

An ext[2-4] filesystem can be created with any desired number inodes by
invoking 'mkfs.ext[2-4] -N nnn'.

Celejar


-- 
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/20131107002536.6e0351b50afcf65844329...@gmail.com



Re: NVIDIA Problem?

2013-11-06 Thread erosenberg
 
 If you don't have an NVIDIA graphics card, then remove the nvidia
 packages:
 * glx-alternative-nvidia
 * nvidia-driver
 * libgl1-nvidia-glx
 and instead, install libgl1-mesa-glx. This should allow your INTEL
card
 to do the 3D acceleration.

Darac -

Thanks.

I checked, no Nvidia device.

Did as above. Computer is now in infinite loop. Ask for a reboot,
reboots and returns to the terminal login prompt.

TIA

Ethan



Re: free-software phone: neo900

2013-11-06 Thread Pete Ley
green  writes:

> Something that might be of interest to Debian users: the neo900, at
> , is intended to be a successor of the Nokia N900,
> with significantly improved specifications and features, as well as
> full free software support (excluding PowerVR 3D acceleration).  It is
> even (as of this writing) planned to have Debian GNU/Linux as the
> bundled OS.
>
> Comments?

This sounds pretty cool. I hope they pull it off in the end, but I might
wait for it to drop in price. 6-850 EUR is a bit hefty for my
pockets. I'd like to see some kind of reduced-specs version that cost a
little less. For instance, I don't need a barometer in my phone. I could
also do without the front facing camera or even the 5MP if it meant a
price reduction.

And with a highly configurable system like Debian GNU/Linux, I wouldn't
mind having similar specs to the original N900 for a smaller price
tag. I fully commend the project for trying to advance free software in
the mobile world; that said, part of the idea for me is options. :)

/mytwocents


-- 
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/87zjpgkaps@enterprise.sectorq.net



configure gnome help page

2013-11-06 Thread Matthias Bodenbinder
Hi All,

I had MINT LMDE installed on my PC but moved back to Debian Testing. I did not 
do a clean reinstall but simply changed the repositories and the pinning. 

If I start the Help function now in a gnome terminal or nautilus - either via 
F1 or "Help" menu - the system still opens the MINT URL: 
http://www.linuxmint.com/documentation.php

How can I change that? And what would be the correct URL in Debian Testing?

Thanks in advance
Matthias


-- 
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/l5fcj6$8vf$1...@ger.gmane.org



Re: Problem understanding/using dpkg-scanpackages

2013-11-06 Thread Bob Proulx
Neal Murphy wrote:
> I've been following this for a while. How hard would it be to create a local 
> web site that mirrors the essential parts of, say, ftp.us.debian.org? Then 
> tell net install to load from that host. Would the net install then function 
> as expected (albeit somewhat quicker)?

If you have network access then it is very easy using 'debmirror'.

  apt-cache show debmirror
  Description-en: Debian partial mirror script, with ftp and package pool 
support
   This program downloads and maintains a partial local Debian mirror.
   It can mirror any combination of architectures, distributions and
   sections. Files are transferred by ftp, http, hftp or rsync, and package
   pools are fully supported. It also does locking and updates trace files.

There is also 'reprepro' and others too.

Bob


signature.asc
Description: Digital signature


Re: Installing same packages in a Squeeze installation in a new Wheezy installation

2013-11-06 Thread Bob Proulx
Jerry Stuckle wrote:
> Bob Proulx wrote:
> >Jerry Stuckle wrote:
> >>Chris Bannister wrote:
> >>>Instead it would make more sense to install a fresh Wheezy system and
> >>>then install the top level packages you require.
> >
> >I would normally do this.  I would set up a new machine.  Then
> >manually put in the work to move each task over from the old to the
> >new.  Been there many times.  It is work and effort.  But less work
> >in total than trying to avoid the work.
> 
> And how do you know what "each task" is when you don't have
> documentation in the complete system?  And if you don't know what is
> required by the tasks?

For example if the machine is a web server then I would replicate the
web setup on the other machine.  If dhcpd then again the same.

> >>This is a live server, with all kinds of modifications to the
> >>configuration files (unfortunately, many were before my time and are
> >>not documented).  Due to the mods, upgrading to Squeeze was a mess
> >
> >Sigh.  I am once again dealing with a very similar situation.  And I
> >can't really do what I want to do which is to move to a clean system
> >and move tasks over to it.  I pretty much need to clean it up in
> >place.  Which is a difficult situation.  Double sigh.  I just need to
> >carefully walk through the minefields there.
> 
> I can't "clean it up in place" and risk downtime on a live system.

Then life is very bad for you. :-(

> >But I still would not myself use the strategy of doing the
> >get-selections and set-selections because in my opinion I don't like
> >the direction of that strategy.  I would identify the top level
> >packages and install those.  It is easy to install missing packages.
> >The problem is that they are initially missing and so you find them by
> >seeing what is broken.  That is bad.  But I know of no better way.
> 
> How can you do that when you don't know all of the tasks and what
> they require?

By doing exactly what I just said.  I will say it again.

The problem is that they are initially missing and so you find them by
seeing what is broken.  That is bad.  But I know of no better way.

And I know your response will be that you can't do that.  The answer
is that then you are in a world of serious hurt.  Serious, serious hurt.

> >On the same version?  Or jumping to a newer version?
> 
> This whole discussion has been about upgrading to Wheezy.

Some of the discussion has been about cloning servers on the same version.

Bob


signature.asc
Description: Digital signature


[SOLVED] mounting my USB RAM Stick

2013-11-06 Thread Jean-Marc
On Wed, 6 Nov 2013 22:32:26 +0100
Jean-Marc  wrote:

> Hi List,
> 
> I got a strange behavior with my laptop.
> When I insert a USB stick, it mounts but belongs to root.
> If I plug it in my desktop, it mounts with my user.
> 
> Two Jessie systems kernel 3.10 Gnome3.
> 
> And my user get plugdev group.
> 
> Any suggestions ?

I got an answer on the debian-user-fr list telling me to take a look in 
/etc/fstab.
And I found a line starting with /dev/sdb1.  This made my laptop mounting the 
USB device following this definition but it did not manage permissions.

Removing this allows the other automount system to work mounting it under 
/media//.

Strange, this def in /etc/fstab.

Jean-Marc 


pgpJjfeQmtkKM.pgp
Description: PGP signature