Re: Alsa sound errors

2013-06-06 Thread Raffaele Morelli
2013/6/6 Marc Shapiro 

>
>>  So, do I create the file and add the line:
>
> ipc_gid_audio
>
> or
>
> ipc_gid_audio TRUE
>
> or
>
> something else?


I guess you are running pulseaudio so you can fix your error at global
level or per user level.

Per user level:
- copy /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf.example in
each user dir
- rename it to .asoundrc
- add this line 'ipc_key_add_uid yes'  after the lines 'type pulse'
- change ownership according to the user home dir you are working with.
- log out and log back again should be enough... but if not, restart
pulseaudio && alsa-utils, reboot as last choice

It should work.
BEWARE I do not use pulseaudio at all, I use alsa and jackd instead with
this setup.

References: http://www.alsa-project.org/main/index.php/Asoundrc

Regards
/raffaele


Re: How to consistently install a set of packages?

2013-06-06 Thread David
On 06/06/2013, James Richardson  wrote:
> David wrote:

[...]

>> Because some packages create users and groups, I want to be sure that
>> these packages are installed in the same sequence on every PC so that
>> numeric uid & gid in /etc/passwd and /etc/group end up the same on all
>> PCs. This will make admin easier when keeping the shared data in sync
>> if the numeric uid and gid are the same in every OS.

> The only thing I can suggest (and I am by no means an expert), is to
> create the users/groups before installing the packages. You can use dpkg
> --get/--set-selections to set the selection state of the packages, but
> as this doesn't actually install anything, I would doubt it would give
> apt-get/aptitude any hints about ordering, but if the user/groups
> existed before hand it should still be ok.

Hi James

Thank you for your thoughts. I appreciate your lateral thinking which
is appealing. But I wonder how a package install process would make
the decision to take over a pre-existing user or group?

For example, if I created user=approx and then installed the approx
package which wants to run as user=approx, how thoroughly would its
installer script assess if the pre-existing user=approx is free for
its use? If there already was some other unrelated user=approx, it
would be undesirable for the approx package to assimilate that user.

And would each package that wants to do similar behave consistently?

Any thoughts on that?

My guess would be that a package install would probably abort if the
user or group it wanted was already in use. Or perhaps the installer
will ask what to do? I'd prefer if it would run unattended. I can't
set up a test immediately, but if necessary I can test this later in
the week.


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



Re: boot fails on wheezy (SOLVED)

2013-06-06 Thread Pierre Frenkiel

On Wed, 5 Jun 2013, Bob Proulx wrote:


You are correct.  The BIOS has an ordering.  The OS has an ordering.
They are separate software and will each do their own thing.  I have
often had problems with the BIOS disk ordering being different form
the OS disk ordering.


  my concern is not disk ordering: as already said by several people,
  using UUID makes you independant of any disc ordering.
  It is to determine what can produce a change in the BIOS settings,
  apart from a power failure.

best regards,
--
Pierre Frenkiel


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

Archive: 
http://lists.debian.org/alpine.deb.2.02.1306061042120.32...@pfr2.frenkiel-hure.net



RE: Email suggestions

2013-06-06 Thread Bonno Bloksma
Hi,

>>> sure they create archive mail folders AND move the mail to those 
>>> folders once the mail is read you will end up with mail on the 
>>> server.
>>
>> Yes, and that's what concerns me.  I don't know exactly how my users 
>> manage their inboxes.  If they're as bad as I am, the required space 
>> can easily get out of hand :)
>>
> You could enforce a quota policy. Dovecot implements it, and it looks quite 
> easy to setup:
> http://wiki2.dovecot.org/Quota

I do not know if dovecot can do it but this is one place where the Exchange 
server has a good way of dealing with it.
It has 2 qouta levels. The first will prevent you from sending any more mails 
until you clean up your mailbox but it will still allow you to receive 
mail. So you will not lose any mail. The second level will also stop receiving 
mails, which is usually there to make sure that there IS a limit to the 
mailbox, at work we have it set at double the first limit.
Exchange (which we use at work) is not my favorite mailserver in many cases but 
this is one feature that I really like.

Bonno Bloksma


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/89d1798a7351d040b4e74e0a043c69d7395d7...@einexch-01.tio.nl



Re: How to consistently install a set of packages?

2013-06-06 Thread Kailash
On Thu, 6 Jun 2013 17:30:24 +1000
David  wrote:

> On 06/06/2013, James Richardson  wrote:
> > David wrote:
> 
> [...]
> 
> >> Because some packages create users and groups, I want to be sure
> >> that these packages are installed in the same sequence on every PC
> >> so that numeric uid & gid in /etc/passwd and /etc/group end up the
> >> same on all PCs. This will make admin easier when keeping the
> >> shared data in sync if the numeric uid and gid are the same in
> >> every OS.
> 
> > The only thing I can suggest (and I am by no means an expert), is to
> > create the users/groups before installing the packages. You can use
> > dpkg --get/--set-selections to set the selection state of the
> > packages, but as this doesn't actually install anything, I would
> > doubt it would give apt-get/aptitude any hints about ordering, but
> > if the user/groups existed before hand it should still be ok.
> 
> Hi James
> 
> Thank you for your thoughts. I appreciate your lateral thinking which
> is appealing. But I wonder how a package install process would make
> the decision to take over a pre-existing user or group?
> 
> For example, if I created user=approx and then installed the approx
> package which wants to run as user=approx, how thoroughly would its
> installer script assess if the pre-existing user=approx is free for
> its use? If there already was some other unrelated user=approx, it
> would be undesirable for the approx package to assimilate that user.
> 
> And would each package that wants to do similar behave consistently?
> 
> Any thoughts on that?
> 
> My guess would be that a package install would probably abort if the
> user or group it wanted was already in use. Or perhaps the installer
> will ask what to do? I'd prefer if it would run unattended. I can't
> set up a test immediately, but if necessary I can test this later in
> the week.
> 
> 

Hi,

I did some searching re UIDs and GIDs, and it appears that the
adduser.conf file can be used to manage this behavior. 

In addition if you look at the manpage of adduser the option "--uid"
will allow you to choose the user's ID. And addgroup has a similar
option. 

So, perhaps all you need is a common script that does it for you.
Please do refer to the policy manual re the allocation policy for
Debian.
http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.2

HTH,
K.


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



Re: boot fails on wheezy

2013-06-06 Thread Kailash
On Tue, 4 Jun 2013 09:17:44 +0300
Andrei POPESCU  wrote:

> On Ma, 04 iun 13, 07:04:29, Pierre Frenkiel wrote:
> > After a problem with a ligthscribe dvd, I had to reboot my PC,
> > After that, impossible to boot. Even the "grub loading" message is
> > absent.Booting with the wheezy install cd in rescue mode, I tried
> > almost all the known
> 
> What about the option to reinstall the bootloader?
> 
> Kind regards,
> Andrei

Hi,

You could try using this tool that’ll help you fix most of your boot
issues: http://sourceforge.net/p/boot-repair/home/Home/

Sincerely,
K.


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



Debian/Linux tutorials.

2013-06-06 Thread atar

Hi there!!

I wanted to know please where can I enrich my knowledge about Linux at  
general and especially about Debian regarding variety of topics such as  
the system boot process, what are tty's? and where are located the scripts  
that the system runs during the boot and shutdown process, how to manage  
groups policies and how manage the whole system at all. where can I find  
some useful resources/documentation/references that speak in clear  
fashion, because the man pages often uses some concepts which aren't  
familiar to the beginner user, so I look for some resources that are  
friendly with the beginner user.


Thanks in advance!!

atar.


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

Archive: http://lists.debian.org/op.wx8707bpe4gg2u@xp



Re: How to consistently install a set of packages?

2013-06-06 Thread Andrei POPESCU
On Jo, 06 iun 13, 14:39:22, David wrote:
> 
> Because some packages create users and groups, I want to be sure that
> these packages are installed in the same sequence on every PC so that
> numeric uid & gid in /etc/passwd and /etc/group end up the same on all
> PCs. This will make admin easier when keeping the shared data in sync
> if the numeric uid and gid are the same in every OS.

For my curiosity, could you please provide an example where *system* 
users need to be synchronized between different machines?

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


signature.asc
Description: Digital signature


Re: Trouble reinstalling everything.

2013-06-06 Thread Andrei POPESCU
On Jo, 06 iun 13, 16:32:53, John Tate wrote:
> Thanks, I'm not entirely sure what man page to read to find how to do a
> preferences.d, I just tried man preferences.d. The list of man pages for
> section five is huge so I'd appreciate a hint.

apt_preferences(5)

You might also want to install bash-completion ;)

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


signature.asc
Description: Digital signature


Re: Debian/Linux tutorials.

2013-06-06 Thread Andrei POPESCU
On Jo, 06 iun 13, 14:11:21, atar wrote:
> Hi there!!
> 
> I wanted to know please where can I enrich my knowledge about Linux
> at general and especially about Debian regarding variety of topics
> such as the system boot process, what are tty's? and where are
> located the scripts that the system runs during the boot and
> shutdown process, how to manage groups policies and how manage the
> whole system at all. where can I find some useful
> resources/documentation/references that speak in clear fashion,
> because the man pages often uses some concepts which aren't familiar
> to the beginner user, so I look for some resources that are friendly
> with the beginner user.

http://www.debian.org/doc/

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


signature.asc
Description: Digital signature


Re: How to consistently install a set of packages?

2013-06-06 Thread David
On 06/06/2013, Kailash  wrote:
> On Thu, 6 Jun 2013 17:30:24 +1000
> David  wrote:
>
>> On 06/06/2013, James Richardson  wrote:
>> > David wrote:
>>
>> [...]
>>
>> >> Because some packages create users and groups, I want to be sure
>> >> that these packages are installed in the same sequence on every PC
>> >> so that numeric uid & gid in /etc/passwd and /etc/group end up the
>> >> same on all PCs. This will make admin easier when keeping the
>> >> shared data in sync if the numeric uid and gid are the same in
>> >> every OS.

