Re: End of hypocrisy, beginning of reason

2014-08-06 Thread Tom H
On Tue, Aug 5, 2014 at 7:01 PM, AW  wrote:
> On Tue, 5 Aug 2014 17:57:02 -0400
> Tom H  wrote:
>>
>> journalctl SYSLOG_FACILITY=4
>
> Thanks!
> But why '4'? Why not '42'? Or even better...
> journalctl show auth
> journalctl show apache2
> journalctl show postgresql
> or even better still
> journalctl show -v postgresql

You're welcome.

Weirdly, you can find the correspondence between the facility name and
the facility number in "/usr/include/x86_64-linux-gnu/sys/syslog.h"
and not in a man page. (You can also find it in the IETF syslog RFC!)

The ones that I keep in mind are 3 (daemons), 4 (auth), 10 (authpriv).
I can't remember any other, although I /think/ that mail is 2.

Run "journalctl -u " (u for unit) to see the log for a specific service.

"journalctl -u " is the same as (or perhaps I should say
"short for") "journalctl _SYSTEMD_UNIT=.service". I don't know
why you have to append ".service" to the latter but tab completion
takes care of it anyway.


-- 
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/CAOdo=Sww=tno09cvek9wavlze+rpqgtyvim+yh0znewrfvf...@mail.gmail.com



Re: End of hypocrisy, beginning of reason

2014-08-06 Thread Rusi Mody
On Tuesday, August 5, 2014 10:10:02 PM UTC+5:30, Steve Litt wrote:
> On Tue, 5 Aug 2014 09:17:15 -0700
> Don Armstrong wrote:

> > On Tue, 05 Aug 2014, Slavko wrote:
> > > To be precise, i often read about these things: monolitic, binary
> > > files and boot speed. I don't like first two and i am not interested
> > > in latest.
> > These are just accessible reasons. The main reason that I personally
> > voted for systemd over sysv is because systemd (and upstart) provide
> > correct boot sequencing in complex boot situations.
> > For example, if you're using iscsi, and need to start a daemon after
> > the network is up, iscsi is connected, lvm has resynced, and the
> > appropriate filesystems are mounted, this is trivial using systemd or
> > upstart, but very difficult using sysv.[1]
> > The other reason is we also get rid of thousands of lines of
> > difficult-to-maintain boilerplate in init scripts.
> > While sysv may be easier to debug in simple systems, there's a reason
> > why none of the CTTE members (myself included) voted for it.
> > 1: Not impossible, but you basically end up replicating a dependency
> > boot system in shell, and necessarily introduce brittleness and
> > delays.

> Cool! Finally someone who knows it and is on the ground floor. I have
> some questions...
>
> What other tips would you have for those of us who want to, to the
> extent possible, keep systemd as nothing more than the first program to
> be booted, and want to reduce as much as possible what other programs
> need to know about systemd and what systemd needs to know about the
> programs I run?

I have a basic question: I want to migrate to systemd [reasons below]

However...

1. I see on this list itself evidence of breakage

2. Ive experienced some myself and I could only guess that it was a
systemd issue until it was pointed out by Michael that it is probably
a mismatch between sysv and systemd.  However given that people are
getting totally unbootable systems, I's just being a bit careful.
What I want is a process where something can be tried out (gingerly)
and reversed or fixed-in-concrete depending on results.

Ive seen some things about trying out by giving systemd at the grub line.

Im already seeing systemd in mount:

systemd on /sys/fs/cgroup/systemd type cgroup 
(rw,nosuid,nodev,noexec,relatime,name=systemd)

However aptitude dist-upgrade shows me:

The following packages will be REMOVED:
  graphviz{a} rsyslog{a} sysvinit-core{a}

And a 1/2 GB worth of packages to be upgraded including systemd

So I am a bit jittery about going ahead -- removing sysvinit-core seems a hard 
step to reverse :-)

>From a more theoretical/computer science pov:
Why I (for whatever its worth) think systemd is (could be) a good idea:

Declarative is invariably better than imperative though it can be hard to 
get right at first. And systemd tries to be more
declarative than sysv.

Whether it succeeds is a different question ;-)

How to make it succeed (with minimal pain) is what I am asking...


-- 
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/1d9aed76-a71d-4e1a-b2b3-e53b0779d...@googlegroups.com



Re: End of hypocrisy, beginning of reason

2014-08-06 Thread Tom H
On Wed, Aug 6, 2014 at 2:53 AM, Erwan David  wrote:
> On Wed, Aug 06, 2014 at 01:01:57AM CEST, AW 
>  said:
>> On Tue, 5 Aug 2014 17:57:02 -0400
>> Tom H  wrote:
>>>
>>> journalctl SYSLOG_FACILITY=4
>>
>> Thanks!
>> But why '4'? Why not '42'? Or even better...
>> journalctl show auth
>> journalctl show apache2
>> journalctl show postgresql
>> or even better still
>> journalctl show -v postgresql
>
> man says it is journalctl [OPTIONS] [MATCHES] what MATCHES are is not
> defined.
>
> just examples where we have to guess there are "fields" (list not given) two 
> of them can be _SYSTEMD_UNIT and _PID
>
> Reading this I feel I am told "this is not for you, you are only a suer and 
> you are not allowed to know"

You have to read more than the first lines of a man page to learn how
to use a command.

"man ps" has "ps [options]" and "man nmap" has "nmap [Scan Type...]
[Options] {target specification}"...

See the last lines of my earlier email to display the fields with tab
completion:

https://lists.debian.org/debian-user/2014/08/msg00342.html

Also:

man journalctl
man systemd.journal-fields


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



Re: End of hypocrisy, beginning of reason

2014-08-06 Thread Joe
On Wed, 6 Aug 2014 00:20:56 -0700 (PDT)
Rusi Mody  wrote:


> 
> I have a basic question: I want to migrate to systemd [reasons below]
> 
> However...
> 
> 1. I see on this list itself evidence of breakage

No doubt about that.

> 
> 2. Ive experienced some myself and I could only guess that it was a
> systemd issue until it was pointed out by Michael that it is probably
> a mismatch between sysv and systemd.  However given that people are
> getting totally unbootable systems, I's just being a bit careful.

One good reason is having a mount in your /etc/fstab for a removable
medium which may not be present, but if present, will be mounted at
boot. That's a no-no under systemd, and will stop the show.

> What I want is a process where something can be tried out (gingerly)
> and reversed or fixed-in-concrete depending on results.
> 
> Ive seen some things about trying out by giving systemd at the grub
> line.

Yes. This can be done for one boot only.
> 
> Im already seeing systemd in mount:
> 
> systemd on /sys/fs/cgroup/systemd type cgroup
> (rw,nosuid,nodev,noexec,relatime,name=systemd)
> 
> However aptitude dist-upgrade shows me:
> 
> The following packages will be REMOVED:
>   graphviz{a} rsyslog{a} sysvinit-core{a}
> 
> And a 1/2 GB worth of packages to be upgraded including systemd
> 
> So I am a bit jittery about going ahead -- removing sysvinit-core
> seems a hard step to reverse :-)

No. You can still boot on sysv without sysvinit-core (!). After the
removal of sysvinit-core, you still have to make the deliberate change
to systemd booting.
> 
> >From a more theoretical/computer science pov:
> Why I (for whatever its worth) think systemd is (could be) a good
> idea:
> 
> Declarative is invariably better than imperative though it can be
> hard to get right at first. And systemd tries to be more
> declarative than sysv.
> 
> Whether it succeeds is a different question ;-)
> 
> How to make it succeed (with minimal pain) is what I am asking...
> 
> 
I have a sid with 4000+ packages booting on systemd, and the journal is
quite messy. Having built a copy of it using --get-selections and
--set-selections (and *that's* not as easy as it used to be) I get a
cleaner log, so it seems to be the case that an installation using
systemd from the start (minimal wheezy, upgrade to sid, upgrade sid to
systemd, then pour in the rest of the system) is a bit more stable than
one which is switched over. I also took the opportunity to merge /usr
into /, and I've no idea whether this has improved anything.

But apart from incomprehensible warnings in the log, some of which also
occur in the new system, there isn't much change in behaviour. I had
hoped to be rid of an occasional kernel panic during shutdown, but this
still seems to be present. I'm not aware of anything not working, but I
very rarely print anything from this system, and there are a lot of
cups and colord messages in the log.

-- 
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/20140806090734.5c6f5...@jresid.jretrading.com



Re: Retaining Older Kernels After Image Update

2014-08-06 Thread Pascal Hambourg
Marc Auslander a écrit :
> Andrei POPESCU  writes:
> 
>> On Sb, 02 aug 14, 12:11:43, Kenneth Jacker wrote:
>>> [ Wheezy;  3.2.0-4-amd64 ]
>>>
>>> I've noticed that when I upgrade a kernel image, the prior one appears
>>> to be removed.  So, at any time there is only one kernel image in /boot.
> 
> I just manually copy the four files in /boot associated with the
> working kernel.  I append -knowngood to get new names.  update grup
> happily makes boot entries for them.

What about the kernel directory in /lib/modules which contains the major
part of the kernel ?


-- 
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/53e1e216.1070...@plouf.fr.eu.org



Re: Retaining Older Kernels After Image Update

2014-08-06 Thread Reco
 Hi.

On Wed, Aug 06, 2014 at 10:06:46AM +0200, Pascal Hambourg wrote:
> Marc Auslander a écrit :
> > Andrei POPESCU  writes:
> > 
> >> On Sb, 02 aug 14, 12:11:43, Kenneth Jacker wrote:
> >>> [ Wheezy;  3.2.0-4-amd64 ]
> >>>
> >>> I've noticed that when I upgrade a kernel image, the prior one appears
> >>> to be removed.  So, at any time there is only one kernel image in /boot.
> > 
> > I just manually copy the four files in /boot associated with the
> > working kernel.  I append -knowngood to get new names.  update grup
> > happily makes boot entries for them.
> 
> What about the kernel directory in /lib/modules which contains the major
> part of the kernel ?

Kernel modules that are needed for the boot process itself reside in the
initrd, and he copies that.

Kernel modules that live in /lib/modules are loaded after root
filesystem is mounted and init is started. As long as kernel's ABI isn't
changed they should load successfully.

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/20140806083707.GA26385@x101h



Re: need help on sound recording using bplay

2014-08-06 Thread Raffaele Morelli
2014-08-05 22:48 GMT+02:00 Long Wind :

> I want to record sound from line-in of sound card,
> I enter sth. like:
>
> brec -d /dev/dsp -b 8 -t 15 -w  t2.wav
>
> after that l use bplay to play t2.wav, I can't hear sound
>
> I'm afraid I need to specify line-in, in addition to /dev/dsp, but how to
> do it?
>
> Thanks!
>

​I would use arecord/aplay

$ arecord -L # lists pcm devices by name, so quickly find your line-in

then
$ arecord -D device_name​
 -
​t wav -f cd ​
​filename​.wav


Re: End of hypocrisy, beginning of reason

2014-08-06 Thread Brian
On Wed 06 Aug 2014 at 00:20:56 -0700, Rusi Mody wrote:

> I have a basic question: I want to migrate to systemd [reasons below]

[Snip]
 
> However aptitude dist-upgrade shows me:
> 
> The following packages will be REMOVED:
>   graphviz{a} rsyslog{a} sysvinit-core{a}

The testing distribution is in a state of flux so it is not unknown for
a dist-upgrade to want to remove a package from time to time. You would
be allowed a little worry if it happened when testing became Jessie.

> And a 1/2 GB worth of packages to be upgraded including systemd
> 
> So I am a bit jittery about going ahead -- removing sysvinit-core seems a
> hard step to reverse :-)

sysvinit-core is already on your system so you are upgrading from
testing to testing. The init package at the present time has a
Pre-depends: of

   sysvinit-core | systemd-sysv | upstart ,

which is satisfied on your machine. If you keep sysvinit-core installed
your choice of init system will never be overridden by the init package.

On your system you also appear to have chosen to have libpam-systemd
installed. At the present time it is likely to require systemd-sysv, so
sysvinit-core will be removed. Reversing this removal is as simple as
purging libpam-systemd.


-- 
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/20140806095025.gt19...@copernicus.demon.co.uk



Re: End of hypocrisy ?

2014-08-06 Thread Slavko
Ahoj,

Dňa Tue, 5 Aug 2014 16:33:23 -0400 Tom H  napísal:

