Re: preseeding: disable systemd

2014-09-12 Thread Jonathan Dowland
On Fri, Sep 12, 2014 at 07:02:06PM +0100, Iain M Conochie wrote:
> Not at all. This is a basic preseed file I was using for wheezy installs. I
> am testing it again on a new VM - gimmie an hour or so and I will post the
> results

The one you posted was exactly that - a late_command to manually switch the
inits.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140913064045.gc5...@bryant.redmars.org



Re: preseeding: disable systemd

2014-09-12 Thread Jonathan Dowland
On Fri, Sep 12, 2014 at 06:52:02PM +0200, Erwan David wrote:
> So systemld is not *default* init system, but *compulsory*
> 
> Let the discourse be clear.

More accurate would be that currently, it is not possible to preseed a testing
or unstable system without systemd. This might be fixed by the time jessie is
stable. You are still perfectly able to switch away from systemd outside of the
context of preseeding.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140913063857.gb5...@bryant.redmars.org



Re: need suggestion on Virtualization backup/DR site.

2014-09-12 Thread Jonathan Dowland
Don't replicate the VMs. Have separate VMs built using the same configuration.
Use a configuration management solution (e.g. puppet) to define the
configuration of your VMs. Replicate *data* instead.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140913063743.ga5...@bryant.redmars.org



Re: Mails & mails

2014-09-12 Thread Björn Djisktra
Is this gonna work? Please, help.

algorithm 10.6
type array [1..1000] of integer: arr
var
arr : a, b, c, d
integer : I, J, K, M, n, aux, low, upp, central, cont, big, f_n, num
boolean : flag

begin
do
read (n)
while (n <= 0) OR (n > 1000)

for I <- (1 to n) do:
repeat
read (a [I])
until (a [I] > 0) AND (a [I] < 100) end_for