Hi Kailash

Thank you for looking at my issue.

> I did some searching re UIDs and GIDs, and it appears that the
> adduser.conf file can be used to manage this behavior.

If I understand correctly, adduser.conf can be used to set the range
of dynamically allocated uid/gid using FIRST_SYSTEM_UID and
its friends. But I don't think that changing these defaults will help me.

Also, I don't see that adduser.conf can be used to define which pkg
gets which uid/gid within this range. If I understand correctly then this
depends only on the sequence in which the packages are installed.

> In addition if you look at the manpage of adduser the option "--uid"
> will allow you to choose the user's ID. And addgroup has a similar
> option.
>
> So, perhaps all you need is a common script that does it for you.

Normally the package install scripts do these commands themselves.
So, I could try preempting them as James suggested, but I'm uneasy
that that might cause the installs to abort or query. I need to
test this.

Or, I could allow the package install scripts to run, and then
afterward fiddle with their values if necessary. I would also need
to find all relevant files and chown them to the new values.
If nothing breaks then that approach would be ok.

But if things do/might break, then that approach is no good.
Instead, I would need to control the install sequence of the
packages. If so, what might be good approaches to achieve that?

That is my question: 1) might it break? 2) If so, how best to avoid?

> Please do refer to the policy manual re the allocation policy for
> Debian.
> http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.2

Yes. This specifies the dynamically allocated uid/gid range.


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



Gstreamer Jack plugin

2013-06-06 Thread Kailash
Hi All,

I'm experimenting with sound settings on my box: 7.0 stable

Using main non-free and contrib repositories.

I've currently got PulseAudio running and several apps which use
Gstreamer for audio. I'd like to use Jack instead. I've tried some
searches to find a Gstreamer Jack plugin, but haven't found any. 

Any help here would be appreciated.

Thanks,
Kailash


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



Re: boot fails on wheezy

2013-06-06 Thread Pierre Frenkiel

On Thu, 6 Jun 2013, Kailash wrote:


You could try using this tool thatll help you fix most of your boot
issues: http://sourceforge.net/p/boot-repair/home/Home/


  may be useful, but what is the advantage over the reacue option of
  the squeeze or wheezy install cd?
  Anyway, in my case, there was nothing to repair...

best regards,
--
Pierre Frenkiel


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

Archive: 
http://lists.debian.org/alpine.deb.2.02.1306061402380.18...@pfr2.frenkiel-hure.net



su user -c

2013-06-06 Thread Pol Hallen
Hi all :-)

this is the part of my script:

email0=us...@domain0.org;email1=us...@domain1.org;name=user0;username=user1;domainname=domain0;echo
| mutt -s "test message $name" -b email0 email1

if I run this script of own user, runs correctly

but when (inside the script) I use:

su user -c
email0=us...@domain0.org;email1=us...@domain1.org;name=user0;username=user1;domainname=domain0;echo
| mutt -s "test message $name" -b email0 email1

its does not run

any idea?

is it a problem with ' " charset?

thanks!

Pol


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51b07ee9.8020...@fuckaround.org



Installing libgtk2.0-0:i386 on amd64 system

2013-06-06 Thread Brad Alexander
Hello,

As the subject says, I'm having problems installing libgtk2.0-0:i386 on my
amd64 sid system. The problem is that I am using the cisco anyconnect
client, which requires the i386 version, but when I attempt to install at
one (the amd64 version is installed), I get a bunch of dependency issues:

# apt-get install libgtk2.0-0:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgtk2.0-0:i386 : Depends: libcups2:i386 (>= 1.4.0) but it is not going
to be installed
Depends: libgssapi-krb5-2:i386 (>= 1.6.dfsg.2) but it
is not going to be installed
Depends: libk5crypto3:i386 (>= 1.6.dfsg.2) but it is
not going to be installed
Depends: libkrb5-3:i386 (>= 1.6.dfsg.2) but it is not
going to be installed
Recommends: hicolor-icon-theme:i386 but it is not
installable
E: Unable to correct problems, you have held broken packages.