> On Tue, Aug 5, 2014 at 9:50 AM, Slavko  wrote:
> > Dňa Tue, 5 Aug 2014 08:58:47 -0400 Tom H 
> > napísal:
> >>
> >> If tomh-init is faster than htom-init, whether there's just ssh
> >> running or 100 daemons running, I want to use tomh-init.
> >>
> >> I can understand that there are people who don't want to adopt
> >> systemd simply because it boots faster because they dislike some
> >> other aspect(s) of systemd, but attacking systemd because it boots
> >> faster is silly.
> >
> > I know, that you are not responding to me, but i have one note:
> >
> > The boot speed is often used as argument for the systemd. But no all
> > users are interested on boot time, then there are reaction as this
> > (and as my). IMO, there aren't a lot information about other
> > aspects of systemd and then people (include me) don't know about
> > them.
> >
> > Until will be boot time again and again used as argument, then here
> > will be responses as these.
> >
> > To be precise, i often read about these things: monolitic, binary
> > files and boot speed. I don't like first two and i am not
> > interested in latest.
> 
> I thought that I'd answered you.
> 
> I'm objecting to this line of reasoning: I'm not interested in boot
> speed therefore I'm not interested in systemd.
> 
> Since you're not interested in boot speed, you shouldn't care that
> boot's faster with systemd! You don't have to dislike everything that
> systemd claims that it provides.
> 
> But if you want to say "boot speed isn't enough of an argument for me
> to like/use systemd", fine.

Yes, that is what i mean, thanks for help - writing my thinks in
English is sometime terrible for me.

> Re "binary files": Please repeat after me "systemd doesn't require
> binary files." I currently have two systemd systems, a sid VM (where
> systemd-sysv has been pulled in by the recent libpam-systemd
> dependency change) and a Fedora 20 installation on my laptop. On the
> sid VM, I have the default Debian setup whereby journald forwards logs
> to rsyslog and the logs are stored in text files in "/var/log/". On my
> Fedora installation, I've set "Storage=persistent" in
> "/etc/systemd/journald.conf" so my only logs are binary files in
> "/var/log/journal/".
> 
> Re "monolithic": Someone said earlier in the thread "gratuitous
> interdependency". That's more accurate. There are many executables in
> systemd and many are interdependent. A systemd fan would tell you that
> the interdependency isn't gratuitous; I'd tend to disagree.

The interdependency is better describing it - thanks again, but from
my point of view, if some parts are not able to work one without other,
it is a monolithic block, only splitted to more processes. I am not
able to decide (or rate) if this is gratuitous or not, i only see, that
there are more things together.

Yes, you have rsyslog for storing logs in text files. Now you have two
deamons for one thing. Nice, but where is the advantage?

I understand that sometime there is time to change, e.g. from text to
binary files, it is OK. But to i (and perhaps others too) can accept
this change, it must give something, what is useful for me.

Then what are advantages of the systemd? I see only disadvantages...

-- 
Slavko
http://slavino.sk


signature.asc
Description: PGP signature


Re: date/time of photos SOLVED

2014-08-06 Thread ken

On 08/04/2014 08:11 AM Michael Kjörling wrote:

On 4 Aug 2014 21:59 +1200, from cbannis...@slingshot.co.nz (Chris Bannister):

On Mon, Aug 04, 2014 at 05:08:38AM -0400, ken wrote:

It was quite awhile ago, but I used gthumb to offload photos from my Nikon.
I didn't like it though because the date&time of the photos were all changed
to the date&time of the download.  I much prefer to keep the date&time when
the photo was taken.  What experience do others have?


You could use the ExiF data to get the date the photo was taken.


Indeed. Here's a script I wrote to do exactly that, in case it's
useful for anyone. Consider it to be in the public domain.

It needs adjusting for your particular situation, and it certainly
isn't optimized for performance, but it does the job just fine at
least with my camera.



Thanks, Michael, for your script.  It's a very good start for what I've 
been trying to do for a long time.  I'm calling the problem 'solved'.


Best regards,
k-


--
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/53e2113b.20...@mousecar.com



Re: End of hypocrisy ?

2014-08-06 Thread Slavko
Ahoj,

By my mistake i post it directly to Dan - i am sorry! I repost it to
list again...

Dňa Tue, 5 Aug 2014 12:07:41 -0700 Don Armstrong 
napísal:

> On Tue, 05 Aug 2014, Slavko wrote:
> > When i read first time about change default of the init, i believe
> > (or hope?), that there will be choice. And don't matter if this
> > choice will be at install time, or after install... I wrote to this
> > list too, that this is *only* default. But now i read more and more
> > about problems, dependencies from user space and this sounds bad
> > for me. And i start to afraid.
> 
> Choice is expensive. Debian doesn't have unlimited developer time. If
> a choice that you would want to be able to make isn't currently
> available, then your only real alternative is to do the work (or
> otherwise cause the work to be done.)

IMO most interesting part of whole thread. It seems, that the thread's
subject is true. The systemd is not the default choice, it will be only
one choice! Is this for what you vote (and others) as member of CTTE?

regards

-- 
Slavko
http://slavino.sk


signature.asc
Description: PGP signature


Re: need help on sound recording using bplay

2014-08-06 Thread Long Wind
On 8/6/14, Raffaele Morelli  wrote:
> 2014-08-05 22:48 GMT+02:00 Long Wind :
>

>
> ​I would use arecord/aplay
>
> $ arecord -L # lists pcm devices by name, so quickly find your line-in
>
> then
> $ arecord -D device_name​
>  -
> ​t wav -f cd ​
> ​filename​.wav
>


Thank you! I have installed alsa-utils, but still can't identify it
with your command
below is output by arecord -L

null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=AudioPCI
Ensoniq AudioPCI, ES1371 DAC2/ADC
Default Audio Device
sysdefault:CARD=AudioPCI
Ensoniq AudioPCI, ES1371 DAC2/ADC
Default Audio Device
front:CARD=AudioPCI,DEV=0
Ensoniq AudioPCI, ES1371 DAC2/ADC
Front speakers
surround40:CARD=AudioPCI,DEV=0
Ensoniq AudioPCI, ES1371 DAC2/ADC
4.0 Surround output to Front and Rear speakers
iec958:CARD=AudioPCI,DEV=0
Ensoniq AudioPCI, ES1371 DAC2/ADC
IEC958 (S/PDIF) Digital Audio Output


--
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/CAB-gxZAzcWKW3Y�qA4a-f0-FFc7d8x=vtvj9kuyzfg04x...@mail.gmail.com



Re: Threading using digest and kmail (was Re: Exim4 not routing local mail ... )

2014-08-06 Thread Jerry Stuckle
On 8/5/2014 10:24 PM, Paul E Condon wrote:
> On 20140805_0004+0300, Andrei POPESCU wrote:
>> On Lu, 04 aug 14, 08:52:17, Paul E Condon wrote:
>>>
>>> I've spent some time recently, trying to use the Gmail browser
>>> interface. I would never switch to it from Mutt, excepting only if
>>> Microsoft does a corporate take-over of Debian (They are both
>>> corporations under the Law, and under the Law, strange, unnatural
>>> things can happen, as explained in a recent post by Lisi)
>>
>> Debian is definitely not a corporation under any law and any thing 
>> resembling a takeover would involve controlling something like 2 thirds 
>> of its members (to be able to change Foundation documents, etc.).
>>
>> You might want to read the Constitution:
>> http://www.debian.org/devel/constitution
>>
> 
> In USA, where I live, a recent Supreme Court decision is that a
> Corporation has more standing Law than a Human if the Human is a
> female. In USA, things are very strange, by standards of Europe. More
> like what Lisi describes in Australia, but without a living, human
> Sovereign person.
>

You have no idea what the decision was about.  It had nothing to do with
humans - male or female.

Jerry


-- 
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/53e22705.9040...@attglobal.net



Re: End of hypocrisy ?

2014-08-06 Thread Steve Litt
On Tue, 05 Aug 2014 23:43:09 +0300
David Baron  wrote:

> An amazing amount of discussion here.
> 
> Need to make a decision: Upgrade the systemd and udev version to
> 208-6 or sit on the 204-14. This is working fine it seems, and bugs
> against the 208 are piling up. Nothing however that blares: your
> system is now unbootable, but that is what I fear.
> 
> Somehow, on the old system (I had on the previous 32-bit Sid), I
> never had such fears when upgrading such packages. BTW, before
> scrapping that installation due to a bad HD, I installed the ||
> dependency to keep the old init because I did not know anything about
> the changeover. Seems I got it with the new 64bit installation,
> wheezy upgraded to Sid.

What I always do when I'm worried about a new version, which I always
am, is to install it on an experimental machine first. Put it on a
dumpster king you've had since 2006, and see what it does.

Because really, everything bad I said about systemd was a philosophical
thing: I have no idea how well it does or doesn't run your computer
under normal circumstances.

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
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/20140806090343.1f961...@mydesq2.domain.cxm



Re: End of hypocrisy, beginning of reason

2014-08-06 Thread Steve Litt
On Tue, 5 Aug 2014 16:51:03 -0400
Tom H  wrote:

> On Tue, Aug 5, 2014 at 3:44 PM, Steve Litt
>  wrote:
> >
> > LOL, perhaps I'll boot to bin/bash, and then run a script to do
> > everything else. Oh wait, I can't do that: I hear PAM now depends on
> > systemd, for what reason I haven't a clue.
> 
> Maybe you should look into adapting the Android Init Language :)

Screw that! I'm buying an old Kaypro 2x on Ebay, and using CPM for the
rest of my life!

:-)

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
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/20140806090550.7c990...@mydesq2.domain.cxm



