Re: rsync question

2015-02-07 Thread Rob Owens
On Fri, Feb 06, 2015 at 07:58:22PM +, Curtis Vaughan wrote:
 I need to rsync several, but not all, the Maildir directories under /home.
 I have a file with all the user accounts, so what would the script be to 
 say take each user account name and then rsync up each Maildir directory.
 
 The rsync command would be:
 
 rsync -arv ./[username]/Maildir/ root@[computer]:/home/[username]/Maildir/
 
 I have already gone through each user's directory and manually done each 
 one over the course of the week. Now I want to be able to sink up using a 
 single command.
 
I think you want to use rsync's --include-from parameter.  That lets you
specify a file which contains all the includes.  I don't think you need
a catch-all --exclude=* after that, but I'm not 100% sure.  Take a look
at the FILTER RULES section of 'man rsync'.

It would be something like:

rsync -arv --include-from=my_include_file ./*/Maildir/ 
root@[computer]:/home/*/Maildir/

and my_include_file would be something like:

user1/Maildir/
user2/Maildir/
user5/Maildir/

I think you want to specify 'Maildir' after each user.  Otherwise you
might end up including a directory named 'user1' which resides in
user3's directory.  In other words, be as specific as possible with your
includes.

I haven't tested any of this.  Just going from memory.

-Rob


signature.asc
Description: Digital signature


Re: An experiment in backup

2015-01-17 Thread Rob Owens
On Fri, Jan 16, 2015 at 07:50:33PM -0800, Kevin O'Gorman wrote:
 I've not tried other solutions.  I worry that the ones folks seem to like
 most do more
 than I need or want in terms of management.  I want my stuff where I can
 see it, so
 to speak, and where I can use the ancient tools (tar, dd, gzip and so on)
 to work with it.
 
You might take a look at rsnapshot, then.  It uses hard links to avoid
backing up the same file more than once, but everything ends up in its
own directory that you can see and manipulate with standard tools.

Backuppc does put everything together where you can see it, but it does
so by using its web interface or command line tools that are specific to
backuppc.  

I understand you have a lot of storage space.  But the less space your
backups take up, the more backups you can have.  I keep daily backups
for x number of days, weekly backups for y days, yearly backups for z
days.  All of this for multiple machines.

Another benefit of not backing up the same files over and over again is
that you can perform backups over the internet to an offsite location,
and it doesn't require as much bandwidth.

But it is hard to argue against sticking with the tried and true
ancient tools.

 I'm a bit ashamed I've never tried (or needed) a system restore before.  So
 whatever
 this problem is, it's probably lurking in all of my backups.  I may just
 make image
 backups of my bootable partitions real quick now, pending resolution of
 this difficulty.
 
Yeah, you gotta test...  But for my Linux systems I usually don't worry
about backing up the OS.  I keep install media handy and if I have a
disaster, I reinstall the OS and then restore my data and certain things
in /etc.  But that is a more manual process than just restoring the
whole thing at once.

-Rob


signature.asc
Description: Digital signature


Re: An experiment in backup

2015-01-16 Thread Rob Owens
On Thu, Jan 15, 2015 at 07:19:52PM -0800, Kevin O'Gorman wrote:
 I'm trying to develop a reliable backup method that does not use
 proprietary tools or formats, and is free as in beer.  I thought I had it,
 but i just tried a restore, and it's a miserable failure.  I wonder if
 anyone here can point out the error of my ways.
 
 I have a tar backup of the entire system, excluding /sys, /proc and /dev.
 I have a tar backup of a bind-mount of /dev.
 These were taken while the system was running, but quiet.  I did it this
 way because I cannot get the system to boot into single user mode.  Putting
 single on the end of the linux like results in a black screen.
 
 I restored these, created /sys and /proc, and tried to boot the resulting
 partition.  It boots, but X does not come up, or even seem to try.  I can
 do a console login to my usual account, and stuff is there.
 
Check the permissions on /tmp.  It should be drwxrwxrwt.  Without the
't' at the end, stuff like X logins won't work (in my experience).


signature.asc
Description: Digital signature


Re: An experiment in backup

2015-01-16 Thread Rob Owens
On Thu, Jan 15, 2015 at 08:47:01PM -0800, Kevin O'Gorman wrote:
 On Thu, Jan 15, 2015 at 8:41 PM, David Christensen 
  There are two basic kinds of backups:
 
  1.  File system -- e.g. a copy of the files and directories on an mounted
  and operating drive.
 
  2.  Raw binary image -- e.g. a copy of the bytes on a drive taken when the
  drive is powered, but the partitions, volumes, file systems, etc., are not
  mounted.
 
 
  For system drives, the former won't work; you need the later.  I connect a
  large hard drive (to hold the images), boot Debian installation media into
  rescue mode, and use 'dd' to backup/ restore system drive raw binary images.
 
  I was hoping for some details on why this won't work on system drives, or
 conditions under which it just might.  Another user has suggested I read
 https://help.ubuntu.com/community/BackupYourSystem/TAR which suggests that
 it actually should work.

Image backups are definitely easier for doing disaster recovery of an
entire machine.  And when you have that kind of problem, you may really
appreciate having to do less work / make fewer decisions.

But filesystems backups can be used for disaster recovery.  I've done
it.  One potential problem is that on a running system, things change.
So at the start of your backup, you backup file A.  At the end of the
backup, you backup file Z.  But in the middle of the backup, both file A
and file Z have changed.  And some software requires that file A and
file Z be in sync.  When you restore, those files are not in sync and
you could have a problem.

In practice, I haven't seen this be a problem much on home desktop
machines.  But that's not to say it couldn't be a problem.

Another thing to consider is hardware changes.  This can make certain
devices be named differently when you restore.  eth0 becomes eth1, and
/etc/network/interfaces doesn't have a stanza for eth1.  /dev/dvd
becomes /dev/dvd1, and your cd burner was set to look for /dev/dvd which
no longer exists.  These things can be fixed in the /etc/udev/rules.d
directory.

UIDs of disk partitions will change.  If /etc/fstab references UIDs, you
need to update it.  Same for /boot/grub/grub.cfg, although for that you
run update-grub2 from the restored system (you'll need to boot with a
live cd and chroot, or you'll need to boot with Super Grub Disk or
similar).  You will also need to install the bootloader on the new hard
disk.  'grub-install /dev/sda' 

The UUID and Grub issues don't show up when restoring from an image
backup, but the network card and cd burner issues can.

There are a lot of free software backup solutions available.  I would
recommend using one of those, unless this endevour is more for learning
experience than anything else.

Backuppc may be overkill for your case, but it's pretty good.  It will
do file pooling and compression, so keeping multiple backups of one or
more machines doesn't take up much disk space.

-Rob


signature.asc
Description: Digital signature


Re: Preventing the computer from shutting down.

2015-01-15 Thread Rob Owens
On Fri, Oct 31, 2014 at 04:10:11PM -0600, Mario Castelán Castro wrote:
 Thanks everybody for their help. I will use molly-guard to guard
 from accidental shut down from the CLI. Is there something like
 molly-guard for the LXDE power off/close session button?.
 
 I must clarify that what I mean by “preventing the computer from
 shutting down” is preventing the operator from inadvertently
 shutting down or rebooting the system while it is undergoing a
 backup.

I know this is an old thread, but here's something that might work.

I have a Wheezy system running LXDE and if you try to shut down using
the gui while another user is logged in, it refuses.  Actually, I think
it requests the root password.

So if your backup process involves an ssh login of a regular user (uid
of 1000 or greater), other users won't be able to shut down the computer
by normal gui methods.

-Rob


signature.asc
Description: Digital signature


Re: problem with corrupted root password

2015-01-15 Thread Rob Owens
On Thu, Jan 15, 2015 at 12:47:08PM +0100, mrr wrote:
 On 15/01/2015 01:00, Gary Dale wrote:
 On 14/01/15 04:26 PM, Rob Owens wrote:
 On Wed, Jan 14, 2015 at 03:07:09PM -0500, Comer Duncan wrote:
 I recently got wheezy up and running.  I installed xfce4 and like it.
 
 However, today in the process of trying to spawn a root terminal (in
 Accessories) and going through a cycle of trying to get authorized but
 being prevented by repeated complaints that the system password I
 used was
 not correct, I now find that I can not get logged in in single-user
 mode!
 I have thus royally screwed up.  So, how can I get the system password
 changed to something new?
 
 Thanks for help and apologies for making such an error.
 Boot using a Live CD, then as root:
 
 mount /dev/sda1 /mnt/sda1 (or whatever device is your root partition)
 chroot /mnt/sda1
 passwd
 I'd change the chroot command to
chroot /mnt/sda1 bash
 
 to ensure you get the correct shell. System Rescue CD, for example, uses
 zsh by default so chrooting with specifying the shell will get you a
 not-found error.
 
 
 
 Wouldn't it work too if you delete the root line in /etc/shadow ?
 When I say delete, I mean just the hash, you would leave a line:
 
 root:
 
I tried this with a test user and it worked.  But there are fields after
the password hash that remain.  My user's line in /etc/shadow looked like 
this:

junk::16450:0:9:7:::