No packages are held on thei machine. I tried downloading the package and
installing through dpkg -i (though I didn't follow through with it), but it
wanted to uninstall several packages:

The following packages will be REMOVED:
  krb5-multidev krb5-user libcups2-dev libgtk2.0-0:i386 libkadm5clnt-mit7
  libkadm5clnt-mit8 libkadm5srv-mit7 libkadm5srv-mit8 libkdb5-4 libkrb5-dev

the -dev packages are not so much of an issue, but we use Kerberos at work,
so I can't afford to have that removed.

Got suggestions on how to get this lib to work?

thanks,
--b


Re: How to consistently install a set of packages?

2013-06-06 Thread David
On 06/06/2013, Andrei POPESCU  wrote:
> On Jo, 06 iun 13, 14:39:22, David wrote:
>>
>> Because some packages create users and groups, I want to be sure that
>> these packages are installed in the same sequence on every PC so that
>> numeric uid & gid in /etc/passwd and /etc/group end up the same on all
>> PCs. This will make admin easier when keeping the shared data in sync
>> if the numeric uid and gid are the same in every OS.
>
> For my curiosity, could you please provide an example where *system*
> users need to be synchronized between different machines?

Hi Andrei

Thank you for taking an interest in my question.

What I do with my 3 machines is apparently a little out of the ordinary
because it does not follow the typical client server model everyone is
used to, but it does work for me very effectively. Instead, any single
machine of mine is capable of taking the role of any other, to provide
redundancy.

Currently there is one desktop and two notebooks on a home LAN
with a ADSL modem/router. There is only a single user, me. I do not
serve anything to the internet. The notebooks are clones of one
another except for unique hostnames and static ips, so we can ignore
one of them. They are duplicates to provide redundancy and multiple
independent screens at my workstation, for example monitoring or
low-power logging of IRC. The desktop is the master copy of
everything, the notebooks are very similar to it, having the same
installed apps, config, and shared data.

Each machine has multiple OS root partitions managed by grub1,
each with /usr and /var. There is a different home dir for each OS with
its own dotfiles (lets say that to keep this story simpler), but most of
my work data files are bindmounted under it from a common data
partition.

Also some apps are configured to use this common data partition,
for example the approx cache. This common data partition is also
manually synced by either rsync or unison across all machines.

This is all working nicely for me for several years. I like the redundancy
and flexibility. However I need to update the base OS so I'm moving to
try wheezy with lxde on one partition, then I will try sid on another.

Now the example you requested, lets consider 'approx'. I want approx
on every OS partition on every machine to use the same numeric
uid/gid, because the approx cache is on the synced data partition.
So across all machines there is only ever one approx process running,
but it can easily be started on whichever machine is most convenient,
after the shared data partition is manually synced.

What I have said regarding approx would also apply to other servers.
For example, I might want to play with a http server, that I could run on
any machine, but it would have data available from the synced data
partition. Another possible candidate would be dnsmasq.

This is just for convenience, and definitely not for concurrent use,
because the sync is manual. For example, I prefer to work on the desktop,
but if I have to go somewhere, I just unison all the data onto one of the
notebooks, go somewhere and work happily , then unison again to the
desktop master when I return.

Or, if the desktop is down for maintenance, one of the notebooks
easily takes any LAN server roles.

The above is a simplified explanation however I hope it conveys the
essence of what I do and presents a use case. If I put all this in my
initial email it would have been too long, no-one would have read it!


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



[Solved] Installing libgtk2.0-0:i386 on amd64 system

2013-06-06 Thread Brad Alexander
Was able to get this going by pulling the package from experimental...

Thanks all,
--b


On Thu, Jun 6, 2013 at 8:26 AM, Brad Alexander  wrote:

> Hello,
>
> As the subject says, I'm having problems installing libgtk2.0-0:i386 on my
> amd64 sid system. The problem is that I am using the cisco anyconnect
> client, which requires the i386 version, but when I attempt to install at
> one (the amd64 version is installed), I get a bunch of dependency issues:
>
> # apt-get install libgtk2.0-0:i386
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  libgtk2.0-0:i386 : Depends: libcups2:i386 (>= 1.4.0) but it is not going
> to be installed
> Depends: libgssapi-krb5-2:i386 (>= 1.6.dfsg.2) but it
> is not going to be installed
> Depends: libk5crypto3:i386 (>= 1.6.dfsg.2) but it is
> not going to be installed
> Depends: libkrb5-3:i386 (>= 1.6.dfsg.2) but it is not
> going to be installed
> Recommends: hicolor-icon-theme:i386 but it is not
> installable
> E: Unable to correct problems, you have held broken packages.
>
> No packages are held on thei machine. I tried downloading the package and
> installing through dpkg -i (though I didn't follow through with it), but it
> wanted to uninstall several packages:
>
> The following packages will be REMOVED:
>   krb5-multidev krb5-user libcups2-dev libgtk2.0-0:i386 libkadm5clnt-mit7
>   libkadm5clnt-mit8 libkadm5srv-mit7 libkadm5srv-mit8 libkdb5-4 libkrb5-dev
>
> the -dev packages are not so much of an issue, but we use Kerberos at
> work, so I can't afford to have that removed.
>
> Got suggestions on how to get this lib to work?
>
> thanks,
> --b
>


Re: Installing libgtk2.0-0:i386 on amd64 system

2013-06-06 Thread Kailash
On Thu, 6 Jun 2013 08:26:56 -0400
Brad Alexander  wrote:

> Hello,
> 
> As the subject says, I'm having problems installing libgtk2.0-0:i386
> on my amd64 sid system. The problem is that I am using the cisco
> anyconnect client, which requires the i386 version, but when I
> attempt to install at one (the amd64 version is installed), I get a
> bunch of dependency issues:
> 

I'm guessing you've already added the i386 architecture using dpkg.
http://wiki.debian.org/Multiarch/Implementation

Once done, you should run apt-get update.
Then try 


> # apt-get install libgtk2.0-0:i386

Sincerely,
Kailash


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



Re: Debian/Linux tutorials.

2013-06-06 Thread Richard Owlett

Andrei POPESCU wrote:

On Jo, 06 iun 13, 14:11:21, atar wrote:

Hi there!!

I wanted to know please where can I enrich my knowledge about Linux
at general and especially about Debian regarding variety of topics
such as the system boot process, what are tty's? and where are
located the scripts that the system runs during the boot and
shutdown process, how to manage groups policies and how manage the
whole system at all. where can I find some useful
resources/documentation/references that speak in clear fashion,
because the man pages often uses some concepts which aren't familiar
to the beginner user, so I look for some resources that are friendly
with the beginner user.


http://www.debian.org/doc/



Speaking as a beginner myself, those are written by and for experts.

I found out, during an engineering co-op assignment 40 years ago, 
just how difficult it is to write technical documentation aimed 
at someone with a different background. And it was only a ten 
page production line test procedure.




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

Archive: http://lists.debian.org/51b08a91.60...@cloud85.net



Re: Debian/Linux tutorials.

2013-06-06 Thread Kailash
On Thu, 06 Jun 2013 08:11:45 -0500
Richard Owlett  wrote:

> Andrei POPESCU wrote:
> > On Jo, 06 iun 13, 14:11:21, atar wrote:
> >> Hi there!!
> >>
> >> I wanted to know please where can I enrich my knowledge about Linux
> >> at general and especially about Debian regarding variety of topics
> >> such as the system boot process, what are tty's? and where are
> >> located the scripts that the system runs during the boot and
> >> shutdown process, how to manage groups policies and how manage the
> >> whole system at all. where can I find some useful
> >> resources/documentation/references that speak in clear fashion,
> >> because the man pages often uses some concepts which aren't
> >> familiar to the beginner user, so I look for some resources that
> >> are friendly with the beginner user.
> >
> > http://www.debian.org/doc/
> >
> 
> Speaking as a beginner myself, those are written by and for experts.
> 
> I found out, during an engineering co-op assignment 40 years ago, 
> just how difficult it is to write technical documentation aimed 
> at someone with a different background. And it was only a ten 
> page production line test procedure.
> 
> 
> 

Hi, I'm going through the same process myself. For me, a good start was
the TDLP site. Specifically "Introduction to Linux" was a great start:
http://www.tldp.org/guides.html

And 
http://www.tldp.org/LDP/www.debian.org/doc/manuals/debian-tutorial/
although obsolete is still gives you a good grounding, I feel.

After that, you can try working into specific topics by searching on
youtube, google etc.

Good luck
Kailash


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



Re: Debian/Linux tutorials.

2013-06-06 Thread Lisi Reisz
On Thursday 06 June 2013 14:11:45 Richard Owlett wrote:
> Andrei POPESCU wrote:
> > On Jo, 06 iun 13, 14:11:21, atar wrote:
> >> Hi there!!
> >>
> >> I wanted to know please where can I enrich my knowledge about Linux
> >> at general and especially about Debian regarding variety of topics
> >> such as the system boot process, what are tty's? and where are
> >> located the scripts that the system runs during the boot and
> >> shutdown process, how to manage groups policies and how manage the
> >> whole system at all. where can I find some useful
> >> resources/documentation/references that speak in clear fashion,
> >> because the man pages often uses some concepts which aren't familiar
> >> to the beginner user, so I look for some resources that are friendly
> >> with the beginner user.
> >
> > http://www.debian.org/doc/
>
> Speaking as a beginner myself, those are written by and for experts.

That is your opinion, Richard.  It is  not one shared by everybody, and we 
were all newbies at some stage.

Have a look Atar, and judge for yourself.  Your questions suggest that they 
might be just right for you.

Lisi


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



Re: How to consistently install a set of packages?

2013-06-06 Thread Max Hyre

   Dear David:

On 06/06/2013 07:05 AM, Kailash wrote:

I did some searching re UIDs and GIDs, and it appears that the
adduser.conf file can be used to manage this behavior.

[...]

So, perhaps all you need is a common script that does it for you.
Please do refer to the policy manual re the allocation policy for
Debian.
http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.2


   I believe Kailash has given you the answer; the referenced 
policy manual says:


 Begin extract 
100-999:

   Dynamically allocated system users and groups. Packages
   which need a user or group, but can have this user or
   group allocated dynamically and differently on each
   system, should use adduser --system to create the group
   and/or user. ***adduser will check for the existence of
   the user or group, and if necessary choose an unused id
   based on the ranges specified in adduser.conf.***
 End extract --
[emphasis added :-)]

   This sounds like exactly what you want.  Set up your initial 
system, copy passwd, shadow, group, & gshadow (you probably want to 
use tar to simplify keeping owner & group correct), and install them 
on each of the other systems.  Then do your installs there, and 
don't worry about order, because ``adduser will check for the 
existence of the user or group'', and use the values already set up 
on the system.


   Thanks for raising this point, as I keep multiple user accounts 
for various activities (general, business, running a charity, ...), 
and have been editing the four files by hand to make them match 
across OS installations.  As Bill Nye doesn't say, ``Nooow I Know!''


--
Best wishes,

Max Hyre


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

Archive: http://lists.debian.org/51b091de.60...@hyre.net



Re: Debian 7 ext4 problem

2013-06-06 Thread Sthu Deus
Good time of the day, Andrei.


On Sat, 1 Jun 2013 21:34:37 +0300 you wrote:

> I have a serious problem with overloading the hard drive.
> I have a website and use MySQL, at that moment began the biggest
> problems the hard drive is under constant load.
> The hard drive is noisy, slow. I think there is a problem with the
> driver for ext4.

I suggest to detect the culprit w/ iotop and then either solve the
problem yourself or make a bug report against the package that provides
the binary that created the process.


Sthu.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51b09816.c41b980a.0944.2...@mx.google.com



Re: How to consistently install a set of packages?

2013-06-06 Thread David
On 06/06/2013, Max Hyre  wrote:
>
> I believe Kailash has given you the answer; the referenced
> policy manual says:
>
>  Begin extract 
> 100-999:
>
> Dynamically allocated system users and groups. Packages
> which need a user or group, but can have this user or
> group allocated dynamically and differently on each
> system, should use adduser --system to create the group
> and/or user. ***adduser will check for the existence of
> the user or group, and if necessary choose an unused id
> based on the ranges specified in adduser.conf.***
>  End extract --
> [emphasis added :-)]
>
> This sounds like exactly what you want.  Set up your initial
> system, copy passwd, shadow, group, & gshadow (you probably want to
> use tar to simplify keeping owner & group correct), and install them
> on each of the other systems.  Then do your installs there, and
> don't worry about order, because ``adduser will check for the
> existence of the user or group'', and use the values already set up
> on the system.

Hi Max

Thanks for responding. I really hope you are correct! If you are,
then I will be happy because the method is easy as you describe.

Now that you draw attention to it, I notice the words
"and if necessary"
in the extract, and that gives me some hope because I cannot
think of any other possible interpretation of those words apart
from what you suggest.

However, I still feel the need to test this myself or hear from
someone who has, because your words
"and use the values already set up on the system."
unfortunately do not appear in any documentation that I
can find.

Also, 'man 8 useradd' does not state this either, for the --system
option. I saw there that useradd has exit status =9 if
"username already in use" and feared that would apply.

But, perhaps it does not, if the --system option is used.

I will try to test this tomorrow. It will be great if it behaves
as you suggest.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMPXz=qCMbL_hnU2qOdg9HC=2n78dse7pgzo57wqik2bavk...@mail.gmail.com



Re: How to consistently install a set of packages?

2013-06-06 Thread David
On 07/06/2013, David  wrote:
>
> Also, 'man 8 useradd' does not state this either, for the --system
> option. I saw there that useradd has exit status =9 if
> "username already in use" and feared that would apply.

Oops, I was mistakenly reading an old Fedora manpage. On wheezy,
'man 8 adduser' says:
"If a user with the same name already exists in the system uid range [...]
adduser will exit with a warning. This warning can be suppressed by
adding --quiet".

It is unclear to me if --quiet just suppresses the warning, or also the exit.

So, I still fear that is likely to upset the package install scripts. As I keep
saying, I need to test this tomorrow.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMPXz=q1oL0sv6XHkwznokUdT6PdR5rGf-hZ8fU7Qfs==l6...@mail.gmail.com



Re: Sound But No CD Sound

2013-06-06 Thread Kent West

On 06/05/2013 12:46 PM, Thomas H. George wrote:

On Wed, Jun 05, 2013 at 02:50:09AM -0500, Kent West wrote:

On 6/5/13 2:18 AM, Andrei POPESCU wrote:

On Ma, 04 iun 13, 09:15:35, Thomas H. George wrote:

My system is Wheezy.
ogg123 plays ogg files perfectly with sound.
workbone plays the cd but there is no sound.
cdir lists the tracks on the cd.

This may be obvious to you, but... the CD usually has a dedicated
channel. Did you check the volume level and mute/unmute?

Kind regards,
Andrie

My memory is hazy, but I vaguely recall that CD drives used to also have
a dedicated audio cable that plugged into the motherboard. Without that
cable, there would be no audio, I think.


I put this box together years ago and there is such a cable.  Moreover,
the system played CD's when I last tried to play one.  That was a couple
of months ago.  I did have trouble one time previously and resolved it.
The resolution as I recall involved choosing the right sound care, on
motherboard or Nvidia.  I have tried both and it is the Nvidia card that
works with ogg123.



Ah, I missed that detail, that it will play oggs.

Perhaps your missing the appropriate codecs?

I don't really know what I'm doing, but I recall having to download a 
codec package (from mplayer.com?) and unzip it in a certain directory.


--
Kent West<*)))><
http://kentwest.blogspot.com
Praise Yah! \o/



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

Archive: http://lists.debian.org/51b0a04b.8010...@acu.edu



Re: Debian/Linux tutorials.

2013-06-06 Thread Sean Alexandre
On Thu, Jun 06, 2013 at 02:11:21PM +0300, atar wrote:
> I wanted to know please where can I enrich my knowledge about Linux
> at general and especially about Debian 