flag <- 'F'
I <- 1
while (flag == 'F') AND (I < n) do: flag <- 'T'
for I <- (1 to (n - I)) do:
if (a [I] > a [I + 1] then:
aux <- a [I]
a [I] <- a [I + 1]
a [I + 1] <- aux
flag <- 'F'
end_if
end_for
I <- I + 1
end_while

for I <- (1 to n) do:
write (a [I])
end_for

low <- 1
upp <- n
central <- ((upp - low) DIV 2) + low
write (a [central])
M <- 1
J <- 1
K <- 1
for I <- (1 to n) do:
if (a [I] < 30) then:
b [J] <- a [I]
J <- J + 1
else:
if (a [I] > 70) then:
c [K] <- a [I]
K <- K + 1
else:
d [M] <- a [I]
M <- M + 1
end_if
end_if
end_for

write ('Numbers smaller than 30: ')
for I <- (1 to J) do:
write (b [I])
end_for

write ('Numbers larger than 70: ')
for I <- (1 to K) do:
write (c [I])
end_for

write ('Numbers between 30 and 70: ')
for I <- (1 to M) do:
write (d [I])
end_for

I <- 1
f_n <- a [I]
cont <- 0
big <- 1
for I <- (1 to n) do:
for J <- (1 to n) do:
if (a [J] == f_n) then:
cont <- cont + 1
end_if
if (cont > big) then:
big <- cont
num <- a [I]
end_if
end_for
f_n <- a [I + 1]
cont <- 0
end_for

write ('The number ', num, ' appears ', big, ' times.'

end
On Sep 13, 2014 5:25 AM, "Björn Djisktra"  wrote:

> Guyz, Stop re-directed mails to my address.
>


Re: The Fine Art of Making a Bootable Drive; more

2014-09-12 Thread Cindy-Sue Causey
On 8/13/14, Martin G. McCormick  wrote:
> I am the one who posted stating that I can't seem to make a
> bootable new hard drive for my Linux Squeeze system. It's been
> quoted, "It ain't what you don't know that will hurt you, but
> what you know that just ain't so." I think I am in that
> territory now. What I have been doing was to format the new
> active partition (sda1) with ext4 or ext3, using the rest of the
> drive space as extended primary Partition 2 and overwriting with
> a logical Partition 5 for swap.
>   I then would use rsync to copy all of the old drive
> including special files to the new drive and one could see /dev
> and all hard links to initrd.gz where they should be. The final
> step which seems to be the kiss of death is to use grub-install
> on the rescue disk to put a MBR on /dev/sda.
>   I never got this to work. Today, I did


Martin, what was the kiss of death? I received one, too, while
installing GRUB2. It installed perfectly in/on the hard drive I was
working from. It asked me if I wanted to install/upgrade a second hard
drive I'd left attached via USB. It seemed harmless enough because
I've been messing around with GRUB, felt comfortable that'd be ok to
do. Told it yes, do install on that one, too.

MAJOR #FAIL.

Via Disk Utility (palimpsest), one partition of that secondary hard
drive is now reflecting a "capacity" of...

18446744 TB (-338,761,326,592 bytes).

The other two partitions alone are reflecting 839GB. on a 500GB
hard drive. The related error I'm working my way through is:

"Can't have a partition outside the disk!"

So I'm just curious what YOUR idea of "kiss of death" was.. :))

PS The hard drive that worked was where I successfully rsync'd a
partition while I was using it. Booted into it via the USB'd hard
drive and installed GRUB2 into MBR. Getting GRUB2 installed/upgraded
was the only thing I did that caused those whacked out numbers.

That outrageous capacity value ALMOST smells like GRUB2 triggered
something like that 1,000TB sized /proc/kcore virtual file I just
mentioned somewhere the other day.. OR not, I don't know but I'm
working on it to try to find out.

Another oddity was TestDisk is reporting duplicates for all four
partitions as it analyzes the hard drive where a healthy drive only
reflects one entry each for similar. Here's swap as one example:

Current partition structure:
 1 P Linux Swap   0  32 33  1274 241 55   2048
 1 P Linux Swap   0  32 33  1274 241 55   2048

Cindy

-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cao1p-ka9oybx9xigqachwf3gbbtzw2t_kspapm0fmmyh7+k...@mail.gmail.com



Mails & mails

2014-09-12 Thread Björn Djisktra
Guyz, Stop re-directed mails to my address.


Re: Is there any documentation on how to configure the Gnome Desktop environment?

2014-09-12 Thread Chris Bannister
On Fri, Sep 12, 2014 at 04:35:05PM -0700, Rick Thomas wrote:
> 
> On 09/11/14 06:14, Brian wrote:
> >On Wed 10 Sep 2014 at 23:35:53 -0700, Rick Thomas wrote:
> >
> >>In particular, I’m interested in getting Gnome under Jessie to use a
> >>terminal program that isn’t gnome-terminal.
> >Activities -> Show Applications -> Settings -> Keyboard -> Shortcuts
> >
> >Custom Shortcuts -> Name/Command -> Apply
> >
> >Click on "Disabled" -> Then press key(s) you want to launch an xterm
> 
> Thanks!  That helped alot!  (-:   But it's really buried quite deep in the
> menus. /-:
> 
> Now, the question is: how do I make xterm (or lxterm) the "local-official"
> terminal app under my local version of Gnome.  Is there a place buried even
> deeper in the menus for that?

I hope this isn't a stupid answer, but does it follow:

update-alternatives --display x-terminal-emulator

man update-alternatives

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140913010303.GA3059@tal



Re: Is there any documentation on how to configure the Gnome Desktop environment?

2014-09-12 Thread Rick Thomas


On 09/11/14 06:14, Brian wrote:

On Wed 10 Sep 2014 at 23:35:53 -0700, Rick Thomas wrote:


In particular, I’m interested in getting Gnome under Jessie to use a
terminal program that isn’t gnome-terminal.

Activities -> Show Applications -> Settings -> Keyboard -> Shortcuts

Custom Shortcuts -> Name/Command -> Apply

Click on "Disabled" -> Then press key(s) you want to launch an xterm


Thanks!  That helped alot!  (-:   But it's really buried quite deep in 
the menus. /-:


Now, the question is: how do I make xterm (or lxterm) the 
"local-official" terminal app under my local version of Gnome.  Is there 
a place buried even deeper in the menus for that?


Enjoy!

Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54138329.7080...@pobox.com



Re: Making keyboard remap changes permanent without reboot.

2014-09-12 Thread Bzzzz
On Sat, 13 Sep 2014 01:53:57 +0300
Alexandros Prekates  wrote:

> I checked slim's log , xorg's log and  . .xsessions_error
> 
> No luck. But i think i narrowed the failure trigger to the instant
> screensaver starts executing.

Check also dmesg|less, /var/log/messages, Xorg.0.log, daemons, etc.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140913010740.334d1f2f@msi.defcon1



Re: Is there any documentation on how to configure the Gnome Desktop environment?

2014-09-12 Thread Rick Thomas


On 09/11/14 05:10, Jape Person wrote:

On 09/11/2014 02:35 AM, Rick Thomas wrote:


In particular, I’m interested in getting Gnome under Jessie to use a
terminal program that isn’t gnome-terminal.

Anybody know how to do that?

TLDNR: Gnome terminal, apparently, is broken if you use the “C”
locale.  It wants to see a UTF8 locale, and refuses to work with
anything less!  See Debian bug#746415 for details.  Programs like
lxterminal and simple xterm work fine, so I’d like to configure Gnome
to use one of them instead of the broken gnome-terminal.  But I
haven’t discovered the right magical incantation to do that yet.
Help?  Anybody?

Rick



I'm sorry that I'm not likely to be helpful. I haven't used Gnome in a 
long time, and I know it has changed a lot.


I'm curious, though. How do you launch the terminal window -- from the 
menu system / from a desktop or panel shortcut of some kind? What 
happens when you use a launcher and specify that it launch xterm, as 
in /usr/bin/xterm?


Surely Gnome doesn't subsume all terminal executables and cause them 
to launch the Gnome terminal?


I hope you find a solution.

Jape


I click on the "activites" in the upper left of the basic Gnome screen.  
That gives me a list of "favorites" on the left.  The last "favorite" is 
a tic-tac-toe board that, when clicked, gives a list of all the 
"approved" Gnome apps.  One of those is "terminal" another is "root 
terminal".  Those each start the actual program 
"/usr/bin/gnome-terminal" each with a different perl wrapper. 
"/usr/bin/gnome-terminal" is the one with the problem.


If I open the file browser and brows to "/usr/bin" I can find 
"lxterminal" (after I installed it) and "xterm" (which comes standard 
and doesn't need to be installed.)  If I double-click on one of them, I 
get a terminal window with a shell.


When I type "gnome-terminal" into the shell on lxterminal, I get the 
error messages given in the bug report.


That's where I stand now.

Enjoy!

Rick


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54137b25.7080...@pobox.com



Re: Making keyboard remap changes permanent without reboot.

2014-09-12 Thread Alexandros Prekates
On Fri, 12 Sep 2014 16:59:30 +0200
B  wrote:

> On Fri, 12 Sep 2014 17:48:50 +0300
> Alexandros Prekates  wrote:
> 
> > You are right. With fvwm the new settings are active all time.
> > With the default xfce window manager the settings are lost after
> > some time. Even if i reboot /etc/default/keyboard changes wont hold!
> > So i guess its an xfce's  xfwm4 bug? 
> 
> Just in case, check all possible logs to see if you find
> a trace of this reverse action.



I checked slim's log , xorg's log and  . .xsessions_error

No luck. But i think i narrowed the failure trigger to the instant
screensaver starts executing.


Alexandros.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140913015357.6b18024d@enous.homenet



Re: preseeding: disable systemd

2014-09-12 Thread Brian
On Fri 12 Sep 2014 at 22:10:28 +0200, Martin Vegter wrote:

> I read somewhere that Jessie will still support the old SysVinit (even
> if it's not the default init). I intend to use Debian as long as I can
> avoid using systemd.

After installation you definitely need to do:

  apt-get install sysvinit-core

You may also have to do:

  apt-get install systemd-shim

before issuing the first command.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/12092014224057.ff13b66f7...@desktop.copernicus.demon.co.uk



Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-12 Thread Brian
On Fri 12 Sep 2014 at 22:29:22 +0400, Reco wrote:

> On Fri, 12 Sep 2014 11:23:56 +0100
> Brian  wrote:
> 
> > DNSSD is the *only* method for printer discovery with cups-daemon in
> > Jessie.
> 
> Oh, that changes things somewhat as I didn't know that. May need to
> research the motivation of CUPS upstream for this step. I take it that
> my other arguments don't meet any objection from your side?

If you are referring to "dhcp option 9" I'm afraid I didn't spend very
long looking at that because there wasn't anything which made me sit up
and take notice; I'm prepared to acknowledge I might have missed
something. Howvever, my focus is on how the printing system actually
works in Debian and not on replacing the role of avahi.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912215326.gw4...@copernicus.demon.co.uk



Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-12 Thread Brian
On Fri 12 Sep 2014 at 22:29:22 +0400, Reco wrote:

> On Fri, 12 Sep 2014 11:23:56 +0100
> Brian  wrote:
> 
> > > But the most interesting is why there's a need for the whole library to
> > > do the job if a couple of lines in /etc/hosts would do the job just
> > > fine.
> > 
> > A few posts back in this thread there is
> > 
> >   https://lists.debian.org/20140906161207.gn4...@copernicus.demon.co.uk
> > 
> > The link it contains leads to another with a recent -devel discussion.
> > There is a 10 year history with the issue; a search with "/etc/hosts"
> > and "Thomas Hood" should bring up some of it.
> 
> I assume you're referring to:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=247734
> 
> An interesting reading, thanks, but it looks on the problem from
> somewhat different angle that I do. What I meant was:
> 
> If one as perfectly valid (which seem to be a direct consequence of
> #247734) /etc/hosts with the following values:
> 
> 127.0.0.1 localhost
> 127.0.1.1  

I would tend to agree with this, if only because exim uses  for a
HELO/EHLO and it would require some thought to fit it into a framework
using libnss-myhostname. It took long enough for us to get to something
which worked reliably so my motivation for changing isn't great.

For the moment libnss-myhostname on Jessie has only 3 rdepends (2 are
Recommends:), but there has been talk of d-i installing it by default.
That might see a change to the d-i generated /etc/hosts.

> Why would one need libnss-myhostname in Debian? Especially if Debian
> Installer generates such /etc/hosts for the last 10 years give or take?
> 
> I acknowledge that there're other distributions than Debian, and they
> used to do things differently (for example, comment 125 of #247734
> implies that RedHat did not generate such /etc/hosts back then), so to
> address those other distributions' problem libnss-myhostname was
> created.
> 
> But using this library in Debian seem to be redundant at best.

I think its ability to accomodate dynamic changes in the hostname is
seen as an advantage. Never having experienced that, I'm unable to
comment further.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912215217.gv4...@copernicus.demon.co.uk



Brother color laser MFC [was: Re: (HP's) Buggy power]

2014-09-12 Thread ken



On 09/11/2014 10:25 AM Robert Heller wrote:

At Thu, 11 Sep 2014 08:51:59 -0400 CentOS mailing list
 wrote:



On 09/10/2014 08:46 AM Bonno Bloksma wrote:

Hi,


In need of a new printer, having done a bit or research, and
considering either the Canon PIXMA mg5420  or the HP Photo
Smart 7520.





HP has drifted to the 'bottom' when it comes to printer quality. HP
is now making 'junk' printers (at least in terms of inkjets). HP also
has policy of pretty much no-questions-asked replacement (in the
warrantry period) -- I think they know their printers are junk and
fully expect them to fail before then end of the warrantry period.
*I* finally convinced the library director at the local library to
give up on HP OfficeJunk MFCs (the first one lasted just over one
year, and the second about 10 months, and its replacement about a
month, and its replacement a few weeks, and its replacement a week
or so, ... after five replacements we ended up with one that lasted
to a few months beyond the 90 warrantry period of the replacement)
and get a Brother color laser MFC. The initial cost is a bit higher,
but the library is no longer being nickel and dimed to death buying
ink carts and the Brother printer, just works and works and is not
being out of order every few months (or weeks or even days).


Thanks for the  post, Robert.  I've been hearing here and elsewhere so 
much about the many problems with HP printers that I'm taking them out 
of consideration.  I've never owned a Brother printer, just three 
Epsons, the last of which was a PITA to always be feeding ink to.  It's 
not just the ink's cost; it's a considerable hassle to be printing 
something, have the ink run out, have to phone and drive to buy more 
ink, then reprint from where the previous job failed.


Still, I need a good scanner with a sheet feeder and a couple times a 
year I need to fax something.  So an "all-in-one" machine makes 
practical sense for me.


Can you say the model of that Brother laser MFC you mentioned?

Thanks again.



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

Archive: https://lists.debian.org/54135c53.6090...@mousecar.com



Re: How does exec work with systemd?

2014-09-12 Thread Jonathan de Boyne Pollard
Cam Hutchison:
> I've been using runit for some time, which is a clone of daemontools

runit is not a clone of daemontools.  s6
(http://skarnet.org/software/s6/) is much like daemontools, with some
extensions.  It has the s6-svscan, s6-svscanctl, s6-supervise, s6-svc,
s6-svok, s6-svstat, s6-tai64nlocal, ... and so forth commands and a
superset of the service directory mechanism.  daemontools-encore
(http://untroubled.org/daemontools-encore/) is much like daemontools,
with some extensions.  It has the daemontools commands with their
daemontools names.  And the service directory mechanism is much the
same, with a couple of extensions including an extended service state
model.  Parts of nosh
(http://homepage.ntlworld.com./jonathan.deboynepollard/Softwares/nosh.html)
have the same commands and interfaces as daemontools, for
compatibility.  Again, there are svscan, svc, svok, svstat, tai64n,
tai64nlocal, and so forth.  And again the mechanism is a superset of
the daemontools service directory one.

However, runit (http://smarden.org/runit/) is not as similar to
daemontools as any of those.  Neither is perp
(http://b0llix.net/perp/).  The command sets are quite different.
Instead of "svc", for example, there are "perpctl" and "sv" with
rather different option structures.  Similarly, "chpst" and "runtool"
differ in usage from the daemontools commands for doing the same
things.  The structure of the service directory mechanisms, in
particular (but not solely) the unequal relationship between "log"
services and "main" services, is also different.

Compared to other service management systems, there is a definite set
of family characteristics that all of these share.  The filesystem is
the service control/status API, with much of that API common to all.
The service management system does the "daemonization", with daemons
that fork-then-exit-parent very strongly discouraged.  Helper commands
prepare process state and do chain loading.  "run"/"rc.main" is the
service program.  Standard output/error go to a logging daemon.  Log
daemons are services, too.  But to describe any of them, except
perhaps daemontools-encore and s6 (which still does a disservice to
both), as clones is wrong and misleading.  All of them, including even
daemontools-encore (which is the closest to being a clone),
incorporate design decisions that differentiate them from daemontools.
runit, nosh, and s6 provide programs explicitly designed to be process
#1 and do system management in addition to service management.
daemontools-encore and nosh have the aforementioned extended state
model in the control/status API.  runit and perp have stronger
coupling between "log" and "main" services.  runit provides workalikes
for runlevels.  nosh provides workalikes for targets and service
start/stop dependencies.  perp, nosh, and runit provide for base
directories other than /service/ .  nosh can import (some) systemd
unit files.  s6 has event FIFOs.  perp's "rc.main" is passed
arguments.  runit enables drop-in /etc/init.d shims.  nosh has halt,
reboot, poweroff, systemctl, initctl, chkconfig, and service shim
commands.  And so on.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CACF=bdvbdgvrzy0deuqwwf7bwbaj8_y8+f9pgmaadvw_ibu...@mail.gmail.com



Re: preseeding: disable systemd

2014-09-12 Thread Martin Vegter
> On 09/12/2014 09:56 PM, Michael Biebl wrote:
> Am 12.09.2014 15:30, schrieb Martin Vegter:
>> hello,
>>
>> when installing Jessie, systemd is installed as default init.
>>
>> Is it possible to use preseeding to override this, so that systemd will
>> not be installed?
> 
> Any specific reason, why you want to avoid using systemd?

I read somewhere that Jessie will still support the old SysVinit (even
if it's not the default init). I intend to use Debian as long as I can
avoid using systemd.
Once this window closes, I will have to find another distribution or
hope that in the meantime somebody will fork Debian without systemd.

Martin


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54135334.2060...@aol.com



Re: preseeding: disable systemd

2014-09-12 Thread Iain M Conochie


On 12/09/14 18:54, Michael Biebl wrote:

Am 12.09.2014 19:37, schrieb Michael Biebl:

Am 12.09.2014 18:55, schrieb Iain M Conochie:

   If you want the preseed file that built this VM I can email it to you.
I will, of course, take out any sensitive info with suggestions for
replacements

I assume you used a post-install hook to uninstall systemd and install
sysvinit-core?

Or d-i preseed/late_command [1] to be specific.


Michael


[1] https://www.debian.org/releases/stable/i386/apbs05.html.en

cat /var/lib/cmdb/web/aitweb02.cfg |grep late
d-i preseed/late_command string cd /target/root; wget 
http://weezer.shihad.org/cmdb/hosts/aitweb02.sh && sh 
/target/root/aitweb02.sh


All this does is grab a script to setup motd, ful ssl ldap auth, and a 
logging server. Posting the scripts could get long and boring :)


But none of that matters, as it seems the new netboot files installer 
will use systemd. Bummer :(


Sorry for the noise.

Cheers

Iain


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

Archive: https://lists.debian.org/54134a3d.1080...@thargoid.co.uk



Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-12 Thread Joe
On Fri, 12 Sep 2014 22:29:22 +0400
Reco  wrote:


> 
> If one as perfectly valid (which seem to be a direct consequence of
> #247734) /etc/hosts with the following values:
> 
> 127.0.0.1 localhost
> 127.0.1.1  
> 

Just to throw another log on the fire: I recently acquired a Windows 8
laptop (don't ask) and found it wouldn't pick up a DHCP address on my
network, which includes a Windows 7 desktop and a few Linux machines.

It took me some effort to get it to connect with manual values as
hands-on networking is quite difficult in Windows these days (and who
thought APIPA addresses were a good idea? That is the one way to
absolutely guarantee that a computer can't connect to any network).

With a bit of packet capturing, it appeared that isc-dhcp-server on
Wheezy was sometimes using 127.0.1.1 as a source address during DHCP
negotiation, which Windows 8 (rightly in my opinion) took exception to.

So I lost the 127.0.1.1 entry, without any obvious problems. I saw a
while back in the thread that exim4 may use it, but my exim4 has been
very firmly told what FQDN to use, and it isn't the server's.

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912202554.508d6...@jresid.jretrading.com



Re: need suggestion on Virtualization backup/DR site.

2014-09-12 Thread Bzzzz
On Fri, 12 Sep 2014 22:57:57 +0500
Muhammad Yousuf Khan  wrote:

> Thanks for the input i really appreciate that. but i have a confusion
> to clear. if i use direct rsync and rsync with Backuppc what is the
> difference?

First, backups are nightly compressed and same files are hardlinked,
so keeping a looong history is not a problem at all (AFA you have
enough free inodes; I's recommend XFS as the reception FS); 2nd,
you can trigger another backup (or restore) whenever you want,
3rd if you have users, they can also trigger a backup/restore when
needed from the http(s) backuppc interface, 4th as backups are
presented as a tree which goes down to the file level, you can
just B/R one file at a time if needed.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912203339.719d0c71@msi.defcon1



Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-12 Thread Reco
 Hi.

On Fri, 12 Sep 2014 11:23:56 +0100
Brian  wrote:

> > 'Purged' implies one installed libnss-myhostname in the first place.
> > And libnss-myhostname does more than merely match a local hostname to
> > 127.0.1.1. For example, it 'helpfully' mathes FQDN hostname with
> > 127.0.1.1, and also does the same for ipv6.
> > 
> > But the most interesting is why there's a need for the whole library to
> > do the job if a couple of lines in /etc/hosts would do the job just
> > fine.
> 
> A few posts back in this thread there is
> 
>   https://lists.debian.org/20140906161207.gn4...@copernicus.demon.co.uk
> 
> The link it contains leads to another with a recent -devel discussion.
> There is a 10 year history with the issue; a search with "/etc/hosts"
> and "Thomas Hood" should bring up some of it.

I assume you're referring to:

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

An interesting reading, thanks, but it looks on the problem from
somewhat different angle that I do. What I meant was:

If one as perfectly valid (which seem to be a direct consequence of
#247734) /etc/hosts with the following values:

127.0.0.1 localhost
127.0.1.1  

Why would one need libnss-myhostname in Debian? Especially if Debian
Installer generates such /etc/hosts for the last 10 years give or take?

I acknowledge that there're other distributions than Debian, and they
used to do things differently (for example, comment 125 of #247734
implies that RedHat did not generate such /etc/hosts back then), so to
address those other distributions' problem libnss-myhostname was
created.

But using this library in Debian seem to be redundant at best.


> > > Needed with cups to discover and advertise print queues on a network.
> > 
> > According to the cupsd.conf, DNSSD is only one of the methods of
> > printer discovery. And, as I can tell from the experience, cupsd can
> > perfectly discover any network printer without it if asked to do so.
> > 'Advertise' is a gimmick too. If one needs to let know others where
> > to print - one uses dhcp option 9. Therefore 'needed' is a wrong term.
> 
> DNSSD is the *only* method for printer discovery with cups-daemon in
> Jessie.

Oh, that changes things somewhat as I didn't know that. May need to
research the motivation of CUPS upstream for this step. I take it that
my other arguments don't meet any objection from your side?

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/2014091922.95ee07cdb0e2c1ea6cbdc...@gmail.com



Re: Problems with lilypond-doc

2014-09-12 Thread Brian
On Fri 12 Sep 2014 at 14:52:25 -0300, Joao Roscoe wrote:

> OK, it is a matter of time, then. Meanwhile, is there any workaround tha
> will allow me to keep updating my system?

Before upgrading:

  apt-get purge lilypond-doc


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912182746.gu4...@copernicus.demon.co.uk



Re: preseeding: disable systemd

2014-09-12 Thread Iain M Conochie


On 12/09/14 18:37, Michael Biebl wrote:

Am 12.09.2014 18:55, schrieb Iain M Conochie:

   If you want the preseed file that built this VM I can email it to you.
I will, of course, take out any sensitive info with suggestions for
replacements

I assume you used a post-install hook to uninstall systemd and install
sysvinit-core?
This is of course possible. But afaics this is not what Martin was
asking for. I might be wrong though.

Michael
Not at all. This is a basic preseed file I was using for wheezy 
installs. I am testing it again on a new VM - gimmie an hour or so and I 
will post the results


Cheers

Iain


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

Archive: https://lists.debian.org/5413351e.3080...@thargoid.co.uk



Re: Best way to "pin" a kernel

2014-09-12 Thread Matt Ventura

I'm just doing 'make deb-pkg' on the kernel, and installing
the resulting package. From what I can tell, update-grub isn't
treating it special in any way, just picking the highest-numbered
kernel.

It looks like my best bet is to probably change the behavior
in the 10_linux script to only choose from kernel version numbers
that have my custom suffix to be the highest kernel.

On 09/12/2014 05:57 AM, Jonathan Dowland wrote:

On Thu, Sep 11, 2014 at 08:27:46AM -0700, Matt Ventura wrote:

Quick question: I want Debian to not switch Grub2 to a new kernel
when I update
it, since I have a custom kernel on a particular machine. When I
install a new
kernel from apt, I don't want to immediately use it. What's the
cleanest way of
doing this?

How does your custom kernel get into the grub2 configuration - i.e. which bit
of /etc/grub.d defines the custom kernel boot instructions?

If it's a custom file (XX_custom) that you wrote yourself, make sure it is
numbered lower than the files which generate the lines for Debian/other
kernels, it will then be the 'first' OS that is defined. I think '06_' would be
suitablly low (the first OS-defining configuration item in my directory is
10_linux, so you'd want earlier than that, but after some of the pre-OS boiler
plate, the latest of which for me is 05_debian_theme). Grub2 defaults to the
first item (this is configurable in /etc/default/grub).

Once you've made the necessary changes run update-grub to generate the grub2
config file.





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

Archive: https://lists.debian.org/54133846.20...@mattventura.net



Re: preseeding: disable systemd

2014-09-12 Thread Michael Biebl
Am 12.09.2014 19:37, schrieb Michael Biebl:
> Am 12.09.2014 18:55, schrieb Iain M Conochie:
>>   If you want the preseed file that built this VM I can email it to you.
>> I will, of course, take out any sensitive info with suggestions for
>> replacements
> 
> I assume you used a post-install hook to uninstall systemd and install
> sysvinit-core?

Or d-i preseed/late_command [1] to be specific.


Michael


[1] https://www.debian.org/releases/stable/i386/apbs05.html.en
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Query about existence of way to free up unnecessary RAM usage

2014-09-12 Thread The Wanderer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 09/12/2014 at 12:25 PM, Bret Busby wrote:

> On 12/09/2014, The Wanderer  wrote:
> 
>> On 09/10/2014 at 04:00 AM, Bret Busby wrote:

>>> I had understood the rule to be that swap space size should be 
>>> at least double the size of the RAM.
>> 
>> The rule (more "guideline") as I learned it is that swap
>> capacity should be at *most* double the size of RAM.
>> 
>> On systems with 8GB of RAM or more, I usually try to aim for
>> about equal to the size of RAM. On systems with less, I go
>> higher, to be sufficiently sure I won't OOM with normal use of
>> the system.
>> 
>> On my current system, with 24GB of RAM, the swap partition is 
>> (according to lvdisplay) 22.75GB.
>> 
>>> When the system was originally installed, the RAM was (I
>>> think) 8GB.
>>> 
>>> If the double the size of the RAM, is still applicable, then 
>>> 40GB should be okay.
>>> 
>>> But, the question is, does the system say "Ooh that is too
>>> much for me - I can not cope - I will not venture out into
>>> that"?
>>> 
>>> Does Debian Linux have a swap size limit, beyond which,
>>> swapping is disabled, or, choked?
>> 
>> No.
> 
> Okay.
> 
> So, whether or not the swap partition is bigger than needed,
> should not influence the inability of the system, to use the swap 
> partition, and, thence, whether or not the swap partition is too
> big, has no bearing on the problem.
> 
> Correct?

Sounds right to me.

Unless I'm missing a twist somewhere, the only effects of having a
too-big swap partition should be:

* Wasted disk space, which could otherwise be used for other purposes.

* Inordinately large likelihood that the system will at some point swap
important processes out, thereby slowing down normal system operation,
because it thinks it needs to keep some huge static data in active RAM.

It certainly shouldn't affect whether or not, or at what points, the
system actually makes use of the available swap. That logic is handled
entirely in the kernel AFAIK, although the last discussion I read on how
the kernel handles it was a long time ago - I think 2009 or maybe 2010.

- -- 
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCgAGBQJUEzU0AAoJEASpNY00KDJrVAcP/RMou81VJYc4HI7Xxnpk0boP
rVBI9ImAfTAb/19DFItNpIFwfu/EpeOrrVYQ1O9ChUbs3ZKCd4i8quTsByT2Ui8Q
Ef6ngpsOlTFGxPnzmSFRv1DL/YcozTKStPEe/3SUIfH5YJS8PHwedJAADxk61R3W
IVR9cd71510WMJlEFSjFbvZCW+K18EUtab6WLuXPCorj22BJ9zDPdyG6eMgwbRad
DYFYUEl1n+YC4DCK7IObXHzjIUqgFaTUODDtFKar3DbPtde30fxjol9OzJHLYY83
z+OIyxI08ykTDywt/BL6gGoibO6TLx3F9qR3j1fCIC+dz+PPUBmBcFtN2i4fljt6
fg2nGBh7oAtMBUnDKJ57OWC4V9YjlFNL68xmBUqQ4/rhHgE2jAv/PXaKC2zwvrBO
yphOkZZ8KajMifW/X/Z12oaZzg3Sn6h8HEUET6OsA2pwyoFKOsD1dCnXsky8mXfg
Po/CVuAVrC7E+SzGCGZvrw+OSeF1P2HUwoq5ZPe0nExUJeC8xAISlTlfLDQ/Dp8t
+2/jKefcn5yoiMoSgkoDXyM8huUX3YJByYnZZO27VBJn0TLtcZ9kG/mHcXRy6ZAI
bALkIQM+j2CByVZJOwcvT1S788liQpAnMwHvC0ChgFvwbFzWAB8HNEhI0Yb11gLh
jVrQ0KONIChvR7TA1NPq
=+gjR
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54133534.1010...@fastmail.fm



Re: preseeding: disable systemd

2014-09-12 Thread Erwan David
Le 12/09/2014 19:25, Brian a écrit :
> On Fri 12 Sep 2014 at 18:52:02 +0200, Erwan David wrote:
>
>> Let the discourse be clear.
> And let any advocacy arguments not be in a thread which is intended to
> help a user. The "brasero requires gvfs" thread has been infested with
> such arguments. Please take such discussion there.
>
>
It is not advocacy : it is a constatation, that some discourse is at
least misleading now if the answer is not NO, then the discourse is not
clear either
in both case there is a proiblem and it is this ambiguity which does not
help and should be removed.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54133139.5010...@rail.eu.org



Re: need suggestion on Virtualization backup/DR site.

2014-09-12 Thread Muhammad Yousuf Khan
@B please ignore my first message i forgot to add the list.

Thanks for the input i really appreciate that. but i have a confusion to
clear. if i use direct rsync and rsync with Backuppc what is the difference?

actually i am asking because i and the software both use same utility then
what is that software can do that i can not. please throw some light on
this issue.
Thanks,

MYK

On Fri, Sep 12, 2014 at 7:08 PM, B  wrote:

> On Fri, 12 Sep 2014 18:58:48 +0500
> Muhammad Yousuf Khan  wrote:
>
> I would use backuppc through ssh with the rsync method;
> this way, your VM would be fully reconstructible, band
> width wouldn't be clobbered and backup(s) wouldn't take
> much place.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: https://lists.debian.org/20140912160831.25246189@msi.defcon1
>
>


Re: preseeding: disable systemd

2014-09-12 Thread Michael Biebl
Am 12.09.2014 18:52, schrieb Erwan David:
> Le 12/09/2014 18:35, Michael Biebl a écrit :
>> Am 12.09.2014 15:30, schrieb Martin Vegter:
>>> hello,
>>>
>>> when installing Jessie, systemd is installed as default init.
>>>
>>> Is it possible to use preseeding to override this, so that systemd will
>>> not be installed?
>> No, this is currently not possible.
>>
>>
> 
> So systemld is not *default* init system, but *compulsory*

Nope, it doesn't mean that at all.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: preseeding: disable systemd

2014-09-12 Thread Michael Biebl
Am 12.09.2014 18:55, schrieb Iain M Conochie:
>   If you want the preseed file that built this VM I can email it to you.
> I will, of course, take out any sensitive info with suggestions for
> replacements

I assume you used a post-install hook to uninstall systemd and install
sysvinit-core?
This is of course possible. But afaics this is not what Martin was
asking for. I might be wrong though.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Issues upgrading Wheezy --> Jessie (was ... Re: brasero requires gvfs)

2014-09-12 Thread Slavko
Ahoj,

Dňa Thu, 11 Sep 2014 20:15:59 +0200 lee  napísal:

> Supporting systemd violates Debians' social contract. 

Can you be more verbose about this, please? Why? How? By what?

regards

-- 
Slavko
http://slavino.sk


signature.asc
Description: PGP signature


Re: Problems with lilypond-doc

2014-09-12 Thread Joao Roscoe
OK, it is a matter of time, then. Meanwhile, is there any workaround tha
will allow me to keep updating my system?

João
Em 12/09/2014 14:36, "Don Armstrong"  escreveu:

> On Thu, 11 Sep 2014, Joao Roscoe wrote:
> > I tried updating my jessie system, and lilypond-doc upgrade failed:
>
> This is #758787 which is fixed in unstable, but the migration to testing
> is currently blocked by #760794.
>
> --
> Don Armstrong  http://www.donarmstrong.com
>
> I leave the show floor, but not before a pack of caffeinated Jolt gum
> is thrust at me by a hyperactive girl screaming, "Chew more! Do more!"
> The American will to consume more and produce more personified in a
> stick of gum. I grab it.
>  -- Chad Dickerson
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: https://lists.debian.org/20140912173634.gs7...@rzlab.ucr.edu
>
>


Re: preseeding: disable systemd

2014-09-12 Thread Brian
On Fri 12 Sep 2014 at 18:52:02 +0200, Erwan David wrote:

> Let the discourse be clear.

And let any advocacy arguments not be in a thread which is intended to
help a user. The "brasero requires gvfs" thread has been infested with
such arguments. Please take such discussion there.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912172541.gt4...@copernicus.demon.co.uk



Re: Problems with lilypond-doc

2014-09-12 Thread Don Armstrong
On Thu, 11 Sep 2014, Joao Roscoe wrote:
> I tried updating my jessie system, and lilypond-doc upgrade failed:

This is #758787 which is fixed in unstable, but the migration to testing
is currently blocked by #760794.

-- 
Don Armstrong  http://www.donarmstrong.com

I leave the show floor, but not before a pack of caffeinated Jolt gum
is thrust at me by a hyperactive girl screaming, "Chew more! Do more!"
The American will to consume more and produce more personified in a
stick of gum. I grab it.
 -- Chad Dickerson


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912173634.gs7...@rzlab.ucr.edu



Re: preseeding: disable systemd

2014-09-12 Thread Iain M Conochie


On 12/09/14 17:35, Michael Biebl wrote:

Am 12.09.2014 15:30, schrieb Martin Vegter:

hello,

when installing Jessie, systemd is installed as default init.

Is it possible to use preseeding to override this, so that systemd will
not be installed?

No, this is currently not possible.


Oh really? This virtual machine must be imaginary as well as virtual then:

uname -a
Linux aitjes01 3.14-2-686-pae #1 SMP Debian 3.14.15-2 (2014-08-09) i686 
GNU/Linux

iain@aitjes01:~$ dpkg -l | grep systemd
ii  libsystemd-journal0:i386 208-8 i386 systemd journal 
utility library
ii  libsystemd-login0:i386   208-8 i386 systemd login 
utility library

iain@aitjes01:~$ cat /etc/debian_version
jessie/sid

Martin,

  If you want the preseed file that built this VM I can email it to 
you. I will, of course, take out any sensitive info with suggestions for 
replacements


Cheers

Iain



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

Archive: https://lists.debian.org/54132566.6050...@thargoid.co.uk



Re: preseeding: disable systemd

2014-09-12 Thread Erwan David
Le 12/09/2014 18:35, Michael Biebl a écrit :
> Am 12.09.2014 15:30, schrieb Martin Vegter:
>> hello,
>>
>> when installing Jessie, systemd is installed as default init.
>>
>> Is it possible to use preseeding to override this, so that systemd will
>> not be installed?
> No, this is currently not possible.
>
>

So systemld is not *default* init system, but *compulsory*

Let the discourse be clear.



signature.asc
Description: OpenPGP digital signature


Re: preseeding: disable systemd

2014-09-12 Thread Brian
On Fri 12 Sep 2014 at 15:30:44 +0200, Martin Vegter wrote:

> when installing Jessie, systemd is installed as default init.
> 
> Is it possible to use preseeding to override this, so that systemd will
> not be installed?

No.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/12092014173938.6fab552bd...@desktop.copernicus.demon.co.uk



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-12 Thread Curt
On 2014-09-12, Jonathan Dowland  wrote:
>
> Possibly because nobody has stepped up to write a new algorithm.
>

Seems more like simple multiplication than algorithmic calculation to me.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/slrnm1694k.2o1.cu...@einstein.electron.org



Re: preseeding: disable systemd

2014-09-12 Thread Michael Biebl
Am 12.09.2014 15:30, schrieb Martin Vegter:
> hello,
> 
> when installing Jessie, systemd is installed as default init.
> 
> Is it possible to use preseeding to override this, so that systemd will
> not be installed?

No, this is currently not possible.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Query about existence of way to free up unnecessary RAM usage

2014-09-12 Thread Bret Busby
On 12/09/2014, The Wanderer  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
>
> On 09/10/2014 at 04:00 AM, Bret Busby wrote:
>
>> On 10/09/2014, B  wrote:
>>
>>> On Wed, 10 Sep 2014 03:30:40 +0800 Bret Busby
>>>  wrote:
>>>
 Alright, then; it is doing token swapping - with 99% of 16GB
 memory usage, and, swapping only 4% of (about) 40GB swap
 capacity, you can't seriously tell me that the swapping is
 working as it should be.
>>>
>>> Anyway, a swap of 40GB is too much for a RAM of 16GB (should be
>>> around 16-20GB), unless you perform operations that generates a
>>> lot of intermediary results).
>>
>> I had understood the rule to be that swap space size should be at
>> least double the size of the RAM.
>
> The rule (more "guideline") as I learned it is that swap capacity should
> be at *most* double the size of RAM.
>
> On systems with 8GB of RAM or more, I usually try to aim for about equal
> to the size of RAM. On systems with less, I go higher, to be
> sufficiently sure I won't OOM with normal use of the system.
>
> On my current system, with 24GB of RAM, the swap partition is (according
> to lvdisplay) 22.75GB.
>
>> When the system was originally installed, the RAM was (I think)
>> 8GB.
>>
>> If the double the size of the RAM, is still applicable, then 40GB
>> should be okay.
>>
>> But, the question is, does the system say "Ooh that is too much
>> for me - I can not cope - I will not venture out into that"?
>>
>> Does Debian Linux have a swap size limit, beyond which, swapping
>> is disabled, or, choked?
>
> No.

Okay.

So, whether or not the swap partition is bigger than needed, should
not influence the inability of the system, to use the swap partition,
and, thence, whether or not the swap partition is too big, has no
bearing on the problem.

Correct?

-- 
Bret Busby
Armadale
West Australia
..

"So once you do know what the question actually is,
 you'll know what the answer means."
- Deep Thought,
 Chapter 28 of Book 1 of
 "The Hitchhiker's Guide to the Galaxy:
 A Trilogy In Four Parts",
 written by Douglas Adams,
 published by Pan Books, 1992




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cacx6j8m9wzjdbf_mypftyvyhelenrx1a4hpyps4_gho-ybh...@mail.gmail.com



Stuck at "Loading second stage bootstrap"

2014-09-12 Thread bruno evangelista



Gentleman,

My computer accepted the installation of  "Debian Jessie" and
at the end of the installation once the computer tray  automatically opened I 
took the DVD out as the 
iso file requested.  After that I clicked on "Continue" and the computer
 shut down and  automatically restarted and stopped at this:

First stage Debian GNU/Linux Bootstrap
 
Press I for GNU/Linux
Press c for CDROM
 
Stage 1 Boot:
Loading second stage bootstrap...

I am stuck at that for a long time.  There is nothing I can do with my computer.
 
I have tried other things but nothing worked. I have tried it by holding
 the T key after turning on the computer. It goes to a screen where a huge sort 
of icon keeps moving on the screen of the computer but it shows me nothing 
else.  It does not let me do anything.  I have tried holding   
Alt+Command+O+F   but "Open Firmware" just gives me two options: "shut down" or 
"mac-boot".  When I type on mac-boot the computer goes back to:

First stage Debian GNU/Linux Bootstrap
 
Press I for GNU/Linux
Press c for CDROM
 
Stage 1 Boot:
Loading second stage bootstrap... 


I have tried to install other Linux programs so it would erase "Debian Jessie" 
from my computer.  In fact, I have right now the very same DVD with Ubuntu iso 
file in the tray inside the computer.  It did install Ubuntu previously in my 
computer before my attempt to installed "Debian Jessie".  When I hold the  c  
key when I start the computer it will replace (for about 30 seconds) the last 
line that reads "Loading second stage bootstrap..." with  "Loadind CD ROM...".  
See it below.


First stage Debian GNU/Linux Bootstrap
 
Press I for GNU/Linux
Press c for CDROM
 
Stage 1 Boot:
Loadind CD ROM...  (it will show this line for about 30 seconds)
Loading second stage bootstrap...  (after 30 seconds this line will show again) 

When it returns to "Loading second stage bootstrap..." it does not do anything 
and I can't get out of it.

Please, can someone help me.

Bruno

  

Re: Making keyboard remap changes permanent without reboot.

2014-09-12 Thread Alexandros Prekates
On Thu, 11 Sep 2014 02:09:20 +0300
Alexandros Prekates  wrote:

> 
> I found the same problem mentioned here:
> 
>  xkb (setxkbmap & xmodmap) forget their setting within minutes
>  http://ubuntuforums.org/showthread.php?t=1963372
> 
> 
> Alexandros Prekates
>  http://librebytes.gr
> 
> 
> 

Also i found a similar  problem mentioned: 

http://www.linuxquestions.org/questions/debian-26/keyboard-layout-variant-us-international-with-dead-keys-4175498311/

and i noticed that if i execute :
# sudo udevadm trigger --subsystem-match=input –action=change  (so
that /etc/default/keyboard setting ctrl:swapcaps gets activated)
 after screen saver is enabled the setting revert is triggert! 

Alexandros.  


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912183616.7f153be8@enous.homenet



Re: Re: Re: "no soundcards found" after Debian upgrade

2014-09-12 Thread Menashè Eliezer
Just adding information about the current status, after loading manually 
snd-hda-intel:


1. The main volume control of xfce has no effect. I need to use the 
Audio Mixer for controlling the volume.


2. There is no sound capture device. Jack and usb michrophones are not 
detected (even though I see the Logitach usb devices in lsusb. Just for 
info, I know I should report it later as a new problem. I had this 
problem also before the no sound cards problem.


--
With kind regards,
Menashè


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

Archive: https://lists.debian.org/54130bed.9080...@ogs.trieste.it



Re: Making keyboard remap changes permanent without reboot.

2014-09-12 Thread Bzzzz
On Fri, 12 Sep 2014 17:48:50 +0300
Alexandros Prekates  wrote:

> You are right. With fvwm the new settings are active all time.
> With the default xfce window manager the settings are lost after some
> time. Even if i reboot /etc/default/keyboard changes wont hold!
> So i guess its an xfce's  xfwm4 bug? 

Just in case, check all possible logs to see if you find
a trace of this reverse action.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912165930.730029e9@msi.defcon1



Re: Making keyboard remap changes permanent without reboot.

2014-09-12 Thread Alexandros Prekates
On Thu, 11 Sep 2014 12:20:35 +0100
Brian  wrote:

> On Wed 10 Sep 2014 at 20:02:04 +0300, Alexandros Prekates wrote:
> 
> > My system is Debian stable with xfce.
> > 
> > Wanting to swap CAPSLOCK with CONTROL i
> > changed /etc/default/keyboard and following debian wiki page on
> > keyboard i executed:
> > 
> > sudo udevadm trigger --subsystem-match=input --action=change
> > 
> > It worked! But .. after some minutes the swap is reverted back to
> > the initial config withoud doing sth.
> 
> How many minutes? If you don't touch the keyboard for x minutes has
> the reversion taken place in that time? Or is it only "some minutes"
> after touching the keyboard?
> 
> > How can that be avoided?
> 
> By discovering what is on your system that causes the change. :)
> 
> You could start by considering Xfce as a cause. Install a smallish
> window manager like fvwm. Log in to it and test. Do you get the same
> behaviour?
> 
> 

You are right. With fvwm the new settings are active all time.
With the default xfce window manager the settings are lost after some
time. Even if i reboot /etc/default/keyboard changes wont hold!
So i guess its an xfce's  xfwm4 bug? 

Alexandros


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912174850.724f71b9@enous.homenet



Re: Re: "no soundcards found" after Debian upgrade

2014-09-12 Thread Menashè Eliezer

snd-hda-intel is already at /etc/modules-load.d/modules.conf

--
With kind regards,
Menashè


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

Archive: https://lists.debian.org/541303b0.4040...@ogs.trieste.it



Re: need suggestion on Virtualization backup/DR site.

2014-09-12 Thread Bzzzz
On Fri, 12 Sep 2014 18:58:48 +0500
Muhammad Yousuf Khan  wrote:

I would use backuppc through ssh with the rsync method;
this way, your VM would be fully reconstructible, band
width wouldn't be clobbered and backup(s) wouldn't take
much place.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912160831.25246189@msi.defcon1



need suggestion on Virtualization backup/DR site.

2014-09-12 Thread Muhammad Yousuf Khan
Dear All,

we are planning to rent a new server with RAID1 in the cloud and the
purpose of this server will be Qemu KVM virtualization. everything is fine
but the show stopper is Disaster recovery Site.

i think of 4 options and all of them are not upto my requirement and limits.

1st, Option was DRBD but splitbrain on 5Mb link will be a killer.

however, the thing come in my mind to sync only updates/Snapshots to DR
site the way ZFS and BTRFS does. so our second option become ZFS.

2nd option is ZFS and that is a very high in cost as Lots of RAM,SSDs are
involve for ARC1 and 2 so we drop that one.

3rd. option is Btrfs. as it is now Stable but still on back group level or
storage level lots of works still needs to be done. so it fails to gain my
confidence

4th, was Rsync. it can do the trick , it can also send only
updates/snapshots instead of big VMs but it corrupts the VM.

now my mind is empty and nothing is coming inside my mind. can you guys
please suggest anything that can be done to replicate the VMs b/w two
nodes. when both nodes are in different countries.

Thanks
Myk


preseeding: disable systemd

2014-09-12 Thread Martin Vegter
hello,

when installing Jessie, systemd is installed as default init.

Is it possible to use preseeding to override this, so that systemd will
not be installed?

PS: I know that it is possible to override default boot loader (grub)
and install lilo instead. I am looking for something similar for init.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5412f584.6080...@aol.com



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-12 Thread The Wanderer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 09/10/2014 at 04:00 AM, Bret Busby wrote:

> On 10/09/2014, B  wrote:
> 
>> On Wed, 10 Sep 2014 03:30:40 +0800 Bret Busby 
>>  wrote:
>> 
>>> Alright, then; it is doing token swapping - with 99% of 16GB 
>>> memory usage, and, swapping only 4% of (about) 40GB swap 
>>> capacity, you can't seriously tell me that the swapping is 
>>> working as it should be.
>> 
>> Anyway, a swap of 40GB is too much for a RAM of 16GB (should be 
>> around 16-20GB), unless you perform operations that generates a
>> lot of intermediary results).
> 
> I had understood the rule to be that swap space size should be at 
> least double the size of the RAM.

The rule (more "guideline") as I learned it is that swap capacity should
be at *most* double the size of RAM.

On systems with 8GB of RAM or more, I usually try to aim for about equal
to the size of RAM. On systems with less, I go higher, to be
sufficiently sure I won't OOM with normal use of the system.

On my current system, with 24GB of RAM, the swap partition is (according
to lvdisplay) 22.75GB.

> When the system was originally installed, the RAM was (I think)
> 8GB.
> 
> If the double the size of the RAM, is still applicable, then 40GB 
> should be okay.
> 
> But, the question is, does the system say "Ooh that is too much
> for me - I can not cope - I will not venture out into that"?
> 
> Does Debian Linux have a swap size limit, beyond which, swapping
> is disabled, or, choked?

No. It's just a question of how much makes sense to have, beyond which
the naturally emergent behavior is one which does not make sense.

Because the question of what makes sense can be a fairly subjective one,
this is not a question to which there necessarily is a definitive
answer. But there does tend to be a consensus one in practice.

- -- 
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCgAGBQJUEvJmAAoJEASpNY00KDJrwRwQAJUu2VZqvoHGTLlunrlNLG9t
+whtPwJFrlnJHgP2kZRVsN6rtS7vEis0gxnIH0wzROQ5Qpb2cjnzJf0sKV/l/5tU
1AJpzZzeenbyEiataMSu5Pl7DtDInYB5wMI4s7X9w1SEvXZ8RKz7N2o/hgcRzlzt
bBhgfQPKO38iPLot+s1tmQG7eG2v0exVyjCRf54D+gULcdcBIiBC6JxrdYiwPQLo
e0S2bigMFdaNFcvOcu5uzQZ2vM7dynM/vMBlTy8pLxOzI45xRzHmZDQIJt1SL415
rIY3kmDRQHjMxwudt0Q7AbwZdf+JeCWMzVB0bHY/drdkpzfdk6R+6XjFDPhXwuG1
L+h37wUrtWz1MSds8sy2t2OjsO4IZJHno4vNcfY/Bo6Ykcp6AaetNVUijHZ6a26B
loEQb8PPr9VGXDDs/edlAjWJNAnS0+iUv0azqVxGbnmWaPYBVObJcSiM2H0FxNwG
r2U8vR7fJgpxcsF3jXAjpEz+RQQ39Fdx2dwrdT+ahNDVV4LSfZ/AR/AQQU7S7ZDV
b0OtMpsjghGNazNQXCzTRoPf7lVGfe8YVapuG6HHxXEJ1tAvPnVMgD4Oxm9FgIpb
jhxJy9Ot0rofv/6PD46wv8Jb0nM3qj+o91nKwc1xyKwwzMosMVKj28PWbjlzP+mx
mfrfR1ioQrod976VcMQ5
=c5AM
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5412f267.9080...@fastmail.fm



Re: Query about existence of way to free up unnecessary RAM usage

2014-09-12 Thread Jonathan Dowland
On Wed, Sep 10, 2014 at 05:07:32PM +, Curt wrote:
> Then why do the (net)installer(s) apply an obsolete principle when you
> accept a/the default partioning scheme(s) (well, at least the Squeeze
> netinstaller I used way back when did so).

Possibly because nobody has stepped up to write a new algorithm.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912130038.gb5...@bryant.redmars.org



Re: Best way to "pin" a kernel

2014-09-12 Thread Jonathan Dowland
On Thu, Sep 11, 2014 at 08:27:46AM -0700, Matt Ventura wrote:
> Quick question: I want Debian to not switch Grub2 to a new kernel
> when I update
> it, since I have a custom kernel on a particular machine. When I
> install a new
> kernel from apt, I don't want to immediately use it. What's the
> cleanest way of
> doing this?

How does your custom kernel get into the grub2 configuration - i.e. which bit
of /etc/grub.d defines the custom kernel boot instructions?

If it's a custom file (XX_custom) that you wrote yourself, make sure it is
numbered lower than the files which generate the lines for Debian/other
kernels, it will then be the 'first' OS that is defined. I think '06_' would be
suitablly low (the first OS-defining configuration item in my directory is
10_linux, so you'd want earlier than that, but after some of the pre-OS boiler
plate, the latest of which for me is 05_debian_theme). Grub2 defaults to the
first item (this is configurable in /etc/default/grub).

Once you've made the necessary changes run update-grub to generate the grub2
config file.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912125745.ga5...@bryant.redmars.org



Re: "no soundcards found" after Debian upgrade

2014-09-12 Thread Raffaele Morelli
On 12/09/14 at 02:16pm, Menashè Eliezer wrote:
> Thanks Raffaele,
> My version of libpam-systemd is the latest available: 208-8. The bug you've
> mentioned was fixed in version 204-8.
> 
> I've noticed that pulseaudio is missing from the bin folder, even though
> aptitude says it's installed.
> It must be connected to my attempts to resolve sound problems based on
> internet-based solutions.
> So:
> aptitude purge pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio
> pulseaudio-module-x11 paman pavumeter pavucontrol
> and then aptitude install ...
> Still empty, also after restart: lsmod |grep snd_hda_intel
> sudo modprobe snd-hda-intel
> and playback is ok.
> So, right now my problem is only that I need to run manually "modprobe
> snd-hda-intel".

drop a line with `snd_hda_intel` into /etc/modules or create a file in
/etc/modules-load.d/ with that line in, module will be loaded on every boot..

BTW there should be a reason if module is not loaded properly during boot
process. 

-- 
« Nunc est bibendum, nunc pede libero pulsanda tellus »


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912125302.gb16...@gmail.com



Re: Re: "no soundcards found" after Debian upgrade

2014-09-12 Thread Menashè Eliezer

Thanks Raffaele,
My version of libpam-systemd is the latest available: 208-8. The bug 
you've mentioned was fixed in version 204-8.


I've noticed that pulseaudio is missing from the bin folder, even though 
aptitude says it's installed.
It must be connected to my attempts to resolve sound problems based on 
internet-based solutions.

So:
aptitude purge pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio 
pulseaudio-module-x11 paman pavumeter pavucontrol

and then aptitude install ...
Still empty, also after restart: lsmod |grep snd_hda_intel
sudo modprobe snd-hda-intel
and playback is ok.
So, right now my problem is only that I need to run manually "modprobe 
snd-hda-intel".


--
With kind regards,
Menashè


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

Archive: https://lists.debian.org/5412e401.8030...@ogs.trieste.it



Re: Multiple Video Drivers

2014-09-12 Thread Darac Marjal
On Fri, Sep 12, 2014 at 01:50:06PM +0300, David Baron wrote:
> Had my old 32-bit configuration lilo boot-selectable between Nouveau and 
> Nvidia 
> drivers using nomodeset command. An init script detected presence or absence 
> of nomodeset, and exchanged xorg.conf files, was set to be run before any 
> Xorg.
> 
> My new 64bit has the defaulted Nouveau which is just fine for most things. 
> Will 
> not run flightgear. Nvidia's driver, even the legacy version, will run it.
> 
> The new installation is running systemd (without a hitch by the way). Also, 
> there is no such animal as xorg.conf, either in /etc/X11 or /usr/share/X11.
> 
> So how would I, after dkms the Nvidia legacy driver, set up as I had before. 
> (I do not simply default to Nvidia because (long-long-standing bug) it messes 
> up the consoles rendering them unusable (KDE Konsole windows not effected).

xorg.conf is now an optional file. If it doesn't exist, the x server
will auto-detect everything it needs (udev, xinput and so on make this
easier). There is a caveat to this, though; when an Nvidia card is
detected, the nouveau driver will be the preferred auto-detect driver
(even if you have the nvidia driver installed).

Now, xorg.conf is optional, not obsolete, so you can still have an
xorg.conf file and it can be as big or as small as fits your needs. You
can re-use the xorg.conf files from your 32-bit install and they should
Just Work™. Alternatively, if you want to let Xorg continue to
auto-detect everything, but *just* override its idea of which driver to
use, your xorg.conf can be as minimal as:

  Section "Device"
Identifier "My Nvidia Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
#Option "NoLogo" "true"
#Option ...
  EndSection


> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: https://lists.debian.org/176320985.SiINYWdXtR@dovidhalevi
> 


signature.asc
Description: Digital signature


Re: need Partition utility and Mdadm gui.

2014-09-12 Thread Hans
Am Freitag, 12. September 2014, 16:51:49 schrieb Muhammad Yousuf Khan:
> i need a utility that looks like the one which we normally see during the
> debian installation.
> or can i call that utility after the installation from CLI.
> 
> Secondly, i also need to perform remote RAID related tasks with GUI
> utility. like replacing the disk, and attaching the new one and all admin
> related task.
> 
> 
> can you guyz please help me in this regard.
> 
> Thanks,
> Myk

Hi Mihammad,

may "gparted" be your friend? Look at google for a livefile with gparted.

Best 

Hans 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1750111.JslV1A1mTl@protheus7



need Partition utility and Mdadm gui.

2014-09-12 Thread Muhammad Yousuf Khan
i need a utility that looks like the one which we normally see during the
debian installation.
or can i call that utility after the installation from CLI.

Secondly, i also need to perform remote RAID related tasks with GUI
utility. like replacing the disk, and attaching the new one and all admin
related task.


can you guyz please help me in this regard.

Thanks,
Myk


eeepc-acpi-scripts - trying to fix

2014-09-12 Thread Hans
Hi folks, 

as the package eeepc-acpi-scripts is no more maintained, I am trying to fix 
some bugs for myself. 

However, I think I will need your help, as I am not much experienced in 
coding. Mostly, I need someone expert, whom I may ask some questions, so that 
I understand, how the scripts are working. I think, the acpi-maintainers might 
be the best choice?

My first question: Where is eeepc-acpi-scripts reading the keystroke, and what 
is it triggering?

At the moment I am working to find out, why Fn + F7 (Screen on/off) is not 
working any more. Maybe my solution will fix some other bugs. 

At the moment I found out the following:

In the shellscript "/usr/share/acpi-support/eeepc-acpi-scripts/hotkey.sh"
the line  
BACKLIGHT=/sys/class/backlight/eeepc/brightness
is wrong, as this ios not existing, but should be

BACKLIGHT=/sys/class/backlight/intel_backlight/brightness

if [ -e "$DEFAULT" ]; then . "$DEFAULT"; fi
. $FUNC_LIB

. $PKG_DIR/lib/notify.sh
code=$3
value=$(test "x$1" = x- && cat "$BACKLIGHT" || echo "0x$3")

# FIXME: should be defined in /usr/share/acpi-support/key-constants which
#   should be regenerated from a recent copy of /usr/include/linux/input.h
#   (see: #603471).
KEY_DISPLAY_OFF=245

Related to this script, I could not find any definition to the variable 
DEFAULT. 
Can someone confirm or deny this?


In /usr/share/acpi-support/eeepc-acpi-scripts/button.sh I think, the line

[ -d /sys/devices/platform/eeepc-wmi ] || exit 0 is wrong, too, as eeepc-wmi 
is not loaded. Instead it should be like in hotkey.sh:

[ -d /sys/devices/platform/eeepc ] || [ -d /sys/devices/platform/eeepc-wmi ] 
|| exit 0


Ok, it is still not working! There is still something else wrong. But I found 
out, that the commands 

echo 0 > /sys/class/backlight/intel_backlight/brightness
and 
echo 24500 > /sys/class/backlight/intel_backlight/brightness

are switching the display on and off. This means, Fn + F7 should work, but are 
not corectly triggered.

I believe, the same cause might be the reason for Fn + SPACE not working 
(switching Super Hybrid Engine ). If Fn + F7 is fixed, I will care about that.

I hope, someone is better experienced than me, and there is someone willing, 
to help. Might be nice!

Thanks for reading this. I will keep you informed, if I found out new errors.

Have a nice weekend.

Hans



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/3169170.6NQEBzuycy@protheus7



Multiple Video Drivers

2014-09-12 Thread David Baron
Had my old 32-bit configuration lilo boot-selectable between Nouveau and Nvidia 
drivers using nomodeset command. An init script detected presence or absence 
of nomodeset, and exchanged xorg.conf files, was set to be run before any Xorg.

My new 64bit has the defaulted Nouveau which is just fine for most things. Will 
not run flightgear. Nvidia's driver, even the legacy version, will run it.

The new installation is running systemd (without a hitch by the way). Also, 
there is no such animal as xorg.conf, either in /etc/X11 or /usr/share/X11.

So how would I, after dkms the Nvidia legacy driver, set up as I had before. 
(I do not simply default to Nvidia because (long-long-standing bug) it messes 
up the consoles rendering them unusable (KDE Konsole windows not effected).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/176320985.SiINYWdXtR@dovidhalevi



Re: /etc/hosts format WAS [Re: host hostname not found]

2014-09-12 Thread Brian
On Fri 12 Sep 2014 at 06:34:58 +0400, Reco wrote:

> On Thu, 11 Sep 2014 23:03:25 +0100
> Brian  wrote:
> > 
> > If the local hostname is always resolvable by a 127.0.1.1 line in
> > /etc/hosts or the machine is unlikely to dynamically change its hostname
> > libnss-myhostname probably can be purged.
> 
> 'Purged' implies one installed libnss-myhostname in the first place.
> And libnss-myhostname does more than merely match a local hostname to
> 127.0.1.1. For example, it 'helpfully' mathes FQDN hostname with
> 127.0.1.1, and also does the same for ipv6.
> 
> But the most interesting is why there's a need for the whole library to
> do the job if a couple of lines in /etc/hosts would do the job just
> fine.

A few posts back in this thread there is

  https://lists.debian.org/20140906161207.gn4...@copernicus.demon.co.uk

The link it contains leads to another with a recent -devel discussion.
There is a 10 year history with the issue; a search with "/etc/hosts"
and "Thomas Hood" should bring up some of it.

> > Needed with cups to discover and advertise print queues on a network.
> 
> According to the cupsd.conf, DNSSD is only one of the methods of
> printer discovery. And, as I can tell from the experience, cupsd can
> perfectly discover any network printer without it if asked to do so.
> 'Advertise' is a gimmick too. If one needs to let know others where
> to print - one uses dhcp option 9. Therefore 'needed' is a wrong term.

DNSSD is the *only* method for printer discovery with cups-daemon in
Jessie.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912102356.gs4...@copernicus.demon.co.uk



Re: Update issue

2014-09-12 Thread Darac Marjal
On Fri, Sep 12, 2014 at 01:22:29AM -0400, Björn Djisktra wrote:
> I just got one question: how do I update my debian lenny 5.0 (lenny)
> system? I was searching the information at debian.org, but I don't get
> it. Please help me with this. Thanks.

This page https://www.debian.org/releases/squeeze/ should have all the
information you need, in particular, read the release notes
(https://www.debian.org/releases/squeeze/releasenotes) for your
architecture - they'll walk you though the full process of safely
updating your system (pitfalls to be aware of, files to modify and so
on).

Once you've updated to squeeze, you should immediately head to the
wheezy release page https://www.debian.org/releases/wheezy/ as that is
the current stable (you're on 5.0, current stable is 7.0. You should
move from 5.0 to 6.0 to 7.0, though, skipping a release might cause
problems).



signature.asc
Description: Digital signature


Flightgear

2014-09-12 Thread David Baron
This has a huge amount of data, 1.5 gig. It is not possible to install on 
using partitions set up by Debian installer.

An alternative installation modus for Flightgear is in order, however. There 
is no need for that data to fill up /usr or to install in one go and run out of 
/var space. Whole business might be better on a DVD but that might be too 
slow.

So: Option to install data piece by piece to a different partition with space 
for it.
Option to install the application itself by itself to /usr as usual (now will 
try to pull the whole kitandkaboodle).

Will need to move /usr and /var (more difficult) but not just for flightgear.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1532954.NiMnOz5U8k@dovidhalevi



Problems with lilypond-doc

2014-09-12 Thread james McNamara
Me too,
same prob as Joao Roscoe


Re: Update issue

2014-09-12 Thread Chris Bannister
On Fri, Sep 12, 2014 at 01:22:29AM -0400, Björn Djisktra wrote:
> I just got one question: how do I update my debian lenny 5.0 (lenny)
> system? I was searching the information at debian.org, but I don't get
> it. Please help me with this. Thanks.

Put this in your /etc/apt/sources.list

deb http://archive.debian.org/debian/ lenny main contrib non-free

-- 
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912074150.GC13116@tal



Re: apache2 what is the standard way to enable modules?

2014-09-12 Thread Raffaele Morelli
On 11/09/14 at 03:04pm, Harry Putnam wrote:
> Raffaele Morelli  writes:
> 
> 
> [...]
> 
> >> Thanks for the push... Tinkering with your suggestion lead me to read
> >> the `LoadModule' lines on the files in mods-available.
> >>
> >> The line in cgi.load:
> >>   LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
> >>
> >> Looked the most promising, so I tried:
> >>
> >>a2enmod cgi.load
> >>
> >> But it told me my MPM(?) seemed to be threaded so it gave me `cgid.conf'
> >> and `cgid.load'... and away it went... cgi firing on all 8 cylinders.
> >
> >
> > beware that ​a2enmod doesn't require extension​
> > eg. a2enmod cgi.load won't work cause the module is 'cgi', symlink is
> > created for both .conf and .load in /etc/apache2/mods-enabled/
> >
> > hint: enable bash completion, a2enmod completes available module
> 
> I'm not sure what you are getting at.  Do you mean it won't work
> period or that only scripts with ext cgi will work?
> 
> As reported further back in the thread:
> a2enmod cgi.load
> 
> Gave me:
>cgid.conf -> ../mods-available/cgid.conf
>cgid.load -> ../mods-available/cgid.load
> 
> Now my `script.cgi' work.   But I had a few from a long ago previous
> setup without cgi extension... so just to test I tried this:
> 
>cp test.cgi test
> 
> Then opened `test.cgi' with a browser... it works
>  opened `test' and it does not work.
> 
> Is that what you are warning about?

Nope, my warning was to use `a2enmod cgi` instead of `a2enmod cgi.load` (which
is wrong)

> 
> Can anyone tell me how to allow scripts without cgi extension to work?
> 
Create symlinks to the ones with extensions.


-- 
« Nunc est bibendum, nunc pede libero pulsanda tellus »


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912070017.gc4...@gmail.com