I was able to login as the 'junk' user without a password.  I wasn't
even asked for a password.  However, 'su junk' from my regular user
account did not work.

 And just for fun (well maybe I'll try this later) if you take your
 user hash in the same file and copy it in the place of the root
 hash, wouldn't root get the same password as the user one?
 
I tested this too, and it worked for both a login and for su.

Thanks for the ideas!

-Rob


signature.asc
Description: Digital signature


Re: problem with corrupted root password

2015-01-14 Thread Rob Owens
On Wed, Jan 14, 2015 at 03:07:09PM -0500, Comer Duncan wrote:
 I recently got wheezy up and running.  I installed xfce4 and like it.
 
 However, today in the process of trying to spawn a root terminal (in
 Accessories) and going through a cycle of trying to get authorized but
 being prevented by repeated complaints that the system password I used was
 not correct, I now find that I can not get logged in in single-user mode!
 I have thus royally screwed up.  So, how can I get the system password
 changed to something new?
 
 Thanks for help and apologies for making such an error.

Boot using a Live CD, then as root:

mount /dev/sda1 /mnt/sda1 (or whatever device is your root partition)
chroot /mnt/sda1
passwd 


signature.asc
Description: Digital signature


Re: Have I been hacked?

2015-01-08 Thread Rob Owens
On Thu, Jan 08, 2015 at 02:20:27PM -0500, Jerry Stuckle wrote:
 Danny,
 
 If you want to inspect further, I would suggest you look at each of the
 jobs being run.  See if they are what you expect them to be.  Also check
 your /etc/crontab and /etc/anacrontab to see what is in them.
 
And if you can't tell which job is the culprit, try running them one by
one to see which one causes the problems you're seeing.

Oh, and make sure you check users' cron jobs.  You can find them in
/var/spool/cron/*.

All of this is in the name of curiosity only, however.  Like others have
said alread, a reinstall is in your future.

-Rob


signature.asc
Description: Digital signature


Re: Please stop systemd-fsck on _every_ boot!

2015-01-07 Thread Rob Owens
On Tue, Jan 06, 2015 at 06:23:18PM -0600, ~Stack~ wrote:
 Greetings,
 
 This problem has been a minor annoyance for a while but only recently
 have I started to use Jessie more and it is has finally peeved me off. I
 have been trying everything I can find for the last two hours and I
 still can't get systemd to STOP doing a fsck on _every_ boot!

I suppose it's possible that the bios battery is no good, and the clock
is getting reset after each shutdown.  Then the last time fsck'd would
be in the future, and I expect the system might fsck your disk as a 
precaution.

You might never notice the clock issue if ntp or ntpdate is running and
corrects the clock after the network is up.

Good luck!

-Rob


signature.asc
Description: Digital signature


Re: SFTP question

2014-12-23 Thread Rob Owens
On Tue, Dec 23, 2014 at 02:52:28PM +0200, Danny wrote:
 Hi guys,
 
 I am trying to setup SFTP (ssh) with ProFTP.
 
 My /etc/proftpd/conf.d/sftpd.conf looks like this:
 
 ###
 IfModule mod_sftp.c
 SFTPEngine on
 Port 7003
 SFTPLog /var/log/proftpd/sftp.log
 # Configure both the RSA and DSA host keys, using the same host key
 # files that OpenSSH uses.
 SFTPHostKey /etc/ssh/ssh_host_rsa_key
 SFTPHostKey /etc/ssh/ssh_host_dsa_key
 SFTPAuthMethods publickey
 SFTPAuthorizedUserKeys file:/etc/proftpd/authorized_keys/%u
 SFTPCompression delayed
 /IfModule
 ##
 
 I added the following line in /etc/ssh/sshd_config:
 
 Subsystem sftp /usr/lib/openssh/sftp-server
 
 I generated a key for each user that will use SFTP located in their
 /home/USER/.ssh/ directory
 
 As you can see, I have setup SFTP to listen on port 7003.
 
 My question is the following: The users that will connect to the ssh server 
 uses
 FileZilla and mostly from Windows based machines. I copied the id_rsa key
 files (which was generated on Debian) to the Windows user's My Documents
 folder on Windows. I also added the (copied) id_rsa files to FileZilla.
 
 However, I get an Authentication Failed followed by a Critical Error:Could
 not connect to server from FileZilla.

Did you put the contents of id_rsa.pub into a file called
/home/$USER/.ssh/authorized_keys on the sftp server?

-Rob


signature.asc
Description: Digital signature


Re: init script can't find /bin/dirname

2014-12-22 Thread Rob Owens
On Mon, Dec 22, 2014 at 04:41:05PM +0100, Sven Joachim wrote:
 On 2014-12-22 04:10 +0100, Rob Owens wrote:
  So I'm still not sure why /etc/init.d/mysql cannot find dirname and
  basename when running at system boot, but it can find them when run
  from a terminal after boot.
 
 Maybe you have a /bin/dirname executable whose interpreter is missing,
 e.g. it could be a 32-bit binary and you don't have libc6:i386
 installed anymore.

That's it!  This system has a /bin/dirname as well as /usr/bin/dirname.
When I call /bin/dirname from a shell, I get -bash: /bin/dirname: No
such file or directory.

My other Wheezy system (which was installed as a 64-bit system) only has
/usr/bin/dirname. 

OK, I guess I've got a little research to do.  If you have any clue how
to straighten this out, I'm all ears.

Thanks for all your help!

-Rob


signature.asc
Description: Digital signature


Re: init script can't find /bin/dirname

2014-12-22 Thread Rob Owens
On Mon, Dec 22, 2014 at 10:55:15AM -0500, Rob Owens wrote:
 On Mon, Dec 22, 2014 at 04:41:05PM +0100, Sven Joachim wrote:
  On 2014-12-22 04:10 +0100, Rob Owens wrote:
   So I'm still not sure why /etc/init.d/mysql cannot find dirname and
   basename when running at system boot, but it can find them when run
   from a terminal after boot.
  
  Maybe you have a /bin/dirname executable whose interpreter is missing,
  e.g. it could be a 32-bit binary and you don't have libc6:i386
  installed anymore.
 
 That's it!  This system has a /bin/dirname as well as /usr/bin/dirname.
 When I call /bin/dirname from a shell, I get -bash: /bin/dirname: No
 such file or directory.

$ ls -l /bin/dirname
-rwxr-xr-x 1 root root 13880 Jan 30  2007 /bin/dirname

$ file /bin/dirname
dirname: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped

Similar thing for /bin/basename and a bunch of other files that are
present in both /bin and /usr/bin.  For all the duplicates I've checked,
the files in /bin are 32-bit and are old, while the files in /usr/bin
are 64-bit and are recent.

So I guess for now I'm going to move all these obsolete files into
another directory and make sure the system works ok before I delete them
for good.  I'm not sure how this system ended up like this, but it's and
old system that's been dist-upgraded many times as well as having the
hard disk moved to different hardware.  

I checked Wheezy, Squeeze, and Lenny and the coreutils package doesn't 
put dirname or basename in /bin on any of those releases -- they go in 
/usr/bin.  I wasn't able to go farther back than that.  But 2007 is when 
Etch was released, and that was also the first Debian release I ever used.

Sven, thanks for your help.  Your tips got me heading down the right
track.

-Rob


signature.asc
Description: Digital signature


init script can't find /bin/dirname

2014-12-21 Thread Rob Owens
The /etc/init.d/mysql script on one of my systems is complaning that it
can't find /bin/dirname and /bin/basename.  Line 24 of the script is
this:

SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)

Both dirname and basename live in /usr/bin, not /bin.

I know I could add a PATH statement to the init script, but this problem
is my own doing and I'd like to fix it right.  I cross-graded this
system from 32-bit to 64-bit using this guide:

www.ewan.cc/?q=node/90

It worked pretty well, but not perfectly.  Some things got missed, like
screen, ntp, and a couple other packages.  I'm thinking that maybe
another missing package is preventing the mysql init script from
checking for /usr/bin/dirname.

I can run '/etc/init.d/mysql start' from a terminal and it works fine,
because it picks up the PATH associated with the terminal.  So this is
only a boot-time issue.

So is there a package or a  global setting somewhere that sets the PATH 
for init scripts?

-Rob



signature.asc
Description: Digital signature


Re: init script can't find /bin/dirname

2014-12-21 Thread Rob Owens
On Sun, Dec 21, 2014 at 10:32:07PM +0100, Sven Joachim wrote:
 On 2014-12-21 21:58 +0100, Rob Owens wrote:
 
  The /etc/init.d/mysql script on one of my systems is complaning that it
  can't find /bin/dirname and /bin/basename.  Line 24 of the script is
  this:
 
  SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)
 
  Both dirname and basename live in /usr/bin, not /bin.
 
 Which should be fine from the script's point of view as long as
 $remote_fs is in the Required-Start header (i.e. /usr is guaranteed to
 be mounted).
 
It is.  In any case, /usr is part of the / partition.  In case it
matters, /var is a separate partition.  And I'm using software raid 1
for both / and /var.

  I know I could add a PATH statement to the init script, but this problem
  is my own doing and I'd like to fix it right.  I cross-graded this
  system from 32-bit to 64-bit using this guide:
 
  www.ewan.cc/?q=node/90
 
  It worked pretty well, but not perfectly.  Some things got missed, like
  screen, ntp, and a couple other packages.  I'm thinking that maybe
  another missing package is preventing the mysql init script from
  checking for /usr/bin/dirname.
 
 That seems to be unlikely, but you could add a line with echo $PATH to
 the script to find out what PATH actually is.
 
I will do this, but I can't reboot just yet to check it out.  I will
post my findings later.

  I can run '/etc/init.d/mysql start' from a terminal and it works fine,
  because it picks up the PATH associated with the terminal.  So this is
  only a boot-time issue.
 
  So is there a package or a  global setting somewhere that sets the PATH 
  for init scripts?
 
 PATH is set directly by init.  If I read the source code correctly,
 sysvinit sets it to /sbin:/usr/sbin:/bin:/usr/bin while systemd uses
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin.
 
This is a Wheezy system, running with sysvinit.  

'man init' says:

ENVIRONMENT
   Init sets the following environment variables for all its
   children:

   PATH   /bin:/usr/bin:/sbin:/usr/sbin

So maybe it's not a path issue after all.  What else could it be then?
The boot messages clearly indicate that it's failing to find
/bin/dirname and /bin/basename.

Thanks for your help.

-Rob


signature.asc
Description: Digital signature


Re: init script can't find /bin/dirname

2014-12-21 Thread Rob Owens
On Sun, Dec 21, 2014 at 06:07:20PM -0500, Rob Owens wrote:
 On Sun, Dec 21, 2014 at 10:32:07PM +0100, Sven Joachim wrote:
  On 2014-12-21 21:58 +0100, Rob Owens wrote:
   I know I could add a PATH statement to the init script, but this problem
   is my own doing and I'd like to fix it right.  I cross-graded this
   system from 32-bit to 64-bit using this guide:
  
   www.ewan.cc/?q=node/90
  
   It worked pretty well, but not perfectly.  Some things got missed, like
   screen, ntp, and a couple other packages.  I'm thinking that maybe
   another missing package is preventing the mysql init script from
   checking for /usr/bin/dirname.
  
  That seems to be unlikely, but you could add a line with echo $PATH to
  the script to find out what PATH actually is.
  
 I will do this, but I can't reboot just yet to check it out.  I will
 post my findings later.

I rebooted and found that the path is fine:

/sbin:/usr/sbin:/bin:/usr/bin

So I'm still not sure why /etc/init.d/mysql cannot find dirname and
basename when running at system boot, but it can find them when run
from a terminal after boot.

Any advice would be appreciated!

-Rob


signature.asc
Description: Digital signature


mounting removable media without systemd on Jessie

2014-12-17 Thread Rob Owens
Just posting something I discovered recently in case anybody's interested...

On a Jessie system without systemd you can mount USB sticks and other
removable media using the pmount command, as others have pointed out on
this list.  I was looking for a gui method, and I've found it.  Spacefm
is a file manager that will use any of the following to mount removable
media:

udevil
pmount
udisks2 (depends on libpam-systemd)
udisks

I've tested its use with pmount and udevil and they both work.  I find
udevil a bit nicer, because I was able to get the mount point to be
/media/$USER/label by setting the following in /etc/udevil/udevil.conf:

allowed_media_dirs = /media/$USER

I'm not claiming that this is a perfect solution.  For instance, spacefm
and udevil are currently unmaintained.  But I thought some folks on this
list would be interested to know about this option anyway.

-Rob


signature.asc
Description: Digital signature


Re: change subject of emails on ISP's IMAP server

2014-12-16 Thread Rob Owens
On Mon, Dec 15, 2014 at 05:38:03PM +, Darac Marjal wrote:
 On Fri, Dec 12, 2014 at 08:53:51PM -0500, Rob Owens wrote:
  When my ISP encounters an email that it cannot scan for viruses, it
  prepends ***UNCHECKED*** to the subject.  This occurs on every encrypted
  email I receive.  It's highly annoying, and the ISP refuses to fix this.
  
  What tools can I use to detect this tag and delete it?  I'd prefer to
  modify the subject of the email as it resides on my ISP's IMAP server.
  But if I have to rely on my email client (mutt) to do that, that's ok
  too I guess.
  
  Any suggestions would be welcome.  
 
 Apparently, this is what imapfilter will do. You'll need to write a lua
 script to tell it what to do, but it looks like it comes with some
 hackable examples.

Thanks.  I see the following example in some of the imapfilter docs.  I'll have
to stare at it until it makes sense.  If anybody can offer any assistance, 
please chime in.  Until then, I will be reading lua documentation.

-- Messages can be appended to a mailbox.  One can fetch a message from a
-- mailbox, optionally process it, and then upload it to the same or different
-- mailbox, at the same or different mail servers.  In the following example a
-- header field is added to all messages, and the processed messages are then
-- appended to a different mailbox.

all = myaccount.mymailbox:select_all()

for _, mesg in ipairs(all) do
mbox, uid = table.unpack(all)
header = mbox[uid]:fetch_header()
body = mbox[uid]:fetch_body()
message = header:gsub('[\r\n]+$', '\r\n') ..
  'My-Header: My-Content\r\n' .. '\r\n' .. body
myaccount.myothermaibox:append_message(message)
end



signature.asc
Description: Digital signature


Re: change subject of emails on ISP's IMAP server

2014-12-13 Thread Rob Owens
On Fri, Dec 12, 2014 at 09:47:55PM -0500, The Wanderer wrote:
 On 12/12/2014 at 08:53 PM, Rob Owens wrote:
 
  When my ISP encounters an email that it cannot scan for viruses, it
  prepends ***UNCHECKED*** to the subject.  This occurs on every
  encrypted email I receive.  It's highly annoying, and the ISP refuses
  to fix this.
  
  What tools can I use to detect this tag and delete it?  I'd prefer
  to modify the subject of the email as it resides on my ISP's IMAP
  server. But if I have to rely on my email client (mutt) to do that,
  that's ok too I guess.
  
  Any suggestions would be welcome.
 
 The last time I mentioned wanting to do something like this, what was
 recommended to me was procmail, which would sit between the upstream
 server and your mail client.
 
I thought procmail wouldn't work, because the mail doesn't actually
reside on my system.  But I'll look into it.  Like you said, it may lead
me down the path to alternatives.

-Rob


signature.asc
Description: Digital signature


change subject of emails on ISP's IMAP server

2014-12-12 Thread Rob Owens
When my ISP encounters an email that it cannot scan for viruses, it
prepends ***UNCHECKED*** to the subject.  This occurs on every encrypted
email I receive.  It's highly annoying, and the ISP refuses to fix this.

What tools can I use to detect this tag and delete it?  I'd prefer to
modify the subject of the email as it resides on my ISP's IMAP server.
But if I have to rely on my email client (mutt) to do that, that's ok
too I guess.

Any suggestions would be welcome.  

-Rob


signature.asc
Description: Digital signature


Valuing non-code contributions -- was Re: systemd - so much energy wasted in quarreling

2014-11-11 Thread Rob Owens
- Original Message -
 From: _...@debian.org

 Debian also was always and will always stay technically defined by those
 volunteering to make it what it is. By extension, it is explicitly not
 defined by those not putting work (but only words) into it; unmaintained
 software and code paths are routinely removed when not enough volunteers
 keep the things working, and that's a good thing.

I don't mean to single out the poster of this comment, because it is something 
I've seen repeated by several Debian developers and some non-developers.  Other 
forms of it are If you want that fixed, please submit a patch, or the 
response I got to bug 762116, Code changes the world.

This type of comment says to me that my contributions to Debian are useless if 
they are not in the form of code.  Like many here, I am not a coder.  My words 
*are* my contribution.  They come in the form of bug reports.  They come in the 
form of technical discussion and (hopefully) clearly-stated needs/desires for 
certain functionality.  They come in the form of convincing others to try 
Debian and bringing more users into our ecosystem -- users who may contribute 
in the same ways I have, or maybe even submit patches.

So developers, I know you are volunteers.  I don't expect you to do my bidding. 
 But I think some of you could be more appreciative or accepting of non-code 
contributions.  The code is everything attitude comes off as elitist, and I 
don't think that is truly how you mean to be.  Code is certainly necessary, but 
it is not everything.  The non-coders want Debian to succeed, too, and their 
contributions may come in the form of discussion about the right thing, the 
useful thing, the way to provide flexibility, the way to guarantee freedom, etc.

The fact that Debian has a constitution and a social contract is evidence that 
Debian is more than just code.  So please consider that before dismissing the 
discussions/contributions/desires/opinions of the non-coders out there.

-Rob

PS:  A big thank you to all who have made positive contributions to Debian.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1428000998.222818.1415722794353.javamail.zim...@ptd.net



Re: Valuing non-code contributions -- was Re: systemd - so much energy wasted in quarreling

2014-11-11 Thread Rob Owens
- Original Message -
 From: Rob Owens row...@ptd.net
 
 - Original Message -
  From: _...@debian.org
 
  Debian also was always and will always stay technically defined by those
  volunteering to make it what it is. By extension, it is explicitly not
  defined by those not putting work (but only words) into it; unmaintained
  software and code paths are routinely removed when not enough volunteers
  keep the things working, and that's a good thing.
 
 I don't mean to single out the poster of this comment, because it is
 something I've seen repeated by several Debian developers and some
 non-developers.  Other forms of it are If you want that fixed, please
 submit a patch, or the response I got to bug 762116, Code changes the
 world.
snip

The OP contacted me off list.  I accept that he didn't mean his comments to be 
as broad as I took them to be, and I don't have any hard feelings.  I hope he 
doesn't either.  Regardless, I want to make sure my intention of my post is 
clear:

Recently someone on this list made the very good point that we should be 
careful not to de-motivate the developers.  I would just add that we should be 
careful as well not to de-motivate the non-coding contributors.  That's all.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1249103608.358239.1415738619173.javamail.zim...@ptd.net



Re: apt as a user

2014-11-03 Thread Rob Owens
On Fri, Oct 31, 2014 at 11:29:26AM -0400, shawn wilson wrote:
 I'm trying to allow an apt user to run apt* commands. I've got this polkit:
 
 /etc/polkit-1/localauthority/30-site.d/10-org.com.foo.apt.pkla
 
 [Configuration]
 AdminIdentities=unix-user:apt
 Action=org.debian.apt.*
 ResultAny=no
 ResultInactive=no
 ResultActive=yes
 
 However when I: su - apt
 it looks like nothing has changed:
 
 $ apt-get update
 E: Could not open lock file /var/lib/apt/lists/lock - open (13:
 Permission denied)
 E: Unable to lock directory /var/lib/apt/lists/
 E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
 E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
 
 I've got aptdaemon installed. Any idea what I'm doing wrong here?

Unless I'm misunderstanding what you want to do, you could just use
sudo.  Run 'visudo' to edit the /etc/sudoers file and add this line in
the User privilege specification section:

apt ALL=NOPASSWD: /usr/bin/apt-get *

The NOPASSWD part is optional.  You could omit it and the apt user would
have to enter a password to run apt-get.  The '*' is a wildcard.  You
could omit it and be specific, like this:

apt ALL=NOPASSWD: /usr/bin/apt-get update
apt ALL=NOPASSWD: /usr/bin/apt-get upgrade

This would allow both of those commands to be run by the apt user.

-Rob



signature.asc
Description: Digital signature


Re: Strange hardware problem, any clue is welcome

2014-10-23 Thread Rob Owens
- Original Message -
 From: B. M. b-m...@gmx.ch
 
 I have a really strange problem with an computer from this fruit company
 in my family:
 
 It's an iMac from 2008, still running osx 10.6, but I put Testing on it
  several months ago as the second OS (which is much better, as I
 think...). Therefore I shrinked the existing partition on the 500GB SATA
 hard drive and added a small boot partition and an ext4 partition for /.
 The system was fully encrypted.
 
 Unfortunately, there was a problem with disk I/O: booting into Linux
 went well, sometimes the machine worked normal, but most of the time it
 got very slow after some time (maybe after about an hour, sometimes
 earlier, sometimes never) during disk activity. It was very difficult to
 work with. After a warm reboot the firmware didn't find any disk most of
 the time but not always.
 
 Last week I replaced Testing by osx 10.10. The installation went well
 and it seemed that everything works. About an hour later I discovered
 the possiblity to enable disk encryption; what happens is that the OS
 sets a kind of partition flag and starts encrypting the partition on the
 fly, one can continue to work! - one can even shutdown the system and
 continue later. During this encryption process, the machine started
 hanging again and later it was completely stuck. After a forced reboot,
 it continued to encrypt but after a few minutes it's again stuck. This
 seems to be reproducable every time I reboot, so the machine is just
 unusable, the encryption is stuck at about two thirds. osx
 10.6 didn't show these problems when it was used (without any
 encryption), even in the last couple of
 months, when Linux was already installed and showed the problems.

Lack of SMART errors aside, I would have thought it was bad sectors.  Let's 
suppose OSX is installed on the first half of the hard drive, and all those 
sectors are good.  Now you install Debian on the second half, and you hit bad 
sectors.  Same thing happens when you remove Debian but encrypt OSX -- it most 
likely is encrypting the entire drive and not just the used space.  So you hit 
the bad sectors again.

That would be my guess, but I don't know why you're not seeing any SMART errors.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1636161228.1311465.1414088967426.javamail.zim...@ptd.net



Re: If Not Systemd, then What?

2014-10-21 Thread Rob Owens
- Original Message -
 From: Jonathan Dowland j...@debian.org
 On Tue, Oct 21, 2014 at 05:27:34AM -0200, Martinx - ジェームズ wrote:
  If uselessd provides ONLY a new init, based on CGroups and lots of
  cool ideas from systemd itself, then, it worth trying it! Just for
  fun...
 
 I think it's an interesting project and I might contribute towards the
 packaging, so long as it's a team effort, but currently nobody has
 taken ownership of the 'request for package' bug, so there is almost
 no chance of uselessd being a part of jessie. (it would have to be
 packaged, uploaded and pass NEW in under 2 weeks.)

Jonathan,

I'm not sure what is meant by nobody has taken ownership of the 'request for 
package' bug.  If that's something that needs to be done, tell me what is 
required and I'll see if I can do it.

-Rob


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/812307098.111494.1413900021175.javamail.zim...@ptd.net



Re: If Not Systemd, then What?

2014-10-21 Thread Rob Owens
- Original Message -
 From: Jonathan Dowland j...@debian.org
 
 On Tue, Oct 21, 2014 at 10:00:21AM -0400, Rob Owens wrote:
  I'm not sure what is meant by nobody has taken ownership of the 'request
  for
  package' bug.  If that's something that needs to be done, tell me what is
  required and I'll see if I can do it.
 
 There is a bug, it's currently a request for package, to progress, someone
 prepared to maintain uselessd in Debian should take over the bug and rename
 it
 to ITP for intent to package. See
 https://www.debian.org/doc/manuals/developers-reference/pkgs.html#newpackage
 
 At present nobody has indicated that they are going to do the work.

Ah, I see.  Unfortunately that's not something I'm able to do (I lack the 
skills).

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1965074579.286177.1413918502554.javamail.zim...@ptd.net



Re: GR proposed re: choice of init systems

2014-10-17 Thread Rob Owens
- Original Message -
 From: goli...@riseup.net
 
 Now let's see what happens with this!
 
 https://lists.debian.org/debian-vote/2014/10/msg1.html

Very interesting discussion there.  Thanks for posting.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/514115636.12487941.141394395.javamail.zim...@ptd.net



Re: GR proposed re: choice of init systems

2014-10-17 Thread Rob Owens
- Original Message -
 From: Tanstaafl tansta...@libertytrek.org
 
 Still only 4 seconds though...

Not true:   https://lists.debian.org/debian-vote/2014/10/msg00012.htm

There was an alternate proposal made by the Debian Leader.  That may have only 
gotten 4 seconds (I didn't count), but apparently it does not need any seconds 
because it was made by the Debian Leader (according to the discussion in that 
thread, anyway).

So it looks like there will be a vote on this.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/440887099.12565880.1413565264705.javamail.zim...@ptd.net



Re: Conflict of interest in Debian

2014-10-16 Thread Rob Owens
- Original Message -
 From: Marty mar...@ix.netcom.com
 
 It seems like free software employment and market share come with
 increasing risk to objectivity and technical quality. It's my main
 concern as a Debian user, as I consider recent trends.
 
 I hope that Debian members consider an amendment to restrict voting
 rights for members who have a financial interest in Debian or in any
 project used by Debian, to promote and protect the public interest.

Conflicts of interest are not just financial.  Even an unpaid developer should 
probably not be voting as a technical committee member on whether to make his 
project the Debian default.  He could vote for his project because of the glory 
that comes with being the Debian default.  Or maybe he truly believes it is the 
best.  But he knows his project better than any of the alternatives.  He is 
invested in it.  He should be the expert petitioning the decision-makers, but 
he should not be one of the decision-makers.

I really think this concept is obvious and was really surprised that Debian 
allowed a vote for default init system to occur in a technical committee whose 
members have vested interests in one init system or another. 

Avoiding perceived conflict of interest is just as important as avoiding actual 
conflict of interest, because it undermines confidence in the leadership.  Most 
conflict-of-interest regulations that I know of (USA-based) reflect this.  (But 
let's not start citing examples of government officials who have violated these 
principles -- we all know there are plenty).  

Anyway, regardless of how impartial the tech committee members are believed to 
be, the upstart guys and the systemd guys probably should not have participated 
in the vote for default init system.  

-Rob



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/2067826345.12141048.1413482927746.javamail.zim...@ptd.net



find out why a package was installed

2014-10-10 Thread Rob Owens
Is there an apt command that will tell me why package X was installed?  For 
instance, was it manually installed, or installed as a dependency/recommends of 
package Y?

Thanks

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1576628267.9633515.1412947725890.javamail.zim...@ptd.net



Re: question about systemd

2014-10-10 Thread Rob Owens
- Original Message -
 From: Nate Bargmann n...@n0nb.us

 I just went ahead and went back to sysvinit-core and in the process
 started purging packages in Aptitude!  At the end policykit, packagekit,
 rtkit, and systemd were excised and a whole host of other stuff I
 couldn't find a reason to keep.  Guess what, Thunar now gives me
 read/write permission when mounting my flash drive due to an old line in
 /etc/fstab.  However, it doesn't show up on the Xfce desktop.  :-(  I
 can live with that, however.

Could you share that line in /etc/fstab?

On my Jessie system, I've got USB mounting working with pcmanfm.  It required 
some systemd stuff as well as policykit:

~$ aptitude search ~i | grep systemd
i A libpam-systemd  - system and service manager - PAM module   
id  libsystemd-daemon0  - systemd utility library (deprecated)  
i A libsystemd0 - systemd utility library   
i A libsystemd0:i386- systemd utility library   
i A systemd - system and service manager
i   systemd-shim- shim for systemd  

$ aptitude search ~i | grep policykit
i A policykit-1 - framework for managing administrative poli
i A policykit-1-gnome   - GNOME authentication agent for PolicyKit-1

I am running sysvinit, not systemd-sysv (which is why systemd-shim is 
installed).

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/659588797.9625032.1412947405623.javamail.zim...@ptd.net



Re: find out why a package was installed

2014-10-10 Thread Rob Owens
- Original Message -
 From: Marius Gavrilescu mar...@ieval.ro
 Rob Owens row...@ptd.net writes:
 
  Is there an apt command that will tell me why package X was installed?
  For instance, was it manually installed, or installed as a
  dependency/recommends of package Y?
 
 aptitude why package

Thanks Marius and Martin.  That was jingling around in my head somewhere, but I 
was trying 'apt-cache why'.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/599489661.9765229.1412959428648.javamail.zim...@ptd.net



Re: pcmanfm won't mount USB stick on Jessie

2014-10-08 Thread Rob Owens
- Original Message -
 From: Steve Litt sl...@troubleshooters.com
 On Tue, 7 Oct 2014 14:57:07 -0400 (EDT)
 Rob Owens row...@ptd.net wrote:
 
  I've filed a bug, but haven't gotten any answers yet.
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760397
  
  Is anybody else having trouble mounting a USB stick using pcmanfm?
  When I try it, I get:
  
  Not Authorized:
  GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
  org.freedesktop.PolicyKit1 was not provided by any .service files
  
  I am running fluxbox and systemd-shim.  No desktop environments are
  installed, such as gnome, lxde, etc.
  
  -Rob
 
 I've never been able to mount a USB stick with pcmanfm, on either
 Ubuntu or Debian (Wheezy). Only Thunar did it, and then only on Ubuntu.

It works for me on Wheezy, but not Jessie.  But on my Wheezy system, I have 
Gnome and LXDE installed, so maybe one of those brought in some other package 
which makes it work.

 Fortunately, I installed something that automounts my thumb drives
 to /media/usb0, /media/usb1, etc, so I don't need my file manager to do
 it.

Well, don't keep it a secret!  What are you using?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/2029606754.8819918.1412777818138.javamail.zim...@ptd.net



pcmanfm won't mount USB stick on Jessie

2014-10-07 Thread Rob Owens
I've filed a bug, but haven't gotten any answers yet.  
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760397

Is anybody else having trouble mounting a USB stick using pcmanfm?  When I try 
it, I get:

Not Authorized: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The 
name org.freedesktop.PolicyKit1 was not provided by any .service files

I am running fluxbox and systemd-shim.  No desktop environments are installed, 
such as gnome, lxde, etc.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1337436164.8514424.1412708227177.javamail.zim...@ptd.net



Re: upgrade from 7 to testing no longer possible

2014-10-06 Thread Rob Owens
- Original Message -
 From: To Ja goa.ra...@gmail.com
 
 Hi All,
 Just tried to upgrade my simple LAMP box from Wheezy to Jessie, but this
 error prevents whole process
 
 root@xxx:~# apt-get --download-only dist-upgrade
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 Calculating upgrade... Failed
 The following packages have unmet dependencies:
  udev : Breaks: plymouth ( 0.9.0-7) but 0.8.5.1-5 is to be installed
 E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused
 by held packages.
 
 I did exactly the same procedure few days ago and all went well. It looks
 that udev version: 215-5+b1 introduced above problem.

I would uninstall plymouth and then try again.  If you succeed, you can try 
re-installing plymouth later on, if you really want it.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/84524826.7996243.1412611433550.javamail.zim...@ptd.net



Re: systemd-shim to be removed?

2014-10-02 Thread Rob Owens
- Original Message -
 From: Jonathan Dowland j...@debian.org
 
 On Wed, Oct 01, 2014 at 07:08:37PM -0700, Rusi Mody wrote:
  To me, a non-expert user, what sense does this make?
 
 jessie is still in development, it has not been released. If you are unduly
 concerned by running an in-development suite, stick to stable.
 
It's true that this shouldn't be an issue in stable (once this stuff hits 
stable), but in the meantime how are we supposed to test (using unstable or 
testing) if the releases of systemd and systemd-shim are not coordinated?  
Would it be unreasonable to ask the maintainers to coordinate their releases?

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1828913980.6566189.1412258118999.javamail.zim...@ptd.net



Re: Part 2 - updating squeeze to wheezy

2014-09-29 Thread Rob Owens
On Sat, Sep 27, 2014 at 05:39:20PM -0400, John Lindsay wrote:
 Thank you Clive for your reply. Here are my settings now after doing
 the change to my sources.list:
 
 uname -a   shows:
 Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux
 
 lsb_release -a shows
 No LSB modules are available.
 Distributor ID:Debian
 Description:Debian GNU/Linux 7.6 (wheezy)
 Release:7.6
 Codename:wheezy
 
 I seem to have only one major problem and that is my Acer X223w
 display is not recognized and I'm only getting 1280x780 whereas
 before I was able to get a much higher range. Something to work on.
 I also think it will take a while to get used to how wheezy displays
 the desktop. I think I may hear some grumbling from my wife who also
 uses this computer.
 
Sounds like you're using Gnome3 Shell and you're not too excited about
it.  Before logging in, you can select your session to be Gnome
Classic or Gnome Fallback (I can't remember which).  That will be
fairly similar to the Gnome you're used to from Squeeze.  But it remains
to be seen how long that will be an option.  It certainly won't
disappear from Wheezy, but I'm not sure about Jessie.

If you want to try something that is more likely (I think) to be around
for a while, give LXDE or XFCE a try.  

apt-get install lxde
or
apt-get install xfce

-Rob


signature.asc
Description: Digital signature


Re: 'motion' does not save movies, only still pics

2014-09-26 Thread Rob Owens
- Original Message -
 From: Scott Ferguson scott.ferguson.debian.u...@gmail.com
 On 26/09/14 00:12, Rob Owens wrote:
  One thing that may be a factor in my case is that my test webcam is
  very slow.  I am only getting one picture every 2 or 3 seconds when
  motion is detected.  I have framerate set to 2 fps.  Maybe motion is
  aware that my pics are too far apart in time and is deciding not to
  combine them into a movie.
 
 Any clues in the logs?  'top' may help find any bottlenecks. Note that
 an older box will have problems with high frequency high resolution
 images - especially with USB  3. A work around that problem might be
 any or all of:-
 ;reduce frequency of images
 ;reduce image resolution
 ;offload image processing to hardware
 
 What sort of motion are you wanting to detect at 2 fps? A break-in by
 Speedy Gonzales? ;p
 Be careful or your motion directory will quickly fill with a huge amount
 of pictures. I don't use the movie output version - though I've used it
 in the past. I found it an unnecessary use of resources - it's trivial
 to construct a movie from the relevant still images at a later date -
 just ensure that you email those images off-site immediately after a
 motion event is detected (if you're using motion for security purposes).
 
 
 It may be relevant that while I do have the deb-multimedia.org
 repository enabled on the Debian (Wheezy) systems that run motion, it's
 pinned to give preference to debian repositories:-
 $ cat /etc/apt/preferences.d/multimedia.pref
 Package: *
 Pin: origin *.deb-multimedia.org
 Pin-Priority: 200

2 fps was the default.  I've just been testing basic functionality so far.

syslog shows ffmpeg errors.  I have ffmpeg installed from deb-multimedia.org, 
and I'm guessing there's a difference in command options or something.  I'll 
change that and report back.  Thanks for the help.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/2012508463.4408525.1411746733746.javamail.zim...@ptd.net



Re: updating squeeze to wheezy

2014-09-26 Thread Rob Owens
- Original Message -
 From: John Lindsay jclind...@kw.igs.net
 
 Greeting
 
 I have been trying to update my Debian 6 (squeeze) to Debian 7 (wheezy).
 I have been reading the following URLs and trying to make sense of them
 with respect to upgrading.
 
snip
 
 Obviously it failed to upgrade to wheezy. Any hints/suggestions/hep
 would be appreciated.
 

The main steps are:

1) upgrade your Squeeze system (I'm not sure if Squeeze sources are still 
available, so you may have to skip this).  This includes:
  1a) apt-get update
  1b) apt-get upgrade
  1c) apt-get dist-upgrade (just in case any packages were held back in step 1b)
2) edit sources.list to remove squeeze sources and add wheezy sources.
3) apt-get update
4) apt-get upgrade
5) apt-get dist-upgrade

Not until you do step 5 do you have a Wheezy system.  I suspect you missed this 
step.  Otherwise maybe you have something preventing the upgrade in apt.conf or 
your apt preferences files.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1604116771.4514722.1411762221147.javamail.zim...@ptd.net



'motion' does not save movies, only still pics

2014-09-25 Thread Rob Owens
I tested 'motion' on Wheezy yesterday.  It detects motion and takes still 
shots, but it is not creating movies out of the still shots.  

I have set:

# Use ffmpeg to encode mpeg movies in realtime (default: off)
ffmpeg_cap_new on

and

# Gap is the seconds of no motion detection that triggers the end of an event
# An event is defined as a series of motion images taken within a short 
timeframe.
# Recommended value is 60 seconds (Default). The value 0 is allowed and disables
# events causing all Motion to be written to one single mpeg file and no 
pre_capture.
gap 60

Can anybody confirm that movie output works on Wheezy?

One thing that may be a factor in my case is that my test webcam is very slow.  
I am only getting one picture every 2 or 3 seconds when motion is detected.  I 
have framerate set to 2 fps.  Maybe motion is aware that my pics are too far 
apart in time and is deciding not to combine them into a movie.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/762837346.3708132.1411654343076.javamail.zim...@ptd.net



Re: Let's have a vote!

2014-09-25 Thread Rob Owens
- Original Message -
 From: Steve Litt sl...@troubleshooters.com
 
 On Wed, 24 Sep 2014 13:13:51 -0400 (EDT)
 Rob Owens row...@ptd.net wrote:
 
  - Original Message -
   From: The Wanderer wande...@fastmail.fm
   
   On 09/22/2014 at 06:54 AM, Darac Marjal wrote:
   
   Those are votes for Debian, but not for systemd, or for Debian with
   systemd as central.
   
   In the case at hand, the latter two are what people are asking to be
   able to have a vote (or at least meaningful input other than making
   noise) on, by virtue of being users who will be affected by the
   decision rather than by virtue of doing work to implement the
   decision.
  
  I think the best voting method at this time is popularity-contest.
  Make sure you have PARTICIPATE set to yes.
  
  Of course the vote is stacked somewhat in favor of systemd-sysv,
  since it is the default and in some cases unavoidable due to
  dependencies of desktop software.  So all of the systemd-sysv votes
  in popularity-contest represent either:
  
  1) people who prefer systemd-sysv
  2) people who got systemd-sysv as a result of dependencies of
  installing a package that they really do want 3) people who don't
  care enough to switch away from the default, or 4) people who aren't
  aware of the options, don't know what an init system is, etc.
  
  -Rob
 
 That's not really a true choice. There are a lot of other init programs
 out there, any one of which could be voted for. There's the position
 let's wait until we have a good init to move to, which is very
 different from let's use sysvinit. There's no place to write in an
 other.
 
Steve,

Popularity-contest simply keeps track of what packages are installed on a 
user's system.  So unless you install an init system from source, your vote 
would be counted.  (To be clear, I'm not sure if it would be counted if you 
installed a third-party package).

I agree that let's wait until we have a good init to move to should have been 
more seriously considered, but for some reason people were in a big hurry to 
make a move.  

Anyway, 'dpkg-reconfigure popularity-contest' to make sure it's enabled.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1297701578.3738240.1411656178400.javamail.zim...@ptd.net



Re: Let's have a vote!

2014-09-25 Thread Rob Owens
- Original Message -
 From: Martin Read zen75...@zen.co.uk
 
 On 25/09/14 15:42, Rob Owens wrote:
  I agree that let's wait until we have a good init to move to should have
  been more seriously considered, but for some reason people were in a big
  hurry to make a move.
 
 The vote held was What should the default init system *in jessie* be?.
 Given that as the question under discussion, let's wait until we have a
 good init to move to (implication: there are currently no available
 init systems better than the status quo) was perfectly well served by
 the ballot option sysvinit.
 
Agreed.  My point was that I think people were in too much of a hurry to 
change, as if there was some kind of emergency, and I wish that waiting 
(sticking with sysvinit for now) were more seriously considered.  I didn't mean 
to imply that that choice was not available in the vote.

The vote moved us from one imperfect init to another imperfect init.  It was 
like voting on a beauty contest before the contestants had even finished doing 
their hair, just because we were so intent on removing the crown from last 
year's winner.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/585343013.3783962.1411659074139.javamail.zim...@ptd.net



Re: security camera software

2014-09-25 Thread Rob Owens
- Original Message -
 From: Scott Ferguson scott.ferguson.debian.u...@gmail.com
 
 I've been using motion for a few years and highly recommend it.
 Lightweight[*1], simple, and reliable.
 
 Minimal configuration required (snapshot mode):-
 Point your camera at the zone to be monitored.
 Take a picture.
 Edit the picture in GIMP (mask the areas you don't want monitored for
 motion).

Does this work just as a starting point for motion detection, or can you 
reference this picture for the beginning of any event.  My impression was that 
it detects motion based on comparing to the previous picture.  So the last 
picture of the first event would be used as the baseline for triggering a 
second event.

 Configure motion (set sensitivity and picture frequency)
 Make sure you've got enough space for the images it will generate -
 after setting the frequency and archiving.
 Set up your action on motion detection. I use an sms alert which
 notifies me of motion and emails the picture of the event and several
 minutes of photos preceding the event (bash script, sendmail, and
 gcsms). That way if the cameras and computer get stolen I don't lose the
 images.
 
 [*1]I was impressed to find it runs well on $12 TP-Link TL-WR703N devices

How are you doing that?  Running OpenWRT or something?

Thanks for all the info.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/247092421.3798574.1411660092423.javamail.zim...@ptd.net



Re: 'motion' does not save movies, only still pics

2014-09-25 Thread Rob Owens
- Original Message -
 From: Cindy-Sue Causey butterflyby...@gmail.com
 
 I can't help you with motion but I had a thought as I was reading
 your predicament.. OpenShot will produce an mpeg video output of
 multiple images if you find yourself up against a deadline or
 something and need an alternative.
 
Good to know.  Thanks.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/900014332.3839508.1411664511784.javamail.zim...@ptd.net



Re: 'motion' does not save movies, only still pics

2014-09-25 Thread Rob Owens
- Original Message -
 From: Bob McGowan bob_mcgo...@symantec.com
 
 On 9/25/14, 7:12 AM, Rob Owens row...@ptd.net wrote:
 
 I tested 'motion' on Wheezy yesterday.  It detects motion and takes still
 shots, but it is not creating movies out of the still shots.
 
 I have set:
 
 # Use ffmpeg to encode mpeg movies in realtime (default: off)
 ffmpeg_cap_new on
 
 and
 
 # Gap is the seconds of no motion detection that triggers the end of an
 event
 # An event is defined as a series of motion images taken within a short
 timeframe.
 # Recommended value is 60 seconds (Default). The value 0 is allowed and
 disables
 # events causing all Motion to be written to one single mpeg file and no
 pre_capture.
 gap 60
 
 Can anybody confirm that movie output works on Wheezy?
 
 One thing that may be a factor in my case is that my test webcam is very
 slow.  I am only getting one picture every 2 or 3 seconds when motion is
 detected.  I have framerate set to 2 fps.  Maybe motion is aware that my
 pics are too far apart in time and is deciding not to combine them into a
 movie.
 
 -Rob
 
 
 I should have added a caveat to my original response, I hadn't actually
 tried it, since my needs pointed me to a more feature full system.
 
 
 Looking at the 'gap' description, I wonder if you need to set it to '0' in
 order to get a movie?
 

You made me re-read the gap description, and I think the solution for me might 
actually be to increase the gap (although I will try zero as well).  Currently, 
each of my pictures is about 2 minutes apart due to slowness of my webcam.  
With the gap set at 60 seconds, each picture would be its own event so there 
would be no need to create a movie.  I will try this tonight.  Thanks for the 
response.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/395458369.3840753.1411664744282.javamail.zim...@ptd.net



Re: Question about the driver of wifi-card

2014-09-25 Thread Rob Owens
On Wed, Sep 24, 2014 at 06:52:52PM +0800, corvuscorax wrote:
 Hello! I have trouble in installing driver of my wifi card..
 (My computer is DELL Inpiron 14 5000 Series, the Os is debian 3.16.2. The 
 wifi card should be Intel AC 3160..I think)
 
 I can't see my wifi card by using lspci ,
 it just shows 02:00.0 Network controller: Intel Corporation Device 08b3 (rev 
 83)
 
 And iwconfig shows:
 eth0  no wireless extensions.
 lono wireless extensions.
 
 I download the driver iwlwifi-3160-8.ucode, and cp it into /lib/firmware. 
 However, I think it doesn't work
 I have checked the hotplug, it was chosen in kernel-config. What's more , 
 my USB can be recognized easily.
 
 Any suggestion?

You could 'apt-get install firmware-iwlwifi' if you have non-free
enabled in sources.list.  That has always worked for me.  I've never
tried the manual firmware download like you did, so I'm not sure if
you've done something wrong there or not.

-Rob


signature.asc
Description: Digital signature


security camera software

2014-09-24 Thread Rob Owens
I need to set up a couple usb cameras to record video based on motion 
detection.  I prefer ease of setup to a large feature set, since this is 
expected to be only temporary.  I want to only record when there is motion, so 
I don't have hours of footage to search through.

A quick search shows recommendations for a package called 'motion'.  Does 
anybody here have any experience with that, or can anybody recommend something 
better?

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1042477523.3261725.1411566214153.javamail.zim...@ptd.net



Re: Problem with SSH host keys

2014-09-24 Thread Rob Owens
- Original Message -
 From: Don Armstrong d...@debian.org
 
 On Tue, 23 Sep 2014, Keith Lawson wrote:
  I'll have to look into doign this too. I'm sure there's an explanation
  to this considering things like u...@domain.ca and u...@host.domain.ca
  have different results but if the keys weren't hashed in known_hosts
  it would make troubleshooting a lot simpler.
 
 Yeah. I actually still use hashing, but I pre-populate known_hosts as
 much as possible.
 
This makes me wonder:  what if the OP pre-populates his known_hosts with the 
info for his problem servers?  Then he'll know that the fingerprint and 
hostname are correct.  Will he still get the warning he's been getting?  If so, 
then it seems to be not a problem with the known_hosts file.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1515735156.3279044.1411568584488.javamail.zim...@ptd.net



Re: find

2014-09-24 Thread Rob Owens
- Original Message -
 From: Gokan Atmaca linux.go...@gmail.com
 
 Thanks for the correction.
 
 Indeed, will be as follows;
 find /arsiv/backup/ -mtime +1 -delete
 

The +1 will get rounded up, according to the man page:

 File was last accessed n*24 hours ago.  When  find  figures  out
how  many  24-hour  periods  ago the file was last accessed, any
fractional part is ignored, so to match -atime +1, a file has to
have been accessed at least two days ago.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/759560357.3288267.1411569959186.javamail.zim...@ptd.net



Re: security camera software

2014-09-24 Thread Rob Owens
- Original Message -
 From: Bob McGowan bob_mcgo...@symantec.com
 
 On 9/24/14, 6:43 AM, Rob Owens row...@ptd.net wrote:
 
 I need to set up a couple usb cameras to record video based on motion
 detection.  I prefer ease of setup to a large feature set, since this is
 expected to be only temporary.  I want to only record when there is
 motion, so I don't have hours of footage to search through.
 
 A quick search shows recommendations for a package called 'motion'.  Does
 anybody here have any experience with that, or can anybody recommend
 something better?
 
 -Rob
  
 
 I've looked into video surveillance also and only found 'motion', as the
 simple interface.
 
 The only other tool I've found is zoneminder, which is web based and much
 more complex.
 

I've been looking at the 'motion' docs and it seems straightforward, so I'll 
give it a try.  It supports multiple cameras, which was one of my concerns.

I've seen zoneminder in the past and I think it's much more than I need right 
now.

I will have a look at camorama, based on Hans' suggestions.

Thanks everyone for your help.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/41405936.3370333.1411576610564.javamail.zim...@ptd.net



Re: Let's have a vote!

2014-09-24 Thread Rob Owens
- Original Message -
 From: The Wanderer wande...@fastmail.fm
 
 On 09/22/2014 at 06:54 AM, Darac Marjal wrote:
 
 Those are votes for Debian, but not for systemd, or for Debian with
 systemd as central.
 
 In the case at hand, the latter two are what people are asking to be
 able to have a vote (or at least meaningful input other than making
 noise) on, by virtue of being users who will be affected by the decision
 rather than by virtue of doing work to implement the decision.

I think the best voting method at this time is popularity-contest.  Make sure 
you have PARTICIPATE set to yes.  

Of course the vote is stacked somewhat in favor of systemd-sysv, since it is 
the default and in some cases unavoidable due to dependencies of desktop 
software.  So all of the systemd-sysv votes in popularity-contest represent 
either:  

1) people who prefer systemd-sysv
2) people who got systemd-sysv as a result of dependencies of installing a 
package that they really do want
3) people who don't care enough to switch away from the default, or 
4) people who aren't aware of the options, don't know what an init system is, 
etc.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/286316909.3399471.1411578831858.javamail.zim...@ptd.net



Re: Problem with SSH host keys

2014-09-23 Thread Rob Owens
- Original Message -
 From: Keith Lawson ke...@nowhere.ca
 
 Hello,
 
 I'm running jessie on my laptop and after doing a dist-upgrade yesterday
 I'm getting SSH host key errors for a bunch of servers I've been
 connecting to for years:
 
 The authenticity of host 'blah' can't be established.
 RSA key fingerprint is e8:08:db:b0:e7:38:57:d4:82:a8:a4:1c:42:f0:25:09.
 Are you sure you want to continue connecting (yes/no)?
 
 The host keys are in ~/.ssh/known_hosts and haven't changed on the
 server side. Looking at the openssl, openssh-server and openssh-client
 change logs I don't see anything that would explain this behavior. Is
 anyone aware of any changes in openssh-client in jessie that would cause
 certain server keys that were previously working to be invalid?
 

I just tried ssh'ing from my jessie server and couldn't reproduce your problem. 
 Usually if the key has changed, you get a different warning someone is doing 
something nasty, or something to that effect.  The message you're getting 
seems to indicate it's not finding the host/fingerprint in known_hosts at all.  
Check the permissions on known_hosts.  On my system it's 600.  Also check 
~/.ssh -- it should be 700.

You can check the fingerprint in the known_hosts file like this:

ssh-keygen -F blah -l

Compare this value to the fingerprint being reported in the message you posted 
above.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/851492337.2640335.1411485252141.javamail.zim...@ptd.net



Re: There is no choice

2014-09-23 Thread Rob Owens
- Original Message -
 From: Chris Bannister cbannis...@slingshot.co.nz
 
 On Mon, Sep 22, 2014 at 09:04:05PM +0100, Joe wrote:
  On Mon, 22 Sep 2014 17:56:10 +
  Andrew M.A. Cater amaca...@galactic.demon.co.uk wrote:
   
   It woun't kill any detractors to try this and help us find what
   breaks, to help us to get a Debian system we can all be proud of
   instead of talking up a storm to complain about things. Experience
   may also allow us to support alternatives where feasible.
   
  Why is it forbidden to do both? I need to use Windows for some
  purposes, and occasionally I even correct some of the more out-of-date
  FUD about it, but that doesn't mean I think it's great, or that I'm
  somehow not allowed to criticise it.
 
 No, but consider how it would go down if you were a Farmer who wasn't
 happy with the crop yield but instead of going to the seed manufacturer
 you go along to the tractor service department and complain incessantly.
 How do you think that would go down?
 

I get your point, but don't the Debian developers have a better chance of 
getting changes implemented in upstream systemd that I do?  Keep in mind, I'm 
not a developer, so I can't provide patches.  All I can do is explain the 
problems some of systemd's design choices are causing me.  These problems may 
be related to function, or the may be related to something else such as 
limitation of choice or freedom.  

In any case, I sort of look to the Debian developers as my representatives.  
Maybe that's not how they view themselves, I don't know.  But I would hope that 
they care more about the needs of a Debian user than the upstream systemd guys 
do.  It seems doubtful that the upstream systemd guys are ever going to be 
convinced to change their design to separate the init system from all the other 
features that systemd provides.  But resistance from Debian the distro would go 
a lot farther than resistance from a bunch of users who can't contribute code 
anyway.

So in my dream world, I would explain to the Debian devs why the systemd design 
(bundling too much functionality into an init system) causes problems for the 
user.  They would understand my points and be sympathetic.  They would then 
apply pressure to upstream to make changes, possibly to include submitting 
patches.

Some may say that I'm asking others to do the work for me.  But the work isn't 
all in the fixing.  Identifying the problem and understanding the causes takes 
work, too.  So does caring enough to report the problems.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/21254857.2673417.1411487404860.javamail.zim...@ptd.net



Re: Debian/Linux equivalent of RDP session / remote X11 session

2014-09-22 Thread Rob Owens
- Original Message -
 From: lee l...@yun.yagibdah.de
 
 John Hasler jhas...@newsguy.com writes:
 
  lee writes:
  what's the Debian or Linux equivalent to MS Windows terminal server
  sessions through the remote desktop thing they have?
 
  I would like to be able to let a user work remotely in an X11 session
  (preferably with fvwm, if I have to xfce, if it can't be avoided gnome
  --- KDE only crashes in vncserver) on a VM running Debian.
 
  X11 is network-transparent. Support for remote sessions has been built
  in from day one.  Just run an X server on the remote machine and
  configure it to connect to the VM instance.  Use ssh unless the
  connection will be local.
 
 How would I generally configure a client to magically start all
 applications on the server?  Especially with a Mac or a thin client,
 that seems difficult to do?
 
On a Linux system with no GUI running already, you can run:

X -query mylinuxserver

On a Linux system with a GUI already running, you can run run:

Xephyr :1 -query mylinuxserver

XDMCP must be enabled on mylinuxserver for these to work (see your login 
manager's doc).  Xephyr is provided by xserver-xephyr (on my Jessie system, at 
least).

XDMCP is good for LANs, but not for WAN.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1821306645.2284845.1411402919889.javamail.zim...@ptd.net



Re: Debian/Linux equivalent of RDP session / remote X11 session

2014-09-22 Thread Rob Owens
- Original Message -
 From: Joe j...@jretrading.com
 
 On Sun, 21 Sep 2014 14:33:53 +0200
 lee l...@yun.yagibdah.de wrote:
 
  Hi,
  
  what's the Debian or Linux equivalent to MS Windows terminal server
  sessions through the remote desktop thing they have?
  
  I would like to be able to let a user work remotely in an X11 session
  (preferably with fvwm, if I have to xfce, if it can't be avoided gnome
  --- KDE only crashes in vncserver) on a VM running Debian.  The user
  can either get a thin client (which I'd have to buy) or an older Mac
  for a client system.  It would be an advantage if it was possible to
  do this transparently for the user.  It would also be nice if I could
  limit the total memory usage for that user.  The client is connected
  through 1GB LAN.  If Linux can be installed on the Mac, that might
  also be an option.
  
  So far, neither vncserver, nor freenx are ideal.  Vncserver is rather
  awkward, freenx is ancient.  LTSP seems way overdone for this and
  apparently requires suitable thin clients.
  
  
 
 For a time, some years ago, I did some remote work from Windows, using
 Cygwin and X forwarded over ssh, with individual X windows opening in
 the Windows desktop. I would guess that's only appropriate for some
 applications, and I'd have no way of knowing which now.
 
Cygwin has an X server.  Another one you can use on Windows is Xming.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1183595365.2285601.1411403068877.javamail.zim...@ptd.net



Re: Debian/Linux equivalent of RDP session / remote X11 session

2014-09-22 Thread Rob Owens
- Original Message -
 From: lee l...@yun.yagibdah.de
 
 Hi,
 
 what's the Debian or Linux equivalent to MS Windows terminal server
 sessions through the remote desktop thing they have?
 
 I would like to be able to let a user work remotely in an X11 session
 (preferably with fvwm, if I have to xfce, if it can't be avoided gnome
 --- KDE only crashes in vncserver) on a VM running Debian.  The user can
 either get a thin client (which I'd have to buy) or an older Mac for a
 client system.  It would be an advantage if it was possible to do this
 transparently for the user.  It would also be nice if I could limit the
 total memory usage for that user.  The client is connected through 1GB
 LAN.  If Linux can be installed on the Mac, that might also be an
 option.
 
 So far, neither vncserver, nor freenx are ideal.  Vncserver is rather
 awkward, freenx is ancient.  LTSP seems way overdone for this and
 apparently requires suitable thin clients.
 
LTSP would give you the ability to have sound on your thin client, rather than 
the video-only you'd get with X11 forwarding.  LTSP can use old 
desktops/laptops as thin clients.  They only need to be able to PXE boot.  I've 
never tested it with a Mac, though, so I don't know if there are any important 
differences there.  I have used Pentium 3 desktops as thin clients, and they do 
work.  But I'd recommend something more modern with more RAM and a decent video 
card.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/963879315.2287472.1411403528436.javamail.zim...@ptd.net



systemd bug closed - next steps?

2014-09-21 Thread Rob Owens
Looking for advice from people in the know...

I submitted a general bug regarding packages which require changing your
init system to systemd.  I pointed out that this runs counter to
Debian's goals of supporting multiple init systems.  The bug was closed
without fixing in a matter of hours.

Perhaps I didn't explain the bug well enough, or maybe I should have
submitted it elsewhere.  I am hoping to get advice on what to do next,
or constructive criticism showing me where I went wrong.

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

It also generated a very small thread on debian-devel where at least one
person saw things my way:
https://lists.debian.org/debian-devel/2014/09/msg00689.html

-Rob


signature.asc
Description: Digital signature


Re: old PC's as thin client

2014-09-19 Thread Rob Owens
On Fri, Sep 19, 2014 at 09:29:01AM +0100, Abdelkader Belahcene wrote:
 Hi,
 
 why there is no login window in the panel controlin last distro (
 for exampel linuxMinut : since mint 13 ) ??? .
 
 with mint13, I solved my problem, but not with others, here is my Pb:
 I want to use old PC's as thin client, to connect to remote machine
 running XDMCP.
 
You might want to consider using LTSP.  It requires some setup, but
gives you what you want and also routes sound to the thin client.
Additionally, it can be configured to route all traffic over ssh for
encryption.

It is normally configured to connect automatically to a single server,
but you can set certain clients (by mac address) to connect to alternate
servers.

-Rob


signature.asc
Description: Digital signature


Re: need suggestion on Virtualization backup/DR site.

2014-09-13 Thread Rob Owens
On Fri, Sep 12, 2014 at 08:33:39PM +0200, B wrote:
 On Fri, 12 Sep 2014 22:57:57 +0500
 Muhammad Yousuf Khan sir...@gmail.com wrote:
 
  Thanks for the input i really appreciate that. but i have a confusion
  to clear. if i use direct rsync and rsync with Backuppc what is the
  difference?
 
 First, backups are nightly compressed and same files are hardlinked,
 so keeping a looong history is not a problem at all (AFA you have
 enough free inodes; I's recommend XFS as the reception FS); 2nd,
 you can trigger another backup (or restore) whenever you want,
 3rd if you have users, they can also trigger a backup/restore when
 needed from the http(s) backuppc interface, 4th as backups are
 presented as a tree which goes down to the file level, you can
 just B/R one file at a time if needed.
 
More reasons to use backuppc:

There's a handy web interface.
If the machine to be backed up isn't reachable, it tries again later (1
hour by default).
You can configure blackout periods, so no backups will take place during
certain hours.
You can override the blackout periods based on how old the latest backup
is.
There is an active email support list (backuppc-us...@lists.sourceforge.net).

-Rob


signature.asc
Description: Digital signature


Re: brasero requires gvfs

2014-09-08 Thread Rob Owens
On Mon, Sep 08, 2014 at 01:21:49AM +0200, lee wrote:
 
 A desktop system is merely a desktop system, and an init system is
 merely an init system.  It is a bug when a desktop system like xfce
 depends on a particular init system, or parts thereof, no matter if
 directly or indirectly, especially for a distribution that intends to
 support a choice of init systems so that users can choose what they want
 to use and what not.
 
I agree with you that this is a bug.  But it is not simple to assign this
to a particular package.  It's a bug which is the result of the relations
between many packages.  But in order to get it fixed, we're going to
have to file a bug *somewhere*.  

I'm smart enough to understand that a desktop environment (or a cd burner)
depending on a particular init system doesn't make sense.  But I have
not yet figured out which package to file a bug with.  I suspect the package 
maintainers are smart enough to realize this as well, but maybe they have 
not noticed this unreasonable dependency is a result of their choices.

So what should be our plan to get this addressed?

-Rob


signature.asc
Description: Digital signature


Re: brasero requires gvfs

2014-09-08 Thread Rob Owens
On Mon, Sep 08, 2014 at 03:47:50PM -0500, John Hasler wrote:
 Rob Owens writes:
  I agree with you that this is a bug.  But it is not simple to assign
  this to a particular package.  It's a bug which is the result of the
  relations between many packages.  But in order to get it fixed, we're
  going to have to file a bug *somewhere*.
 
 Make your best guess and file the bug.  The maintainer of the package
 you file against can reassign the bug.
 
 If you can't even begin to guess at an appropriate package file against
 general and the bug will show up on the debian-devel mailing list.

Thanks, I didn't know you could file a bug against general.

-Rob


signature.asc
Description: Digital signature


Re: brasero requires gvfs

2014-09-04 Thread Rob Owens
- Original Message -
 From: Martin Read zen75...@zen.co.uk
 
 On 03/09/14 15:40, Rob Owens wrote:
  xfburn is apparently aware that my cd drive is currently empty.  Does
  anybody know what it uses to detect this?  It is not using gvfs.
 
 Looking up xfburn in aptitude's interactive interface, I see that xfburn
 Depends: libgudev-1.0-0, which is a GObject-based wrapper library for
 libudev, which is a library for accessing udev device information, so
 I'd guess it's probably using that to get information about the state of
 the CD drive.
 
Thanks for the info.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/2111881215.1596091.1409838631442.javamail.zim...@ptd.net



Re: 2 GDM3 questions

2014-09-03 Thread Rob Owens
- Original Message -
 From: Bob Proulx b...@proulx.com
 
 Rob Owens wrote:
  Paul van der Vlis wrote:
   Another GDM3 question:
   How can I change the system default desktop for all users?
  
  I *think* this might be set by running update-alternatives --config
  x-window-manager
 
 I think x-session-manager instead. :-)
 
My Jessie system doesn't have /etc/alternatives/x-session-manager, just 
x-window-manager.  Maybe it's because I don't have a desktop environment 
installed?  I just have fluxbox, and /etc/alternatives/x-session-manager points 
to /usr/bin/startfluxbox.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1559113549.1314941.1409752488951.javamail.zim...@ptd.net



Re: finding a dependency chain

2014-09-03 Thread Rob Owens
- Original Message -
 From: Kelly Clowers kelly.clow...@gmail.com
 
 On Tue, Sep 2, 2014 at 1:44 PM, Rob Owens row...@ptd.net wrote:
  I'm trying to figure out, for example, what causes brasero to ultimately
  depend on systemd.  I found a utility called debtree, but it produces too
  much output to be of use to me -- it shows all dependency chains starting
  at brasero, but I am only interested in the one that ends at systemd.
 
  Can anybody suggest another utility, or maybe the proper syntax to make
  debtree do what I want?
 
  Thanks
 
  -Rob
 
 I just used vim to search through debtree's .dot output (for such a
 complex thing, way easier than trying to look at the image file), and
 then followed up by looking around in aptitude interactive mode.
 
Thanks.  That is much easier than looking at the image file!

I'd still like to find a method to specify the start point and end point, and 
get output of a single dependency chain.  If anybody knows a way, please post 
it.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1673216099.1327226.1409754647365.javamail.zim...@ptd.net



Re: brasero requires gvfs

2014-09-03 Thread Rob Owens
- Original Message -
 From: Patrick Bartek nemomm...@gmail.com
 
 On Tue, 02 Sep 2014, Rob Owens wrote:
 
  - Original Message -
   From: Michael Biebl bi...@debian.org
   
   Am 02.09.2014 22:18, schrieb Rob Owens:
I removed the systemd package from my Jessie system, and it took
brasero with it.  Brasero depends on gvfs, and gvfs has some
trail of dependencies that leads to systemd.  I'm thinking that
the gvfs dependency doesn't make sense for brasero, but I wanted
to get input from this list before I file a bug against brasero.

Can anybody think of a valid reason why brasero should depend on
gvfs?
   
   brasero depends on gvfs so it can detect removable media.
   For a burning application this is pretty much essential.
   
  Ah, I was thinking about the SMB:// features and things like that.  I
  didn't realize gvfs was used to detect removable media.
 
 Also, brasero is a GNOME app.  So, it's going to have GNOME dependencies
 to work properly.  If you're using the default XFCE desktop with Jessie,
 why not try XFCE's xfburn instead.  On my GNOME-free (Openbox only)
 Wheezy system, I use it. Runs fine for what little burning I do.
 
Thanks for the suggestion.  I use fluxbox, by the way.  xfburn looks like it'll 
work.  Personally I don't mind using command line for this type of thing, but I 
support/recommend systems of family and friends and they need a gui.  cdw is a 
neat option for those too nerdy for a gui but not nerdy enough for command line.

xfburn is apparently aware that my cd drive is currently empty.  Does anybody 
know what it uses to detect this?  It is not using gvfs.

-Rob



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/996333210.1332921.1409755228373.javamail.zim...@ptd.net



brasero requires systemd-sysv

2014-09-03 Thread Rob Owens
brasero depends on systemd-sysv.  Here is the chain of dependencies I've 
identified, with the help of some folks on this list:

brasero - gvfs - gvfs-daemons - udisks2 - libpam-systemd - systemd-sysv 

For now I'd like to ignore the option of using systemd-shim and just examine 
why a cd burning application depends on a particular init system.  My goal is 
to either 1) understand why it has to be this way, or 2) understand enough that 
I can submit a bug for one of the above packages to break this chain.

Michael Biebl already informed me that brasero uses gvfs to detect removable 
media (thanks for that).  Apparently there are other methods available (xfburn 
doesn't use gvfs), but the brasero developers have chosen to use gvfs.  

I'm going to need help understanding the rest of the dependencies.

I'd also like to know if there are any features of brasero that *really* 
require systemd to be used as the init system -- features that would not work 
with sysvinit.  I'm hoping Michael or some other developers can chime in on 
this one.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1678022633.1343152.1409757144797.javamail.zim...@ptd.net



Re: brasero requires systemd-sysv

2014-09-03 Thread Rob Owens
- Original Message -
 From: The Wanderer wande...@fastmail.fm
 
 On 09/03/2014 at 11:41 AM, B wrote:
 
  On Wed, 3 Sep 2014 11:12:24 -0400 (EDT) Rob Owens row...@ptd.net
  wrote:
  
  I'd also like to know if there are any features of brasero that
  *really* require systemd to be used as the init system --
  features that would not work with sysvinit.  I'm hoping Michael
  or some other developers can chime in on this one.
  
  This doesn't work like that; it is a _chain_ of dependencies.
 
 Which is in fact part of the problem: it results in something which does
 not have anything to do with a particular init system depending on
 that init system.

Thanks for understanding what I was trying to say.

I can't imagine that brasero really needs functionality provided by one 
particular init system, but I want to be open to the idea that it may.  So far, 
though, the only needs that have been brought up are essentially brasero needs 
X functionality, which can be found in package W.  Package W also provides Y 
functionality, which depends on systemd-sysv.  So therefore brasero depends on 
systemd-sysv, even though it doesn't *need* it.  Sound about right?

It gives me a better understanding of why the principle of do one thing and do 
it well is important.  I thought it was about producing good code.  Now I 
understand that it also reduces this kind of entanglement.

While systemd-shim is currently an option, I'd still like to open a bug(s) on 
the packages responsible for the entanglement.  Get the problem fixed at its 
root.  But I'm going to try and learn as much as I can from this thread before 
reporting any bugs.  I want to be able to make educated suggestions for 
improvement.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/2114488629.1395185.1409768808659.javamail.zim...@ptd.net



Re: 2 GDM3 questions

2014-09-02 Thread Rob Owens
- Original Message -
 From: Paul van der Vlis p...@vandervlis.nl
 
 Hello,
 
 How can I remove the data GDM3 stores?
 Background: When I login with GDM with an LDAP user GDM remembers this
 user and present them the next time. I've used some testusers with
 strange names and I would like to remove these users, because I want to
 make an image of this machine. apt-get purge gdm3 does not help to
 remove this data.
 

In my experience any time the LDAP server is down, GDM (and lightdm for that 
matter) lose their memory of users and their preferred session types.  If you 
learn the mechanism behind that, maybe it will help me prevent this in the 
future.

 Another GDM3 question:
 How can I change the system default desktop for all users?
 

I *think* this might be set by running update-alternatives --config 
x-window-manager

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/354727293.1154150.1409688295832.javamail.zim...@ptd.net



brasero requires gvfs

2014-09-02 Thread Rob Owens
I removed the systemd package from my Jessie system, and it took brasero with 
it.  Brasero depends on gvfs, and gvfs has some trail of dependencies that 
leads to systemd.  I'm thinking that the gvfs dependency doesn't make sense for 
brasero, but I wanted to get input from this list before I file a bug against 
brasero.  

Can anybody think of a valid reason why brasero should depend on gvfs?

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1653777367.1158204.1409689138690.javamail.zim...@ptd.net



Re: brasero requires gvfs

2014-09-02 Thread Rob Owens
- Original Message -
 From: Michael Biebl bi...@debian.org
 
 Am 02.09.2014 22:18, schrieb Rob Owens:
  I removed the systemd package from my Jessie system, and it took brasero
  with it.  Brasero depends on gvfs, and gvfs has some trail of dependencies
  that leads to systemd.  I'm thinking that the gvfs dependency doesn't make
  sense for brasero, but I wanted to get input from this list before I file
  a bug against brasero.
  
  Can anybody think of a valid reason why brasero should depend on gvfs?
 
 brasero depends on gvfs so it can detect removable media.
 For a burning application this is pretty much essential.
 
Ah, I was thinking about the SMB:// features and things like that.  I didn't 
realize gvfs was used to detect removable media. 

Thanks

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1969817456.1162770.1409690222669.javamail.zim...@ptd.net



finding a dependency chain

2014-09-02 Thread Rob Owens
I'm trying to figure out, for example, what causes brasero to ultimately depend 
on systemd.  I found a utility called debtree, but it produces too much output 
to be of use to me -- it shows all dependency chains starting at brasero, but I 
am only interested in the one that ends at systemd.

Can anybody suggest another utility, or maybe the proper syntax to make debtree 
do what I want?

Thanks

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1295244982.1164148.1409690663860.javamail.zim...@ptd.net



Re: 2 GDM3 questions

2014-09-02 Thread Rob Owens
On Tue, Sep 02, 2014 at 11:48:47PM +0200, Paul van der Vlis wrote:
 op 02-09-14 22:04, Rob Owens schreef:
  - Original Message -
  From: Paul van der Vlis p...@vandervlis.nl
  
  Hello,
  
  How can I remove the data GDM3 stores? Background: When I login
  with GDM with an LDAP user GDM remembers this user and present them
  the next time. I've used some testusers with strange names and I
  would like to remove these users, because I want to make an image
  of this machine. apt-get purge gdm3 does not help to remove this
  data.
  
  
  In my experience any time the LDAP server is down, GDM (and lightdm
  for that matter) lose their memory of users and their preferred
  session types.  If you learn the mechanism behind that, maybe it will
  help me prevent this in the future.
 
 ;-)
 
 But what do you mean with down?  When I would reboot the LDAP server,
 would that be enough?
 
That's hard for me to quantify.  It usually happens when the GFCI that
powers my LDAP server mysteriously trips, while my desktop machine(s)
stay alive on a different circuit.  But I usually don't notice that for
a few hours (it's a home setup).

As a starting point, I'd try stopping the LDAP service, then restart GDM
and see if that triggers it.

-Rob


signature.asc
Description: Digital signature


Re: Skype substitutes for current Debian?

2014-08-29 Thread Rob Owens
- Original Message -
 From: Paul van der Vlis p...@vandervlis.nl
 
  3. Skype-compatible clients for D7++ which could be used to connect
  directly to an OP running that alternate service?
  
  I'm especially interested in evaluations of
  
  https://wiki.debian.org/skype
  free and open source alternative[s,] community-owned and supported
  by Debian, such as the VoIP ekiga , linphone , or jitsi ?
 
 I've tested Ekiga and Linphone. The problem of the SIP protocol is that
 it does not work very well behind NAT. And most people are behind a NAT
 router. I think XMPP is the better protocol, but using a VPN with SIP is
 maybe a good alternative (more compatible).
 

These guys offer free SIP accounts that work around the NAT issue somehow.  I 
used it several years ago and it did work, and it didn't require the use of a 
STUN server.

http://www.iptel.org/service


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1056756687.112247.1409341806725.javamail.zim...@ptd.net



Re: Loking for TV tuner / media player help

2014-08-26 Thread Rob Owens
- Original Message -
 From: Timothy Danielson timothydaniel...@yahoo.com
 
 Hi,
 
 I am looking to finish installing a card= Happauge 2250 dual tuner into
 Debian. I would also like to have a comparable Media center software that
 would allow recording as I did in win media center as wekk as watch live tv
 (since it is a dual tuner type and will let me do that)
 
I've been using MythTV for many years and am happy with it.  I use packages 
from the 3rd party deb-multimedia.org repository.

MythTV will let you watch live tv, schedule/record shows, and will even skip 
the commercials automatically if you set it up to do so.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1651224003.32552.1409072877710.javamail.zim...@ptd.net



Re: New 64-bit Install: Wine

2014-08-14 Thread Rob Owens
- Original Message -
 From: David Baron d_ba...@012.net.il
 
 On Tuesday 12 August 2014 10:36:51 Rob Owens wrote:
  - Original Message -
  
   From: David Baron d_ba...@012.net.il
   
   On Tuesday 12 August 2014 10:10:58 Rob Owens wrote:
- Original Message -

 From: David Baron d_ba...@012.net.il
 
 I have no 64-bit .exe's. The few apps I need to run are all fairly
 old.
 Seems to be no way to run them.
 
 Wine64 complains about the .exe format. Placing win32:i386 on top of
 all
 this complains that the .wine is for a 64bit installation to wine32
 will
 not work. Even if there is no such folder (I purged everything for
 latest
 try).

This is complaining about ~/.wine being a 64bit installation, at least
that's what it did for me.  I moved my existing ~/.wine to ~/.wine.bak
and
was able to run 'wine Firefox\ Setup\ 31.0.exe' successfully.
   
   What wine packages do you have installed?
  
  wine
  wine64
  wine32:i386
 
 Tried that. I do not know about the firefox setup but no .exe's I had around
 would take. I also go rid of the ~/.wine. Wine-cfg also barked.
 
Just to be sure you have a clean environment, you might want to try creating a 
new user and try it as that user.  Otherwise, I don't know what the problem is.

I'm running an up to date Jessie, by the way.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/302860793.44622303.1408030338940.javamail.zim...@ptd.net



Re: New 64-bit Install: Wine

2014-08-12 Thread Rob Owens
- Original Message -
 From: David Baron d_ba...@012.net.il
 
 I have no 64-bit .exe's. The few apps I need to run are all fairly old. Seems
 to be no way to run them.
 
 Wine64 complains about the .exe format. Placing win32:i386 on top of all this
 complains that the .wine is for a 64bit installation to wine32 will not work.
 Even if there is no such folder (I purged everything for latest try).
 

This is complaining about ~/.wine being a 64bit installation, at least that's 
what it did for me.  I moved my existing ~/.wine to ~/.wine.bak and was able to 
run 'wine Firefox\ Setup\ 31.0.exe' successfully.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/656123965.41683216.1407852658249.javamail.zim...@ptd.net



Re: New 64-bit Install: Wine

2014-08-12 Thread Rob Owens
- Original Message -
 From: David Baron d_ba...@012.net.il
 
 On Tuesday 12 August 2014 10:10:58 Rob Owens wrote:
  - Original Message -
  
   From: David Baron d_ba...@012.net.il
   
   I have no 64-bit .exe's. The few apps I need to run are all fairly old.
   Seems to be no way to run them.
   
   Wine64 complains about the .exe format. Placing win32:i386 on top of all
   this complains that the .wine is for a 64bit installation to wine32 will
   not work. Even if there is no such folder (I purged everything for latest
   try).
  This is complaining about ~/.wine being a 64bit installation, at least
  that's what it did for me.  I moved my existing ~/.wine to ~/.wine.bak and
  was able to run 'wine Firefox\ Setup\ 31.0.exe' successfully.
 
 What wine packages do you have installed?
 
wine
wine64
wine32:i386


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/601023465.41722321.1407854211440.javamail.zim...@ptd.net



binary data vs. text (in firefox) -- was Re: End of hypocrisy ?

2014-08-08 Thread Rob Owens
- Original Message -
 From: AW debian.list.trac...@1024bits.com
 
 On Thu, 7 Aug 2014 15:28:08 -0400
 Rob Owens row...@ptd.net wrote:
 
   I do miss the ability to grep my bookmarks.html file.  Maybe there's a
   way to do it with sqlite, but I never learned.
   
   One thing that attracted me to Linux many years ago was that due to its
   Unix heritage,
 
 You use the SQL language... which also has a long heritage -- I think from
 the
 1960s... It's fairly simple to produce queries. And there's no need to worry
 about regex, which - IMO - is far more difficult.
 
 So -- instead of 'grep' you would use sqlite3 [dbfile] [query]
 
Thanks for the tips.  I'm gonna argue with you just a bit, but I do appreciate 
your advice.

 To see what kind of things are stored in the firefox places database:
 of course your .default file will most likely be named differently...
 sqlite3 ~/.mozilla/firefox/tolgu73t.default/places.sqlite .tables
 
In the previous thread about systemd, I pointed out that I now need to learn 
something new in order to do the same thing I've always done (as opposed to 
learning something new in order to gain new capabilities).  The command you 
give looks simple enough, but here are the downsides from my perspective:

1)  sqlite3 was not installed on my system (maybe that's Debian's fault).
2)  Besides sqlite3, there is also a package called sqlite.  If I was trying to 
figure this out on my own, without your advice, I probably would have installed 
sqlite -- and that doesn't work.  
3)  I need to know to search for .tables.  Maybe that's obvious to some, but 
wasn't to me.

Overall I'd say there is a greater barrier to entry for doing simple searches 
with sqlite3 than with grep.  Your point about regex's being complicated is 
well taken, but I can grep a plain old text string easily enough.

 and to list bookmarks:
 sqlite3 ~/.mozilla/firefox/tolgu73t.default/places.sqlite select * from
 moz_bookmarks
 
I ran this query, and it shows me the name of my bookmarks, but not the url.  
Can you tell me where to find the urls?

I'll also add:

4)  I need to know sql syntax to perform this search.  While sql is certainly 
popular, I'd say it's not as widely known among users and sysadmins as grep is. 
 So the use of sqlite3 in firefox could easily be seen as unnecessary 
complication.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/2071324850.37901984.1407507535981.javamail.zim...@ptd.net



Re: binary data vs. text (in firefox) -- was Re: End of hypocrisy ?

2014-08-08 Thread Rob Owens
- Original Message -
 From: Rob Owens row...@ptd.net
 
 - Original Message -
  From: AW debian.list.trac...@1024bits.com
  
  On Thu, 7 Aug 2014 15:28:08 -0400
  Rob Owens row...@ptd.net wrote:
  
I do miss the ability to grep my bookmarks.html file.  Maybe there's a
way to do it with sqlite, but I never learned.

One thing that attracted me to Linux many years ago was that due to its
Unix heritage,
  
  You use the SQL language... which also has a long heritage -- I think from
  the
  1960s... It's fairly simple to produce queries. And there's no need to
  worry
  about regex, which - IMO - is far more difficult.
  
  So -- instead of 'grep' you would use sqlite3 [dbfile] [query]
  
 Thanks for the tips.  I'm gonna argue with you just a bit, but I do
 appreciate your advice.
 
  To see what kind of things are stored in the firefox places database:
  of course your .default file will most likely be named differently...
  sqlite3 ~/.mozilla/firefox/tolgu73t.default/places.sqlite .tables
  
 In the previous thread about systemd, I pointed out that I now need to learn
 something new in order to do the same thing I've always done (as opposed to
 learning something new in order to gain new capabilities).  The command you
 give looks simple enough, but here are the downsides from my perspective:
 
 1)  sqlite3 was not installed on my system (maybe that's Debian's fault).
 2)  Besides sqlite3, there is also a package called sqlite.  If I was trying
 to figure this out on my own, without your advice, I probably would have
 installed sqlite -- and that doesn't work.
 3)  I need to know to search for .tables.  Maybe that's obvious to some,
 but wasn't to me.
 
 Overall I'd say there is a greater barrier to entry for doing simple searches
 with sqlite3 than with grep.  Your point about regex's being complicated is
 well taken, but I can grep a plain old text string easily enough.
 
  and to list bookmarks:
  sqlite3 ~/.mozilla/firefox/tolgu73t.default/places.sqlite select * from
  moz_bookmarks
  
 I ran this query, and it shows me the name of my bookmarks, but not the url.
 Can you tell me where to find the urls?
 
 I'll also add:
 
 4)  I need to know sql syntax to perform this search.  While sql is certainly
 popular, I'd say it's not as widely known among users and sysadmins as grep
 is.  So the use of sqlite3 in firefox could easily be seen as unnecessary
 complication.
 

5)  Oh yeah, and no tab completion when entering table names!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1227706561.37920737.1407508113912.javamail.zim...@ptd.net



Re: End of hypocrisy ?

2014-08-08 Thread Rob Owens
- Original Message -
 From: Brad Rogers b...@fineby.me.uk
 
 On Thu, 7 Aug 2014 15:28:08 -0400
 Rob Owens row...@ptd.net wrote:
 
 Hello Rob,
 
 I do miss the ability to grep my bookmarks.html file.  Maybe there's a
 way to do it with sqlite, but I never learned.
 
 Whilst it's not as convenient as grepping a (nominally) text file,
 there's a plug-in available for Ff that may be of interest to you called
 SQLite Manager.
 

Thanks, I'll look into that.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/2039362183.37922439.1407508212417.javamail.zim...@ptd.net



Re: NFS and iptables during bootup

2014-08-08 Thread Rob Owens
- Original Message -
 From: Martin T m4rtn...@gmail.com
 
 Hi,
 
 I made a very simple bash script which loads the iptables
 configuration from /etc/firewall.conf and /etc/firewall6.conf files:
 
 # cat /etc/init.d/firewall
 #!/bin/bash
 
 iptables-restore  /etc/firewall.conf
 ip6tables-restore  /etc/firewall6.conf
 #
 
 Script is stored in /etc/init.d/ directory, but I haven't configured
 init to load this script directly. I use the pre-up option in
 /etc/network/interfaces instead:
 
 # grep pre-up /etc/network/interfaces
   pre-up /etc/init.d/firewall
 #
 

FYI, you can use the iptables-persistent package to do this.  It handles ipv4 
and ipv6, and won't require you to create your own init script.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/965212981.38336328.1407529278054.javamail.zim...@ptd.net



Re: Finding a replacement for my ISP's smtp server

2014-08-05 Thread Rob Owens
On Mon, Jul 28, 2014 at 11:11:08AM -0700, Bob Holtzman wrote:
 On Mon, Jul 28, 2014 at 09:11:59AM -0600, Paul Condon wrote:
  On Mon, Jul 28, 2014 at 02:56:40PM +0100, Brian wrote:
   On Mon 28 Jul 2014 at 14:02:29 +0200, Slavko wrote:
   
Dňa Sun, 27 Jul 2014 13:02:18 +0100 Brian a...@cityscape.co.uk
napísal:

 He could check with nc.
 
   brian@desktop:~$ nc smtp.gmail.com 25
   220 mx.google.com ESMTP 19sm41008233wjz.3 - gsmtp
 

AFAIK, the port 25 have to used only for (inter-) servers connections,
the clients have connect via 587, the port 25 for client connections is
for backward compatibility only.
   
   How does the server tell the difference between talking to another
   server (which is acting as client) and what you call a client?
  
  I have found a script on the web that makes Mutt into a work-alike
  substitute for Thunderbird.
 
 IIRC list protocol suggests that if you have found a solution to a
 problem, you post it for others to see and use. I have found a
 script... with no other useful information is a waste of everyones
 time.
 
I didn't notice if Paul posted his script, so I'll post part of my mutt
config having to do with smtp:

set smtp_url = smtp://myu...@smtp.gmail.com:587/
set smtp_pass = mypassword

-Rob


signature.asc
Description: Digital signature


Re: fsck progress not shown on boot with systemd as pid 1

2014-08-04 Thread Rob Owens


- Original Message -
 From: Mark Carroll m...@ixod.org
 
 Curt cu...@free.fr writes:
 
  On 2014-07-25, Brian a...@cityscape.co.uk wrote:
 
  With sysvinit the default at booting is for the screen messages to fly
  past at a bewildering speed and then for the screen to be cleared by
  agetty. Nobody particularily complains about this behaviour. Unless
  you have an excellent visual memory you are in the dark as regards what
  happened.
 
  Isn't dmesg intended to unbewilder the bewildered?
 
 Unfortunately not all of what is actually printed on the screen seems to
 make it into the dmesg output.
 
You could try installing bootlogd.  I just tried it on my jessie system 
(running systemd) and it didn't log anything.  But I recall using it on Wheezy 
and I think it logged all the services starting/stopping/failing.

-Rob


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1807340599.33154419.1407176044342.javamail.zim...@ptd.net



Re: ntp problem

2014-06-26 Thread Rob Owens
 On Wed, 25 Jun 2014, Bob Proulx wrote:
  Utilities such as NTP are really good at adjusting the counting per
  second to tune the OS view of time to be very accurate.  If that isn't
  working then I suspect some other problem.  Such as two daemons
  fighting each other both trying to adjust the clock.  Or some other
  failure.

Maybe a cron job running ntpdate?

-Rob


signature.asc
Description: Digital signature


Re: Multimedia player for video filte type qs

2014-06-17 Thread Rob Owens
On Tue, Jun 17, 2014 at 05:24:24PM +0800, Bret Busby wrote:
 vlc would open the file, but, Movie Player (mplayer ?) will not - it
 returns an error failure to parse stream).
 
Movie Player is probably Totem.  In my experience, mplayer is better at
playing obscure formats than Totem.  VLC is good as well.

-Rob


signature.asc
Description: Digital signature


Re: need a flac utility

2014-05-12 Thread Rob Owens
On Sat, May 03, 2014 at 01:18:38PM -0400, Frank McCormick wrote:
 On 03/05/14 11:51 AM, Jochen Spieker wrote:
 Frank McCormick:
 
 I need a utility to allow me to breakup a FLAC sound file. It's
 apparently a collection of flac files merged together.
 I also have a file which ends in the extension .cue
 It's a formatted listing of the individual files in
 the larger flac file.
 
 Is a utility available for Debian (Sid) ?
 
 My web search suggests that shntool can do this:
 
 shntool split -f $cuefile -o flac *.flac
 
 I didn't try it myself.
 
 
Installed it...and after some fiddlingit worked.
 I will have to rename the files..it didn't keep the original file
 names in the cue sheet for some reason...but I am 95% there.
 
 Thanks very much.
 
You can tag the files based on the *.cue file like this:

cuetag *.cue split-track*.flac

I think the package you need to install for this is cuetools.

-Rob


signature.asc
Description: Digital signature


Paying job in northern NJ

2014-05-06 Thread Rob Owens
I have a customer who needs to get a server back up and running.  I don't
know to many details except they're getting a No Hard Disk error on
boot.  If you're interested, please email me directly at robowens 13 at
gmail dot com.

-Rob


Re: Q: LDAP on Debian easy/short way

2014-05-03 Thread Rob Owens
On Wed, Apr 23, 2014 at 05:39:32PM -0700, Snow Leopard wrote:
 NOTE: configuration of slapd by editing /etc/ldap/slapd.conf is
 considered outdated is there a document with good explanation of
 modern way with good examples
 
I have always used LDAP Account Manager to add LDAP users and groups.
I'm pretty happy with it, but I have pretty basic needs.

apt-get install ldap-account-manager

-Rob


signature.asc
Description: Digital signature


Re: future data grow aticipation

2014-03-24 Thread Rob Owens
On Mon, Mar 24, 2014 at 03:18:17PM +, Bonno Bloksma wrote:
 Hi,
 
 I need to deploy a Debian virtual machine which will host an apache website 
 with a pictures database. That database will grow of course. ;-)
 My idea is to have a VM with 2 disks.
 Disk1 (8GB)
 Has a 300MB primary partition, mountpoint /boot
 Remaining disk space als LVM to be divided into 2GB /, 2GB swap and remaining 
 3+GB /var, 
 Disk 2 is a 1TB (thin provisioned) disk all of which will be assigned as a 
 LVM partition with a logical volume /var/www
 
 Supposedly I can now easily grow /var/www when I need more space. Right?
 Just to make sure I have things right..
 When I need more than the 1TB data I can extend the disk in my VMware 
 hypervisor to 1,5TB. Have Debian do a rescan of the disk (for instance via a 
 reboot of the machine)
 After that I do a pvcreate on the new free diskspace, then add it to the 
 vgroup that holds the data and then add that data to the logical volume 
 holding /var/www
 Right?
 Of am I missing something? Is there a better / easier way?
 Would adding another 1TB disk to the VM and adding that to the vgroup be a 
 better scenario? That imitates the physical word scenario where people add 
 an extra physical disk to a machine. Plenty of examples for that on the net.
 
I'm not sure which would be better, adding a new disk or extending the
existing disk.  But I figured I'd recommend the use of system-config-lvm
-- it makes lvm operations pretty easy.

-Rob


signature.asc
Description: Digital signature


Re: Backup's to DVD

2014-03-18 Thread Rob Owens
On Mon, Mar 17, 2014 at 11:49:13AM -0400, Gary Dale wrote:
 On 16/03/14 05:54 PM, Mr Queue wrote:
 Anyone doing anything interesting to backup data to DVD's?
 
 https://packages.debian.org/sid/dkopp
 
 ^^ Looks interesting and overall it's a pretty simple task. Suppose
 I could even use tar and split but just curious what others may be doing
 currently.
 
 FWIW, I'm mostly concerned with cloning my current backups of family
 photos to different media for peace of mind. I already have a pair
 of backup servers in different physical locations but want to add some
 DVD's into the mix. Those are hard to rm. ;)
 
 I've been using BD-RE for years to make backups and BD-R for
 archives. It works reasonably well providing that you're not backing
 up more than 25G. BD-REs do develop problems over time so you need
 to replace them when they wear out.
 
You can create tar files with a 25G limit if you want, using the
--tape-length parameter.  See
http://www.gnu.org/software/tar/manual/html_node/Multi_002dVolume-Archives.html

-Rob


signature.asc
Description: Digital signature


Re: What happened to use control-alt-backspace to terminate X server?

2014-03-09 Thread Rob Owens
On Sun, Mar 09, 2014 at 04:08:06AM -0700, Rick Thomas wrote:
 In Wheezy, I used to be able to use
 dpkg-reconfigure keyboard-configuration
 to (among other things) set the option to use control-alt-backspace to 
 terminate the X server.
 
I think you can still terminate the X server with this combination:

Ctrl-Alt-Shift-PrtSc-k

You might need a third hand...

-Rob


signature.asc
Description: Digital signature


Re: Brand new install, now how do I play a Youtube video?

2014-03-06 Thread Rob Owens
On Thu, Mar 06, 2014 at 10:31:34AM -0500, Patrick Chkoreff wrote:
 I recently installed Debian on this laptop.  Here's the detail:
 
 $ uname -a
 Linux laptop 3.2.0-4-686-pae #1 SMP Debian 3.2.54-2 i686 GNU/Linux
 
 I'm using the IceWeasel browser, but I can't play a Youtube video.  I
 don't want to install Flash because I just cannot stand Adobe.
 
 I searched around and found this:
 
 http://forums.debian.net/viewtopic.php?t=51504
 
 I did what they said there, namely:
 
 $ sudo apt-get install gecko-mediaplayer iceweasel-greasemonkey
 
 Now IceWeasel shows a drop-down menu with a GreaseMonkey icon, and it is
 enabled.
 
 However, I still cannot watch any video on youtube.com.  When I click to
 a video, it shows a black rectangle where the video should be, with the
 message An error occurred, please try again later.
 
 I can right-click in the black rectangle, and I do see a pop-up menu
 with options like Movie Control / Play.  But it just doesn't work.
 
 Is this Gnash/GreaseMonkey stuff really a viable alternative to Adobe
 Flash?  Maybe resistance is futile here, and I just need to be
 assimilated by Adobe.  Say it isn't so.
 
You could try the Download Helper add-on.  Download the video and then
play it locally with VLC or maybe mplayer.  Also, Totem used to have a
youtube plugin that would allow you to search youtube w/o using a web
browser.  It's been a couple years since I've used it, so I can't really
say if I recommend it or not.

-Rob


signature.asc
Description: Digital signature


Re: Replacing systemd

2014-03-04 Thread Rob Owens
On Mon, Mar 03, 2014 at 08:50:09PM -0500, Steve Litt wrote:
 Hi everyone,
 
 I just checked with my local Linux group (GoLUG), and the opinions
 there are that systemd is not a particularly good thing. I also heard
 from our LUG's most vociferous proponent of Daemontools that Daemontools
 wouldn't be a good replacement because it has no concept of running
 things in a specific order.
 
 So let me ask you this: If I wanted to replace systemd on a future
 Debian system, what would I replace it with, and how?
 
 Note: This is a serious question about technology, not politics, so will
 the multinamed screamer please stay out of this conversation?
 
Personally I'd just stay with sysvinit.  I never understood what is so
bad about it that it so desperately needs to be replaced.  People will
talk about boot times, but the occasional fsck is the real boot time
killer.  A few seconds difference between sysvinit, upstart, systemd,
etc. doesn't mean much to me, so I'm content to leave things alone.

Of course, the more systemd becomes accepted, the more likely it may be
that sysvinit becomes unsupported (either in Debian or upstream).  So
that should be considered when choosing and alternative to systemd.

-Rob


signature.asc
Description: Digital signature


Re: mounting nfs on boot -- Was: Replacing systemd

2014-03-04 Thread Rob Owens
On Tue, Mar 04, 2014 at 01:52:19PM +, Darac Marjal wrote:
 Boot speed isn't systemd's goal. It's just a side-effect.
 
 Systemd's real goals are being event driven (so, for example, you don't
 mount a file system until the device is ready - at the moment, debian
 does this with a two-pass mount script: one pass to mount local
 filesystems, then another after networking is up to mount remote
 filesystems, but this gets messy if you have a complex system.) and
snip

Hey, maybe you can tell me why my nfs mounts don't get mounted at boot
time on my computer that uses wicd to manage its wireless network
interface.  The network comes up at boot time (it doesn't require a user
to log in first).  Currently I stick sleep 10s  mount -a in /etc/rc.local 
in order to mount the nfs shares, but I know that shouldn't be necessary.

-Rob


signature.asc
Description: Digital signature


Re: mounting nfs on boot -- Was: Replacing systemd

2014-03-04 Thread Rob Owens
On Wed, Mar 05, 2014 at 11:07:00AM +1100, Scott Ferguson wrote:
 On 05/03/14 10:36, Rob Owens wrote:
  On Tue, Mar 04, 2014 at 01:52:19PM +, Darac Marjal wrote:
  Boot speed isn't systemd's goal. It's just a side-effect.
  
  Systemd's real goals are being event driven (so, for example, you
  don't mount a file system until the device is ready - at the
  moment, debian does this with a two-pass mount script: one pass
  to mount local filesystems, then another after networking is up
  to mount remote filesystems, but this gets messy if you have a
  complex system.) and
  snip
  
  Hey, maybe you can tell me why my nfs mounts don't get mounted at
  boot time on my computer that uses wicd to manage its wireless
  network interface.  The network comes up at boot time (it doesn't
  require a user to log in first).  Currently I stick sleep 10s 
  mount -a in /etc/rc.local in order to mount the nfs shares, but I
  know that shouldn't be necessary.
  
  -Rob
  
 
 Where are those nfs shares mounted (path)?
 
/mnt/music
/mnt/pics_and_clips

and so-on.


signature.asc
Description: Digital signature


Re: ethernet and wifi together

2014-02-25 Thread Rob Owens
On Mon, Feb 24, 2014 at 03:32:08PM +0100, S3v3ran . wrote:
 Hello
 
 My scenario is the following. I'm connected to the wired network, which is
 the default network i'm using. The default gateway, DNS server and
 everything else is via this interface. On the other side i have some
 virtual machines inside and i need them to use the bridged wifi connection
 (because the wired one is behind a proxy server). For this i also need to
 have connected the wireless network (using WPA2-PSK). When i use Wicd. When
 i use Wicd to connect to wifi, it automatically disconnects me from
 ethernet and when i connect to ethernet, it disconnects me from wifi. Both
 connections (wifi and wired) should be configured dynamically (i'm using
 various networks at home or in the company). I tried a network-manager but
 I couldn't connect to wifi with it. Is there a way how to connect
 dynamically to both interfaces, using the eth0 as default route? Thanks in
 advance.
 
I'm not sure if this will work, but you could remove the wired
interface device in wicd's preferences, then use
/etc/network/interfaces to configure the wired interface like this:

allow-hotplug eth0
iface eth0 inet dhcp

-Rob


signature.asc
Description: Digital signature


Re: How to configure eth0 with static ip and eth1 dhcp

2014-02-23 Thread Rob Owens
On Sun, Feb 23, 2014 at 07:15:20AM -0500, Dan Purgert wrote:
 It's been ages since I've done routing on a 2-NIC PC/router.  I've probably
 gotten something a bit wrong.
 
I *think* for the pc to act as a router you need to have:

net.ipv4.ip_forward=1

in /etc/sysctl.conf 

Then you configure your firewall to restrict what can be forwarded
through the router pc.

-Rob


signature.asc
Description: Digital signature


Re: How to configure eth0 with static ip and eth1 dhcp

2014-02-23 Thread Rob Owens
On Sat, Feb 22, 2014 at 11:29:40PM -0300, Markos wrote:
 Tomorrow I'll change the network card of the server and see if the
 problem is on the network card.
 
Check to see if the network cable is cat 5, cat 5e, or cat 6.  If you
have a gigabit speed network card, it might reject a cat 5 cable.  Or it
might accept it (led's light on the card), but not work properly.

-Rob


signature.asc
Description: Digital signature


Re: video compression?

2014-02-18 Thread Rob Owens
On Tue, Feb 18, 2014 at 09:30:23PM +1300, Chris Bannister wrote:
 On Mon, Feb 17, 2014 at 06:22:13PM -0500, Rob Owens wrote:
  On Mon, Feb 17, 2014 at 08:23:26AM -0500, Thomas H. George wrote:
   Is there a best debian program to compress avi videos enough to send
   them by email?
 
 Very much doubt it. How long does the video run for? What size is it?
 
   I have found ffmpeg and avidemux and am trying to learn to use them but
   have not had much success so far.
   
  I like avidemux, but handbrake might be a little easier since it's got a
  lot of presets.   You can get it in the 3rd party deb-multimedia.org
  repository.
 
 root@tal:~# apt-cache policy handbrake
 handbrake:
   Installed: (none)
   Candidate: 0.9.9+dfsg-2~2.gbpa4c3e9
   Version table:
  0.9.9+dfsg-2~2.gbpa4c3e9 0
 990 http://ftp.nz.debian.org/debian/ jessie/main i386 Packages
 root@tal:~#
 
 Actually, It is probably not in Wheezy.
 
Actually it is.  My mistake.  Wheezy has handbrake, while
deb-multimedia.org has handbrake-gtk.

-Rob


signature.asc
Description: Digital signature


Re: video compression?

2014-02-17 Thread Rob Owens
On Mon, Feb 17, 2014 at 08:23:26AM -0500, Thomas H. George wrote:
 Is there a best debian program to compress avi videos enough to send
 them by email?
 
 I have found ffmpeg and avidemux and am trying to learn to use them but
 have not had much success so far.
 
I like avidemux, but handbrake might be a little easier since it's got a
lot of presets.   You can get it in the 3rd party deb-multimedia.org
repository.

-Rob


signature.asc
Description: Digital signature


Re: OT: setting up public wifi

2014-01-29 Thread Rob Owens
On Tue, Jan 28, 2014 at 3:46 PM, Jerry Stuckle jstuc...@attglobal.netwrote:

 On 1/28/2014 1:42 PM, Rob Owens wrote:

 I need to set up wifi in a church, and share the wifi with the rectory
 (a separate building).  I've been doing some research, but am looking
 advice to help me get through this quicker.

 snip


  Rob,

 What's your background in such technologies, i.e. rf, hot spot
 creation/management, etc.?

 I have enough background that I know I can do this if I was willing to
drill holes and run wire, which I've done plenty of times before.  But I'm
trying to make this as easy as possible.  I've never used a wireless range
extender, but maybe I'll just buy one and try it out.

When I said general public, I should have said congregation.  This is
for members of the church.  That could be several hundred people.  The
guest account would be password protected, but I have realistic
expectations of how secret that password will be.  In any case, the church
is in a semi-rural area and is surrounded by empty land on all sides, so
there is no general public except for the people in the church.

My worst case scenario is probably some kind of event at the church where
100 people with smart phones all want to check their email.  Most of the
time it'll just be 3 office computers being used for church business.

-Rob


  1   2   3   4   5   6   7   8   9   >