Linode's got some great tutorials:
https://library.linode.com/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130606144811.GA24390@tuzo



Re: su user -c

2013-06-06 Thread Guido Martínez
On Thu, Jun 6, 2013 at 9:22 AM, Pol Hallen  wrote:
> Hi all :-)
>
> this is the part of my script:
>
> email0=us...@domain0.org;email1=us...@domain1.org;name=user0;username=user1;domainname=domain0;echo
> | mutt -s "test message $name" -b email0 email1
>
> if I run this script of own user, runs correctly
>
> but when (inside the script) I use:
>
> su user -c
> email0=us...@domain0.org;email1=us...@domain1.org;name=user0;username=user1;domainname=domain0;echo
> | mutt -s "test message $name" -b email0 email1

You need to quote the command. su reads just 1 argument after -c and
invokes the sh -c . Example:

guido@solid:~$ su someoneelse -c touch asd
Password:
touch: missing file operand
Try `touch --help' for more information.
guido@solid:~$ su someoneelse -c "touch asd"
Password:
touch: cannot touch `asd': Permission denied

Guido

>
> its does not run
>
> any idea?
>
> is it a problem with ' " charset?
>
> thanks!
>
> Pol
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/51b07ee9.8020...@fuckaround.org
>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca++dqumsagvce68redxqpwbmmyarbbgam1z+zmnu_jv+t2n...@mail.gmail.com



Re: How to consistently install a set of packages?

2013-06-06 Thread Andrei POPESCU
On Jo, 06 iun 13, 22:52:25, David wrote:
> 
> What I do with my 3 machines is apparently a little out of the ordinary
> because it does not follow the typical client server model everyone is
> used to, but it does work for me very effectively. Instead, any single
> machine of mine is capable of taking the role of any other, to provide
> redundancy.

[snip]

Interesting. However, I would think cloning an install would be easier 
than installing from scratch and adjusting it to match the others.

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


signature.asc
Description: Digital signature


Re: How to consistently install a set of packages?

2013-06-06 Thread Andrei POPESCU
On Vi, 07 iun 13, 00:38:46, David wrote:
> 
> So, I still fear that is likely to upset the package install scripts. As I 
> keep
> saying, I need to test this tomorrow.

If this wouldn't work then the sequence:

apt-get install 
apt-get purge 
apt-get install 

would also fail, since packages don't remove system users on purge.

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


signature.asc
Description: Digital signature


Re: How to consistently install a set of packages?

2013-06-06 Thread David
On 07/06/2013, Andrei POPESCU  wrote:

[...]

> packages don't remove system users on purge.

That is extremely encouraging ... thanks Andrei!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAMPXz=oJUWQgUwbaSKi5jZ9bD=3aaqbi6kavgy2-reg5++d...@mail.gmail.com



Re: Need help with netinst of wheezy on pentium 4 machine

2013-06-06 Thread paul e condon

On 06/05/2013 03:51 PM, Bob Proulx wrote:

Hi Paul,

paul e condon wrote:

I purchased some time ago a refurb Dell GX620. I have received
conflicting advice on this list about whether I should use amd64 or
i386 CDs to install Wheezy, but amd64 CDs seem to get further into
the install so what I want help with now is all about amd64 type
CDs.

As far as installation goes either i386 or amd64 should install and
complete successfully.  There shouldn't be any difference in terms of
supported architecture for either of those.  That you are seeing a
difference is troubling and probably means that the media is corrupted
for one of them.

The difference is either 32-bit or 64-bit.  There is a lot of
conflicting advice because there isn't clearly one that is always
superior to the other.  For some things 32-bit is better.  For other
things 64-bit is better.  And therefore in the end you will simply
need to pick one and move forward with it.

I will say a few words about each.  The amd64 is newer and "cooler"
and so there has been a lot of momentum moving that direction.  It has
more cpu registers and therefore the compiler can optimize code to run
faster by making use of the extra registers.  But pointers are 64-bit
each and use more memory.  Applications that have a lot of pointers to
data need a lot more memory.  In general a 64-bit system tends to use
more memory than a 32-bit system.  Therefore if you are short on
memory then a 32-bit system is more efficient.  Memory is quite
affordable these days and an 8G 64-bit amd64 system will often be
cheaper than a 4G 32-bit i386 system.  With the more memory and
performance I would always pick amd64 at that point.  If I only had a
2G machine then I would stay with a 32-bit i386 system.

For a long time closed source proprietary applications were usually
only 32-bit.  Think Adobe Flash and so forth.  So having a plain
32-bit system often made using these 3rd party closed nonfree blobs
easier.  But since so many people are using 64-bit these days most of
those problems have been resolved in one way or another and for the
most part a 64-bit amd64 system will now run anything that a 32-bit
i386 system will run.  If that is truly a concern for you then
sticking with a 32-bit system might make things simpler.  But I only
install 64-bit amd64 these days.


I set out to install using LVM and selected a single large logical
partition. The disk has a capacity of 160GB. The install failed
because, the error message said the requested architecture was not
available on the mirror that I had chosen.

What mirror did you choose?  I routinely use ftp.us.debian.org from
the installation menu.


But it did not say what architecture it thought I had chosen.

What installation image did you use?  One of the fixed architectures
or one of the multi-architectures?


And the 'mirror' that I was invoking is my local installation of
approx on a wheezy on a different local computer.

I haven't used approx for a long time.  I can't remember if it is hard
configured for upstream sites or if it is totally transparent.

I have been using apt-cacher-ng and like it.  It is transparent,
meaning that whatever upstream you are asking for is cached and
proxied.  I liked it better than approx.

Other than that if you have CD#1 (or DVD or whatever) you should be
able to install a complete minimum system only from it.  After
installation then you can switch the /etc/apt/sources.list to your
approx proxy and install additional components.


I look into /var/cache on that computer and both amd64 and i386 are
present in the approx cache. This morning I resume work and the
first thing I want to do is try again, because I do make
mistakes. But this morning I cannot repartition the disk using the
partitioning system on the CD that was burnt from a jigdo iso image
on May 31. It would not delete/remove/whatever the LVM and would not
recognize it as a usable /root.

There is a confusing behavior of the installer and I think you are
hitting it.  If there is an existing partition table then it will
present it to you and allow you to use it.  If the existing partition
table indicates RAID or LVM partitions then it will allow you to use
those too.  Which means that if you *don't* want to use them that you
need to do some more work to avoid the pre-existing ones and to set up
new ones.

There is an option to configure the LVM manager.  From memory I
believe you need to select that option and then delete and deactivate
LVM if you don't want to us it.  Same thing for RAID.  I remember this
being slightly confusing if you are wanting to install freshly upon it
because it shows you the previous pre-existing configuration.  But
many people want that because they have other operating systems on the
disk and they want to partition it using the other system first and
then install and this behavior allows them to keep the other systems
alive and intact and install around them.

If this is too much hassle then you can always zero o

UEFI problem with wheezy on an ASUS F1A75-V PRO motherboard

2013-06-06 Thread Dieter Faulbaum

Hello,

I tried to install a wheezy "UEFI" version on an ASUS F1A75-V PRO
motherboard (with UEFI and the newest firmware 2201) but without
success.
To test it a little bit what goes wrong, I started the rescue mode and
called 'efibootmgr' what shows this (which looks fine for me):
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: ,0001,0002
Boot* CD/DVD Drive
Boot0001* Hard Drive
Boot0002* UEFI: Sandisk Cruzer 8.01

But if I call: efibootmgr -t 5
(or: efibootmgr -c -L "debian" -l '\EFI\debian\grubx64.efi')
and after that: efibootmgr, I always see the same:
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: ,0001,0002
Boot* CD/DVD Drive
Boot0001* Hard Drive
Boot0002* UEFI: Sandisk Cruzer 8.01

So I think I can't write any variable into this UEFI. I that right?
Is there anyone with the same issue? Has anyone experience with this
motherboard or can give me a hint what I can do to "use" UEFI?
I know that I can use this board and wheezy with the CSM of UEFI.

Thanks for an advice
Dieter Faulbaum


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/riea9n3mfe6@alder.acc.bessy.de



Re: boot fails on wheezy (SOLVED)

2013-06-06 Thread Bob Proulx
Pierre Frenkiel wrote:
> Bob Proulx wrote:
> >You are correct.  The BIOS has an ordering.  The OS has an ordering.
> >They are separate software and will each do their own thing.  I have
> >often had problems with the BIOS disk ordering being different form
> >the OS disk ordering.
> 
>   my concern is not disk ordering: as already said by several people,
>   using UUID makes you independant of any disc ordering.
>   It is to determine what can produce a change in the BIOS settings,
>   apart from a power failure.

BIOS bugs.

Bob


signature.asc
Description: Digital signature


Re: Installing libgtk2.0-0:i386 on amd64 system

2013-06-06 Thread Klaus

On 06/06/13 13:26, Brad Alexander wrote:

Hello,

As the subject says, I'm having problems installing libgtk2.0-0:i386 on
my amd64 sid system. The problem is that I am using the cisco anyconnect
client, which requires the i386 version, but when I attempt to install
at one (the amd64 version is installed), I get a bunch of dependency issues:

# apt-get install libgtk2.0-0:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libgtk2.0-0:i386 : Depends: libcups2:i386 (>= 1.4.0) but it is not
going to be installed
 Depends: libgssapi-krb5-2:i386 (>= 1.6.dfsg.2) but
it is not going to be installed
 Depends: libk5crypto3:i386 (>= 1.6.dfsg.2) but it
is not going to be installed
 Depends: libkrb5-3:i386 (>= 1.6.dfsg.2) but it is
not going to be installed
 Recommends: hicolor-icon-theme:i386 but it is not
installable
E: Unable to correct problems, you have held broken packages.