Re: Debian php5 (Can't get download when doing apt-update)

2014-08-06 Thread Jerry Stuckle
On 8/6/2014 1:17 AM, Dom wrote:
> On 06/08/14 02:46, Jerry Stuckle wrote:
>>
>> If you see the code, then your Apache isn't set up properly to parse PHP
>> code.  Installing libapache2-mod-php5 should fix that for you. You don't
>> need both libapache2-mod-php5 and php5-cgi; for now don't even fool with
>> php5-cgi.  And php-auth-http is completely unrelated to your problem.
>>
>> Installing just libapcahce2-mod-php5 should set up the Apache
>> configuration for you.  If after installing this, you get a 500 error,
>> you need to look at /var/lib/apache/error.log (or whatever your Apache
>> error log is called) to see what's happening.
> 
> It should be /var/log/apache2/error.log
> 
> As mentioned by someone else, it's possibly a permissions issue on the
> file (it needs Read permissions for the Apache User "www-data" at
> least), or something wrong in the code.

Sorry, you're correct - I shouldn't update when I'm tired! :)

Jerry


-- 
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/53e228dc.4060...@attglobal.net



Re: need help on sound recording using bplay

2014-08-06 Thread Raffaele Morelli
2014-08-06 13:50 GMT+02:00 Long Wind :

> On 8/6/14, Raffaele Morelli  wrote:
> > 2014-08-05 22:48 GMT+02:00 Long Wind :
> >
>
> >
> > ​I would use arecord/aplay
> >
> > $ arecord -L # lists pcm devices by name, so quickly find your line-in
> >
> > then
> > $ arecord -D device_name​
> >  -
> > ​t wav -f cd ​
> > ​filename​.wav
> >
>
>
> Thank you! I have installed alsa-utils, but still can't identify it
> with your command
> below is output by arecord -L
>
> null
> Discard all samples (playback) or generate zero samples (capture)
> default:CARD=AudioPCI
> Ensoniq AudioPCI, ES1371 DAC2/ADC
> Default Audio Device
> sysdefault:CARD=AudioPCI
> Ensoniq AudioPCI, ES1371 DAC2/ADC
> Default Audio Device
> front:CARD=AudioPCI,DEV=0
> Ensoniq AudioPCI, ES1371 DAC2/ADC
> Front speakers
> surround40:CARD=AudioPCI,DEV=0
> Ensoniq AudioPCI, ES1371 DAC2/ADC
> 4.0 Surround output to Front and Rear speakers
> iec958:CARD=AudioPCI,DEV=0
> Ensoniq AudioPCI, ES1371 DAC2/ADC
> IEC958 (S/PDIF) Digital Audio Output


try with
$ arecord ​

​filename.wav​

should simply work

/r


Re: How to fix intermittently disappearing mouse pointer ?

2014-08-06 Thread Steve Litt
On Wed, 6 Aug 2014 07:47:52 +0900
Joel Rees  wrote:

> On Wed, Aug 6, 2014 at 12:21 AM, Steve Litt
>  wrote:
> > On Tue, 5 Aug 2014 22:58:18 +0900
> > Joel Rees  wrote:
> >
> >> On Tue, Aug 5, 2014 at 10:51 PM, Steve Litt
> >>  wrote:

[clip Litt's bona-fides on RTFM]

> >> >
> >> > I have Wheezy running Openbox (I'm not sure how to detect
> >> > Openbox's version, but I installed it normally with apt-get).
> >> > I'm *not* running unclutter. Sometimes, my mouse pointer
> >> > disappears when the mouse pointer comes to rest on anything with
> >> > popup text, which is very obstructive (if you've ever worked on
> >> > a computer that does this, you know what I mean).
> >> >
> >> > Often, this symptom doesn't happen for the first few minutes
> >> > after starting X, but then later does. It appears not to happen
> >> > in Xfce, but I didn't test Xfce for hours, so I can't be sure.
> >>
> >> Happens with my XFCE. (Wheezy.)
> >>

[clip symptom description details]

> >>
> >> This isn't even intermittent. X11 is trying to do too much, that's
> >> all. That means it doesn't have time to keep the pointer updated.
> >
> > This is good information, Joel. Thanks for confirming it isn't
> > Openbox only!
> >
> > So my next question is this: How have you reduced your X11 task
> > load to eliminate the symptom? And how would one look at the
> > relative weight of tasks X11 is doing?
> 
> I haven't bothered. I just move the mouse away and wait a few seconds
> for the pointer to come back. Maybe in your case you're getting worse
> then a few seconds delay?
> 
> If my guess (It is a guess, I guess.) is correct, reducing the load on
> X is going to require deep diving in the code. The guess is based on

[clip some of Joel's suspicions and Litt's speculations]

> 
> Just a question, is /tmp done in ram on your machine or on disk?
> 

slitt@mydesq2:~$ mount | grep "on /tmp"
/dev/sdc7 on /tmp type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered) 
slitt@mydesq2:~$

/dev/sdc is a Western Digital Black, I think about a gigabyte. I forgot
the command to tell me exactly.

Now I have a question for you, and it just might be more relevant than
it appears: Do you use claws-mail as your email client? What email
client do you use? I couldn't find an X-mailer in your headers. I'll
describe why this question is relevant in another post.

Thanks for your help.

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
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/20140806092037.1c9e9...@mydesq2.domain.cxm



System broken after full-upgrade: please help!

2014-08-06 Thread Rodolfo Medina
Hi all.

My Debian Sid box won't restart after today's full-upgrade.  At booting, I read

 Filesystem type is ext2fs, partition type 0x83

Could that message provide any suggestion for what has happened and how to fix
it?  I have no idea what to do.

Thanks in advance for any help,

Rodolfo


-- 
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/87oavxivzm@gmail.com



Re: need help on sound recording using bplay

2014-08-06 Thread Curt
On 2014-08-06, Long Wind  wrote:
> Thank you! I have installed alsa-utils, but still can't identify it
> with your command
> below is output by arecord -L
>

I only obtain a list of output devices with that command.

To define a capture device I use alsamixer (F4).




-- 
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/slrnlu4blc.22q.cu...@einstein.electron.org



Re: need help on sound recording using bplay

2014-08-06 Thread Bzzzz
On Wed, 6 Aug 2014 19:50:53 +0800
Long Wind  wrote:

> Thank you! I have installed alsa-utils, but still can't identify it
> with your command

Also install alsamixer(gui); may computers have 2 MIC inputs
(or even 2 sound cards) and the first one is selected by
default when the 2nd one is the right one.

-- 
<@Quizz> What is the capital of Taïwan?
 Made in


signature.asc
Description: PGP signature


Re: How to fix intermittently disappearing mouse pointer ?

2014-08-06 Thread Steve Litt
On Tue, 5 Aug 2014 09:51:19 -0400
Steve Litt  wrote:

> I've googled this several times, but none of what I saw worked or
> seemed relevant. The following seemed the most relevant, but turned
> out not to be helpful:
> 
> https://bbs.archlinux.org/viewtopic.php?id=137080
> 
> I have Wheezy running Openbox (I'm not sure how to detect Openbox's
> version, but I installed it normally with apt-get). I'm *not*
> running unclutter. Sometimes, my mouse pointer disappears when the
> mouse pointer comes to rest on anything with popup text, which is very
> obstructive (if you've ever worked on a computer that does this, you
> know what I mean).
> 
> Often, this symptom doesn't happen for the first few minutes after
> starting X, but then later does. It appears not to happen in Xfce, but
> I didn't test Xfce for hours, so I can't be sure. It appears not to
> happen with another user (I made user test), but once again, I didn't
> test user test for hours. I even copied all files from /home/slitt
> to /home/test, and the symptom didn't appear, and then when I went
> back to /home/test the symptom disappeared, for at least a few
> minutes.
> 
> I suspect, for not much of a reason, that the symptom is triggered
> when the screen changes, either because it times out and goes blank,
> or because I ran a Youtube movie full screen. Due to the time it
> takes to close everything, log out, run startx, and try again, this
> intermittent has been slow to investigate.

It's not intermittent anymore. I can reproduce it at will. I can log
out and rerun X, and do almost anything, including change screen
resolution, and this symptom will not appear until I run claws-mail and
cursor over a message in the message list. Once I do that, the symptom
appears on [most|all] GUI programs, until I leave X and return.
Interestingly, I can run Claws-Mail and cursor over buttons with
popups, and the symptom doesn't appear until I've cursored over a
message in the message list. 

In other words (laugh away, guys and gals), Claws-Mail's message list
breaks my computer.

Obviously I'll be submitting this to the Claws-Mail list, just in
case this is a known problem. However, it will probably garner me
nothing but jeers and statements that I'm using an old version of
Claws-Mail (3.8.1).

My apt-fu isn't all that good, so if any of you knows a way that,
within the packaging system, I can install a later version of
Claws-Mail without in any way disturbing my very nice Wheezy/stable
installation, please let me know. Otherwise, it's ./configure;make;make
install for me :-)

If that doesn't work, well, I've always wanted to byte the bullet and
start using mutt.

Joel Rees, if you're using Claws-Mail, you should view it as a suspect.

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
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/20140806094143.5f18c...@mydesq2.domain.cxm



Re: Help needed with wireless on a Thinkpad X40

2014-08-06 Thread Alef Farah
Turns out it was a silly configuration issue. Both wicd and network-manager seem
to use wlan0 as the default interface, and for some reason the wireless
interface was eth1, switching to it solved the issue. On top of that the Fn+F5
key really isn't working, which just made things more confusing.

Thanks for the help y'all.


-- 
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/CAGLGzKvSEsz1C52_C9DeAO2pn6k0=MPAuXo5n_2A1Wz-Aqf=p...@mail.gmail.com



Re: need help on sound recording using bplay

2014-08-06 Thread Raffaele Morelli
2014-08-06 15:33 GMT+02:00 Curt :

> On 2014-08-06, Long Wind  wrote:
> > Thank you! I have installed alsa-utils, but still can't identify it
> > with your command
> > below is output by arecord -L
> >
>
> I only obtain a list of output devices with that command.
>
> To define a capture device I use alsamixer (F4).


d'oh!
"l" not "L"​


​apologize​


Re: End of hypocrisy ?

2014-08-06 Thread Chris Bannister
On Tue, Aug 05, 2014 at 09:38:24AM -0400, Steve Litt wrote:
> 
> This is where we differ. I'd rather have building blocks from which I
> could build anything, rather than a monolith I need to trick into doing
> what I want it to do.

Oh, so you don't run a DE then.

In that case I suggest either NetBSD http://www.netbsd.org/ or maybe
Linux From Scratch http://www.linuxfromscratch.org/

I suppose it all depends on the size of the building blocks you are
after. 

-- 
"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/20140806134614.GD20458@tal



Re: Debian php5 (Can't get download when doing apt-update)

2014-08-06 Thread Chris Bannister
On Tue, Aug 05, 2014 at 03:13:25PM -0400, Matthew Brown wrote:
> You are the man!  Thanks.
> 
> How'd I let those # get in the way?  LOL!

They should be in front of the deb-src lines. Honestly, I don't think
you'll need those entries.

-- 
"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/20140806140441.GE20458@tal



Re: End of hypocrisy ?

2014-08-06 Thread Steve Litt
On Thu, 7 Aug 2014 01:46:14 +1200
Chris Bannister  wrote:

> On Tue, Aug 05, 2014 at 09:38:24AM -0400, Steve Litt wrote:
> > 
> > This is where we differ. I'd rather have building blocks from which
> > I could build anything, rather than a monolith I need to trick into
> > doing what I want it to do.
> 
> Oh, so you don't run a DE then.

I do. At varying times, I run Openbox, dwm, LXDE or Xfce.

> 
> In that case I suggest either NetBSD http://www.netbsd.org/ or maybe
> Linux From Scratch http://www.linuxfromscratch.org/

LOL, if I consider Arch's 40 manual step installation too error prone,
can you imagine me doing Linux From Scratch?

But NetBSD, h.

FreeBSD is wonderful, and I would have switched to it a long time ago,
but they keep changing their package manager and making it worse, and
Ports starts conflicting with their Package Manager of the Month, and
what a mess! PC-BSD is just a pretty face pasted onto FreeBSD, not good
enough.

OpenBSD would be exactly what I want, but I've had some video
resolution problems with it, and I'm concerned that a lot of apps
haven't been ported to it.

It never occurred to me to try NetBSD, but I really should, so I will.
Thanks for the tip.

> 
> I suppose it all depends on the size of the building blocks you are
> after. 
> 

They vary. Generally speaking, I like bigger building blocks for GUI,
and smaller ones for data processing. I'm never going to make my own
window manager. I studied the code for one of the smallest ones, dwm,
and it's very detailed. I wasn't even able to figure out how to add a
function to list all GUI windows grouped by tagset (dwm equivalent of
workspaces). Lack of that function was the main reason I switched back
to Openbox.

Thanks for the tip on NetBSD. I'll try it.

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
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/20140806101934.335d5...@mydesq2.domain.cxm



postgresql doesn't start at boot

2014-08-06 Thread Bzzzz
sid
amd64


Hi mailing-listers,

since the upgrade from 9.3 to 9.4, postgresql doesn't automatically start
at boot anymore.
I added a symlink to /lib/systemd/system/postgresql.service
into /etc/systemd/system but I'm not sure this will be enough; is it?
(3.5 pages of looong mans listed, options in every corner, systemd seems
to have the art of transforming something formerly trivial to an
indigestible gas plant). 


-- 
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/20140806165853.23afdf08@msi.defcon1



Re: End of hypocrisy, beginning of reason

2014-08-06 Thread Jeff Bauer

On 08/05/2014 07:01 PM, AW wrote:

And the documentation on the official systemd site is quite terrible,
at least so far as I've been able to discover.






They must have copy/pasted the initial systemd documentation from the 
Arch Linux Wiki. When the powers that be over at Arch Linux decided to 
change over to systemd, the often hostile condescension shown to end 
users having problems was truly disturbing, and one key reason I moved 
over to Debian.


Some of the posts in this thread remind me of what I read during my last 
days using Arch, so I can't help but wonder if this relatively recent 
adventure into Debianland is going seem like a blink of an eye compared 
to the 5+ years with Arch.


Jeff

--
hangout: ##b0rked on irc.freenode.net
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon
the consent of the people." - Thomas Hooker


--
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/53e243d1.2050...@charter.net



Re: System broken after full-upgrade: please help!

2014-08-06 Thread Gary Dale

On 06/08/14 09:33 AM, Rodolfo Medina wrote:

Hi all.

My Debian Sid box won't restart after today's full-upgrade.  At booting, I read

  Filesystem type is ext2fs, partition type 0x83

Could that message provide any suggestion for what has happened and how to fix
it?  I have no idea what to do.

Thanks in advance for any help,

Rodolfo


No it doesn't. ext2fs can refer to ext2, 3 or 4 file systems. The 
partition type 83 is simply a Linux partition that can contain a variety 
of file systems.


To get back into your system, you can try booting from a Linux CD 
(system rescue CD, for example) and trying to debug from there. For 
example, you could try (assuming your Linux drive is /dev/sda1):


mount /dev/sda1 /mnt
mount -o loop /dev /mnt/dev
mount -o loop /sys /mnt/sys
mount -o loop /proc /mnt/proc
chroot /mnt bash



--
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/53e2440f.8000...@torfree.net



weired problem, systemd?

2014-08-06 Thread Hans
Hello list,

I am looking for some strange problem. Please let me describe:

I installed pulseaudio, and everything worked fine, sound was running well, 
everything could be configured with pavucontrol. So far so well. But, 
after reboot, sound is gone, and no more devices are seen. 

Restarting of pulseaudio via /etc/init.d/pulseaudio restart did not work.

However: Doing dpkg-reconfigure pulseaudio let it work again.

I do not think, it is a problem with pulseaudio, mybe with systemd? 

The same problem occurs with another package -> eeepc-acpi-scripts

/etc/init.d/eeepc-acpi-scripts restart does not work, but dpkg-reconfigure 
eeepc-acpi-scriptzs does.

Same as in pulseaudio - it is working until next reboot.

Do you have any clues, what is happening and what is the difference between 
dpkg-reconfigure and /etc/init.d/* restart in relationship of starting 
prcoesses?


Any help is very welcome.

Best regards

Hans-J. Ullrich


-- 
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/1689130.5ZrlmbKQcQ@protheus2



Re: postgresql doesn't start at boot

2014-08-06 Thread emmanuel segura
Have you try systemctl enable postgresql.service ?

2014-08-06 16:58 GMT+02:00 B :
> sid
> amd64
> 
>
> Hi mailing-listers,
>
> since the upgrade from 9.3 to 9.4, postgresql doesn't automatically start
> at boot anymore.
> I added a symlink to /lib/systemd/system/postgresql.service
> into /etc/systemd/system but I'm not sure this will be enough; is it?
> (3.5 pages of looong mans listed, options in every corner, systemd seems
> to have the art of transforming something formerly trivial to an
> indigestible gas plant).
>
>
> --
> 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/20140806165853.23afdf08@msi.defcon1
>



-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
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/CAE7pJ3D5uwCm4fq-h9MNaVzxvWGHi=CG=ifqmo1hcipp5ej...@mail.gmail.com



Re: postgresql doesn't start at boot

2014-08-06 Thread Bzzzz
On Wed, 6 Aug 2014 17:07:56 +0200
emmanuel segura  wrote:

> Have you try systemctl enable postgresql.service ?

Done (and quite different from a symlink:(

As I'm working, I'll test it tonight; thanks.

-- 
 is gogaz an anti jew nick?
 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/20140806171722.0be97c95@msi.defcon1



Re: Debian php5 (Can't get download when doing apt-update)

2014-08-06 Thread Bob Proulx
Chris Bannister wrote:
> Matthew Brown wrote:
> > You are the man!  Thanks.
> > 
> > How'd I let those # get in the way?  LOL!
> 
> They should be in front of the deb-src lines. Honestly, I don't think
> you'll need those entries.

Unless "apt-get source packagename" is tried.  In which case the
deb-src lines will be needed.  And we would have the same conversation
as before but about uncommenting the deb-src lines.  Probably better
to enable them and then the system is fully functional.

Bob


signature.asc
Description: Digital signature


Re: System broken after full-upgrade: please help!

2014-08-06 Thread Bob Proulx
Gary Dale wrote:
> Rodolfo Medina wrote:
> >My Debian Sid box won't restart after today's full-upgrade.  At booting, I 
> >read

Sid is the unstable child...

> To get back into your system, you can try booting from a Linux CD (system
> rescue CD, for example) and trying to debug from there. For example, you
> could try (assuming your Linux drive is /dev/sda1):
> 
> mount /dev/sda1 /mnt
> mount -o loop /dev /mnt/dev
> mount -o loop /sys /mnt/sys
> mount -o loop /proc /mnt/proc
> chroot /mnt bash

I also recommend the debian-installer in rescue mode.  The above will
work fine.  Or you could use the debian-installer in rescue mode to
guide you through this.

Here is the official documentation for it:

  http://www.debian.org/releases/stable/i386/ch08s07.html.en

But that is fairly terse.  Let me say that the rescue mode looks just
like the install mode initially.  It will ask you keyboard and locale
questions and you might wonder if you are rescuing or installing!  But
it will have "Rescue" in the corners so that you can tell and be
assured.  Get the tool set up with keyboard, locale, timezone, and
similar and eventually it will give you a menu with a list of actions.

  Advanced options...
  Rescue mode
  keyboard
  ...starts networking...
  hostname
  domainname
  ...apt update release files...
  ...loading additional components, Retrieving udebs...
  ...detecting disks...

Then eventually it will get to a menu "Enter rescue mode" that will
ask what device to use as a root file system.  It will list the
partitions that it has automatically detected.  (If you have raid or
lvm then it will list options for those.  If not then just the simple
disks.)  Select the appropriate partition from the list.  Then
continue.  At that point it presents a menu "Execute a shell in
/dev/...".  That is what you want.  That should get you a shell on
your system with everything needed mounted.

Bob


signature.asc
Description: Digital signature


Re: postgresql doesn't start at boot

2014-08-06 Thread Michael Biebl


On 6. August 2014 17:17:22 MESZ, B  wrote:
>On Wed, 6 Aug 2014 17:07:56 +0200
>emmanuel segura  wrote:
>
>> Have you try systemctl enable postgresql.service ?
>
>Done (and quite different from a symlink:(

Funny, because all systemctl enable does is create a symlink

>
>As I'm working, I'll test it tonight; thanks.

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.


-- 
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/9c5d199d-32ef-465a-9f54-6ef8a5911...@email.android.com



Re: postgresql doesn't start at boot

2014-08-06 Thread emmanuel segura
Maybe the link was created in a wrong directory




2014-08-06 17:34 GMT+02:00 Michael Biebl :
>
>
> On 6. August 2014 17:17:22 MESZ, B  wrote:
>>On Wed, 6 Aug 2014 17:07:56 +0200
>>emmanuel segura  wrote:
>>
>>> Have you try systemctl enable postgresql.service ?
>>
>>Done (and quite different from a symlink:(
>
> Funny, because all systemctl enable does is create a symlink
>
>>
>>As I'm working, I'll test it tonight; thanks.
>
> --
> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
>
>
> --
> 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/9c5d199d-32ef-465a-9f54-6ef8a5911...@email.android.com
>



-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
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/CAE7pJ3DkkfdW6WzwQSFKtZ79XR_caNrgNKQkwAdaSxaS=kr...@mail.gmail.com



Re: End of hypocrisy ? (Alt. title: Learning to cope with systemd)

2014-08-06 Thread John
On 05/08/14, Brian (a...@cityscape.co.uk) wrote:
> > But I've also been trying to learn to cope with our future via
> > init=/bin/systemd.
> Irrespective of what future direction you take this open-minded attitude
> is commendable. 

Thanks.
 
> >...  and then I
> > noticed /etc/cups/cupsd-systemd-listen.conf.  I _guess_ it was
> > installed behind my back without any warning. ...
> It is impossible on Debian for a file to be installed behind one's
> back. Of course, if you not look at what a package contains,
> README.Debian, a changelog, NEWS.Debian etc then it may look like
> that.

Does anyone read all that as a matter of routine upgrading?  I ran
aft-file search on the file, to see what package was involved, and got
no return, which makes it hard to figure out which changelog, etc. to
read.

> I would say it is extremely unlikely that
> cupsd-systemd-listen.conf broke your cups.

 My reason for suspecting cupsd-systemd-listen.conf is that I did not
configure it (not knowing it was there), so it did not list anything.
I had no localhost:631, no cups socket -- because I had nothing listed
in that file?  Among the changes I made in getting my printer going
again was adding
ListenStream=127.0.0.1:631
ListenStream=localhost:631
ListenStream=/var/run/cups/cups.sock
Probably overkill, I admit.

> But it is in the past, so we can leave it at that.

Unless, of course, there's a lesson here for someone trying to get
systemd to work. 

>> 3. ... Since systemd gives pretty good error messages, life got much
>> easier I got to read them, by amending /etc/inittab by adding
>> --noclear thus: 1:2345:respawn:/sbin/getty
> /etc/inittab is not a file systemd looks at.

I know.  But systemd boot messages, along with those useful hints at
where to find errors, vanish unless --noclear is added. Maybe there's
a journalctl option that includes boot errors, but I haven't found it
yet.

> You may want to read the thread which contains this post:
> https://lists.debian.org/87bns2roy6@turtle.gmx.de

Yeah, that's the thread where I learned to set --noclear.  I put it in
inittab, even though systemd has its own location, just because the
option works from there.

> I look forward to your help.

And I to yours.

-- 
johnrchamp...@wowway.com

GPG key 1024D/99421A63 2005-01-05
EE51 79E9 F244 D734 A012 1CEC 7813 9FE9 9942 1A63
gpg --keyserver subkeys.pgp.net --recv-keys 99421A63


signature.asc
Description: Digital signature


Re: postgresql doesn't start at boot

2014-08-06 Thread Glyn Astill
> From: B 
>To: debian-user@lists.debian.org 
>Sent: Wednesday, 6 August 2014, 15:58
>Subject: postgresql doesn't start at boot
> 
>
>sid
>amd64
>
>
>Hi mailing-listers,
>
>since the upgrade from 9.3 to 9.4, postgresql doesn't automatically start
>at boot anymore.
>I added a symlink to /lib/systemd/system/postgresql.service
>into /etc/systemd/system but I'm not sure this will be enough; is it?
>(3.5 pages of looong mans listed, options in every corner, systemd seems
>to have the art of transforming something formerly trivial to an
>indigestible gas plant). 
>
>

Indeed; but is that really the issue?  Check your postgresql server logs for 
something along the lines of "database files are incompatible with server".


Since 9.3 -> 9.4 is a major version upgrade, you need to make sure your data 
directory is migrated to the new internal storage format. You most likely want 
to upgrade with pg_upgrade or a dump restore.


--
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/1407341954.1568.yahoomail...@web133201.mail.ir2.yahoo.com



Re: need help on sound recording using bplay

2014-08-06 Thread Curt
On 2014-08-06, Raffaele Morelli  wrote:
>
> d'oh!
> "l" not "L"
>

Yes, but I see nothing helpful in that output either for setting the
capture device for recording (mic, line-in, etc.):

curty@einstein:~$ arecord -l
 List of CAPTURE Hardware Devices 
card 1: SB [HDA ATI SB], device 0: ALC662 rev1 Analog [ALC662 rev1
Analog]
  Subdevices: 1/1
Subdevice #0: subdevice #0

Anyhow.



-- 
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/slrnlu4lub.22q.cu...@einstein.electron.org



Re: End of hypocrisy, beginning of reason

2014-08-06 Thread Miles Fidelman

Steve Litt wrote:

On Tue, 5 Aug 2014 16:51:03 -0400
Tom H  wrote:


On Tue, Aug 5, 2014 at 3:44 PM, Steve Litt
 wrote:

LOL, perhaps I'll boot to bin/bash, and then run a script to do
everything else. Oh wait, I can't do that: I hear PAM now depends on
systemd, for what reason I haven't a clue.

Maybe you should look into adapting the Android Init Language :)

Screw that! I'm buying an old Kaypro 2x on Ebay, and using CPM for the
rest of my life!

:-)




Plan9!

:-)


--
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/53e259e5.3020...@meetinghouse.net



Re: System broken after full-upgrade: please help!

2014-08-06 Thread Rodolfo Medina
Bob Proulx  writes:

> Gary Dale wrote:
>> Rodolfo Medina wrote:
>> >My Debian Sid box won't restart after today's full-upgrade.  At booting, I
>> >read
>
> Sid is the unstable child...
>
>> To get back into your system, you can try booting from a Linux CD (system
>> rescue CD, for example) and trying to debug from there. For example, you
>> could try (assuming your Linux drive is /dev/sda1):
>> 
>> mount /dev/sda1 /mnt
>> mount -o loop /dev /mnt/dev
>> mount -o loop /sys /mnt/sys
>> mount -o loop /proc /mnt/proc
>> chroot /mnt bash
>
> I also recommend the debian-installer in rescue mode.  The above will
> work fine.  Or you could use the debian-installer in rescue mode to
> guide you through this.
>
> Here is the official documentation for it:
>
>   http://www.debian.org/releases/stable/i386/ch08s07.html.en
>
> But that is fairly terse.  Let me say that the rescue mode looks just
> like the install mode initially.  It will ask you keyboard and locale
> questions and you might wonder if you are rescuing or installing!  But
> it will have "Rescue" in the corners so that you can tell and be
> assured.  Get the tool set up with keyboard, locale, timezone, and
> similar and eventually it will give you a menu with a list of actions.
>
>   Advanced options...
>   Rescue mode
>   keyboard
>   ...starts networking...
>   hostname
>   domainname
>   ...apt update release files...
>   ...loading additional components, Retrieving udebs...
>   ...detecting disks...
>
> Then eventually it will get to a menu "Enter rescue mode" that will
> ask what device to use as a root file system.  It will list the
> partitions that it has automatically detected.  (If you have raid or
> lvm then it will list options for those.  If not then just the simple
> disks.)  Select the appropriate partition from the list.  Then
> continue.  At that point it presents a menu "Execute a shell in
> /dev/...".  That is what you want.  That should get you a shell on
> your system with everything needed mounted.
>
> Bob


Thanks.  In debian-installer rescue mode: I choose

 `Execute a shell in /dev/sda7',

and then:

 `After this message, you will be given a shell with /dfev/sda7 mounted on
 "/"...'

I press enter, and it gets back to the previous: `Execute a shell in
/dev/sda7'.  I press enter, and again to `After this message...' and so on and
so on...

Rodolfo


-- 
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/87mwbheeh4@gmail.com



Re: End of hypocrisy, beginning of reason

2014-08-06 Thread Brian
On Wed 06 Aug 2014 at 11:03:45 -0400, Jeff Bauer wrote:

> On 08/05/2014 07:01 PM, AW wrote:
> >And the documentation on the official systemd site is quite terrible,
> >at least so far as I've been able to discover.
> 
> They must have copy/pasted the initial systemd documentation from
> the Arch Linux Wiki. When the powers that be over at Arch Linux
> decided to change over to systemd, the often hostile condescension
> shown to end users having problems was truly disturbing, and one key
> reason I moved over to Debian.

At least two people know which web site is being referred to. Is
posting a link possible?
 
> Some of the posts in this thread remind me of what I read during my
> last days using Arch, so I can't help but wonder if this relatively
> recent adventure into Debianland is going seem like a blink of an
> eye compared to the 5+ years with Arch.

It must be quite dreadful for you to have endure a repetion of your
previous experience. But stick with it; users with technical problems
have always found help in -user.


-- 
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/06082014184650.809eef2bb...@desktop.copernicus.demon.co.uk



Re: End of hypocrisy ? (Alt. title: Learning to cope with systemd)

2014-08-06 Thread Brian
On Wed 06 Aug 2014 at 12:02:45 -0400, John wrote:

> On 05/08/14, Brian (a...@cityscape.co.uk) wrote:
>  
> > >...  and then I
> > > noticed /etc/cups/cupsd-systemd-listen.conf.  I _guess_ it was
> > > installed behind my back without any warning. ...
> > It is impossible on Debian for a file to be installed behind one's
> > back. Of course, if you not look at what a package contains,
> > README.Debian, a changelog, NEWS.Debian etc then it may look like
> > that.
> 
> Does anyone read all that as a matter of routine upgrading?  I ran
> aft-file search on the file, to see what package was involved, and got
> no return, which makes it hard to figure out which changelog, etc. to
> read.

Many don't. But while they could correctly claim everything was done
without their knowledge they cannot maintain it was done behind their
backs. apt-file (or dpkg -S) would find nothing because the file is
generated by the preinst of cups-daemon.

> > I would say it is extremely unlikely that
> > cupsd-systemd-listen.conf broke your cups.
> 
>  My reason for suspecting cupsd-systemd-listen.conf is that I did not
> configure it (not knowing it was there), so it did not list anything.
> I had no localhost:631, no cups socket -- because I had nothing listed
> in that file?  Among the changes I made in getting my printer going
> again was adding
> ListenStream=127.0.0.1:631
> ListenStream=localhost:631
> ListenStream=/var/run/cups/cups.sock
> Probably overkill, I admit.
> 
> > But it is in the past, so we can leave it at that.
> 
> Unless, of course, there's a lesson here for someone trying to get
> systemd to work.

There has been a bug in writing cupsd-systemd-listen.conf but not, as
far as I know, one which leaves it completely empty.

"ListenStream=/var/run/cups/cups.sock" is taken care of in cups.socket
so the line is superfluous.

> >> 3. ... Since systemd gives pretty good error messages, life got much
> >> easier I got to read them, by amending /etc/inittab by adding
> >> --noclear thus: 1:2345:respawn:/sbin/getty
> > /etc/inittab is not a file systemd looks at.
> 
> I know.  But systemd boot messages, along with those useful hints at
> where to find errors, vanish unless --noclear is added. Maybe there's
> a journalctl option that includes boot errors, but I haven't found it
> yet.
> 
> > You may want to read the thread which contains this post:
> > https://lists.debian.org/87bns2roy6@turtle.gmx.de
> 
> Yeah, that's the thread where I learned to set --noclear.  I put it in
> inittab, even though systemd has its own location, just because the
> option works from there.

I think you may be misunderstanding something. Systemd puts the
"--noclear" in getty@.service and never reads initttab. All it does is
clear the screen when a getty is started and a login prompt presented. I
cannot see how doing this affects anything shown by journalctrl.


-- 
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/06082014182224.71246ba02...@desktop.copernicus.demon.co.uk



Re: System broken after full-upgrade: please help!

2014-08-06 Thread Brian
On Wed 06 Aug 2014 at 17:04:55 +, Rodolfo Medina wrote:

> Bob Proulx  writes:
> 
> > Then eventually it will get to a menu "Enter rescue mode" that will
> > ask what device to use as a root file system.  It will list the
> > partitions that it has automatically detected.  (If you have raid or
> > lvm then it will list options for those.  If not then just the simple
> > disks.)  Select the appropriate partition from the list.  Then
> > continue.  At that point it presents a menu "Execute a shell in
> > /dev/...".  That is what you want.  That should get you a shell on
> > your system with everything needed mounted.
> >
> > Bob
> 
> Thanks.  In debian-installer rescue mode: I choose
> 
>  `Execute a shell in /dev/sda7',
> 
> and then:
> 
>  `After this message, you will be given a shell with /dfev/sda7 mounted on
>  "/"...'
> 
> I press enter, and it gets back to the previous: `Execute a shell in
> /dev/sda7'.  I press enter, and again to `After this message...' and so on and
> so on...

Never seen that behaviour. Is /dev/sda7 where you have your root file system?
Are you using the Wheezy installer?


-- 
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/20140806181228.gu19...@copernicus.demon.co.uk



Re: Threading using digest and kmail (was Re: Exim4 not routing local mail ... )

2014-08-06 Thread Paul E Condon
On 20140804_2358+0300, Andrei POPESCU wrote:
> On Du, 03 aug 14, 13:28:06, Bob Proulx wrote:
> > 
> > P.S. I still think digests are less desirable because I don't see a
> > way to view the discussion in a threaded view.  Threaded views have
> > been around for so long that I couldn't live without them.  Of course
> > Gmail and Outlook users don't have threaded views.  But I am sure that
> > if they did they wouldn't want to not have them either.
> 
> I'm not very familiar with Gmail's interface, but Outlook definitely 
> does have threaded views. Unfortunately by activating it you also have 
> to use reverse chronological sorting by the newest message in the 
> thread, which is very annoying for me.
> 
> Kind regards,
> Andrei

I think my main objection to gmail user interface is that spam is
built-in in the form of paid advertisements that blend into the visual
clutter. It is tasteless design, IMHO

-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
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/20140806182736.ga26...@big.lan.gnu



Re: need help on sound recording using bplay

2014-08-06 Thread Raffaele Morelli
2014-08-06 18:29 GMT+02:00 Curt :

> On 2014-08-06, Raffaele Morelli  wrote:
> >
> > d'oh!
> > "l" not "L"
> >
>
> Yes, but I see nothing helpful in that output either for setting the
> capture device for recording (mic, line-in, etc.):
>
> curty@einstein:~$ arecord -l
>  List of CAPTURE Hardware Devices 
> card 1: SB [HDA ATI SB], device 0: ALC662 rev1 Analog [ALC662 rev1
> Analog]
>   Subdevices: 1/1
> Subdevice #0: subdevice #0
>
> Anyhow.


​
this should work with both mic and line-in...

$ ​arecord -D hw:1,0 file.wav​


​You have only one card, ie no usb webcam or else, so in this case ​
-
​D option is really not needed​


Re: need help on sound recording using bplay

2014-08-06 Thread Long Wind
On 8/6/14, Raffaele Morelli  wrote:
> 2014-08-06 13:50 GMT+02:00 Long Wind :
>
>
>
> try with
> $ arecord ​
>
> ​filename.wav​
>
> should simply work
>
> /r
>

It doesn't work as you have hoped
I'm afraid the first two lines of arecord -L indicate sth. wrong:

 null
 Discard all samples (playback) or generate zero samples (capture)


--
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/CAB-gxZCoqUU�n_ktf7rj_qd-me1j+x51sspdbvpdq3gxu...@mail.gmail.com



Re: need help on sound recording using bplay

2014-08-06 Thread Long Wind
On 8/6/14, Curt  wrote:
> On 2014-08-06, Long Wind  wrote:
>> Thank you! I have installed alsa-utils, but still can't identify it
>> with your command
>> below is output by arecord -L
>>
>
> I only obtain a list of output devices with that command.
>
> To define a capture device I use alsamixer (F4).
>
>
>
>

alsamixer seems difficult to use
I press F4 and increase volume for capture
I still have no sucess with recording

I don't know how to "define a capture device" with alsamixer
Thanks anyway!


-- 
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/CAB-gxZB3jOyj4wMaOLv1iQN4EcTr_gBB8w9aG=vsezpzq0n...@mail.gmail.com



Re: need help on sound recording using bplay

2014-08-06 Thread Long Wind
On 8/6/14, B  wrote:
> On Wed, 6 Aug 2014 19:50:53 +0800
> Long Wind  wrote:
>
>> Thank you! I have installed alsa-utils, but still can't identify it
>> with your command
>
> Also install alsamixer(gui); may computers have 2 MIC inputs
> (or even 2 sound cards) and the first one is selected by
> default when the 2nd one is the right one.
>

alsamixergui isn't easy to use either.
Thanks anyway!


-- 
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/CAB-gxZB3B9_f46=STLW=3TapkR+bWk9weACjwNQkD92YNQ_=r...@mail.gmail.com



Re: End of hypocrisy ?

2014-08-06 Thread Andrei POPESCU
On Mi, 06 aug 14, 11:54:17, Slavko wrote:
> 
> Yes, you have rsyslog for storing logs in text files. Now you have two
> deamons for one thing. Nice, but where is the advantage?

rsyslog is only needed if you want text logs. You could remove it and 
configure journald to store its own (binary).

> I understand that sometime there is time to change, e.g. from text to
> binary files, it is OK. But to i (and perhaps others too) can accept
> this change, it must give something, what is useful for me.
> 
> Then what are advantages of the systemd? I see only disadvantages...

The advantage of journald is that it captures more information because 
it runs much earlier and also because it captures stdin (?!) and stderr 
of daemons. The data has more metadata and is also better structured and 
indexed (hence the need for binary storage).

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: Threading using digest and kmail (was Re: Exim4 not routing local mail ... )

2014-08-06 Thread Andrei POPESCU
On Ma, 05 aug 14, 13:01:48, Bob Proulx wrote:
> Andrei POPESCU wrote:
> > 
> > I'm not very familiar with Gmail's interface, but Outlook definitely 
> > does have threaded views.
> 
> As of the last time I used Outlook a couple of years ago Outlook did
> not have threads but had "conversations".  Outlook sorted by subject
> line.  Any message with the same subject was grouped together into a
> "conversation" whether it was related or not.  And similarly if you
> had a discussion thread and changed the subject then in Outlook that
> started a new "conversation".  Outlook "conversations" grouped by
> subject is a poor substitute for message threading.  Are you sure it
> is really threads and not conversations?

Yes, that's exactly what I meant and I prefer real threading anytime. 
There are two advantages of Outlook however:

 - the conversation view can show messages in any folder
 - search folders

I can recreate some of that with notmuch, but I would like to experiment 
with mutt-kz (RFP #698672) as I don't use emacs.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: System broken after full-upgrade: please help!

2014-08-06 Thread Rodolfo Medina
Brian  writes:

N> On Wed 06 Aug 2014 at 17:04:55 +, Rodolfo Medina wrote:
>
>> Bob Proulx  writes:
>> 
>> > Then eventually it will get to a menu "Enter rescue mode" that will
>> > ask what device to use as a root file system.  It will list the
>> > partitions that it has automatically detected.  (If you have raid or
>> > lvm then it will list options for those.  If not then just the simple
>> > disks.)  Select the appropriate partition from the list.  Then
>> > continue.  At that point it presents a menu "Execute a shell in
>> > /dev/...".  That is what you want.  That should get you a shell on
>> > your system with everything needed mounted.
>> >
>> > Bob
>> 
>> Thanks.  In debian-installer rescue mode: I choose
>> 
>>  `Execute a shell in /dev/sda7',
>> 
>> and then:
>> 
>>  `After this message, you will be given a shell with /dfev/sda7 mounted on
>>  "/"...'
>> 
>> I press enter, and it gets back to the previous: `Execute a shell in
>> /dev/sda7'.  I press enter, and again to `After this message...' and so on
>> and so on...
>
> Never seen that behaviour. Is /dev/sda7 where you have your root file system?
> Are you using the Wheezy installer?

Well, no, I'm using Lenny installer.

Rodolfo


-- 
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/87d2cdv0uc@gmail.com



Re: System broken after full-upgrade: please help!

2014-08-06 Thread Rodolfo Medina
Rodolfo Medina  writes:

> Brian  writes:
>
> N> On Wed 06 Aug 2014 at 17:04:55 +, Rodolfo Medina wrote:
>>
>>> Bob Proulx  writes:
>>> 
>>> > Then eventually it will get to a menu "Enter rescue mode" that will
>>> > ask what device to use as a root file system.  It will list the
>>> > partitions that it has automatically detected.  (If you have raid or
>>> > lvm then it will list options for those.  If not then just the simple
>>> > disks.)  Select the appropriate partition from the list.  Then
>>> > continue.  At that point it presents a menu "Execute a shell in
>>> > /dev/...".  That is what you want.  That should get you a shell on
>>> > your system with everything needed mounted.
>>> >
>>> > Bob
>>> 
>>> Thanks.  In debian-installer rescue mode: I choose
>>> 
>>>  `Execute a shell in /dev/sda7',
>>> 
>>> and then:
>>> 
>>>  `After this message, you will be given a shell with /dfev/sda7 mounted on
>>>  "/"...'
>>> 
>>> I press enter, and it gets back to the previous: `Execute a shell in
>>> /dev/sda7'.  I press enter, and again to `After this message...' and so on
>>> and so on...
>>
>> Never seen that behaviour. Is /dev/sda7 where you have your root file
>> system?  Are you using the Wheezy installer?
>
> Well, no, I'm using Lenny installer.
>
> Rodolfo

...In fact, if I ask it to execute shell in another partition, where I have
Lenny, it works.  What do you suggest?

Rodolfo


-- 
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/87wqaltm4v@gmail.com



basic fstab .. pilot idiocy??

2014-08-06 Thread Harry Putnam
Trying to do a simple edit to fstab but keep failing.

I want to mount a device in such a way that it ends up with uid and
gid of my choice.  But when I attempt to add those options  (or any
others it seems) the mount fails with this error:

 # mount /home/harry/.junk
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

I see nothing helpful in /var/log/messages.

Both man mount and googling for examples... seem to show the same
sort of thing I am trying.

The fstab line:

  /dev/sdd1   /home/harry/misc   ext4   user,uid=1000,gid=1050   00 

I've tried several different rendition but far as I can tell the line
above should work.

I'm probably making some terribly obvious error but failing to see
what it is.


-- 
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/878un1cr32@reader.local.lan



Re: basic fstab .. pilot idiocy??

2014-08-06 Thread Gary Dale

On 06/08/14 04:15 PM, Harry Putnam wrote:

Trying to do a simple edit to fstab but keep failing.

I want to mount a device in such a way that it ends up with uid and
gid of my choice.  But when I attempt to add those options  (or any
others it seems) the mount fails with this error:

  # mount /home/harry/.junk
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so

I see nothing helpful in /var/log/messages.

Both man mount and googling for examples... seem to show the same
sort of thing I am trying.

The fstab line:

   /dev/sdd1   /home/harry/misc   ext4   user,uid=1000,gid=1050   00

I've tried several different rendition but far as I can tell the line
above should work.

I'm probably making some terribly obvious error but failing to see
what it is.


The error message is telling you that the system can't identify the file 
system on /dev/sdd1. This may have nothing to do with the uid.


Try mounting it as root with something like:
  mount -t ext4 /dev/sdd1 /home/harry/misc

If that works then add parameters like -o uid=1000. If it doesn't work 
then you may have the wrong /dev or there may be another problem.


Get it working from the command line first.



--
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/53e28eb7.3040...@torfree.net



Re: basic fstab .. pilot idiocy??

2014-08-06 Thread Bzzzz
On Wed, 06 Aug 2014 16:15:29 -0400
Harry Putnam  wrote:

>   /dev/sdd1   /home/harry/misc   ext4   user,uid=1000,gid=1050
> 00 

I don't see no uid/gid options in man mount ext4 section…

-- 
Sapache : french justice works as good as windows 98


signature.asc
Description: PGP signature


Re: need help on sound recording using bplay

2014-08-06 Thread Curt
On 2014-08-06, Long Wind  wrote:
>
> alsamixer seems difficult to use
> I press F4 and increase volume for capture
> I still have no sucess with recording

> I don't know how to "define a capture device" with alsamixer
> Thanks anyway!
>

http://alsa.opensrc.org/Record_from_mic

Something like the above, except you'll be recording from "line" instead
"mic".

Of course, we can't see what you're seeing when you open alsamixer and
press F4 (depends on the card).

On my machine, there's toggling with the space bar and also with the arrow
keys ("mic" to "line").

Good luck.




-- 
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/slrnlu53nv.22q.cu...@einstein.electron.org



Re: End of hypocrisy ?

2014-08-06 Thread Tom H
On Wed, Aug 6, 2014 at 5:54 AM, Slavko  wrote:
> Dňa Tue, 5 Aug 2014 16:33:23 -0400 Tom H  napísal:
>> On Tue, Aug 5, 2014 at 9:50 AM, Slavko  wrote:
>>> Dňa Tue, 5 Aug 2014 08:58:47 -0400 Tom H 
>>> napísal:


 If tomh-init is faster than htom-init, whether there's just ssh
 running or 100 daemons running, I want to use tomh-init.

 I can understand that there are people who don't want to adopt
 systemd simply because it boots faster because they dislike some
 other aspect(s) of systemd, but attacking systemd because it boots
 faster is silly.
>>>
>>> I know, that you are not responding to me, but i have one note:
>>>
>>> The boot speed is often used as argument for the systemd. But no all
>>> users are interested on boot time, then there are reaction as this
>>> (and as my). IMO, there aren't a lot information about other
>>> aspects of systemd and then people (include me) don't know about
>>> them.
>>>
>>> Until will be boot time again and again used as argument, then here
>>> will be responses as these.
>>>
>>> To be precise, i often read about these things: monolitic, binary
>>> files and boot speed. I don't like first two and i am not
>>> interested in latest.
>>
>> I thought that I'd answered you.
>>
>> I'm objecting to this line of reasoning: I'm not interested in boot
>> speed therefore I'm not interested in systemd.
>>
>> Since you're not interested in boot speed, you shouldn't care that
>> boot's faster with systemd! You don't have to dislike everything that
>> systemd claims that it provides.
>>
>> But if you want to say "boot speed isn't enough of an argument for me
>> to like/use systemd", fine.
>
> Yes, that is what i mean, thanks for help - writing my thinks in
> English is sometime terrible for me.

You're welcome. I'm glad that we cleared this up.


> Yes, you have rsyslog for storing logs in text files. Now you have two
> deamons for one thing. Nice, but where is the advantage?
>
> I understand that sometime there is time to change, e.g. from text to
> binary files, it is OK. But to i (and perhaps others too) can accept
> this change, it must give something, what is useful for me.

Imagine if the systemd maintainers proposed to replace rsyslog with
journald. I'd unsubscribe for a month or two in order to let the
outrage die down. :)

At my $day_job, as part of our future RHEL 7 rollout, we're looking
into using journald for local logs and configuring rsyslog to send our
logs to a dedicated syslog server without storing any of the usual
"/var/log/" files locally.

This is from an email by Lennart:

/var/log/messages is *very* badly designed:

  The timestamps do not contain a year
  The timestamps do not contain a timezone
  The timestamps are accurate to the second only
  PID information is optional, not implied
  PID information is fakeable, because user supplied
  The file "tag" part is completely optional, free-form, and fakeable
by unpriveed clients
  The files do not carry any information about the log priority
  The files do not carry any information about who is logging
(service, process name, argv, binary path..)
  The files do not carry any information about the credentials of who
is logging (uid, gid, selinux context, audit, ...)

And so on and so on.

It's so bad, that rsyslog upstream even suggests not to use these files
anymore, but write them in a more modern formatting that leaves a bit
more information in (such as iso timestamps). But you know what? If you
do that than all your compatibility is gone too.

The interesting things is that "journalctl" is *better* at generating
the same text stream that is normally contained in /var/log/messages
than /var/log/messages itself is. "journalctl" can stuff more
information into it then /var/log/messages. And how does that happen?
Because we have more data around. We can agument the ouput with colors
(indicating priorities), we can add additional informational separator
lines (indicating reboots), we can add add in fields that aren't there
(such as the tag from the comm field, or the PID). We can timezone
correct the timestamps (because we have UTC times). And we can filter by
any of the fields, securely.

So, yeah, /var/log/messages sucks, and journalctl is better at
generating a compatible output that that file ever was in itself.

I didn't save the URL :(

And another:

> So maybe we (Fedora) should go with XML instead of binary or some
> dedicated RDMBS for storing system logs? I'm not against binary log
> format but try to understand why it's superior to text and also why
> something more sophisticated isn't used if we really need this
> additional meta data that could not be included in plain text?

XML and text files are not sanely indexable.

Real database are large packages that we cannot pull into minimal systems.

Beyond that, and that's most important: the specific requirements are
different from what those systems provide. We want something minimal,
C-based, that can work without any service

Re: End of hypocrisy ?

2014-08-06 Thread AW
On Wed, 6 Aug 2014 22:15:08 +0300
Andrei POPESCU  wrote:

 > The advantage of journald is that it captures more information because 
 > it runs much earlier and also because it captures stdin (?!) and stderr 
 > of daemons. The data has more metadata and is also better structured and 
 > indexed (hence the need for binary storage).

I've seen this... However, I would prefer to take it several steps farther, and
store the log data in a database; postgresql, of course, is there any
other?  ... Think of this powerful use case:  given a server farm of 1000 or so
hosts.  Each server has a write only ssl connection to an external postgresql
database for log purposes.  Of course copies of the logs can be kept locally,
but think of the security increase of not storing apache, mail, or even auth
logs locally.  And think of the standardization that would come almost by
default.  With a few well chosen queries, and a little R magic, the entire 1000
host server farm could be evaluated quickly in a report style that even
management might understand...

/sarc Perhaps this functionality is already built into systemd...  and we'd
never know until we look through the header files in the source code, and
discover that - Yes! - journalctl REMOTE_LOGGING=2.5  means activate the secure
remote pgsql capability... /sarc

--Andrew


-- 
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/20140806162620.5ec7f9a56cfaf26f4c30f...@1024bits.com



Re: End of hypocrisy ?

2014-08-06 Thread AW
On Wed, 6 Aug 2014 16:25:21 -0400
Tom H  wrote:

 > So, yeah, /var/log/messages sucks, and journalctl is better at
 > generating a compatible output that that file ever was in itself.

I definitely agree.

--Andrew


-- 
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/20140806162719.f58fb0d671418b3495a7d...@1024bits.com



Re: System broken after full-upgrade: please help!

2014-08-06 Thread Brian
On Wed 06 Aug 2014 at 20:10:24 +, Rodolfo Medina wrote:

> Rodolfo Medina  writes:
> 
> > Brian  writes:
> >
> >> Never seen that behaviour. Is /dev/sda7 where you have your root file
> >> system?  Are you using the Wheezy installer?
> >
> > Well, no, I'm using Lenny installer.
> >
> > Rodolfo
> 
> ...In fact, if I ask it to execute shell in another partition, where I have
> Lenny, it works.  What do you suggest?

I'd suggest using the Wheezy installer. Not because I know it works for
you but because it is the best we have without moving on to one of the
testing images. Don't forget Dary dale's suggestion, which does not
depend on d-i.


-- 
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/20140806202753.gv19...@copernicus.demon.co.uk



Re: End of hypocrisy, beginning of reason

2014-08-06 Thread Doug


On 08/06/2014 09:05 AM, Steve Litt wrote:

On Tue, 5 Aug 2014 16:51:03 -0400
Tom H  wrote:


On Tue, Aug 5, 2014 at 3:44 PM, Steve Litt
 wrote:

LOL, perhaps I'll boot to bin/bash, and then run a script to do
everything else. Oh wait, I can't do that: I hear PAM now depends on
systemd, for what reason I haven't a clue.

Maybe you should look into adapting the Android Init Language :)

Screw that! I'm buying an old Kaypro 2x on Ebay, and using CPM for the
rest of my life!

:-)

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance



Good luck finding floppies!

--doug


--
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/53e29271.80...@optonline.net



Re: End of hypocrisy, beginning of reason

2014-08-06 Thread Ric Moore

On 08/06/2014 09:05 AM, Steve Litt wrote:


Screw that! I'm buying an old Kaypro 2x on Ebay, and using CPM for the
rest of my life!


I have fond memories of my old Kaypro, the Televideos ( had them all, 
including the portable and the server), IMSAI and Altos computers and 
CP/M. And even MP/M. I think Linux is what a 64 bit MP/M would be. :) Ric




--
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/53e29294.4040...@gmail.com



Re: System broken after full-upgrade: please help!

2014-08-06 Thread Michael Kjörling
On 6 Aug 2014 20:10 +, from rodolfo.med...@gmail.com (Rodolfo Medina):
  `After this message, you will be given a shell with /dfev/sda7 mounted on
  "/"...'
 
 I press enter, and it gets back to the previous: `Execute a shell in
 /dev/sda7'.  I press enter, and again to `After this message...' and so on
 and so on...
>>> 
>>> Never seen that behaviour. Is /dev/sda7 where you have your root file
>>> system?  Are you using the Wheezy installer?
>> 
>> Well, no, I'm using Lenny installer.
> 
> ...In fact, if I ask it to execute shell in another partition, where I have
> Lenny, it works.  What do you suggest?

Is the boot CD and the installed system the same architecture? A
difference in architecture could conceivably cause the behavior you
are reporting. Library differences _might_, but really shouldn't, as
all libraries should be loaded off the root file system.

If you go as far as to that prompt, then switch to a different virtual
terminal (Alt+F[2..6], Alt+F1 to switch back) and then manually do
"chroot /mnt bash" (assuming the rescue mode installer mounts the root
partition at /mnt; use "df", "mount" or friends to confirm), does that
provide any useful diagnostic messages that might indicate the nature
of the problem?

And like someone said earlier, Sid is the unstable child (that breaks
toys). If you don't feel comfortable putting them back together every
now and then, consider migrating at least to testing, and possibly
even stable.

-- 
Michael Kjörling • https://michael.kjorling.se • mich...@kjorling.se
OpenPGP B501AC6429EF4514 https://michael.kjorling.se/public-keys/pgp
 “People who think they know everything really annoy
 those of us who know we don’t.” (Bjarne Stroustrup)


-- 
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/20140806204715.gq17...@yeono.kjorling.se



Re: basic fstab .. pilot idiocy??

2014-08-06 Thread Michael Kjörling
On 6 Aug 2014 16:15 -0400, from rea...@newsguy.com (Harry Putnam):
>  # mount /home/harry/.junk
> mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
>missing codepage or helper program, or other error
>In some cases useful info is found in syslog - try
>dmesg | tail  or so

> The fstab line:
> 
>   /dev/sdd1   /home/harry/misc   ext4   user,uid=1000,gid=1050   00 

The combination doesn't make sense to me.

How does the system know that /home/harry/misc == /home/harry/.junk?
Is there some connection between the two that I miss?

And yes, get it working from the command line first, then worry about
/etc/fstab.

-- 
Michael Kjörling • https://michael.kjorling.se • mich...@kjorling.se
OpenPGP B501AC6429EF4514 https://michael.kjorling.se/public-keys/pgp
 “People who think they know everything really annoy
 those of us who know we don’t.” (Bjarne Stroustrup)


-- 
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/20140806204956.gr17...@yeono.kjorling.se



Re: Wheezy GRUB problem

2014-08-06 Thread Artifex Maximus
On Tue, Aug 5, 2014 at 4:14 PM, Gary Dale  wrote:

> On 05/08/14 03:36 AM, Artifex Maximus wrote:
>
>> Hello!
>>
>> I have a Wheezy system shared with MS XP. GRUB is not in MBR but in
>> Debian partition installed. Not recommended I know but basically works.
>> Until last upgrade when my GRUB loader only writes GRUB then halts. Or at
>> least not continue loading. No errors just stops. I have tried latest
>> (7.6.0) Debian install disc Recovery function to reinstall grub with
>> grub-install /dev/sda2 without success. Still just a GRUB line on screen
>> when Debian partition is active. When I switch active partition back to XP
>> it runs. I am able to mount sda2 from Debian installer and there is no fsck
>> error.
>>
>> So my MBR is good and there is some error in sda2 partition loader which
>> I cannot recover with grub-install. Any idea where to go then?
>>
>> Bye,
>> a
>>
> Why not try installing grub in the MBR? It usually can boot both Windows
> XP and Linux without problems. If you were using a version of Windows that
> required UEFI then you night have a problem, but not with XP.
>

Thanks for your answer. I would like to keep my current configuration
because it is more flexible I think. For example I just had to change boot
partition to XP for a successful boot which is a very simple process.

I've found supergrubdisk project and I will give it a try. I hope that
works.

As a last resort I would like to know how to convert my loader from VBR
GRUB to MBR GRUB?

Bye,
a


Re: End of hypocrisy ?

2014-08-06 Thread Ric Moore

On 08/06/2014 09:03 AM, Steve Litt wrote:

On Tue, 05 Aug 2014 23:43:09 +0300
David Baron  wrote:


An amazing amount of discussion here.

Need to make a decision: Upgrade the systemd and udev version to
208-6 or sit on the 204-14. This is working fine it seems, and bugs
against the 208 are piling up. Nothing however that blares: your
system is now unbootable, but that is what I fear.

Somehow, on the old system (I had on the previous 32-bit Sid), I
never had such fears when upgrading such packages. BTW, before
scrapping that installation due to a bad HD, I installed the ||
dependency to keep the old init because I did not know anything about
the changeover. Seems I got it with the new 64bit installation,
wheezy upgraded to Sid.


What I always do when I'm worried about a new version, which I always
am, is to install it on an experimental machine first. Put it on a
dumpster king you've had since 2006, and see what it does.

Because really, everything bad I said about systemd was a philosophical
thing: I have no idea how well it does or doesn't run your computer
under normal circumstances.


I did a fresh install of Jessie. Nary a problem since. The only dot 
directories I carried over were ./mozilla and ./thunderbird. Since 
Jessie is a quantum leap from Wheezy I would leave the rest of the dot 
files and directories creations to the Big Brains, who know better than 
the average knuckle-dragging user, like me. Ric



--
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/53e298fb.3010...@gmail.com



Re: Retaining Older Kernels After Image Update

2014-08-06 Thread Kenneth Jacker
  ph> Don't confuse installing a new kernel (3.2 and 3.12 are different
  ph> kernels, different packages names) and upgrading an installed
  ph> kernel with a new release (same version, same package name,
  ph> different package release versions). Upgrading an installed kernel
  ph> package replaces it, as with any other package. Installing a new
  ph> kernel does not.

I think the above comments by Pascal most succinctly clarifies my
confusion ... pointing out the difference between "installing" and
"upgrading".

Next time I'll pay more attention to what is being presented by the
"package manager"!

Still a little uneasy about having no "backup kernel".  But, I do have a
CD with "Recovery Is Possible"/RIP [1] on it that I can use if something
"terrible" happens.  ;-)

Though I am only replying to Pascal's letter, I definitely want to thank
not just Pascal, but *all* who contributed to this thread.

Thanks,

  -Kenneth

[1]  http://www.tux.org/pub/people/kent-robotti/looplinux/rip/


-- 
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/87fvh9e2vl@be.cs.appstate.edu



Re: End of hypocrisy ?

2014-08-06 Thread Tom H
On Wed, Aug 6, 2014 at 4:27 PM, AW  wrote:
> On Wed, 6 Aug 2014 16:25:21 -0400
> Tom H  wrote:
>>
>> So, yeah, /var/log/messages sucks, and journalctl is better at
>> generating a compatible output that that file ever was in itself.
>
> I definitely agree.

FTR, it was a quote.


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



[OT] Floppies [was: Re: End of hypocrisy, beginning of reason]

2014-08-06 Thread Miles Fidelman

Doug wrote:


On 08/06/2014 09:05 AM, Steve Litt wrote:

On Tue, 5 Aug 2014 16:51:03 -0400
Tom H  wrote:


On Tue, Aug 5, 2014 at 3:44 PM, Steve Litt
 wrote:

LOL, perhaps I'll boot to bin/bash, and then run a script to do
everything else. Oh wait, I can't do that: I hear PAM now depends on
systemd, for what reason I haven't a clue.

Maybe you should look into adapting the Android Init Language :)

Screw that! I'm buying an old Kaypro 2x on Ebay, and using CPM for the
rest of my life!

:-)

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance



Good luck finding floppies!



Turns out that is a big problem in maintaining the first generation of 
electronic voting machines.  Just saw an article about how they use the 
BIG floppies.


Miles Fidelman


--
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/53e2a4ca.1080...@meetinghouse.net



Re: need help on sound recording using bplay

2014-08-06 Thread Long Wind
I can record a/v on an old SUSE distro
according to producer, some devices look like these:

RealProducer(R) Plus 11.1 Build number: 11.1.0.2648

VIDEO

Device 00: BT848A video ( *** UNKNOWN/GENE /dev/video0
Port 00: Television
Port 01: Composite1
Port 02: S-Video
Port 03: Composite3

AUDIO

Device 00: Cirrus Logic CS4299 rev 4 /dev/dsp0
Port 00: vol
Port 01: line
Port 02: mic
Port 03: cd
Port 04: line1
Port 05: phin
Port 06: phout
Port 07: video

but it use real media format, I want wav format (then to mp3)
I run arecord -L, the output is for programmers, not for an average
end user, I think
I have no success on SUSE either, Linux is hard to use sometime
below is output by arecord -L on SUSE:

PCM list:
hw {
@args.0 CARD
@args.1 DEV
@args.2 SUBDEV
@args.CARD {
type string
default {
@func getenv
vars {
0 ALSA_PCM_CARD
1 ALSA_CARD
}
default {
@func refer
name 'defaults.pcm.card'
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars {
0 ALSA_PCM_DEVICE
}
default {
@func refer
name 'defaults.pcm.device'
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name 'defaults.pcm.subdevice'
}
}
type hw
card $CARD
device $DEV
subdevice $SUBDEV
}
plughw {
@args.0 CARD
@args.1 DEV
@args.2 SUBDEV
@args.CARD {
type string
default {
@func getenv
vars {
0 ALSA_PCM_CARD
1 ALSA_CARD
}
default {
@func refer
name 'defaults.pcm.card'
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars {
0 ALSA_PCM_DEVICE
}
default {
@func refer
name 'defaults.pcm.device'
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name 'defaults.pcm.subdevice'
}
}
type plug
slave.pcm {
type hw
card $CARD
device $DEV
subdevice $SUBDEV
}
}
plug {
@args.0 SLAVE
@args.SLAVE {
type string
}
type plug
slave.pcm $SLAVE
}
dmix {
@args.0 SLAVE
@args.1 FORMAT
@args.2 RATE
@args.SLAVE {
type string
default 'hw:0,0'
}
@args.FORMAT {
type string
default S16_LE
}
@args.RATE {
type integer
default 48000
}
type dmix
ipc_key 5678293
ipc_key_add_uid yes
slave {
pcm $SLAVE
format $FORMAT
rate $RATE
}
}
dsnoop {
@args.0 SLAVE
@args.1 FORMAT
@args.2 RATE
@args.SLAVE {
type string
default 'hw:0,0'
}
@args.FORMAT {
type string
default S16_LE
}
@args.RATE {
type integer
default 48000
}
type dsnoop
ipc_key 5778293
ipc_key_add_uid yes
slave {
pcm $SLAVE
format $FORMAT
rate $RATE
}
}
shm {
@args.0 SOCKET
@args.1 PCM
@args.SOCKET {
type string
}
@args.PCM {
type string
}
type shm
server $SOCKET
pcm $PCM
}
tee {
@args.0 SLAVE
@args.1 FILE
@args.2 FORMAT
@args.SLAVE {
type string
}
@args.FILE {
type string
}
@args.FORMAT {
type string
default raw
}
type file
sl

Re: need help on sound recording using bplay

2014-08-06 Thread Long Wind
On 8/7/14, Curt  wrote:
>>
>
> http://alsa.opensrc.org/Record_from_mic
>
> Something like the above, except you'll be recording from "line" instead
> "mic".
>
> Of course, we can't see what you're seeing when you open alsamixer and
> press F4 (depends on the card).
>
> On my machine, there's toggling with the space bar and also with the arrow
> keys ("mic" to "line").
>
> Good luck.
>
>

I have no luck
I'm not sure it'll be done if I get thru all "trouble" you mention
The URL you list mentions a lot of things I need to worry about

http://alsa.opensrc.org/Record_from_mic

I might try sth. else
(I mean openbsd when I have time/energy in the future)

Thanks anyway!!!


-- 
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/CAB-gxZBZXTPguGUAZpcEpyBhaDyZw5w4gNn67UGPkbjFAr=f...@mail.gmail.com



Re: need help on sound recording using bplay

2014-08-06 Thread Rusi Mody
On Thursday, August 7, 2014 3:40:02 AM UTC+5:30, Long Wind wrote:
> I run arecord -L, the output is for programmers, not for an average
> end user, I think
> I have no success on SUSE either, Linux is hard to use sometime
> below is output by arecord -L on SUSE:



If you are a 'average end user' why not use something like audacity?


-- 
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/d8d0278a-c5bb-4cfb-b3bb-2d92df357...@googlegroups.com



contact your bank immediately

2014-08-06 Thread United Nation
pleas view the attached letter and contact him immediately for your cheque/ 
bank draft

Congratulations, and I look forward to hear from you as soon as you confirm 
your payment making the world a better place.

Regards,
Secretary-General Ban Ki-Moon

Your Bank Draft.rtf
Description: Binary data


Re: [OT] Floppies [was: Re: End of hypocrisy, beginning of reason]

2014-08-06 Thread Bob Proulx
Miles Fidelman wrote:
> Doug wrote:
> >Steve Litt wrote:
> > > Screw that! I'm buying an old Kaypro 2x on Ebay, and using CPM for the
> > > rest of my life!
> > > :-)
> >
> >Good luck finding floppies!
> 
> Turns out that is a big problem in maintaining the first generation of
> electronic voting machines.  Just saw an article about how they use the BIG
> floppies.

Since this is already marked OT I feel okay posting this drift:

  Minutes shocked to find 8-inch floppies drive nuclear deterrent
  
http://arstechnica.com/information-technology/2014/04/60-minutes-shocked-to-find-8-inch-floppies-drive-nuclear-deterrent/

Meanwhile I am hoping they are smart enough not to update the
hardware.  That older hardware can't be connect to Internet and can't
be hacked, cracked, or catch viruses as currently implemented.  Old
dedicated hardware like that is safer that way.

Bob

P.S. I still have at least one 8-inch floppy disk.  It contains a
bunch of my old assembly language programs.  No drive to read it now
though. :-)


signature.asc
Description: Digital signature


Re: End of hypocrisy ?

2014-08-06 Thread Joel Rees
On Thu, Aug 7, 2014 at 5:26 AM, AW  wrote:
> On Wed, 6 Aug 2014 22:15:08 +0300
> Andrei POPESCU  wrote:
>
>  > The advantage of journald is that it captures more information because
>  > it runs much earlier and also because it captures stdin (?!) and stderr
>  > of daemons. The data has more metadata and is also better structured and
>  > indexed (hence the need for binary storage).
>
> I've seen this... However, I would prefer to take it several steps farther, 
> and
> store the log data in a database; postgresql, of course, is there any
> other?

I'm trying to pick my jaw back up off the floor.

Although, in my way of thinking, it makes as much sense as most of systemd.

(Do I hear a whoosh? I could imagine I'm hearing a whoosh.)

> ... Think of this powerful use case:  given a server farm of 1000 or so
> hosts.  Each server has a write only ssl connection to an external postgresql
> database for log purposes.  Of course copies of the logs can be kept locally,
> but think of the security increase of not storing apache, mail, or even auth
> logs locally.  And think of the standardization that would come almost by
> default.  With a few well chosen queries, and a little R magic, the entire 
> 1000
> host server farm could be evaluated quickly in a report style that even
> management might understand...
>
> /sarc Perhaps this functionality is already built into systemd...  and we'd
> never know until we look through the header files in the source code, and
> discover that - Yes! - journalctl REMOTE_LOGGING=2.5  means activate the 
> secure
> remote pgsql capability... /sarc

Whew.

-- 
Joel Rees

Be careful where you see conspiracy.
Look first in your own heart.


-- 
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/CAAr43iOHPh4EdSymLLN8R8Rzrn9Zj-RSVw=hfmh-tz9ehmt...@mail.gmail.com



Re: How to fix intermittently disappearing mouse pointer ?

2014-08-06 Thread Joel Rees
On Wed, Aug 6, 2014 at 10:41 PM, Steve Litt  wrote:
> [...]
> It's not intermittent anymore. I can reproduce it at will. I can log
> out and rerun X, and do almost anything, including change screen
> resolution, and this symptom will not appear until I run claws-mail and
> cursor over a message in the message list. Once I do that, the symptom
> appears on [most|all] GUI programs, until I leave X and return.
> Interestingly, I can run Claws-Mail and cursor over buttons with
> popups, and the symptom doesn't appear until I've cursored over a
> message in the message list.
>
> [...]
> Joel Rees, if you're using Claws-Mail, you should view it as a suspect.

I use Sylpheed for some things, Google's webmail for the list. (Lazy, yes.)

But I think the real bug is not in Claws, although hand-installing the
latest version of Claws may help. Be interested in what you hear from
them.

X11 should limit the amount of damage an application can do to the
pointer, and that's what I was focusing on.

-- 
Joel Rees

Be careful where you see conspiracy.
Look first in your own heart.


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



Re: wicd difficulties joining some unsecured wireless networks

2014-08-06 Thread Joel Roth
On Tue, Aug 05, 2014 at 04:54:42PM -1000, Joel Roth wrote:
> Hi all,
> 
> In some airports, and today at a university
> I've failed to join "unsecured" networks.
> 
> I've been using wicd-gtk.
> 
> The failure takes the form of a time-out during the get IP
> address stage.

Today I found, that if I went back to wpa_gui, I could
associate with the access point and then use dhclient to get
an IP address. I'm mystified that wicd doesn't get that
right, and a little disappointed that it is not a silver
bullet for my wifi connection. 

Greetings,

Joel
 
> I had a look at /var/log/wicd/wicd.log.
> 
> 2014/08/05 09:51:29 :: Connecting to wireless network Foo-University
> 2014/08/05 09:51:30 :: Putting interface down
> 2014/08/05 09:51:30 :: Releasing DHCP leases...
> 2014/08/05 09:51:30 :: Setting false IP...
> 2014/08/05 09:51:30 :: Stopping wpa_supplicant
> 2014/08/05 09:51:30 :: Flushing the routing table...
> 2014/08/05 09:51:30 :: Putting interface up...
> 2014/08/05 09:51:32 :: Running DHCP with hostname sprite
> 2014/08/05 09:51:32 :: dhcpcd[4463]: version 6.0.5 starting
> 2014/08/05 09:51:32 ::
> 2014/08/05 09:51:32 :: dhcpcd[4466]: wlan1: starting wpa_supplicant
> 2014/08/05 09:51:32 ::
> 2014/08/05 09:51:33 :: dhcpcd[4463]: wlan1: waiting for carrier
> 2014/08/05 09:51:33 ::
> 2014/08/05 09:52:03 :: dhcpcd[4463]: timed out
> 2014/08/05 09:52:03 ::
> 2014/08/05 09:52:03 :: DHCP connection failed
> 2014/08/05 09:52:03 :: exiting connection thread
> 2014/08/05 09:52:03 :: Sending connection attempt result dhcp_failed
> 
> I believe these networks expect some user interaction.
> For example, for the Foo-University network, I was told
> to use my email address as the password. However, using
> wicd, there is no opportunity to even enter a password.
> 
> At Phoenix airport, I heard an announcement that I could
> use internet via Boingo hotspot. 
> 
> The wicd-gtk listing showed the network as "unsecured".
> I expected to get an IP address, then, in the browser, 
> a page asking for money before I can continue. I didn't
> get this, just the failure to get an IP address.
> 
> The wicd.log file shows the same pattern as above.
> 
> I'd appreciate any hints!!
> 
> Kind regards,
> 
> Joel
> 
> 
> 
> 
> -- 
> Joel Roth
>   
> 
> 
> -- 
> 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/20140806025441.GA1546@sprite
> 

-- 
Joel Roth
  


-- 
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/20140806162641.GA2056@sprite



Re: basic fstab .. pilot idiocy??

2014-08-06 Thread Jimmy Johnson

Jimmy Johnson wrote:

Harry Putnam wrote:

Trying to do a simple edit to fstab but keep failing.

I want to mount a device in such a way that it ends up with uid and
gid of my choice.  But when I attempt to add those options  (or any
others it seems) the mount fails with this error:

 # mount /home/harry/.junk
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

I see nothing helpful in /var/log/messages.

Both man mount and googling for examples... seem to show the same
sort of thing I am trying.

The fstab line:

  /dev/sdd1   /home/harry/misc   ext4   user,uid=1000,gid=1050   00
I've tried several different rendition but far as I can tell the line
above should work.

I'm probably making some terribly obvious error but failing to see
what it is.



I'm guessing you have a folder named "misc" in /home/harry/ ?

This is what I would use, make it noauto:
'/dev/sdd1 /home/harry/misc ext4 auto,users,exec,relatime 0 0'
--
Jimmy Johnson

Debian-Live - Wheezy - KDE 4.8.4 - AMD64 - EXT4 at sda1
Registered Linux User #380263


--
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/53e2f982.7040...@gmail.com



Re: End of hypocrisy ?

2014-08-06 Thread Steve Litt
On Wed, 6 Aug 2014 16:26:20 -0400
AW  wrote:

> On Wed, 6 Aug 2014 22:15:08 +0300
> Andrei POPESCU  wrote:
> 
>  > The advantage of journald is that it captures more information
>  > because it runs much earlier and also because it captures stdin
>  > (?!) and stderr of daemons. The data has more metadata and is also
>  > better structured and indexed (hence the need for binary storage).
> 
> I've seen this... However, I would prefer to take it several steps
> farther, and store the log data in a database; postgresql, of course,
> is there any other?  ... Think of this powerful use case:  given a
> server farm of 1000 or so hosts.  Each server has a write only ssl
> connection to an external postgresql database for log purposes.  Of
> course copies of the logs can be kept locally, but think of the
> security increase of not storing apache, mail, or even auth logs
> locally.  And think of the standardization that would come almost by
> default.  With a few well chosen queries, and a little R magic, the
> entire 1000 host server farm could be evaluated quickly in a report
> style that even management might understand...
> 
> /sarc Perhaps this functionality is already built into systemd...
> and we'd never know until we look through the header files in the
> source code, and discover that - Yes! - journalctl
> REMOTE_LOGGING=2.5  means activate the secure remote pgsql
> capability... /sarc

I think you're on the right track Andrew. What we need is to make all
log files Software As A Service, with Web 2.0, so we can not only query
postgres for our server logs, but we can do it from any place in the
world. I suggest a Google-hosted service, because Google can supply the
search capabilities necessary so we can compare and contrast our
servers against those of others, and friend those with similar setups.

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
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/20140807003816.37211...@mydesq2.domain.cxm



Re: How to fix intermittently disappearing mouse pointer ?

2014-08-06 Thread Steve Litt
On Thu, 7 Aug 2014 11:22:57 +0900
Joel Rees  wrote:

> On Wed, Aug 6, 2014 at 10:41 PM, Steve Litt
>  wrote:
> > [...]
> > It's not intermittent anymore. I can reproduce it at will. I can log
> > out and rerun X, and do almost anything, including change screen
> > resolution, and this symptom will not appear until I run claws-mail
> > and cursor over a message in the message list. Once I do that, the
> > symptom appears on [most|all] GUI programs, until I leave X and
> > return. Interestingly, I can run Claws-Mail and cursor over buttons
> > with popups, and the symptom doesn't appear until I've cursored
> > over a message in the message list.
> >
> > [...]
> > Joel Rees, if you're using Claws-Mail, you should view it as a
> > suspect.
> 
> I use Sylpheed for some things, Google's webmail for the list. (Lazy,
> yes.)

Joel, if this fits in with the way you do business, do me this favor:
Log out of and restart X, and for a day or two never use Sylpheed, and
see if you still get the disappearing mouse cursor.

> 
> But I think the real bug is not in Claws, although hand-installing the
> latest version of Claws may help. Be interested in what you hear from
> them.
> 
> X11 should limit the amount of damage an application can do to the
> pointer, and that's what I was focusing on.
> 

As true as that is, once we have a dead bang 100% effective
reproduction sequence, I can go to the X guys and tell them "run this
program and watch that happen", and they can't call me a crank or close
it with "couldn't reproduce symptom". This is why I want to see if it's
Sylpheed that's doing it to you.

Thahnks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


-- 
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/20140807004113.33a29...@mydesq2.domain.cxm



Re: ip6tables: unexpected behaviour ?

2014-08-06 Thread Jerome BENOIT
Hello list,

On 24/07/14 22:17, Jochen Spieker wrote:
> Jerome BENOIT:
>>
>> On 24/07/14 21:48, Erwan David wrote:
>>> Le 24/07/2014 21:43, Jerome BENOIT a écrit :
 Hello List,

 I am building an IPv6 firewall: I get the message

 ip6tables v1.4.14: host/network `172.20.0.1' not found


 Is it expected ?


>>> It seems quite natural to me that ip6tables does not knows how to treat
>>> an IPv4 address.
>>
>> Not to me, because I assume that IPv6 encapsulates somehow IPv4:
>> do I miss something ?
> 
> http://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses


It appears that there is an utility to manipulate them: ipv6calc

https://packages.debian.org/jessie/ipv6calc


hth,
Jerome

> 
> J.
> 


-- 
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/53e30e87.7070...@rezozer.net



Re: need help on sound recording using bplay

2014-08-06 Thread Long Wind
On 8/7/14, Rusi Mody  wrote:
>
> If you are a 'average end user' why not use something like audacity?
>
>
> --

Someone has suggested aplay, I install it and it doesn't help
Now you suggest audacity, I'm really tired
Thanks anyway!

I'm signing off the list
Pls reply to longwind2...@gmail.com


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