No packages are held on thei machine. I tried downloading the package
and installing through dpkg -i (though I didn't follow through with it),
but it wanted to uninstall several packages:

The following packages will be REMOVED:
   krb5-multidev krb5-user libcups2-dev libgtk2.0-0:i386 libkadm5clnt-mit7
   libkadm5clnt-mit8 libkadm5srv-mit7 libkadm5srv-mit8 libkdb5-4 libkrb5-dev

the -dev packages are not so much of an issue, but we use Kerberos at
work, so I can't afford to have that removed.

Got suggestions on how to get this lib to work?

thanks,
--b


It might be a problem with one of the dependencies: libgssapi-krb5-2
There is currently a mismatch of versions for amd64 and i386 (in 'sid'), 
and they seem mutually exclusive:


$ aptitude versions libgssapi-krb5-2
Package libgssapi-krb5-2:
i   1.10.1+dfsg-6 unstable 
500


Package libgssapi-krb5-2:i386:
p   1.10.1+dfsg-5 unstable 
500



--
Klaus


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

Archive: http://lists.debian.org/51b0c73e.6050...@gmail.com



Re: boot fails on wheezy (SOLVED)

2013-06-06 Thread Pierre Frenkiel

On Thu, 6 Jun 2013, Bob Proulx wrote:


BIOS bugs.


  A BIOS bug is surely involved, but that's not enough to explain the facts:
  After 4 years without any problem, a BIOS setting suddently changes, the
  BIOS being the same since the beginning (no BIOS update)

  For any software, a bug needs a given set of conditions to occur.
  Even when it seems to be not reproducible, one generally finds something
  which explains why it occured once, and not the other time...

best regards,
--
Pierre Frenkiel


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

Archive: 
http://lists.debian.org/alpine.deb.2.02.1306061948040.8...@pfr2.frenkiel-hure.net



Re: Debian/Linux tutorials.

2013-06-06 Thread Tixy
On Thu, 2013-06-06 at 14:11 +0300, atar wrote:
> I wanted to know please where can I enrich my knowledge about Linux at  
> general and especially about Debian

The Debian Handbook may be useful. It's available on a running Debian
system by installing the 'debian-handbook' package, or online as a free
download at http://debian-handbook.info/

-- 
Tixy


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1370542224.3271.3.ca...@computer5.home



Re (2): CUPS, "Add Printer Error".

2013-06-06 Thread peasthope
From:   "John L. Cunningham" 
Date:   Wed, 5 Jun 2013 23:32:43 -0400
> ... make sure lpadmin is actually set as the administrator user group. 

peter@dalton:~$ grep lpadmin /etc/cups/cupsd.conf
SystemGroup lpadmin
peter@dalton:~$ grep lpadmin /etc/group
lpadmin:x:112:peter

Here are some lines from /var/log/cups/error_log
D [06/Jun/2013:10:42:35 -0700] update_cups_browse: Refused 212 bytes from 
172.24.1.1
D [06/Jun/2013:10:42:44 -0700] cupsdAcceptClient: 16 from 172.24.1.1:631 (IPv4)
D [06/Jun/2013:10:42:44 -0700] cupsdReadClient: 16 POST /admin/ HTTP/1.1
D [06/Jun/2013:10:42:44 -0700] cupsdSetBusyState: newbusy="Active clients", 
busy="Not busy"
D [06/Jun/2013:10:42:44 -0700] cupsdAuthorize: No authentication data provided.

Under Squeeze, I wasn't in the lpadmin group but whenever an 
adminstrative task was attempted a simple authenication dialogue 
appeared.  After authentication as root, administration was allowed.  
Under Wheezy, no dialogue appears.  So I'd wonder that CUPS 
seeks authentication but can't obtain it.

Was the authentication service which CUPS relies upon broken 
or removed in the grade from Squeeze to Wheezy?  The dialogue 
was a drab rectangle with fields for user and password.  Can 
anyone tell what software made that?  Otherwise I'll set up 
an old Squeeze system and work to identify it.

Thanks,   ... Peter E.



-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  
"http://members.shaw.ca/peasthope/index.html#Itinerary "


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/171058054.46650.22630@cantor.invalid



Re: Re (2): CUPS, "Add Printer Error".

2013-06-06 Thread Brad Rogers
On Thu, 6 Jun 2013 11:24:57 -0700
peasth...@shaw.ca wrote:

Hello peasth...@shaw.ca,

>or removed in the grade from Squeeze to Wheezy?  The dialogue 
>was a drab rectangle with fields for user and password.  Can 
>anyone tell what software made that?  Otherwise I'll set up 

The browser you're using at the time.

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
Tired of doing day jobs with no thanks for what I do
Do Anything You Wanna Do - Eddie & The Hotrods


signature.asc
Description: PGP signature


Re: Re (2): CUPS, "Add Printer Error".

2013-06-06 Thread Patrick Wiseman
On Thu, Jun 6, 2013 at 2:24 PM,   wrote:
> From:   "John L. Cunningham" 
> Date:   Wed, 5 Jun 2013 23:32:43 -0400
>> ... make sure lpadmin is actually set as the administrator user group.
>
> peter@dalton:~$ grep lpadmin /etc/cups/cupsd.conf
> SystemGroup lpadmin
> peter@dalton:~$ grep lpadmin /etc/group
> lpadmin:x:112:peter
>
> Here are some lines from /var/log/cups/error_log
> D [06/Jun/2013:10:42:35 -0700] update_cups_browse: Refused 212 bytes from 
> 172.24.1.1
> D [06/Jun/2013:10:42:44 -0700] cupsdAcceptClient: 16 from 172.24.1.1:631 
> (IPv4)
> D [06/Jun/2013:10:42:44 -0700] cupsdReadClient: 16 POST /admin/ HTTP/1.1
> D [06/Jun/2013:10:42:44 -0700] cupsdSetBusyState: newbusy="Active clients", 
> busy="Not busy"
> D [06/Jun/2013:10:42:44 -0700] cupsdAuthorize: No authentication data 
> provided.
>
> Under Squeeze, I wasn't in the lpadmin group but whenever an
> adminstrative task was attempted a simple authenication dialogue
> appeared.  After authentication as root, administration was allowed.
> Under Wheezy, no dialogue appears.  So I'd wonder that CUPS
> seeks authentication but can't obtain it.
>
> Was the authentication service which CUPS relies upon broken
> or removed in the grade from Squeeze to Wheezy?  The dialogue
> was a drab rectangle with fields for user and password.  Can
> anyone tell what software made that?  Otherwise I'll set up
> an old Squeeze system and work to identify it.

This is not responsive to your precise question, but here's what I
believe to be the relevant section of my /etc/cups/cupsd.conf, which
you might compare with yours (I'm still getting the authentication
dialog on an updated testing system):

DefaultAuthType Basic
WebInterface Yes

  Order allow,deny


  Order allow,deny


  AuthType Default
  Require user @SYSTEM
  Order allow,deny


Patrick


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



mutt and script

2013-06-06 Thread Pol Hallen
Hey all :-)

Can I redirect output script to mutt body? i.e.

echo|mutt -s "test" us...@domain0.org < script0.sh

cat script0.sh

#!/bin/sh
echo $var1
echo $var2

thanks!

Pol


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51b0dd78.3060...@fuckaround.org



Re: Debian/Linux tutorials.

2013-06-06 Thread Lisi Reisz
On Thursday 06 June 2013 19:10:24 Tixy wrote:
> On Thu, 2013-06-06 at 14:11 +0300, atar wrote:
> > I wanted to know please where can I enrich my knowledge about Linux at
> > general and especially about Debian
>
> The Debian Handbook may be useful. It's available on a running Debian
> system by installing the 'debian-handbook' package, or online as a free
> download at http://debian-handbook.info/

There are also the IBM Linux tutorials:

http://www.ibm.com/developerworks/linux/

Lisi


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



Re: Email suggestions

2013-06-06 Thread Joe
On Thu, 6 Jun 2013 09:20:07 +
Bonno Bloksma  wrote:

> Hi,
> 
> >>> sure they create archive mail folders AND move the mail to those 
> >>> folders once the mail is read you will end up with mail on
> >>> the server.
> >>
> >> Yes, and that's what concerns me.  I don't know exactly how my
> >> users manage their inboxes.  If they're as bad as I am, the
> >> required space can easily get out of hand :)
> >>
> > You could enforce a quota policy. Dovecot implements it, and it
> > looks quite easy to setup: http://wiki2.dovecot.org/Quota
> 
> I do not know if dovecot can do it but this is one place where the
> Exchange server has a good way of dealing with it. It has 2 qouta
> levels. The first will prevent you from sending any more mails until
> you clean up your mailbox but it will still allow you to receive
> mail. So you will not lose any mail. The second level will also stop
> receiving mails, which is usually there to make sure that there IS a
> limit to the mailbox, at work we have it set at double the first
> limit. Exchange (which we use at work) is not my favorite mailserver
> in many cases but this is one feature that I really like.
> 

This is a job for the SMTP MTA rather than the IMAP access server.
I don't know exim4 well enough to do this, but it looks possible:

http://serverfault.com/questions/363016/exim-dovecot-user-over-quota-reject-on-send

It may be that an exim4 forum would be a good place to search/ask.
Exim4 does have its own quota enforcement, but it does prevent
reception rather than sending.

-- 
Joe


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



Re: mutt and script

2013-06-06 Thread John L. Cunningham
On Thu, Jun 06, 2013 at 09:05:28PM +0200, Pol Hallen wrote:
> Hey all :-)
> 
> Can I redirect output script to mutt body? i.e.
> 
> echo|mutt -s "test" us...@domain0.org < script0.sh

Don't use echo. Just pipe the output of the script to mutt.
-- 
John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130606192512.ga24...@daikon.vrg.org



Re: mutt and script

2013-06-06 Thread Pol Hallen
> Don't use echo. Just pipe the output of the script to mutt.

thanks :-)

Pol


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51b0e6ef.7010...@fuckaround.org



Re: Sound But No CD Sound - Pulseaudio Problem?

2013-06-06 Thread Thomas H. George
On Tue, Jun 04, 2013 at 09:15:35AM -0400, Thomas H. George wrote:
> My system is Wheezy.
> ogg123 plays ogg files perfectly with sound.
> workbone plays the cd but there is no sound.
> cdir lists the tracks on the cd.
> 
Could this be a pulseaudio problem?  Something wrong in my setup?  In
/etc/fstab I have /dev/sr0  /cdrom iso9550,ro,user,noauto.  The command
cdplay like workbone starts reading the CD but no sound.  Perhaps the
signal is being redirected to nowhere?
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20130604131535.ga19...@tomgeorge.info
> 
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130606201400.ga6...@tomgeorge.info



Re: Activities? Dash? Hot-corner?

2013-06-06 Thread Eric d'Halibut
On 6/6/13, Kailash  wrote:

> Hi, if you go to the top left corner of your screen, you enter
> "Activities". You should see a panel on your left which has some
> default favorite apps.

Thank you for your response; you are much too kind.

I pursued some researches of my own, and after man-handling
gnome-shell into place, and compelling it to run; I quickly decided
upon, and carried out, these (now-highly recommended) steps:

# dpkg -r gnome-core

# apt-get autoremove

# apt-get install icewm

All best,

-- 
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?

http://trollboy.thruhere.net:8080/MontyPython/fish.htm


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



Re: How to consistently install a set of packages?

2013-06-06 Thread Joe
On Fri, 7 Jun 2013 00:38:46 +1000
David  wrote:

> On 07/06/2013, David  wrote:
> >
> > Also, 'man 8 useradd' does not state this either, for the --system
> > option. I saw there that useradd has exit status =9 if
> > "username already in use" and feared that would apply.
> 
> Oops, I was mistakenly reading an old Fedora manpage. On wheezy,
> 'man 8 adduser' says:
> "If a user with the same name already exists in the system uid range
> [...] adduser will exit with a warning. This warning can be
> suppressed by adding --quiet".
> 
> It is unclear to me if --quiet just suppresses the warning, or also
> the exit.
> 

That would imply to me that the warning is suppressed. The action (i.e.
exit) will still take place.

I would be very surprised to find that a package which normally
installed a user and/or group would fail to make use of an existing
one of the correct name (i.e. would actually delete an existing
system user and create it again). At most it might modify other details
e.g. home directory if the existing values were incorrect, or removing
a password if one had been created, but I have doubts that most
packages would even do that.

I won't guarantee it could never happen, but I think the possibility is
unlikely enough to be worth following the suggestion, and creating
users and groups that match the existing /etc/passwd and /etc/group
before installing the packages. Don't forget any home directories and to
make sure the specified shell(s) will exist on the new system. It would
seem likely that creating a script which does the whole job in one go
would be the way to go, as it will be used more than once.

You would certainly see after package installation if any of your
values had been modified, and could change them back, along with
permissions on whatever directories had been set up.

I'd say this was a more useful strategy than trying to get the
installation order of packages repeatable without installing them one by
one.

Oh, you might want to steer clear of sid for the next month or two.
There's a lot of furniture being moved around at the moment, with a
fair few corners being knocked off of things. The new SNMP doesn't work
yet, and I've just had a delivery of broken CUPS, which I've declined.

-- 
Joe


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



Re: Sound But No CD Sound - Pulseaudio Problem?

2013-06-06 Thread Thomas H. George
On Thu, Jun 06, 2013 at 04:14:00PM -0400, Thomas H. George wrote:
> On Tue, Jun 04, 2013 at 09:15:35AM -0400, Thomas H. George wrote:
> > My system is Wheezy.
> > ogg123 plays ogg files perfectly with sound.
> > workbone plays the cd but there is no sound.
> > cdir lists the tracks on the cd.
> > 
> Could this be a pulseaudio problem?  Something wrong in my setup?  In
> /etc/fstab I have /dev/sr0/cdrom iso9550,ro,user,noauto.  The command
> cdplay like workbone starts reading the CD but no sound.  Perhaps the
> signal is being redirected to nowhere?

Update: Used grip to rip the tracks to ogg files.  ogg123 plays these
files with sound.  Still no sound when workbone plays the cd.
> > 
> > -- 
> > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> > with a subject of "unsubscribe". Trouble? Contact 
> > listmas...@lists.debian.org
> > Archive: http://lists.debian.org/20130604131535.ga19...@tomgeorge.info
> > 
> > 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20130606201400.ga6...@tomgeorge.info
> 
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130606204732.ga7...@tomgeorge.info



Re: Sound But No CD Sound - Pulseaudio Problem?

2013-06-06 Thread Alan Ianson
On Thu, 6 Jun 2013 16:14:00 -0400
"Thomas H. George"  wrote:

> On Tue, Jun 04, 2013 at 09:15:35AM -0400, Thomas H. George wrote:
> > My system is Wheezy.
> > ogg123 plays ogg files perfectly with sound.
> > workbone plays the cd but there is no sound.
> > cdir lists the tracks on the cd.
> > 
> Could this be a pulseaudio problem?  Something wrong in my setup?  In
> /etc/fstab I have /dev/sr0/cdrom iso9550,ro,user,noauto.  The
> command cdplay like workbone starts reading the CD but no sound.
> Perhaps the signal is being redirected to nowhere?

That's possible. I had problems with sound when pulseaudio was
installed by recommends at one time. I removed pulseaudio and all was
well again. On my current setup with xfce there is no puleaudio and I
have no problems with sound.

libpulse0 and libpulse-mainloop-glib0 are installed but all is well.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130606135559.40817...@debian.ok.shawcable.net



Re: Dovecot IMAP

2013-06-06 Thread Alex Dubinin
04.06.2013 18:15, Alex Dubinin пишет:
> So work all mail clients that I tried! With other servers work fine. I
> checked a few other servers. I think, this problem in namespaces. You
> can try without thunderbird using telnet or openssl. My result: 04
> LIST "" "*" * LIST (\HasChildren) "." "INBOX" * LIST (\HasNoChildren)
> "." "INBOX.Trash" But must be: 04 LIST "" "*" * LIST (\HasNoChildren)
> "." "INBOX" * LIST (\HasNoChildren) "." "Trash" The root folder INBOX
> - is result of having namespace 'INBOX' in dovecot 2 settings. 
Have any ideas?



signature.asc
Description: OpenPGP digital signature


Re (3): CUPS, "Add Printer Error".

2013-06-06 Thread peasthope
Thanks to Brad and Patrick.

From:   Patrick Wiseman 
Date:   Thu, 6 Jun 2013 14:52:54 -0400
> the relevant section of my /etc/cups/cupsd.conf

Appears that my old cupsd.conf was moved to cupsd.conf.O and 
the packaged cupsd.conf was installed.  I should have noticed.

> 
>   AuthType Default
>   Require user @SYSTEM
>   Order allow,deny
> 

Reviewing the manual, this means block everything, allow as 
specified and then deny as specified.  With no Allow after 
Order, isn't everything blocked?  Here, this allows adding  
a printer.

   Order allow,deny
   Allow 172.24.1.*

Thanks for the help,  ... Peter E.



-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  
"http://members.shaw.ca/peasthope/index.html#Itinerary "


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/171058054.59283.22633@cantor.invalid



Re: How to consistently install a set of packages?

2013-06-06 Thread paul e condon

On 06/05/2013 10:39 PM, David wrote:

I have a small number of personal different-hardware PCs, each with
the same set of different OS currently managed by grub v1. With
unison, rsync, scripts, and some care I successfully keep all OS and
the shared data in sync. It works great for my needs.

I now intend to add Debian wheezy and hope that it becomes my
preferred OS to replace an outdated Fedora. I already have a bare
minimal base install of wheezy on each PC, achieved by running
debian-installer manually in expert mode and unselecting everything on
the tasksel page.

I know the set of Debian packages I next want to install, without
recommends (like aptitude -R). These will be served locally by approx.
I keep the installation minimal for my needs only, and avoid gnome.

Because some packages create users and groups, I want to be sure that
these packages are installed in the same sequence on every PC so that
numeric uid&  gid in /etc/passwd and /etc/group end up the same on all
PCs. This will make admin easier when keeping the shared data in sync
if the numeric uid and gid are the same in every OS.

To do the install I could use a shell script of many 'aptitude -R'
calls, but I don't know the required order to satisfy dependencies.

I could give 'aptitude -R' the large list of of packages, but how do I
know that its depsolver will always install the packages in the same
order? Perhaps I could do this once, and then get from some logfile
the actual order that was used?

google isnt helping me, results are dominated by debian-installer and
preseeding but I think that is not relevant to my question because I
already have installed debian manually. Please correct me if I am
wrong.

Are there any better methods I should be aware of, to ensure that
everywhere the packages are installed in the same sequence?



David,

I am involved in a project that parallels your's in that it is just as 
'outside the mainstream' as your's seems to be. I have found some useful 
features of Aptitude for building and using a personal selection of 
packages:

To generate a list of installed packages, run;

# aptitude -F "%p %M" search "~i" | tr -s " " > /root/packages-all

This generates a list of all installed packages, followed by ' A' if the 
package marked as needed by some other package.

Run:

# grep -v ' A$' /root/packages-all > packages-noA

to generate a minimum length list of packages that must be installed by 
Aptitude to force the installation of all packages via the dependency 
mechanism.


Then to install the whole lot on a nearly naked computer, run:

# aptitude install $(cat /root/packages-noA)

The files are text which can be edited in vim or emacs to remove cruft 
that is actually on the source computer but that you really don't to be 
automatically propagated to all your computers.


The order in which packages are actually install is, I think, not 
alphabetical. Aptitude has some internal logic that installs in an order 
that is defined by the dependency tree.


On a related topic:
Numbering of groups depends on the order in which the named groups were 
created during installation of the packages. You only have one user so 
that one user will always have a uid==1000 on Debian. All real users in 
Debian also have their own group, so your gid will be gid==1000. If you 
list the file /etc/group, you will find gid == 1000 towards the end of 
the list, but not at the end because /etc/group grows during install by 
adding new group name/gid as they are needed.
You say the hardware of your several computers in not identical. There 
will likely be differences in the dependency tree in different 
architectures, so there will be problems over time keeping the 
name/number pairs the same in different architectures and different 
releases. I sure the problem is solvable but the effort may be beyond 
what you want expend on going your own way. It does sound like an 
interesting way to become very familiar with the insides of Debian, and 
a rich source of knit-picking bug reports on the documentation ;-)


Good Luck,
Paul


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

Archive: http://lists.debian.org/51b10b91.6030...@gmail.com



Re: How to consistently install a set of packages?

2013-06-06 Thread Gilles Mocellin

Le 07/06/2013 00:22, paul e condon a écrit :

[...]

Are there any better methods I should be aware of, to ensure that
everywhere the packages are installed in the same sequence?



David,

I am involved in a project that parallels your's in that it is just as 
'outside the mainstream' as your's seems to be. I have found some 
useful features of Aptitude for building and using a personal 
selection of packages:

To generate a list of installed packages, run;

# aptitude -F "%p %M" search "~i" | tr -s " " > /root/packages-all

This generates a list of all installed packages, followed by ' A' if 
the package marked as needed by some other package.

Run:

# grep -v ' A$' /root/packages-all > packages-noA

to generate a minimum length list of packages that must be installed 
by Aptitude to force the installation of all packages via the 
dependency mechanism.


Then to install the whole lot on a nearly naked computer, run:

# aptitude install $(cat /root/packages-noA)

The files are text which can be edited in vim or emacs to remove cruft 
that is actually on the source computer but that you really don't to 
be automatically propagated to all your computers.


The order in which packages are actually install is, I think, not 
alphabetical. Aptitude has some internal logic that installs in an 
order that is defined by the dependency tree.


On a related topic:
Numbering of groups depends on the order in which the named groups 
were created during installation of the packages. You only have one 
user so that one user will always have a uid==1000 on Debian. All real 
users in Debian also have their own group, so your gid will be 
gid==1000. If you list the file /etc/group, you will find gid == 1000 
towards the end of the list, but not at the end because /etc/group 
grows during install by adding new group name/gid as they are needed.
You say the hardware of your several computers in not identical. There 
will likely be differences in the dependency tree in different 
architectures, so there will be problems over time keeping the 
name/number pairs the same in different architectures and different 
releases. I sure the problem is solvable but the effort may be beyond 
what you want expend on going your own way. It does sound like an 
interesting way to become very familiar with the insides of Debian, 
and a rich source of knit-picking bug reports on the documentation ;-)


Good Luck,
Paul



You can have in one command what you do :
And more, with the installed version, to be sure to install the same 
version, even if there were updates since :


# aptitude -F "%p=%V" --disable-columns search '~i!M'

For the ordering problem. I dont think the solver is silly enought to  
install in a different order the same set of packages, asuming the 
starting state is the same of course.


Anyway, you can change the uid/gid afeterward if they are different !
And change the rights with a command like :

# find / -uid 120 -exec chown 110 {} \;
# find / -gid 120 -exec chgrp 110 {} \;



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

Archive: http://lists.debian.org/51b1153c.50...@nuagelibre.org



Re: Re (2): Email suggestions

2013-06-06 Thread Jerry Stuckle

On 6/4/2013 3:59 AM, Klaus wrote:

On 04/06/13 01:47, peasth...@shaw.ca wrote:

From: Bonno Bloksma 
Date: Mon, 3 Jun 2013 10:26:39 +


Using IMAP means that the mail WILL be left on the server
unless the user moves the mail from the inbox
... IMAP is really useful because they can (re)read mail online
which they already "downloaded" to their PC. Users with multiple
client devices will see the same mail on all devices, with the same
(read, marked, etc.) status.
...
If you just want them to get their mail then stick with pop3.


There is a way to have the advantages of POP3 and IMAP without
the disadvantage of maintaining storage for users who neglect
the mailbox.  Offer POP3 and not IMAP and tell users to put
their POP3 mbox on a flash storage device which is kept with
the individual.  Plug in the flash device and all the mail is there.
Retrieve the mail to the flash device by POP3 whenever
convenient.  If the flash device is filled with old messages there
is no problem for the server.  When network access is not available,
the messages in the flash are still there.  It's the best of both worlds.

Regards,  ... Peter E.


Except if you are in a corporate environment, where data security is an
issue.



That is not an issue in this case.  If it were, the server would be in a 
secure location.



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

Archive: http://lists.debian.org/51b117ac.9030...@attglobal.net



Re: Email suggestions

2013-06-06 Thread Jerry Stuckle

On 6/4/2013 3:01 AM, Guy Marcenac wrote:

Le 03/06/2013 23:21, Jerry Stuckle a écrit :

> sure they create archive mail folders AND move the mail to those
> folders once the mail is read you will end up with mail on the
> server.

Yes, and that's what concerns me.  I don't know exactly how my users
manage their inboxes.  If they're as bad as I am, the required space
can easily get out of hand :)


You could enforce a quota policy. Dovecot implements it, and it looks
quite easy to setup:
http://wiki2.dovecot.org/Quota



I don't like quotas.  They are just too restricting.

For instance, when someone is in the office, they could keep their email 
cleaned up.  However if they go on two weeks vacation and easily have 
their mailbox fill up.  Then email would be lost.



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

Archive: http://lists.debian.org/51b1181a.3090...@attglobal.net



Re: Email suggestions

2013-06-06 Thread Jerry Stuckle

On 6/6/2013 5:20 AM, Bonno Bloksma wrote:

Hi,


sure they create archive mail folders AND move the mail to those
folders once the mail is read you will end up with mail on the
server.


Yes, and that's what concerns me.  I don't know exactly how my users
manage their inboxes.  If they're as bad as I am, the required space
can easily get out of hand :)


You could enforce a quota policy. Dovecot implements it, and it looks quite 
easy to setup:
http://wiki2.dovecot.org/Quota


I do not know if dovecot can do it but this is one place where the Exchange 
server has a good way of dealing with it.
It has 2 qouta levels. The first will prevent you from sending any more mails 
until you clean up your mailbox but it will still allow you to receive 
mail. So you will not lose any mail. The second level will also stop receiving 
mails, which is usually there to make sure that there IS a limit to the 
mailbox, at work we have it set at double the first limit.
Exchange (which we use at work) is not my favorite mailserver in many cases but 
this is one feature that I really like.

Bonno Bloksma




Personally, I would consider this to be the worst of both worlds. 
Someone on a smart phone couldn't send an important reply unless they 
clean out their inbox first.



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

Archive: http://lists.debian.org/51b118ce.1070...@attglobal.net



Re(2): Email suggestions

2013-06-06 Thread peasthope
From:   Jerry Stuckle 
Date:   Thu, 06 Jun 2013 19:15:38 -0400
> ... if they go on two weeks vacation and easily have 
> their mailbox fill up.  Then email would be lost.

I'd take the flash card and a laptop.  Inevitably there 
are opportunities to update the flash.  While adjusting 
the helm there is plenty of time to compose replies.

*   From: Klaus 
*   Date: Tue, 04 Jun 2013 08:59:37 +0100
> Except if you are in a corporate environment, where data security is an 
> issue. 

Does POP3+flash impair security more than IMAP+flash?  
Few employers prevent employees from bringing flash media.  
A dishonest or mischievous employee will ignore rules. 
Even if portable storage is eliminated, a display can be photographed. 

An employer is likely to lose more than is gained by trying to 
prohibit portable storage.  Better to aim to attract good employees 
and to stay on good terms than to try to force conformance and obedience.

Regards,  ... Peter E.

-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  
"http://members.shaw.ca/peasthope/index.html#Itinerary "


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/171058054.72388.22635@cantor.invalid



Scanning in Wheezy.

2013-06-06 Thread peasthope
Dang; I'm beginning to regret replacing Squeeze.

Since grading, the old HP ScanJet IIcx doesn't work.  
Wheezy doesn't have quiteinsane and the old plugin from 
Squeeze is no immediate help.
http://packages.debian.org/search?keywords=quiteinsane

Is anyone using a scanner in Wheezy?  Any ideas?

Thanks,   ... Peter E.

-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/  
"http://members.shaw.ca/peasthope/index.html#Itinerary "


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/171058054.75038.22636@cantor.invalid



Re: How to consistently install a set of packages?

2013-06-06 Thread paul e condon

On 06/06/2013 05:03 PM, Gilles Mocellin wrote:

Le 07/06/2013 00:22, paul e condon a écrit :

[...]

Are there any better methods I should be aware of, to ensure that
everywhere the packages are installed in the same sequence?



David,

I am involved in a project that parallels your's in that it is just 
as 'outside the mainstream' as your's seems to be. I have found some 
useful features of Aptitude for building and using a personal 
selection of packages:

To generate a list of installed packages, run;

# aptitude -F "%p %M" search "~i" | tr -s " " > /root/packages-all

This generates a list of all installed packages, followed by ' A' if 
the package marked as needed by some other package.

Run:

# grep -v ' A$' /root/packages-all > packages-noA

to generate a minimum length list of packages that must be installed 
by Aptitude to force the installation of all packages via the 
dependency mechanism.


Then to install the whole lot on a nearly naked computer, run:

# aptitude install $(cat /root/packages-noA)

The files are text which can be edited in vim or emacs to remove 
cruft that is actually on the source computer but that you really 
don't to be automatically propagated to all your computers.


The order in which packages are actually install is, I think, not 
alphabetical. Aptitude has some internal logic that installs in an 
order that is defined by the dependency tree.


On a related topic:
Numbering of groups depends on the order in which the named groups 
were created during installation of the packages. You only have one 
user so that one user will always have a uid==1000 on Debian. All 
real users in Debian also have their own group, so your gid will be 
gid==1000. If you list the file /etc/group, you will find gid == 1000 
towards the end of the list, but not at the end because /etc/group 
grows during install by adding new group name/gid as they are needed.
You say the hardware of your several computers in not identical. 
There will likely be differences in the dependency tree in different 
architectures, so there will be problems over time keeping the 
name/number pairs the same in different architectures and different 
releases. I sure the problem is solvable but the effort may be beyond 
what you want expend on going your own way. It does sound like an 
interesting way to become very familiar with the insides of Debian, 
and a rich source of knit-picking bug reports on the documentation ;-)


Good Luck,
Paul



You can have in one command what you do :
And more, with the installed version, to be sure to install the same 
version, even if there were updates since :


# aptitude -F "%p=%V" --disable-columns search '~i!M'

For the ordering problem. I dont think the solver is silly enought to  
install in a different order the same set of packages, asuming the 
starting state is the same of course.


In the example I gave the packages are listed in alphabetical order by 
name. I doubt very much that they can actually be each fully installed 
with all pointers to subroutines fully
bound to a actual entry point, all done in alphabetical order. I agree 
that the reality can easily be hidden, but when one chooses to break 
with the tried and true methods as David wants to do, problems arise.

Anyway, you can change the uid/gid afeterward if they are different !
And change the rights with a command like :
The Debian package has scripts that manipulate files in /etc/defaults 
and elsewhere in order the set up the environment such that it will 
operate in concert with the information in /etc/group as it is during 
*install* process, not as the /etc/group might exist after some 
post-install user manipulation, I believe. David may *say* he wants the 
order in some particular way, but I'm sure he also wants the system to 
function as well.


On both points, I think the installer as it exists already needs to do 
the individual steps of an install in a particular order and one of the 
early steps is to discover what that order is. David wants to have 
control over that order, which, IMHO, he will find very hard to do. As 
an example, only if one defines the meaning of 'install' to exclude the 
link-edit step of a traditional compile body of code can it be 
otherwise. Link edit, or instantiating pointer arrays can only be 
generated after it has been decided where the blocks of code will be 
placed in RAM. And this is just one of many problems.


# find / -uid 120 -exec chown 110 {} \;
# find / -gid 120 -exec chgrp 110 {} \;






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

Archive: http://lists.debian.org/51b1403a.1050...@gmail.com



Re: Scanning in Wheezy.

2013-06-06 Thread John L. Cunningham
On Thu, Jun 06, 2013 at 06:20:30PM -0700, peasth...@shaw.ca wrote:
> Dang; I'm beginning to regret replacing Squeeze.
> 
> Since grading, the old HP ScanJet IIcx doesn't work.  
> Wheezy doesn't have quiteinsane and the old plugin from 
> Squeeze is no immediate help.
> http://packages.debian.org/search?keywords=quiteinsane
> 
> Is anyone using a scanner in Wheezy?  Any ideas?

I had a similar problem with my IIc. It had to do with the sg module,
but I can't remember if it was that the module wasn't installed or
merely not loaded.  Try "sudo modprobe sg" and then reconnect the
scanner to see if it is recognized. As a warning: even after I got it
installed, it never worked that well. I had run both Xsane and Simple
Scan because invariably one would refuse to work. When it did work, I
had to fix every scan in Gimp because the levels were way off. No amount
of calibration would stick. Eventually my printer died, and the cheapest
replacement I could find also had a scanner. That worked flawlessly,
so I ditched the IIc.
-- 
John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130607031646.ga21...@cerulean.myhome.westell.com



Re: Email suggestions

2013-06-06 Thread Jerry Stuckle

On 6/6/2013 8:43 PM, peasth...@shaw.ca wrote:

From:   Jerry Stuckle 
Date:   Thu, 06 Jun 2013 19:15:38 -0400

... if they go on two weeks vacation and easily have
their mailbox fill up.  Then email would be lost.


I'd take the flash card and a laptop.  Inevitably there
are opportunities to update the flash.  While adjusting
the helm there is plenty of time to compose replies.



Believe it or not, there are actually companies who don't want their 
people to even think about work while on vacation.  And there are people 
who follow that advice.



*   From: Klaus 
*   Date: Tue, 04 Jun 2013 08:59:37 +0100

Except if you are in a corporate environment, where data security is an issue.


Does POP3+flash impair security more than IMAP+flash?
Few employers prevent employees from bringing flash media.
A dishonest or mischievous employee will ignore rules.
Even if portable storage is eliminated, a display can be photographed.

An employer is likely to lose more than is gained by trying to
prohibit portable storage.  Better to aim to attract good employees
and to stay on good terms than to try to force conformance and obedience.

Regards,  ... Peter E.



I never indicated security was a problem.

But thanks for the input.


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

Archive: http://lists.debian.org/51b151f1.7020...@attglobal.net



Re: Remplacement for zsafe on wheezy

2013-06-06 Thread Tyler D
On Wed, Jun 5, 2013 at 4:16 AM, Mérof 42  wrote:
> Thanks you both, I'm going to test it.
> It seem to be better than zsafe, with more options.
> I just dislike qt library, but is a different story
>
> A question about keepassx, I saw it use AES 256bits to store password, is my
> password safe if somebody steal my laptop per example?
> Off course I plan to use a sufficient strong master password.
> I'm not really familiar with encryption, and I don't know witch encryption
> provide sufficient security.

Another recommendation for KeePassX from me as well.  It works on
Linux, Mac, and Windows.  That was one of the more important selling
points for me.

As far as the safety of a KeePassX database goes, I think you are
fine.  I too am not a mathematical computer wizard of science theory,
so I suggest this post:
http://serverfault.com/questions/51895/are-128-and-256bit-aes-encryption-considered-weak

I also wanted to point out that you can set up a two-factor
authentication scheme.  Meaning, in addition to requiring that a
password (something you know) be supplied, you can also require that a
key file (something you have) be specified.  That doesn't really have
to do with security (your "sufficient security") but rather
authentication.  Since there can be an additional authentication
factor, the likelihood of someone being able to brute force their way
in to your password database are made lower.


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



Re: Upgrade from 6.0.7 to 7.0 issues

2013-06-06 Thread Kailash

On Sunday 02 June 2013 11:37 PM, Miroslav Skoric wrote:

I upgraded the other day, and noticed some differences between my
desktop appearance (Gnome) and what is described in the Help. According
to Help, there should be some Activities menu or something like that in
the upper left corner, but only I see is Applications and Places in that
screen area. Any idea?



Hi Miroslav,

Looks like you're booting into Gnome Classic. Logout and see if you have 
other Gnome desktops available.


Sincerely,
Kailash


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

Archive: http://lists.debian.org/51b156d8.2000...@gmail.com



thinkpad t43 hangs

2013-06-06 Thread Umarzuki Mochlis
hi,

i installed wheezy i386 on my t43 via netinst

it hangs after i i installed a few sotwares/firwares which includes:

firmware-fw2x00
firmware-linux-nonfree
vlc
msttcorefonts
icedtea-plugin
fkashpkugin-nonfree

i'm not sure which one caused that but here's what happened:

screen blank for a second then back again, mouse cursor disappeared.
after i go to terminal ( Ctrl + Alt + F1) then back to Ctrl + Alt +
F8, it goes back to normal for a while. After a few times, it finally
hangs and I have to force shutdown.

have anyone experienced this situation?

any idea/suggestions?


--
Regards,

Umarzuki Mochlis
http://debmal.my


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



Upgrading from squeeze to wheezy fails with error

2013-06-06 Thread fireball
Today I tried upgrading from squeeze to wheezy. I followed the instructions
here:
http://www.howtoforge.com/how-to-upgrade-debian-squeeze-to-wheezy

When I did the dist-upgrade, after it downloaded several hundred files, it
gave me this error message:

E: Could not perform immediate configuration on 'libgstreamer0.10-0'. Please
see man 5 apt.conf under APT::Immediate-Configure for details. (2)

I am stuck. Although others have experienced this problem, there are few
solutions. The solutions I found did not work.

I would be grateful for any suggestions on how to proceed.



--
View this message in context: 
http://debian.2.n7.nabble.com/Upgrading-from-squeeze-to-wheezy-fails-with-error-tp2968556.html
Sent from the Debian User mailing list archive at Nabble.com.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1370579997974-2968556.p...@n7.nabble.com



Re: Upgrading from squeeze to wheezy fails with error

2013-06-06 Thread Umarzuki Mochlis
Maybe you could share us link(s) to solutions that you had tried before?

2013/6/7 fireball :
> Today I tried upgrading from squeeze to wheezy. I followed the instructions
> here:
> http://www.howtoforge.com/how-to-upgrade-debian-squeeze-to-wheezy
>
> When I did the dist-upgrade, after it downloaded several hundred files, it
> gave me this error message:
>
> E: Could not perform immediate configuration on 'libgstreamer0.10-0'. Please
> see man 5 apt.conf under APT::Immediate-Configure for details. (2)
>
> I am stuck. Although others have experienced this problem, there are few
> solutions. The solutions I found did not work.
>
> I would be grateful for any suggestions on how to proceed.
>
>
>
> --
> View this message in context: 
> http://debian.2.n7.nabble.com/Upgrading-from-squeeze-to-wheezy-fails-with-error-tp2968556.html
> Sent from the Debian User mailing list archive at Nabble.com.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/1370579997974-2968556.p...@n7.nabble.com
>



--
Regards,

Umarzuki Mochlis
http://debmal.my


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



Re: Dovecot IMAP

2013-06-06 Thread Stan Hoeppner
On 6/6/2013 3:59 PM, Alex Dubinin wrote:
> 04.06.2013 18:15, Alex Dubinin пишет:
>> So work all mail clients that I tried! With other servers work fine. I
>> checked a few other servers. I think, this problem in namespaces. You
>> can try without thunderbird using telnet or openssl. My result: 04
>> LIST "" "*" * LIST (\HasChildren) "." "INBOX" * LIST (\HasNoChildren)
>> "." "INBOX.Trash" But must be: 04 LIST "" "*" * LIST (\HasNoChildren)
>> "." "INBOX" * LIST (\HasNoChildren) "." "Trash" The root folder INBOX
>> - is result of having namespace 'INBOX' in dovecot 2 settings. 
> Have any ideas?

The Dovecot mailing list will be of more help.

http://www.dovecot.org/mailinglists.html

-- 
Stan



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51b18381.3000...@hardwarefreak.com