Re: Advice needed re TV internet media machine.

2014-07-06 Thread Lisi Reisz
On Monday 07 July 2014 00:50:04 Ric Moore wrote:
> On 07/06/2014 06:16 AM, Lisi Reisz wrote:
> > I think that I have bitten off more than I can chew.  I should stick
> > to "normal" computers.  I grock them. :-(
>
> Please forgive, but I have to ...it's "grok" :) Ric

 :-(

Thanks, Ric.


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



Re: Install both PHP53 and PHP54 with dotdeb on squeeze ?

2014-07-06 Thread Grégoire COUTANT

Hi,
I finally use phpfarm who are incredible for this need :

- http://cweiske.de/tagebuch/Introducing%20phpfarm.htm
- 
http://cweiske.de/tagebuch/Running%20Apache%20with%20a%20dozen%20PHP%20versions.htm 



Hope this help

Greg


--
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/53ba4123.8010...@gmail.com



Re: simple database solution without root access

2014-07-06 Thread Bob Proulx
kamaraju kusumanchi wrote:
> Bob Proulx wrote:
> > Are you aware of SQLite?
> 
> I am still exploring all the suggestions given by others. But SQLite looks
> very promising. There is a Perl DBI Interface to SQLite which might be what
> I am after.

Using Perl with DBI with an SQLite database works very well.  It is
definitely one of the robust combinations.

> > Seriously though what do you want to do that can't be done easily with awk?
> 
> I do use awk and have some one-liners based on that. But the problem comes
> when you have to delete/insert a new column into existing data.

Ah...  That is an important note.

> If you delete, say field_5 column, you have to change the index in awk
> scripts for all the subsequent fields. I thought a better approach might be
> to refer to the columns by their header names, so I thought a database
> might be appropriate.

I think you might like "Data munging with Perl, DBI, SQLite" quite
well for this then.  But it is a different mental paradigm from the
command line data filter.  As a program it will attach to the database
and then you can loop over the data there.  That would give you the
ability to do whatever you wish to the data.

But as other people have mentioned as soon as you use a database the
data is no longer in simple text files.  The database itself is
binary.  You access the data through any of a number of programmatic
interfaces.

It is possible to load plain text data into the database.  It is
possible to dump the database out as plain text files.  That may be
sufficient for you.  You could cause all of that to be a filter.
Start with plain text.  Load it.  Process it.  Dumpt it out as plain
text at the end.

The extent to which this is lossless depends upon whether you have
established relationships between tables in the database or not.
Since SQLite is a relational database.  You could have a field in one
table called item_id and have it refer to another record in another
table.  That is the typical type of relationship.  That isn't easily
communicated in the type of plain text files you have described so far
so I assume you do not have any such relationships in your data.  But
you know your data so you can decide that for yourself if what you are
doing fits doing it that way or not.

Bob


signature.asc
Description: Digital signature


Re: Multimedia player for video filte type qs

2014-07-06 Thread Bob Proulx
Bret Busby wrote:
> ken wrote:
> > Andrei POPESCU wrote:
> >> Bret Busby wrote:
> >>> I wonder whether a multimedia player for the video filteype .qs exists
> >>> for Debian Linux.
> >>
> >> Just for the archives, the file extension is a poor indicator of the
> >> file type and was originally meant more as information for humans.
> >> Fortunately smart programs (like mplayer or vlc) don't rely much on it.

They have an easier task of identifying the file.  They only need to
identify the file for the file types that they can play.  They don't
need to identify every possible file type.

> > Yes, the 'file' utility is a much better indicator of the file type
> > ("file filename.ext").  I haven't seen it written anywhere, but believe
> > that the same capability is built into the shell, at least into bash.

I have never seen the file utility built into any shell.  The file
utility relies upon the magic file which contains a small descriptive
language programmed to identify files by content.  I think that would
be too much to incorporate as a shell builtin.  It just does not get
executed that often so not enough return on the investment.

> :~$ file 
> /media/Lexar/QS_Files/20140610_004549_[2_ABC1]_[Slaughterhouse-Five].qs
> /media/Lexar/QS_Files/20140610_004549_[2_ABC1]_[Slaughterhouse-Five].qs: data
> 
> So, what information does that give us, that is useful for finding
> software to view the file type qs ?

That says that there isn't anything programmed into the magic file in
order for the file program to identify the file.  If someone programs
in the identification then the file command could identify it.  But
regardless of you showing that it does not handle qs files the file
utility does quite well with most file types.

> Microsoft Word woth the proprietary .docx extension, would also
> probably show as data, but, I doubt that mplayer, or vlc, or totem,
> would work with that .docx filetype.

Actually file can identify docx files.

  $ file foo.docx
  foo.docx: Microsoft Word 2007+

:-)

> And, I have found that vlc (running on Debian 6), has a problem with
> some of the files, in that the output for some of the files, as with
> the output for mplayer, is choppy (if that is the correct term),
> meaning that it will play a little bit, then stop, then play a little
> bit more, a bit like the reproduction from the movie projectors from
> the days of the silent movies, when output was also, not flowing.

Different players use different codec libraries.  And in Debian things
are more confused because of the fork between ffmpeg and libav.
Debian chose the libav fork.  In hindsight that was probably a bad
choice and I think we would be better off with ffmpeg instead.

In the end it means that every player is slightly different.  It is
all related to the file encoding.  Some work great and others don't
work so well.  (shrug)

Bob


signature.asc
Description: Digital signature


building .debs with "+b1" on the end

2014-07-06 Thread Brian Sammon
I want to re-build a package for personal use, and have a special version 
number for my custom build.

Since I'm not planning on customizing the source or the debian control files, I 
think the ideal choice is to build a binary package with a suffix like "+b1" or 
"+local" on the end.

An example of this sort of thing is the current wheezy package of 
"libcrypt-blowfish-perl"
(https://packages.debian.org/wheezy/libcrypt-blowfish-perl)
As near as I can tell, the 2.12-1+b2 .debs of this package was created after 
the 2.12-1 .debs, but from the same source code, and without creating an entry 
in the changelog.

How would I do this?  I've looked in various places, and I can't find any 
relevant documentation.


-- 
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/20140707013717.19af539c.debian-users-l...@brisammon.fastmail.fm



Re: apt-get update: unnecessary use of disk space

2014-07-06 Thread Bob Proulx
Andrei POPESCU wrote:
> Bob Proulx wrote:
> > Of course now with SSDs that standard thinking needs to be thought out
> > again.  I haven't seen any benchmark data for full SSDs.  I imagine
> > that it will have much flatter performance curves up to very full on
> > an SSD.  It would super awesome if someone has already done this
> > performance benchmarking and would post a link to it so that we could
> > all learn from it.
> 
> As far as I understand SSDs can drop performance significantly when 
> full, but for entirely different reasons. Probably a good start would be 
> this Wikipedia article:
> https://en.wikipedia.org/wiki/Write_amplification , especially the 
> section on over-provisioning.

Over-provisioning is the reserved space that the vendor keeps to so
that the physical layer of the storage device never actually becomes
very full.  The more the vendor does over-provisioning the less full
the drive can get.  Even if the logical layer appears full.  The drive
needs big blocks of free space in order to be able to operate since it
will erase in large blocks.  And of course that reduces the impact of
not using trim.  This is why I don't think an SSD would degrade in
performance very much at all when the logical layer of the file system
is very full.

Bob


signature.asc
Description: Digital signature


Re: simple database solution without root access

2014-07-06 Thread Joe Pfeiffer
Joel Rees writes:
>2014/07/07 10:39 "Joe Pfeiffer" :
>>
>> Joel Rees  writes:
>>
>> > 2014/07/07 5:08 "Nuno Magalhães" :
>> >>
>> >> On Sun, Jul 6, 2014 at 9:03 PM, kamaraju kusumanchi
>> >>  wrote:
>> >> > I am still exploring all the suggestions given by others. But SQLite 
>> >> > looks
>> >> > very promising. There is a Perl DBI Interface to SQLite which might be 
>> >> > what
>> >> > I am after.
>> >>
>> >> >> > 2) I want the data to be in text format.
>> >>
>> >> SQLite keeps data in binary files.
>> >
>> > What do you mean by that?
>>
>> Presumably, as opposed to human-readable text files.
>
>Uhm, is text not a subset of binary (when talking about the contents of the 
>files that implement a database)? Does SQLite encode 
>text fields in some non-human-readable manner?

My typical experience is that when people distinguish "text" vs
"binary" files, they mean the whole file can reasonably be made sense
of in a text editor (that's not a precise definition, of course, but I
think it serves the purpose).  When I open an SQLite database I have
handy with emacs, it is rife with nulls and other non-printing
characters.  Similarly, when I try to run 'less' on it, the response
is

babs:506$ less house.db 
"house.db" may be a binary file.  See it anyway? 

Arguably, as people typically use the distinction, it's not a text
file.  Yes, I can extract the text fields, as human-readable ASCII,
but that does not make it a text file.

>Okay, thinking about it a bit, the lack of delimiters, and the puzzling nature 
>of binary zero when trying to read it as text,
>might be what Nuno was referring to. Comma delimited files provide visible, 
>understandable delimiters, 

And what just about anybody else would mean by a text file, as well.

>Oh, and the INTEGER PRIMARY KEY is never readable as TEXT.
>
>For some people seeking to keep data in text format, that might disqualify 
>SQLite. Apparently not  the OP?

My impression (I'd have to go back and recheck) is that it
disqualified it for the OP, as well.


--
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/21434.3686.317980.890...@snowball.wb.pfeifferfamily.net



Re: simple database solution without root access

2014-07-06 Thread Joe Pfeiffer
Joel Rees  writes:

> 2014/07/07 10:39 "Joe Pfeiffer" :
>>
>> Joel Rees  writes:
>>
>> > 2014/07/07 5:08 "Nuno Magalhães" :
>> >>
>> >> On Sun, Jul 6, 2014 at 9:03 PM, kamaraju kusumanchi
>> >>  wrote:
>> >> > I am still exploring all the suggestions given by others. But SQLite 
>> >> > looks
>> >> > very promising. There is a Perl DBI Interface to SQLite which might be 
>> >> > what
>> >> > I am after.
>> >>
>> >> >> > 2) I want the data to be in text format.
>> >>
>> >> SQLite keeps data in binary files.
>> >
>> > What do you mean by that?
>>
>> Presumably, as opposed to human-readable text files.
>
> Uhm, is text not a subset of binary (when talking about the contents of the 
> files that implement a database)?
> Does SQLite encode  text fields in some non-human-readable manner?
>
> Okay, thinking about it a bit, the lack of delimiters, and the puzzling 
> nature of binary zero when trying to
> read it as text, might be what Nuno was referring to. Comma delimited files 
> provide visible, understandable
> delimiters, 
>
> Oh, and the INTEGER PRIMARY KEY is never readable as TEXT.
>
> For some people seeking to keep data in text format, that might disqualify 
> SQLite. Apparently not  the OP?

My typical experience is that when people distinguish "text" vs
"binary" files, they mean the whole file can reasonably be made sense
of in a text editor (that's not a precise definition, of course, but I
think it serves the purpose).  When I open an SQLite database I have
handy with emacs, it is rife with nulls and other non-printing
characters.  Similarly, when I try to run 'less' on it, the response
is

babs:506$ less house.db
"house.db" may be a binary file.  See it anyway?

Arguably, as people typically use the distinction, it's not a text
file.  Yes, I can extract the text fields as human-readable ASCII,
but that does not make it a text file.

>Okay, thinking about it a bit, the lack of delimiters, and the puzzling nature 
>of binary zero when trying to read it as text,
>might be what Nuno was referring to. Comma delimited files provide visible, 
>understandable delimiters,

And what just about anybody else would mean by a text file, as well.

>Oh, and the INTEGER PRIMARY KEY is never readable as TEXT.
>
>For some people seeking to keep data in text format, that might
>disqualify SQLite. Apparently not the OP? 

My impression (I'd have to go back and recheck) is that it
disqualified it for the OP, as well.


-- 
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/1bmwcln9ul@snowball.wb.pfeifferfamily.net



Re: Learning package building - tutorial issue

2014-07-06 Thread Chris Bannister
On Sun, Jul 06, 2014 at 09:58:14PM +0200, Linux-Fan wrote:
> On 07/06/2014 09:54 PM, Linux-Fan wrote:
> > On 07/06/2014 09:21 PM, Valerio Pachera wrote:
> >> 2014-07-06 21:09 GMT+02:00 Linux-Fan :
> >>
> >>> Unless you provide some more information, I can not find the source of
> >>> the problem: Could it be possible to upload an archive of the directory
> >>> you are trying to build the package from?
> >>>
> >>
> >> Here it is.
> >> I forgot to mention I'm running debian wheezy.
> > 
> > The `rules` file seems to be the source of the problem. Change
> 
> [...]
> 
> I found a much simpler solution: Your `debian/compat` file is called
> `debian/compact` (with an additional ``c''). Just rename it to `compat`
> (without the second ``c'') and the problem fixes itself.

So the makefile was OK after all? 

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


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



Re: what was broken with sysvinit? some thoughts on initialization "systems"

2014-07-06 Thread Neal Murphy
On Sunday, July 06, 2014 10:19:33 PM Joel Rees wrote:
> It took me several years (and playing with MSWindows's Wrong Way To Get It
> Right) to see that ad-hoc nature of sysvinit was, indeed, a feature, not a
> bug.

SysV init was a feature of the first computer I bought for my own use decades 
ago; I've been using it ever since. I do believe I'll dump Linux before I ever 
consider using an opaque, tentacled thing like systemd.

I still think SysV and its inittab could be enhanced to control hierarchies of 
daemons without introducing incomprehensible syntax and file structure that 
abstracts away all chance of human understanding via several layers of 
indirection. No one's done it because it would break compatibility with 
traditional SysV init (and I've other fish to fry).

N


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



Re: simple database solution without root access

2014-07-06 Thread Joel Rees
2014/07/07 10:39 "Joe Pfeiffer" :
>
> Joel Rees  writes:
>
> > 2014/07/07 5:08 "Nuno Magalhães" :
> >>
> >> On Sun, Jul 6, 2014 at 9:03 PM, kamaraju kusumanchi
> >>  wrote:
> >> > I am still exploring all the suggestions given by others. But SQLite
looks
> >> > very promising. There is a Perl DBI Interface to SQLite which might
be what
> >> > I am after.
> >>
> >> >> > 2) I want the data to be in text format.
> >>
> >> SQLite keeps data in binary files.
> >
> > What do you mean by that?
>
> Presumably, as opposed to human-readable text files.

Uhm, is text not a subset of binary (when talking about the contents of the
files that implement a database)? Does SQLite encode  text fields in some
non-human-readable manner?

Okay, thinking about it a bit, the lack of delimiters, and the puzzling
nature of binary zero when trying to read it as text, might be what Nuno
was referring to. Comma delimited files provide visible, understandable
delimiters,

Oh, and the INTEGER PRIMARY KEY is never readable as TEXT.

For some people seeking to keep data in text format, that might disqualify
SQLite. Apparently not  the OP?


what was broken with sysvinit? some thoughts on initialization "systems"

2014-07-06 Thread Joel Rees
The first problem I notice with sysvinit is that it is not a (single)
initialization system.

Or, that may be the only problem, other than that it is  a feature rather
than a problem to those who understand the issues involved, whereas it is
perceived as a problem by those who expect a system.

Attempting to unpack that a little, I do remember a time when I was looking
for some centralized way to control what was being started when, and being
a little stressed out to discover I would have to learn sh for real if I
wanted to play with what boots up when. And then I would have to  read and
understand the programs  -- scripts -- being used to get everything started.

And one of the distressing elements it all was the ad-hoc nature of the
collection of init scripts. The only thing systematic about any of it was
the loose framework of runlevels and the method of controlling boot order
by tagging a script's filename with a priority number and then trusted the
collating  order. Which felt a lot like line numbers in  basic programs,
plus some extra chances for confusing oneself.

It took me several years (and playing with MSWindows's Wrong Way To Get It
Right) to see that ad-hoc nature of sysvinit was, indeed, a feature, not a
bug.

Sysvinit has been evolving, so that certain common features of services
could be accessed through more central tools -- chkconfig and such. Also,
the nomenclature has evolved quite a bit, so that, when you read the
documentation for one set of daemons and pick up the documentation for
another, you don't tend to be as  lost at first. Likewise, the structure of
the scripts.

What I want to see, rather than the implementation of a system where a
system doesn't belong, is more evolution of the sysvinit set of  systems,
more cooperation between the teams working on the various services/daemons,
so that methods of communicating dependencies and status information can be
made more regular.

Systemd does seem to provide a forum for such communication, but I question
the cost of the forum -- abandoning the ad-hoc, flexible nature of sysvinit
for the confined, and confining vision of a small group of engineers whose
(there's no way to avoid saying this) egos exceed both their experience and
their vision.

Sometimes, no, often in engineering fields, an inexperienced engineer has
been able to clear the air of irrelevant arguments and provide a catalyst
for real solutions when the experienced engineers have been blinded by
their experiences. And the new solution solves things.

I see some catalyzation of new approaches and such, but my present
impression of systemd is that it is heading away from the solution, seeking
the illusion of a solution found in Microsoft's stuff.

However, I can hope that the experiment with systemd, after having run its
course, might provide us with more tools to return (yet again) to a more
organized and accessible sysvinit.

The point of this ramble is what? I'm not sure. But, rather than rant about
how stupid systemd is, perhaps we can get a working group or two set up to
figure out how daemons and their packages should communicate their
dependencies and status with each other? Then we could really solve the
problem systemd is not solving right now, and either fix systemd or discard
it as necessary.


Re: simple database solution without root access

2014-07-06 Thread Joe Pfeiffer
Joel Rees  writes:

> 2014/07/07 5:08 "Nuno Magalhães" :
>>
>> On Sun, Jul 6, 2014 at 9:03 PM, kamaraju kusumanchi
>>  wrote:
>> > I am still exploring all the suggestions given by others. But SQLite looks
>> > very promising. There is a Perl DBI Interface to SQLite which might be what
>> > I am after.
>>
>> >> > 2) I want the data to be in text format.
>>
>> SQLite keeps data in binary files.
>
> What do you mean by that?

Presumably, as opposed to human-readable text files.


-- 
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/1btx6um0da@snowball.wb.pfeifferfamily.net



Re: I'm not a huge fan of systemd

2014-07-06 Thread Joel Rees
2014/07/07 3:18 "Brian" :
>
> On Sun 06 Jul 2014 at 19:35:43 +0200, Erwan David wrote:
>
> > Le 06/07/2014 19:13, Brian a écrit :
> > > On Sun 06 Jul 2014 at 17:54:49 +0200, Erwan David wrote:
> > >
> > >> Le 06/07/2014 17:34, Brian a écrit :
> > >>> On Sun 06 Jul 2014 at 14:54:06 +0100, Martin Read wrote:
> > >>>
> >  On 06/07/14 00:10, The Wanderer wrote:
> > > Can you run systemd without logind or journald?
> >  I can't quickly find an answer, so I'll leave answering that one to
> >  someone else.
> > >>> Disable at boot time:
> > >>>
> > >>>systemctl mask systemd-logind
> > >>>systemctl mask systemd-journald
> > >>>
> > >>> Possibly relevant:
> > >>>
> > >>>http://freedesktop.org/wiki/Software/systemd/MinimalBuilds/
> > >>>
> > >>>   we will not accept patches that make the minimal core
> > >>>   components optional, i.e. systemd itself, journald and udevd.
> > >>>
> > >>>
> > >> So it means that when I read on this list that we would not have to
> > >> suffer binary logs with journald, it was false...
> > > Did you try the command above? I did; plugging in a USB stick is
> > > recorded in syslog. Perhaps you could extend and improve on this
> > > very quick test.
> > >
> > >
> >
> > Having other things to do than testing the replacement of a perfectly
> > working system, without any migration doc (I only found reference
> > docyumentation meant for people already knowing the system) this test is
> > not for me.
>
> You had the time on similar dubious grounds to doubt the veracity of the
> information you were given.

Doubting the veracity of information you are given is one of the
responsibilities you accept when you start thinking for yourself.

Calling a peson's choice about how he spends his time "dubious grounds" is
one of the principle tools of tyranny. Even parents trying to help children
understand they are the root cause of their own problems should avoid using
such arguments.

And your response is a prime example of the reason systemd advocates are
seen as more than pushy.


Re: simple database solution without root access

2014-07-06 Thread Joel Rees
2014/07/07 5:08 "Nuno Magalhães" :
>
> On Sun, Jul 6, 2014 at 9:03 PM, kamaraju kusumanchi
>  wrote:
> > I am still exploring all the suggestions given by others. But SQLite
looks
> > very promising. There is a Perl DBI Interface to SQLite which might be
what
> > I am after.
>
> >> > 2) I want the data to be in text format.
>
> SQLite keeps data in binary files.

What do you mean by that?


Re: How to make preseed.cfg available in no-internet install?

2014-07-06 Thread Kynn Jones
Brian,

Your recipe worked like gangbusters.  And it taught me a lot too.  Thanks a
lot!

k



On Sun, Jul 6, 2014 at 7:40 AM, Brian  wrote:

> On Sat 05 Jul 2014 at 17:56:43 -0400, Kynn Jones wrote:
>
> > On Sat, Jul 5, 2014 at 2:43 PM, Brian  wrote:
> >
> > > It can be done but not with a netinst image or CD-1. The method is
> > > outlined in this thread.
> >
> > Thanks!  It looks like something I could at least stick in a script.
> >
> > Searching for "initrd cpio preseed.cfg" I found this page, which spells
> out
> > the whole process in detail:
> >
> > https://wiki.debian.org/DebianInstaller/Preseed/EditIso
>
> I wasn't intending you alter the initrd, although you can do that if you
> want. For a USB stick (no need to be root):
>
> 1. Plug in and use the last few lines of dmesg to find the device name.
>Let's say it is /dev/sdc.
>
> 2. Make one partition large enough to hold grub's files (~10M) and a
>netinst or CD-1 image with '/sbin/fdisk'. Put a filesystem on it with
>mkfs.vfat from dosfstools.
>
> /sbin/mkfs.vfat /dev/sdc1
>
> 3. Install pmount. Mount this partition:
>
> pmount sdc1
>
> 4. Install grub on the stick:
>
> grub-install --boot-directory=/media/sdc1/boot /dev/sdc
>
> 5. Determine the UUID of /dev/sdc1:
>
> /sbin/blkid /dev/sdc1
>
> 6. Download the hd-media vmlinuz and initrd.gz from
>
>
> http://ftp.nl.debian.org/debian/dists/wheezy/main/installer-i386/current/images/
>
>and copy them to /boot. Copy your preseed file and a netinst or CD-1
>image to /.
>
> 7. Write a /boot/grub/grub.cfg like so:
>
> menuentry "Test preseed file" {
> search --fs-uuid --set=root UUID
> linux /boot/vmlinuz priority=high
> file=/hd-media/preseed.cfg locale=en_GB.UTF-8 keymap=gb
> initrd /boot/initrd.gz
> }
>
>You choose "priority", "locale" and "keymap". I'd start with
> "priority=low".
>Add "shared/ask_device=manual" and "shared/enter_device=/dev/disk/UUID"
>to the linux line after you are confident with what you have above.
>
> initrd.gz contains iso-scan. It searches for a Debian ISO on the stick.
> When it finds it the partition the ISO is on is mounted on /hd-media.
> preseed.cfg is on the same partition so that relieves you of the necessity
> of mounting it by hand.
>
> > > Is "auto=true" an absolute requirement? Why?
> >
> > That's "cargo-cult" on my part, I confess.  I don't quite understand why
> > it's there, and was not able to find a sufficiently clear explanation of
> > what it's supposed to do.  I've basically kept it because it works.  (I
> > probably would have already tested whether I need it or not if it weren't
> > because debugging the installation process is so slow.)
>
> https://www.debian.org/releases/stable/i386/apbs01.html.en
>
> Delays locale and keymap questions (when locale and keymap are put in
> preseed.cfg) until after network configuration takes place. Not needed
> because the preseeding takes place from the linux line at the start of
> the install.
>
> I'm not too sure there isn't a bug in the Wheezy installer which leads
> to "keymap=gb" not being acted on with "auto=true". People with a "us"
> keymap may not notice it because d-i defaults to a us keyboard anyway.
>
> I'll leave it to you to handle tranferring the USB stick contents to a
> CD. :)
>
>
> --
> 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/20140706114000.ge27...@copernicus.demon.co.uk
>
>


Re:

2014-07-06 Thread Ric Moore

On 07/06/2014 02:51 AM, Weydson Lima wrote:

When I try to open the gnome System Settings, it opens a window titled
"Starting Sytem Settings" but it never actually opens any window, and
after a few seconds, the taskbar window closes.
How do I troubleshoot this?


Maybe repost with a subject line?? Thanks! Ric



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

Archive: https://lists.debian.org/53b9e0f1.5040...@gmail.com



Re: Advice needed re TV internet media machine.

2014-07-06 Thread Ric Moore

On 07/06/2014 06:16 AM, Lisi Reisz wrote:


I think that I have bitten off more than I can chew.  I should stick
to "normal" computers.  I grock them. :-(

Please forgive, but I have to ...it's "grok" :) Ric



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

Archive: https://lists.debian.org/53b9e0ac.9070...@gmail.com



Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Bzzzz
On Sun, 6 Jul 2014 19:20:01 -0400
Neal Murphy  wrote:

> Other than not being fully automated, what would be wrong with:
>   - use dd to copy the first 10MiB of the old drive to the new,
>   - use dd to skip all but the last 10MiB of the old drive and
> seek to the same spot on the new drive
>   - use dd if=/dev/zero to zero the first MiB of each partition.

As Matt stated the size and places of the GPT partition
table and its backup, using dd with count, bs AND seek
(for the end of the partition) would be much faster.

-- 
This universe shipped by weight, not by volume.  Some expansion of the
contents may have occurred during shipment.


signature.asc
Description: PGP signature


Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Neal Murphy
Other than not being fully automated, what would be wrong with:
  - use dd to copy the first 10MiB of the old drive to the new,
  - use dd to skip all but the last 10MiB of the old drive and seek to the
same spot on the new drive
  - use dd if=/dev/zero to zero the first MiB of each partition.
That *should* guarantee that the partition structure is copied from the old 
drive to the new and that no partition contains RAID IDs. You have to think 
about what you're doing, but it should work and allow mdadm to equalize to the 
new drive.

Also, unless I'm mistaken, neither hard drives nor hard drive controllers have 
used CHS in many years, mostly because CHS has not been constant across the 
platter(s) in about as many years. Far as I know, only partitioning tools 
gripe about CHS alignment. It's why I stopped using fdisk, sfdisk and other 
ancient partitioners. And I came close to scrapping parted because it can't do 
simple arithmetic; but using 'unit s' works well enough, provided I do all the 
begin/end computations outside of parted.

N


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



Re: simple database solution without root access

2014-07-06 Thread Joel Roth
Bob Proulx wrote:
> kamaraju kusumanchi wrote:
> > I have some data in text format organized as follows
> > 
> > field_1,field_2,field_3,...,field_9
> > val_1_1,val_1_2,val_1_3,...,val_1_9
> > val_2_1,val_2_2,val_2_3,...,val_2_9
> > ...
> > val_100_1,val_100_2,val_100_3,...,val_100_9
> > 
> > 
> > I want to do database (sql) like operations on this data. For example,
> 
> It sounds like you what you want is what many call "data munging".
> Such as "data munging with X" where X is awk, perl, python, ruby, or
> other programming language.  There is even a classic book Data Munging
> with Perl that specializes in such things.  I tend to use awk for such
> things since they can be done as a one-liner fairly easily.
> 
>   awk -F, '$2==5{sum+=$8}END{printf("%d\n",sum);}' datafile
> 
>   awk -F, '$2==42 && $7 == 37' datafile
>   
>   awk -F, '$1 ~ /PATTERN1/ && $1 ~ /PATTERN2/' datafile
> 
>   perl -F, -lane 'END{print $t} $t += $F[7] if $F[1] == 5'
> 
> And similar for other languages.  You could even load a full CSV
> module if needed.

Those are helpful examples. I'd forgotten about perl's
autosplit mode (the -a in -lane) which splits the input
lines to @F. It makes sense that the -F option is the 
same in perl as for awk. 

Joel

 
> Bob



-- 
Joel Roth
  


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



Re: simple database solution without root access

2014-07-06 Thread Tom Furie
On Sun, Jul 06, 2014 at 04:03:26PM -0400, kamaraju kusumanchi wrote:

Someone else wrote (attribution removed previously) >>

> > If you are already sed/grep/awk then stop at awk.  :-)
> >
> > Seriously though what do you want to do that can't be done easily with awk?

> I do use awk and have some one-liners based on that. But the problem comes
> when you have to delete/insert a new column into existing data.

You mentioned nothing in your original post about adding or removing
columns. Are there any other details we should be aware of?

Cheers,
Tom

-- 
Hlade's Law:
If you have a difficult task, give it to a lazy person --
they will find an easier way to do it.


signature.asc
Description: Digital signature


Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Ron Leach

On 06/07/2014 22:49, B wrote:

On Sun, 06 Jul 2014 22:35:03 +0100

Apparently, this is very easy:
http://unix.stackexchange.com/questions/12986/how-to-copy-the-partition-layout-of-a-whole-disk-using-standard-tools



I mentioned Lenny, because it matters.  I'd found that page before 
posting, looked forward to trying it, and was very disappointed to 
find that gdisk does not seem to be available in the Lenny repositories.




But once again, if your disk0 partition is N bytes (MB|GB|TB)
and your disk1 partition is N+X bytes, RAID will manage
and will only use N bytes from disk1 partition.



I dealt with this in the previous post.  If Disk1 unnecessarily uses X 
bytes for partition m, say, then there are not sufficient bytes left 
for partition n.


regards, Ron


--
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/53b9c749.4040...@tesco.net



Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Bzzzz
On Sun, 6 Jul 2014 23:49:38 +0200
B  wrote:

Rahhh, read too fast, former was for non-GPT, here's
one good pgm that does the trick (also exist as a pkg
in trudububu):
http://unix.stackexchange.com/questions/19047/how-can-i-quickly-copy-a-gpt-partition-scheme-from-one-hard-drive-to-another

-- 
Comparing information and knowledge is like asking whether the
fatness of a pig is more or less green than the designated hitter
rule." -- David Guaspari


signature.asc
Description: PGP signature


Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Bzzzz
On Sun, 06 Jul 2014 22:35:03 +0100
Ron Leach  wrote:

> B, many thanks for thinking about this,

Call me mâââsteeelll and bend over Igolll,
so I can pet your hump *<;-) 

Apparently, this is very easy:
http://unix.stackexchange.com/questions/12986/how-to-copy-the-partition-layout-of-a-whole-disk-using-standard-tools

But once again, if your disk0 partition is N bytes (MB|GB|TB)
and your disk1 partition is N+X bytes, RAID will manage
and will only use N bytes from disk1 partition.

I insist on that because you have good chances your
new HD is (internally) very different from the original,
and you might have problems with partition(s) not ending
on a cylinder boundary.

-- 
"God is a comedian playing to an audience too afraid to laugh."
-- Voltaire


signature.asc
Description: PGP signature


Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Ron Leach

On 06/07/2014 21:56, B wrote:

I think you also read too fast, apparently he just wanna
have the same partition table.

Which RAID doesn't care, eg:
dsk0 partition = 100 (sectors, GB, whatever)
dsk1 " = 101 or 4242.42

RAID will only pick 100 on dsk1 partition to achieve
its work.


Sure, but since the whole disk is partitioned, and both discs are the 
same size, if some partition is larger than needed, some other 
partition will be smaller than needed.


I just want the same partition layout, but the installer chose it, and 
I wasn't sure how to ensure that I get the 'exact' same sizes on the 8 
partitions.


To Matt, I want just the partition table, not the data, because mdadm 
expects to resync the data; it seems to get muddled if it cannot. 
I'll look at the wiki page you found.


regards, Ron


--
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/53b9c2f7.3010...@tesco.net



Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Ron Leach

On 06/07/2014 21:25, B wrote:

On Sun, 06 Jul 2014 20:54:10 +0100
Ron Leach  wrote:

Oops, I read a tiny bit too fast.


machine to Wheezy. So I need to partition the new disk, and I'd
like it to be an exact clone of the existing RAID1 member, so that
each partition starts on the same sector, etc.  I can then repair
the arrays using mdadm.


You can still use dd to copy the partition table (others will
tell you the right syntax); however, RAID easily copes with
bigger partitions, as it only uses the place it needs.



B, thank you.

dd leads to problems with RAID, though.  I did try that first, and 
messed the system up further. I hadn't included that story in the 
original post, because I hadn't wanted to write something too long; 
but here it is.


Debian Lenny uses Lilo to boot from a RAID1 and when you do a dd over 
sda -> sdb you do, indeed, get a bit for bit copy.  But, you also get 
an exact replica of the disk ID, and Lilo complains about that (but 
does go on to boot).


More seriously, mdadm seems to have a kind of 'dynamic' or 'live' 
repair/re-assembly capability.  While I was dd-ing, mdadm tried to 
also do a re sync on each partition as it came into existence.  (I was 
surprised by this.)  The result was two programs writing to the same 
areas and mdadm evenually entered a somewhat strange state, and stated 
renaming the /dev/md[n] to something else - I now have a /dev/md126, 
even though mdadm.conf still has /dev/md2.  But I've left it because 
the system does boot up, for now.  So, the RAID1 isn't perfect yet, 
and won't be after the 2nd disc is added, but I see on the linux-raid 
list that someone else has reported this issue of md renaming so I 
hope to fix that, as well, afterwards.


So I do just want to clone the GPT partition table, if I can, and let 
mdadm re sync the data in the partitions.  DD does seem attractive, I 
agree, but leads to problems in this instance.


B, many thanks for thinking about this,

regards, Ron


--
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/53b9c107.8060...@tesco.net



Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Matt Ventura

On 7/6/2014 1:56 PM, B wrote:

On Sun, 06 Jul 2014 13:41:15 -0700
Matt Ventura  wrote:


You don't need to know, you just use dd over the entire disk (i.e.
sda instead of sda1).

Yup.


Just to be clear, you're trying to copy the entire disk with all
its partitions, right?

I think you also read too fast, apparently he just wanna
have the same partition table.

Which RAID doesn't care, eg:
dsk0 partition = 100 (sectors, GB, whatever)
dsk1 " = 101 or 4242.42

RAID will only pick 100 on dsk1 partition to achieve
its work.
This was mandatory from the very beginning, as HDz,
even from the same brand, had not the same number
of heads, track , etc .

Well if he just needs the partition table but no data (it sounded like 
that, but I don't understand
the reason for doing that), then according to wikipedia he should copy 
the first 34*512 bytes and

the last 33*512 bytes onto the new disk.


--
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/53b9bd87.7040...@mattventura.net



Re: ntp problem

2014-07-06 Thread Pierre Frenkiel

On Sun, 6 Jul 2014, John D. Hendrickson and Sara Darnell wrote:


. . .
when i used it you have to run ntpdate(1) to synchronize before running ntpd 
. . .


  In my 1st post, I wrote:
  =
  I tried ntpdate, which actually restablished the correct time, but 30
  minutes later, the time has already drifted by 15 seconds.
  =

  cf also read my last post, where I said that I fixed the problem,
  and how I did it.

best regards,
--
Pierre Frenkiel


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

Archive: 
https://lists.debian.org/alpine.deb.2.10.1407062258060.21...@pfr2.frenkiel-hure.net



Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Bzzzz
On Sun, 06 Jul 2014 13:41:15 -0700
Matt Ventura  wrote:

> You don't need to know, you just use dd over the entire disk (i.e.
> sda instead of sda1).

Yup.
 
> Just to be clear, you're trying to copy the entire disk with all
> its partitions, right?

I think you also read too fast, apparently he just wanna
have the same partition table.

Which RAID doesn't care, eg:
dsk0 partition = 100 (sectors, GB, whatever)
dsk1 " = 101 or 4242.42 

RAID will only pick 100 on dsk1 partition to achieve
its work.
This was mandatory from the very beginning, as HDz,
even from the same brand, had not the same number
of heads, track , etc .

-- 
Military secrets are the most fleeting of all.
-- Spock, "The Enterprise Incident", stardate 5027.4


signature.asc
Description: PGP signature


Re: Multimedia player for video filte type qs

2014-07-06 Thread Bret Busby
On 07/07/2014, Bret Busby  wrote:
> On 07/07/2014, Bret Busby  wrote:
>> On 06/07/2014, ken  wrote:
>>> On 07/06/2014 06:32 AM Andrei POPESCU wrote:
 On Lu, 16 iun 14, 15:38:09, Bret Busby wrote:
> Hello.
>
> I wonder whether a multimedia player for the video filteype .qs exists
> for Debian Linux.

 Just for the archives, the file extension is a poor indicator of the
 file type and was originally meant more as information for humans.
 Fortunately smart programs (like mplayer or vlc) don't rely much on it.

 Kind regards,
 Andrei

>>>
>>> Yes, the 'file' utility is a much better indicator of the file type
>>> ("file filename.ext").  I haven't seen it written anywhere, but believe
>>> that the same capability is built into the shell, at least into bash.
>>>
>>
>>
>> :~$ file
>> /media/Lexar/QS_Files/20140610_004549_[2_ABC1]_[Slaughterhouse-Five].qs
>> /media/Lexar/QS_Files/20140610_004549_[2_ABC1]_[Slaughterhouse-Five].qs:
>> data
>>
>> So, what information does that give us, that is useful for finding
>> software to view the file type qs ?
>>
>> Microsoft Word woth the proprietary .docx extension, would also
>> probably show as data, but, I doubt that mplayer, or vlc, or totem,
>> would work with that .docx filetype.
>>
>> The above output for the file command was previously posted in the
>> thread, so I do not see the point in the last two postings in the
>> thread.
>>
>> And, I have found that vlc (running on Debian 6), has a problem with
>> some of the files, in that the output for some of the files, as with
>> the output for mplayer, is choppy (if that is the correct term),
>> meaning that it will play a little bit, then stop, then play a little
>> bit more, a bit like the reproduction from the movie projectors from
>> the days of the silent movies, when output was also, not flowing.
>>
>
> Hmm, it has also occurred to me, that, going by the filetype, as shown
> by the result of running the file command, maybe the filetype cannot
> be handled by Linux, but requires an android version, known as Soong
> Type Android, which is apparently not yet available, and apparently,
> is unlikely to be available, for another 324 years.
>
> 'Tis a long wait, to watch a movie that exists now.
>


Apparently, it is Soong Type Android version 5.

-- 
Bret Busby
Armadale
West Australia
..

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




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



Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Matt Ventura

On 7/6/2014 1:37 PM, Steve Litt wrote:

On Sun, 6 Jul 2014 22:20:55 +0200
B  wrote:


On Sun, 06 Jul 2014 20:54:10 +0100
Ron Leach  wrote:


Is there, in Lenny, a command or tool for cloning a GPT?

Use dd, it'll take a looong time but you'll have a bit copy.


But...

How do you know how much to copy? GPT partitions vary in length.

SteveT

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


You don't need to know, you just use dd over the entire disk (i.e. sda 
instead of sda1).


Just to be clear, you're trying to copy the entire disk with all its 
partitions, right?



--
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/53b9b46b.8010...@mattventura.net



Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Steve Litt
On Sun, 6 Jul 2014 22:20:55 +0200
B  wrote:

> On Sun, 06 Jul 2014 20:54:10 +0100
> Ron Leach  wrote:
> 
> > Is there, in Lenny, a command or tool for cloning a GPT?
> 
> Use dd, it'll take a looong time but you'll have a bit copy.
> 

But...

How do you know how much to copy? GPT partitions vary in length.

SteveT

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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140706163725.02734...@mydesq2.domain.cxm



Re: Multimedia player for video filte type qs

2014-07-06 Thread Bret Busby
On 07/07/2014, Bret Busby  wrote:
> On 06/07/2014, ken  wrote:
>> On 07/06/2014 06:32 AM Andrei POPESCU wrote:
>>> On Lu, 16 iun 14, 15:38:09, Bret Busby wrote:
 Hello.

 I wonder whether a multimedia player for the video filteype .qs exists
 for Debian Linux.
>>>
>>> Just for the archives, the file extension is a poor indicator of the
>>> file type and was originally meant more as information for humans.
>>> Fortunately smart programs (like mplayer or vlc) don't rely much on it.
>>>
>>> Kind regards,
>>> Andrei
>>>
>>
>> Yes, the 'file' utility is a much better indicator of the file type
>> ("file filename.ext").  I haven't seen it written anywhere, but believe
>> that the same capability is built into the shell, at least into bash.
>>
>
>
> :~$ file
> /media/Lexar/QS_Files/20140610_004549_[2_ABC1]_[Slaughterhouse-Five].qs
> /media/Lexar/QS_Files/20140610_004549_[2_ABC1]_[Slaughterhouse-Five].qs:
> data
>
> So, what information does that give us, that is useful for finding
> software to view the file type qs ?
>
> Microsoft Word woth the proprietary .docx extension, would also
> probably show as data, but, I doubt that mplayer, or vlc, or totem,
> would work with that .docx filetype.
>
> The above output for the file command was previously posted in the
> thread, so I do not see the point in the last two postings in the
> thread.
>
> And, I have found that vlc (running on Debian 6), has a problem with
> some of the files, in that the output for some of the files, as with
> the output for mplayer, is choppy (if that is the correct term),
> meaning that it will play a little bit, then stop, then play a little
> bit more, a bit like the reproduction from the movie projectors from
> the days of the silent movies, when output was also, not flowing.
>

Hmm, it has also occurred to me, that, going by the filetype, as shown
by the result of running the file command, maybe the filetype cannot
be handled by Linux, but requires an android version, known as Soong
Type Android, which is apparently not yet available, and apparently,
is unlikely to be available, for another 324 years.

'Tis a long wait, to watch a movie that exists now.

-- 
Bret Busby
Armadale
West Australia
..

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




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



Re: Learning package building - tutorial issue

2014-07-06 Thread Valerio Pachera
2014-07-06 21:58 GMT+02:00 Linux-Fan :

>
> I found a much simpler solution: Your `debian/compat` file is called
> `debian/compact` (with an additional ``c''). Just rename it to `compat`
> (without the second ``c'') and the problem fixes itself.
>

Thank you very much!
It was just matter of a typo.

PS: it's not my application, it's just the tutorial source code.


Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Bzzzz
On Sun, 06 Jul 2014 20:54:10 +0100
Ron Leach  wrote:

Oops, I read a tiny bit too fast.

> machine to Wheezy. So I need to partition the new disk, and I'd
> like it to be an exact clone of the existing RAID1 member, so that
> each partition starts on the same sector, etc.  I can then repair
> the arrays using mdadm.

You can still use dd to copy the partition table (others will
tell you the right syntax); however, RAID easily copes with
bigger partitions, as it only uses the place it needs.

-- 
Don't let people drive you crazy when you know it's in walking
distance.


signature.asc
Description: PGP signature


Re: Clone GPT partition table - with Lenny ?

2014-07-06 Thread Bzzzz
On Sun, 06 Jul 2014 20:54:10 +0100
Ron Leach  wrote:

> Is there, in Lenny, a command or tool for cloning a GPT?

Use dd, it'll take a looong time but you'll have a bit copy.

-- 
ptinou: the only thing that surprised me with vi$ta
was when it told me it was going to deactivate my
keyboard to improve the stability of my system


signature.asc
Description: PGP signature


Clone GPT partition table - with Lenny ?

2014-07-06 Thread Ron Leach

List, good evening,

We have a RAID1 server running Lenny, one of whose two 2TB discs 
comprising the RAID arrays has failed.  The discs were partitioned 
into 8 partitions during the Debian Lenny installation, and separate 
RAID1 arrays were built on 7 of those partitions, again during Debian 
installation.  The Debian installer employed a GPT partition table for 
these discs; it also chose the (precise) partition boundaries.


The machine is no longer an active server on our network; its role has 
been taken by a new-build Wheezy box.  The end goal is to restore the 
RAID1 arrays, then update the properly configured machine to Wheezy. 
So I need to partition the new disk, and I'd like it to be an exact 
clone of the existing RAID1 member, so that each partition starts on 
the same sector, etc.  I can then repair the arrays using mdadm.


As far as I can see, there is no command in fdisk or parted that will 
clone the partition table for me.  I can create a partition table on 
the new disk, but I will need to have the exact partition start and 
end points, to be sure of exactly matching the existing disc.


Is there, in Lenny, a command or tool for cloning a GPT?

Alternatively, how could I find the exact partition start points on 
the working disk, and sizes, etc, to help me partition the new disk?


Grateful for any suggestions,

regards, Ron


--
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/53b9a962.6010...@tesco.net



Re: simple database solution without root access

2014-07-06 Thread Nuno Magalhães
On Sun, Jul 6, 2014 at 9:03 PM, kamaraju kusumanchi
 wrote:
> I am still exploring all the suggestions given by others. But SQLite looks
> very promising. There is a Perl DBI Interface to SQLite which might be what
> I am after.

>> > 2) I want the data to be in text format.

SQLite keeps data in binary files.


-- 
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/cadqa9uzxgh1rk8t2tqffnrgtyiay-e5b0ishvkalwphobo_...@mail.gmail.com



Re: Multimedia player for video filte type qs

2014-07-06 Thread Bret Busby
On 06/07/2014, ken  wrote:
> On 07/06/2014 06:32 AM Andrei POPESCU wrote:
>> On Lu, 16 iun 14, 15:38:09, Bret Busby wrote:
>>> Hello.
>>>
>>> I wonder whether a multimedia player for the video filteype .qs exists
>>> for Debian Linux.
>>
>> Just for the archives, the file extension is a poor indicator of the
>> file type and was originally meant more as information for humans.
>> Fortunately smart programs (like mplayer or vlc) don't rely much on it.
>>
>> Kind regards,
>> Andrei
>>
>
> Yes, the 'file' utility is a much better indicator of the file type
> ("file filename.ext").  I haven't seen it written anywhere, but believe
> that the same capability is built into the shell, at least into bash.
>


:~$ file /media/Lexar/QS_Files/20140610_004549_[2_ABC1]_[Slaughterhouse-Five].qs
/media/Lexar/QS_Files/20140610_004549_[2_ABC1]_[Slaughterhouse-Five].qs: data

So, what information does that give us, that is useful for finding
software to view the file type qs ?

Microsoft Word woth the proprietary .docx extension, would also
probably show as data, but, I doubt that mplayer, or vlc, or totem,
would work with that .docx filetype.

The above output for the file command was previously posted in the
thread, so I do not see the point in the last two postings in the
thread.

And, I have found that vlc (running on Debian 6), has a problem with
some of the files, in that the output for some of the files, as with
the output for mplayer, is choppy (if that is the correct term),
meaning that it will play a little bit, then stop, then play a little
bit more, a bit like the reproduction from the movie projectors from
the days of the silent movies, when output was also, not flowing.


-- 
Bret Busby
Armadale
West Australia
..

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




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



Re: simple database solution without root access

2014-07-06 Thread kamaraju kusumanchi
> > I looked at mysql (http://zetcode.com/databases/mysqltutorial/), but
> there
> > the configuration seems to focus on having a central database that could
> be
> > shared across different users. This does not work for me for three
> reasons:
>
> Are you aware of SQLite?
>

I am still exploring all the suggestions given by others. But SQLite looks
very promising. There is a Perl DBI Interface to SQLite which might be what
I am after.


>
> > 2) I want the data to be in text format. Since some times, I do
> > sed/grep/awk the data myself. Also, this helps me to edit the data file
> > directly using editors such as vim.
>
> If you are already sed/grep/awk then stop at awk.  :-)
>
> Seriously though what do you want to do that can't be done easily with awk?
>

I do use awk and have some one-liners based on that. But the problem comes
when you have to delete/insert a new column into existing data.

If you delete, say field_5 column, you have to change the index in awk
scripts for all the subsequent fields. I thought a better approach might be
to refer to the columns by their header names, so I thought a database
might be appropriate.

raju


Re: Learning package building - tutorial issue

2014-07-06 Thread Linux-Fan
On 07/06/2014 09:54 PM, Linux-Fan wrote:
> On 07/06/2014 09:21 PM, Valerio Pachera wrote:
>> 2014-07-06 21:09 GMT+02:00 Linux-Fan :
>>
>>> Unless you provide some more information, I can not find the source of
>>> the problem: Could it be possible to upload an archive of the directory
>>> you are trying to build the package from?
>>>
>>
>> Here it is.
>> I forgot to mention I'm running debian wheezy.
> 
> The `rules` file seems to be the source of the problem. Change

[...]

I found a much simpler solution: Your `debian/compat` file is called
`debian/compact` (with an additional ``c''). Just rename it to `compat`
(without the second ``c'') and the problem fixes itself.

HTH and sorry for the second mail
Linux-Fan



signature.asc
Description: OpenPGP digital signature


Re: Learning package building - tutorial issue

2014-07-06 Thread Linux-Fan
On 07/06/2014 09:21 PM, Valerio Pachera wrote:
> 2014-07-06 21:09 GMT+02:00 Linux-Fan :
> 
>> Unless you provide some more information, I can not find the source of
>> the problem: Could it be possible to upload an archive of the directory
>> you are trying to build the package from?
>>
> 
> Here it is.
> I forgot to mention I'm running debian wheezy.

The `rules` file seems to be the source of the problem. Change

$(MAKE) DESTDIR=$$(pwd)/debian/hithere prefix=/usr install

to

$(MAKE) DESTDIR=$$(pwd)/debian/tmp prefix=/usr install

and try again.

If it is your own application you are compiling this way, I suggest you
to configure the application's makefile to automatically create
necessary file structures in order to be able to keep the `rules` file
as simple (and as compatible...) as possible.

HTH
Linux-Fan



signature.asc
Description: OpenPGP digital signature


Re: Fools rush in where Angels fear to tread: systemd

2014-07-06 Thread emmanuel segura
if you are using grub2
http://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter

2014-07-06 16:19 GMT+02:00 Paul E Condon :
> I am a foolish user of Wheezy. I want to see for myself
> what will happen if I switch to systemd today. I find on
> wiki.debian.org/systemd a document with steps needed to
> install and test systemd, but I have trouble:
> After using apt-get to install the systemd package the
> next step is (verbatim):
>
> To test systemd before switching to it by default, you can add the following 
> boot parameter to the kernel:
>
> init=/bin/systemd
> (end verbatim)
>
> How do I add this parameter to the kernel? I think I must open some
> file somewhere, probably in /etc and edit it with vim or emacs
> (hopefully my choise) and I should place this string correctly within
> that file:
>
> What file (full path) ?
> What position within the file?
>
> I think I might be able to guess the position, once I know the path to
> the file, and can read its pre-existing content, but I am not such a
> fool as to assume that the position will be obvious to a fool.
>
> Thanks and
> best hopes for
> systemd. ;-/
>
> --
> Paul E Condon
> pecon...@mesanetworks.net
>
>
> - End forwarded message -
>
> --
> Paul E Condon
> pecon...@mesanetworks.net
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: https://lists.debian.org/20140706141905.ga1...@big.lan.gnu
>



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


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



Re: Learning package building - tutorial issue

2014-07-06 Thread Valerio Pachera
2014-07-06 21:09 GMT+02:00 Linux-Fan :

> Unless you provide some more information, I can not find the source of
> the problem: Could it be possible to upload an archive of the directory
> you are trying to build the package from?
>

Here it is.
I forgot to mention I'm running debian wheezy.


hithere-1.0.tar.gz
Description: GNU Zip compressed data


Re: New 64bit install. More problems.

2014-07-06 Thread Sven Joachim
On 2014-07-06 20:54 +0200, d_ba...@012.net.il wrote:

> 2. No user can access KDE any more. Upgraded something that showed no
> error (used reportbug-ng to check since apt-llistbugs is broken) and
> now, no kdm login can access the dbus. Screen just blinks and returns
> to login. kdm.log cites the dbus problem in "K*time*zones", kgreet,
> whatever. Newer kdm did not help. I will check the bug listings for
> them, however. Meanwhile, KDE unusable but command line is fine.

This could be bug #746589[1].  Which display manager do you use, if any?

> 3. System no longer halts ... says it halted but I need to manually
> cause the power to cut off. Maybe related. Packages I suspected were
> removed but not at fault.

Don't shutdown with the halt(8) command, it is not supposed to power off
the machine, and the systemd maintainers consider it a bug[2] that the
sysvinit implementation does it anyway.  Use the poweroff command
instead.

Cheers,
   Sven


1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746589
2. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746650


-- 
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/878uo6cn9u@turtle.gmx.de



Re: New 64bit install. More problems.

2014-07-06 Thread Steve Litt
On Sun, 06 Jul 2014 21:54:49 +0300
d_ba...@012.net.il wrote:

> 1. /var/mail/usermail very large, containing hundreds of messages.
> Should only have 10-20. This file serves a dovecot imap server and
> messages have been read and deleted. What is going on here?
> Especially since the installer gives a very (too) small /var
> partition. (Looks as if /opt, /usr/local and possibly /var/mail may
> be moved to that oversized home partition and rbinded.)

Looks to me like a failure of whatever is grabbing /var/mail/usermail
and putting it in the Dovecot Maildir. Fetchmail? Also, check the
permissions, ownership and extended attributes of /var/mail/usermail.

Beyond this, just use generally accepted troubleshooting procedures.

> 
> 
> 2. No user can access KDE any more. Upgraded something that showed no
> error (used reportbug-ng to check since apt-llistbugs is broken) and
> now, no kdm login can access the dbus. Screen just blinks and returns
> to login. kdm.log cites the dbus problem in "K*time*zones", kgreet,
> whatever. Newer kdm did not help. I will check the bug listings for
> them, however. Meanwhile, KDE unusable but command line is fine.

Sounds like business as usual to me. KDE is not only crashy, slow, and
resource consuming, but it's delicate. Because it's such an entangled
monolith, it's difficult to troubleshoot.

> 
> 
> 3. System no longer halts ... says it halted but I need to manually
> cause the power to cut off. Maybe related. Packages I suspected were
> removed but not at fault.

I've seen that a lot. Me, I just press the power button when it says
it's halted. Supposedly that's one thing that systemd is going to fix.

> 
> 
> I am beginning to think that the Debian installer is good if one
> simply uses it and leaves it be, the snapshot as presented. I am used
> to having an up-to-date Sid box but apparently cannot upgrade to this
> in an orderly manner. (For all the rants, I started out way back when
> with Knoppix and upgraded and upgraded with very few catastrophes!)
> Hope I am wrong about this, that fixed packages will be around
> tomorrow or soon.

I think it's a matter of sucky documentation, which is rampant. First,
the makers of software do a lousy job of documentation. Second,
everyone with half an opinion puts yet another contradictory "fix" or
"tip" on the Internet, and if they test their fix or tip at all, they
test it in only one situation. And, if I had my way, it would be a
felony to use a pronoun in documentation. Redundancy is wonderful
compared to confusion. And how bout those guys using a word or phrase
that hasn't been defined in the documentation, and is known only to
people already past the point of needing the documentation?

Computers and Linux just keep getting more complicated, and
documentation just keeps getting worse. I'm pretty sure that if we all
had good documentation, we could modify our boxes to our hearts'
content without undue mishaps.
 
> 
> 4. Systemd is turning a lot of heads and postings. Yes, indeed, the
> bootup and shutdown are lightning quick!! No more "starts" and
> "stops" of the good old days. I do not understand how this indeed
> works but it apparently does. I hope :-)‭‮

I hope too.

SteveT

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


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140706151333.5c91f...@mydesq2.domain.cxm



Re: New 64bit install. More problems.

2014-07-06 Thread Hans

> 
> 3. System no longer halts ... says it halted but I need to manually cause
> the power to cut off. Maybe related. Packages I suspected were removed but
> not at fault.
> 
> 

The command halt has changed! It is not "halt" any more, but "halt -p".
This is according to the manual. The former simple command "halt" was a bug.

That is now fixed. (However, I got into the same trap.)

Best regards

Hans


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



Re: Learning package building - tutorial issue

2014-07-06 Thread Linux-Fan
On 07/06/2014 08:59 PM, Valerio Pachera wrote:
> Hi there, I wish to learn how to create/build a debian package.
> I'm reading the documentation
> 
> https://wiki.debian.org/IntroDebianPackaging#Introduction_to_Debian_Packaging
> but I found a problem at this step:
> 
> "Create a file called *debian/hithere.dirs*, and make it look like this:"
> 
> I did it, but I still the the error message:
> 
> ...hithere-1.0/debian/hithere/usr/bin": No such file or directory

Unless you provide some more information, I can not find the source of
the problem: Could it be possible to upload an archive of the directory
you are trying to build the package from?

If that is impossible, you could just try to adjust the Makefile to
create $(DESTDIR)/usr/bin and avoid the .dirs file.

Linux-Fan




signature.asc
Description: OpenPGP digital signature


Fwd: Learning package building - tutorial issue

2014-07-06 Thread Valerio Pachera
Hi there, I wish to learn how to create/build a debian package.
I'm reading the documentation

https://wiki.debian.org/IntroDebianPackaging#Introduction_to_Debian_Packaging
but I found a problem at this step:

"Create a file called *debian/hithere.dirs*, and make it look like this:"

I did it, but I still the the error message:

...hithere-1.0/debian/hithere/usr/bin": No such file or directory


Learning package building - tutorial issue

2014-07-06 Thread Valerio Pachera
Hi there, I wish to learn how to create/build a debian package.
I'm reading the documentation

https://wiki.debian.org/IntroDebianPackaging#Introduction_to_Debian_Packaging
but I found a problem at this step:

"Create a file called *debian/hithere.dirs*, and make it look like this:"

I did it, but I still the the error message:

...hithere-1.0/debian/hithere/usr/bin": No such file or directory


New 64bit install. More problems.

2014-07-06 Thread d_baron
1. /var/mail/usermail very large, containing hundreds of messages. Should only 
have 10-20. This file serves a dovecot imap server and messages have been read 
and deleted. What is going on here? Especially since the installer gives a very 
(too) small /var partition. (Looks as if /opt, /usr/local and possibly 
/var/mail may be moved to that oversized home partition and rbinded.)


2. No user can access KDE any more. Upgraded something that showed no error 
(used reportbug-ng to check since apt-llistbugs is broken) and now, no kdm 
login can access the dbus. Screen just blinks and returns to login. kdm.log 
cites the dbus problem in "K*time*zones", kgreet, whatever. Newer kdm did not 
help. I will check the bug listings for them, however. Meanwhile, KDE unusable 
but command line is fine.


3. System no longer halts ... says it halted but I need to manually cause the 
power to cut off. Maybe related. Packages I suspected were removed but not at 
fault.


I am beginning to think that the Debian installer is good if one simply uses it 
and leaves it be, the snapshot as presented. I am used to having an up-to-date 
Sid box but apparently cannot upgrade to this in an orderly manner. (For all 
the rants, I started out way back when with Knoppix and upgraded and upgraded 
with very few catastrophes!) Hope I am wrong about this, that fixed packages 
will be around tomorrow or soon.


4. Systemd is turning a lot of heads and postings. Yes, indeed, the bootup and 
shutdown are lightning quick!! No more "starts" and "stops" of the good old 
days. I do not understand how this indeed works but it apparently does. I hope 
:-)‭‮


Re: Preseed and security packages during install

2014-07-06 Thread David Majchrzak, ODERLAND Webbhotell AB
Ah. That might actually work, didn’t know about that snapshot archive. Handy.
I don’t have any server to try it out on now, but I sure will if I get the 
chance.

Thanks Brian!

Kind Regards,
David
6 jul 2014 kl. 20:46 skrev Brian :

> On Sun 06 Jul 2014 at 20:35:38 +0200, David Majchrzak, ODERLAND Webbhotell AB 
> wrote:
> 
>> Well, the problem with netboot preseed is that it takes a mirror - and
>> the official mirrors only have the latest on deb 7 and the latest on
>> deb 6 unless I’m mistaken.  So even if I try to use a netboot from 7.4
>> I will still get 7.5 through the mirror and the install will fail to
>> find the discs.
> 
> Ah, that didn't quite penetrate my tired brain. I wonder whether
> 
>   http://snapshot.debian.org/
> 
> as a mirror would be any use. I've not thought this through so it could
> be leading you up a blind alley.
> 
> 
> -- 
> 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/06072014194222.b697c592a...@desktop.copernicus.demon.co.uk
> 



Re: Preseed and security packages during install

2014-07-06 Thread Brian
On Sun 06 Jul 2014 at 20:35:38 +0200, David Majchrzak, ODERLAND Webbhotell AB 
wrote:

> Well, the problem with netboot preseed is that it takes a mirror - and
> the official mirrors only have the latest on deb 7 and the latest on
> deb 6 unless I’m mistaken.  So even if I try to use a netboot from 7.4
> I will still get 7.5 through the mirror and the install will fail to
> find the discs.

Ah, that didn't quite penetrate my tired brain. I wonder whether

   http://snapshot.debian.org/

as a mirror would be any use. I've not thought this through so it could
be leading you up a blind alley.


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



Re: Preseed and security packages during install

2014-07-06 Thread David Majchrzak, ODERLAND Webbhotell AB
Well, the problem with netboot preseed is that it takes a mirror - and the 
official mirrors only have the latest on deb 7 and the latest on deb 6 unless 
I’m mistaken.
So even if I try to use a netboot from 7.4 I will still get 7.5 through the 
mirror and the install will fail to find the discs.

I just completed the install manually in this case through 7.4 ISO CD without 
issues, but it’s quite a hassle when you’re using to just pxe booting and 
getting it all served to you ;)
I’m used to CentOS where you can choose exactly which version you’d like to 
install from the repo using a network install.

Kind Regards,
David

6 jul 2014 kl. 20:15 skrev Brian :

> On Sun 06 Jul 2014 at 17:20:30 +0200, David Majchrzak, ODERLAND Webbhotell AB 
> wrote:
> 
>> I was recently bit by the bug listed here:
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746642 which
>> resulted in my new SATA drives not being recognized during a Debian
>> 7.5 install.
>> 
>> Is there anyway to install 7.5 with my sata card without installing
>> 7.4 from ISO first?  I’m using PXE-boot with the netinstall iso and a
>> preseed file.
>> 
>> The security packages are added AFTER the detection/partitioning of
>> disks so I’m unable to detect the drives.
>> 
>> Any idea how to solve it? Is it even possible? I’ve tried modifying
>> the netboot initrd and add firmware to it, but it seems that during
>> netboot it actually downloads the latest stable..
> 
> Imagine we weren't up to 7.5.0 yet. You would then be very happy with
> 7.4.0. The first thing you are going to do after installing anyway is
> to upgrade, so it doesn't matter where the starting point is.
> 
> Or you could wait for 7.6.0. :)
> 
> 
> -- 
> 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/06072014190845.5dc0e0887...@desktop.copernicus.demon.co.uk
> 



Re: SSD optimization on Debian (2014)

2014-07-06 Thread Linux-Fan
On 07/06/2014 05:29 PM, KS wrote:
> Hi all,
> 
> I wanted to upgrade my system to amd64 and used that opportunity to
> install 2 240GB (1GB = 1000MB etc. unfortunately) SSDs on my rig.

[...]

> What I want to know at this point is:
> Is there anything else that is recommended?

Nothing that I am aware of.

> The section on RAMDISK options on tmpfs, does that help?

As long as your /tmp does not normally exceed your RAM size it might be
a good idea. Still, it is not really SSD specific: It will of course
save a few writes, but as long as /tmp is always smaller than your RAM,
there are obviously not that many writes anyway.

> Lastly, the partition alignment discussion on
> http://tytso.livejournal.com/2009/02/20/ is from 2009 - is it relevant
> today?

Using today's Debian you do not normally need to bother with alignment
as all partitions will be automatically aligned at 1 MiB boundaries by
most of the tools anyway.

> Are any of the above "modifications" really necessary?

None of the modifications is "necessary". You can simply replace a HDD
with a SSD without having to worry much. Still, a ramdisk for /tmp could
be useful (also in HDD environments).

HTH
Linux-Fan




signature.asc
Description: OpenPGP digital signature


Re: I'm not a huge fan of systemd

2014-07-06 Thread Brian
On Sun 06 Jul 2014 at 19:35:43 +0200, Erwan David wrote:

> Le 06/07/2014 19:13, Brian a écrit :
> > On Sun 06 Jul 2014 at 17:54:49 +0200, Erwan David wrote:
> >
> >> Le 06/07/2014 17:34, Brian a écrit :
> >>> On Sun 06 Jul 2014 at 14:54:06 +0100, Martin Read wrote:
> >>>
>  On 06/07/14 00:10, The Wanderer wrote:
> > Can you run systemd without logind or journald?
>  I can't quickly find an answer, so I'll leave answering that one to
>  someone else.
> >>> Disable at boot time:
> >>>
> >>>systemctl mask systemd-logind
> >>>systemctl mask systemd-journald
> >>>
> >>> Possibly relevant:
> >>>
> >>>http://freedesktop.org/wiki/Software/systemd/MinimalBuilds/
> >>>
> >>>   we will not accept patches that make the minimal core
> >>>   components optional, i.e. systemd itself, journald and udevd. 
> >>>
> >>>
> >> So it means that when I read on this list that we would not have to
> >> suffer binary logs with journald, it was false...
> > Did you try the command above? I did; plugging in a USB stick is
> > recorded in syslog. Perhaps you could extend and improve on this
> > very quick test.
> >
> >
> 
> Having other things to do than testing the replacement of a perfectly
> working system, without any migration doc (I only found reference
> docyumentation meant for people already knowing the system) this test is
> not for me.

You had the time on similar dubious grounds to doubt the veracity of the
information you were given.


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



Re: Preseed and security packages during install

2014-07-06 Thread Brian
On Sun 06 Jul 2014 at 17:20:30 +0200, David Majchrzak, ODERLAND Webbhotell AB 
wrote:

> I was recently bit by the bug listed here:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746642 which
> resulted in my new SATA drives not being recognized during a Debian
> 7.5 install.
> 
> Is there anyway to install 7.5 with my sata card without installing
> 7.4 from ISO first?  I’m using PXE-boot with the netinstall iso and a
> preseed file.
> 
> The security packages are added AFTER the detection/partitioning of
> disks so I’m unable to detect the drives.
> 
> Any idea how to solve it? Is it even possible? I’ve tried modifying
> the netboot initrd and add firmware to it, but it seems that during
> netboot it actually downloads the latest stable..

Imagine we weren't up to 7.5.0 yet. You would then be very happy with
7.4.0. The first thing you are going to do after installing anyway is
to upgrade, so it doesn't matter where the starting point is.

Or you could wait for 7.6.0. :)


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



Re: Fools rush in where Angels fear to tread: systemd

2014-07-06 Thread The Wanderer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 07/06/2014 10:19 AM, Paul E Condon wrote:

> I am a foolish user of Wheezy. I want to see for myself 
> what will happen if I switch to systemd today. I find on
> wiki.debian.org/systemd a document with steps needed to
> install and test systemd, but I have trouble:
> After using apt-get to install the systemd package the 
> next step is (verbatim):
> 
> To test systemd before switching to it by default, you can add the following 
> boot parameter to the kernel:
> 
> init=/bin/systemd
> (end verbatim)
> 
> How do I add this parameter to the kernel?

To do it for test purposes, you boot to the GRUB menu, highlight the
menu entry you would normally boot from, and press 'e'.

In the resulting list, the kernel command line is the one mentioning
'vmlinuz'. Add the parameter to the end of that line, and boot the rest
of the way.

(If your boot process doesn't normally show you the GRUB menu, then I'm
not familiar enough with your configuration to be able to tell you what
you need to do to access it.)

> I think I must open some file somewhere, probably in /etc and edit it
> with vim or emacs (hopefully my choise) and I should place this
> string correctly within that file:
> 
> What file (full path) ?
> What position within the file?

If/when you want to make this permanent, you'll need to fiddle with
/etc/default/grub and/or /etc/grub.d/* (I suspect more likely the
former), and run the 'update-grub' command afterwards. Or you could just
install the systemd-sysv package, assuming that's available, which makes
all the necessary changes automatically.

- --
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJTuY4/AAoJEASpNY00KDJrkmsQAIiU4SRukbdZCey8Ue9zSrqh
JzT/5NjER2TwkYl41l+I4u96EsVTsbc/UN6lrA3Jviqswm12XNvh63/+LLlsXNcH
uXyJM1DQ+oyFVsJvdetDIVf5rDWlk9E6ILzkdOtQyk4m7NBdj++AO0keM8z1pHij
rheezJ3h4ka8hOTvSb8FPn6bp6yqms+4itzAl3F+nB3PLUj5Volcv8TNNM8fW+xG
v90oDJVETMWLdAO/KXtgCLYjhcEAafiFQDPTgLQXVducUxVY8ZPf/aiRvWopOGtX
MRQvhWUEqEap5Gyy7v98PEjABI7tJIT25W8ofUSyZWuAgFvJI6avxKq+HzAtUAb+
/w0XV63us1umjUIBIs3Wr8b4iNHazrJT8MVNY1chsa9S+klgzXblyba+G8ZtmU9A
8i1G0vujStGOUNdAUqiwdhBflVO/nufHvtb3VJbK4NT8OBT4+2lbOYGF4Y7sgB+N
4/Nm/+q3wc59gXioPpGfMbSLTIv1ayaTPiE6eEo9WUbjnHYLCI9zTVLleWCQkebc
8GOuL7IW4LkmkoSmqniWo4dP4pcEWAZ7K5FRaJPEQAKII5lG/fB/ZfX3m0HEYezW
ybiqihgGiHadkQi5akj8We2wiDRPS/4bcU6jBJL0Hl2R3K3xNKPiQF3XaZvlCedh
ZMg2s0rUN5oiBRv+sFBg
=pv45
-END PGP SIGNATURE-


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



Re: Fools rush in where Angels fear to tread: systemd

2014-07-06 Thread Brian
On Sun 06 Jul 2014 at 08:19:05 -0600, Paul E Condon wrote:

> What file (full path) ?

/etc/default/grub

> What position within the file?

GRUB_CMDLINE_LINUX_DEFAULT=


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



Re: I'm not a huge fan of systemd

2014-07-06 Thread Erwan David
Le 06/07/2014 19:13, Brian a écrit :
> On Sun 06 Jul 2014 at 17:54:49 +0200, Erwan David wrote:
>
>> Le 06/07/2014 17:34, Brian a écrit :
>>> On Sun 06 Jul 2014 at 14:54:06 +0100, Martin Read wrote:
>>>
 On 06/07/14 00:10, The Wanderer wrote:
> Can you run systemd without logind or journald?
 I can't quickly find an answer, so I'll leave answering that one to
 someone else.
>>> Disable at boot time:
>>>
>>>systemctl mask systemd-logind
>>>systemctl mask systemd-journald
>>>
>>> Possibly relevant:
>>>
>>>http://freedesktop.org/wiki/Software/systemd/MinimalBuilds/
>>>
>>>   we will not accept patches that make the minimal core
>>>   components optional, i.e. systemd itself, journald and udevd. 
>>>
>>>
>> So it means that when I read on this list that we would not have to
>> suffer binary logs with journald, it was false...
> Did you try the command above? I did; plugging in a USB stick is
> recorded in syslog. Perhaps you could extend and improve on this
> very quick test.
>
>

Having other things to do than testing the replacement of a perfectly
working system, without any migration doc (I only found reference
docyumentation meant for people already knowing the system) this test is
not for me.



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



Re: Time synchronization problem

2014-07-06 Thread Erwan David
Le 06/07/2014 19:38, Roman Gelfand a écrit :
> I have just installed ntpd using apt-get.  It appears that after sync
> the time is 22 minutes ahead of the true time.
>
> when I do ntpq -p, I get
>
>  remote   refid  st t when poll reach   delay   offset  jitter
> ==
>  time3.chpc.utah .INIT.  16 --   6400.0000.000   0.000
>  vps3.cobryce.co .INIT.  16 --   6400.0000.000   0.000
>  142.54.181.202  .INIT.  16 --   6400.0000.000   0.000
>  propjet.latt.ne .INIT.  16 --   6400.0000.000   0.000
>
>
> Any help is appreciated.
>
> Thanks in advance
>
>

It seems you cannot reach any ntp server. Are you sure your provider
does not filter the protocol ?


-- 
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/53b98c56.4010...@rail.eu.org



Time synchronization problem

2014-07-06 Thread Roman Gelfand
I have just installed ntpd using apt-get.  It appears that after sync
the time is 22 minutes ahead of the true time.

when I do ntpq -p, I get

 remote   refid  st t when poll reach   delay   offset  jitter
==
 time3.chpc.utah .INIT.  16 --   6400.0000.000   0.000
 vps3.cobryce.co .INIT.  16 --   6400.0000.000   0.000
 142.54.181.202  .INIT.  16 --   6400.0000.000   0.000
 propjet.latt.ne .INIT.  16 --   6400.0000.000   0.000


Any help is appreciated.

Thanks in advance


-- 
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/cajbw+rnhbqqkdedeyd5gfbf3f-rqmxr72sq5yuxyvrxo7we...@mail.gmail.com



Re: I'm not a huge fan of systemd

2014-07-06 Thread Brian
On Sun 06 Jul 2014 at 17:54:49 +0200, Erwan David wrote:

> Le 06/07/2014 17:34, Brian a écrit :
> > On Sun 06 Jul 2014 at 14:54:06 +0100, Martin Read wrote:
> >
> >> On 06/07/14 00:10, The Wanderer wrote:
> >>> Can you run systemd without logind or journald?
> >> I can't quickly find an answer, so I'll leave answering that one to
> >> someone else.
> > Disable at boot time:
> >
> >systemctl mask systemd-logind
> >systemctl mask systemd-journald
> >
> > Possibly relevant:
> >
> >http://freedesktop.org/wiki/Software/systemd/MinimalBuilds/
> >
> >   we will not accept patches that make the minimal core
> >   components optional, i.e. systemd itself, journald and udevd. 
> >
> >
> So it means that when I read on this list that we would not have to
> suffer binary logs with journald, it was false...

Did you try the command above? I did; plugging in a USB stick is
recorded in syslog. Perhaps you could extend and improve on this
very quick test.


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



Fools rush in where Angels fear to tread: systemd

2014-07-06 Thread Paul E Condon
I am a foolish user of Wheezy. I want to see for myself 
what will happen if I switch to systemd today. I find on
wiki.debian.org/systemd a document with steps needed to
install and test systemd, but I have trouble:
After using apt-get to install the systemd package the 
next step is (verbatim):

To test systemd before switching to it by default, you can add the following 
boot parameter to the kernel:

init=/bin/systemd
(end verbatim)

How do I add this parameter to the kernel? I think I must open some
file somewhere, probably in /etc and edit it with vim or emacs
(hopefully my choise) and I should place this string correctly within
that file:

What file (full path) ?
What position within the file?

I think I might be able to guess the position, once I know the path to
the file, and can read its pre-existing content, but I am not such a
fool as to assume that the position will be obvious to a fool.

Thanks and 
best hopes for 
systemd. ;-/

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


- End forwarded message -

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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140706141905.ga1...@big.lan.gnu



Re: I'm not a huge fan of systemd

2014-07-06 Thread Erwan David
Le 06/07/2014 17:34, Brian a écrit :
> On Sun 06 Jul 2014 at 14:54:06 +0100, Martin Read wrote:
>
>> On 06/07/14 00:10, The Wanderer wrote:
>>> Can you run systemd without logind or journald?
>> I can't quickly find an answer, so I'll leave answering that one to
>> someone else.
> Disable at boot time:
>
>systemctl mask systemd-logind
>systemctl mask systemd-journald
>
> Possibly relevant:
>
>http://freedesktop.org/wiki/Software/systemd/MinimalBuilds/
>
>   we will not accept patches that make the minimal core
>   components optional, i.e. systemd itself, journald and udevd. 
>
>
So it means that when I read on this list that we would not have to
suffer binary logs with journald, it was false...


-- 
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/53b97149.3090...@rail.eu.org



Preseed and security packages during install

2014-07-06 Thread David Majchrzak, ODERLAND Webbhotell AB
Hi,

I was recently bit by the bug listed here: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746642
which resulted in my new SATA drives not being recognized during a Debian 7.5 
install.

Is there anyway to install 7.5 with my sata card without installing 7.4 from 
ISO first?
I’m using PXE-boot with the netinstall iso and a preseed file.

The security packages are added AFTER the detection/partitioning of disks so 
I’m unable to detect the drives.

Any idea how to solve it? Is it even possible? I’ve tried modifying the netboot 
initrd and add firmware to it, but it seems that during netboot it actually 
downloads the latest stable..

Kind Regards,
David



Re: I'm not a huge fan of systemd

2014-07-06 Thread Brian
On Sun 06 Jul 2014 at 14:54:06 +0100, Martin Read wrote:

> On 06/07/14 00:10, The Wanderer wrote:
> > Can you run systemd without logind or journald?
> 
> I can't quickly find an answer, so I'll leave answering that one to
> someone else.

Disable at boot time:

   systemctl mask systemd-logind
   systemctl mask systemd-journald

Possibly relevant:

   http://freedesktop.org/wiki/Software/systemd/MinimalBuilds/

  we will not accept patches that make the minimal core
  components optional, i.e. systemd itself, journald and udevd. 


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



Re: I'm not a huge fan of systemd

2014-07-06 Thread The Wanderer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 07/06/2014 09:54 AM, Martin Read wrote:

> On 06/07/14 00:10, The Wanderer wrote:

>> Can you run logind without systemd or journald?
> 
> If you have something else that provides the systemd interfaces
> logind depends on, you can run logind (and timedated, localed, and
> hostnamed) without using systemd as PID 1. This is what the
> systemd-shim project is intended to allow (but see below).

So in other words, at least as far as the systemd project itself is
concerned, you can't. (I'm assuming systemd-shim is not a product of the
systemd project, since that project's developers seem entirely content
with just the main implementation and it seems unlikely they would want
to host two parallel implementations of the same interfaces in the same
collection of projects.)

Also, I wasn't talking about running logind without systemd "as PID 1",
although of course that's a major consideration; I was talking about
running logind with systemd possibly not even present on the system at
all. I.e., completely independent components, which may simply be able
to interact with and enhance one another.

>> Can you run journald without systemd or logind?
> 
> I don't know. The question seems somewhat moot to me, since I've seen
> people who like systemd in principle but think journald is a
> terrible idea, but I don't think I've seen someone who likes journald
> but thinks systemd is a terrible idea.

The question isn't about what someone necessarily wants to do, but about
whether systemd et al. are monolithic or (independently) modular.

systemd's advocates claim that it is highly modular, and (to quote from
this very thread) "anything but monolithic".

If the various components of systemd are independently modular, than
each one can run - possibly, though it would be to be hoped not, with
degraded functionality - without any of the others present.

If they cannot do so, then they are not independently modular - and, by
implication, are at least partially monolithic.

>> If you can, then why is it that libpam package dependencies which
>> appear (if I've understood the discussion correctly) to be about
>> functionality now provided by logind are pulling in systemd *as the
>> active init system* automatically?
> 
> There appear to be two facets to this:
> 
> First, the dependency on systemd's interfaces is expressed as a
> Depends entry of the form "systemd-sysv | systemd-shim", so as I
> understand it "install systemd-sysv" ends up being the default method
> of resolving the dependency because it's the first entry in the
> alternation.
> 
> Second, logind >= 205 has a further interface dependency on systemd
> (logind <= 204 sets up cgroups by itself; logind >= 205 relies on
> systemd >= 205 to do it) which the current version of systemd-shim
> does not yet fulfill:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752939

Which seems to indicate that far from being non-monolithic, systemd et
al. are moving towards being *more* so, by making something that
previously was capable of running independently no longer capable of
doing so.

(As far as I can tell, logind itself exists only as the binary
'systemd-logind', which is packaged as part of the systemd package
rather than in its own logind or systemd-logind package. The same sort
of thing appears to be true of journald, hostnamed, localed, shutdownd,
and timedated, the latter four of which I hadn't even heard of. That's
another aspect of the "can't get one without the others" factor which is
what leads people to describe systemd as monolithic.)

This type of change gets made in the name of tighter integration and
increased efficiency, and it probably does provide that. But it does so
at the expense of decreased modularity and interchangeability, and makes
the system as a whole more monolithic - with all the negatives that
implies.


(I have further discussion and possibly argument on the topic of
init-system-related dependencies, which does relate to the modularity
vs. monolithism argument, but I've deleted it here as being a
distraction from that main topic.)

- --
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJTuWgCAAoJEASpNY00KDJr5xQP/iHItpLpqmXM4Cb4afEGiOpP
VTXf0ZXoZNV7jSVROLrMdgOBw1zXIFMD91nqJdHKzvIL/g6S8DZ5sFx3fZrPUmBD
7OUNQnCVqj0T6IJn0xuE7CJ/OUhEpwBCqMwNDUmlMhSx/D+LeSutuWytL6hcNdxn
SgLFGah+1dYUJO/3uXCKTKIbRPpQrX2f0mvaad+7D2KImBnZ16s8CycMvVnX5HX6
I5rOcsm+P2JNxPStaF+6qhdHdR6KKs7z/1WLZRavhgr1Qiqe09JE+1N0K+G3OwMh
9bAjQgSXpd8JPRtTPtxPz2qg1Nhpp7S7udnx96cfVgyHu/9sob+Rzvij/N6lwLv2
Vm2WnHiPSWtUiWUIGe6Lnw0P8/PL33CCsJe3aJRQZQesKfNoLRmEFIBAbVslAXgD
Iu2ipPLnwOogATNt7om6TXCGE5j9Qyc68Y3nrHn/tcEBW8yKsKamamUMkoj8Nskr
TGIYOSWB7HuP7mBoC6GgYbRksKs5s3GLP01LUANo2ftADgDOiA/AT8tRaJ0Yoej1
RsaJqA7O31/1h3W8uj9mVBPXUeZ9+xIJQAKbKb+b1hRZdQ5p7

SSD optimization on Debian (2014)

2014-07-06 Thread KS
Hi all,

I wanted to upgrade my system to amd64 and used that opportunity to
install 2 240GB (1GB = 1000MB etc. unfortunately) SSDs on my rig.

The partition map is below:
NAME  MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda 8:00 223.6G  0 disk
├─sda1  8:10   186M  0 part /boot
├─sda2  8:20 1K  0 part
└─sda5  8:50 223.4G  0 part
  ├─gp01-root (dm-0)  254:00   1.9G  0 lvm  /
  ├─gp01-swap (dm-1)  254:10   1.9G  0 lvm  [SWAP]
  ├─gp01-usr (dm-10)  254:10   0  23.9G  0 lvm  /usr
  ├─gp01-tmp (dm-11)  254:11   0   4.8G  0 lvm  /tmp
  ├─gp01-var (dm-12)  254:12   0   4.8G  0 lvm  /var
  └─gp01-home (dm-13) 254:13   0 186.2G  0 lvm  /home
sdb 8:32   0 223.6G  0 disk
└─sdb1  8:33   0 223.6G  0 part
  └─gp02-virtual (dm-2)   254:20 143.1G  0 lvm  /virtual

so there are two LVM volume groups with the first one on sda hosting the
OS and second on sdb using 1 partition for my VMs.

I have done the following for optimization (ref:
https://wiki.debian.org/SSDOptimization?action=show&redirect=SSDoptimization):

1) Kernel: Linux localhost 3.14-1-amd64 #1 SMP Debian 3.14.9-1
(2014-06-30) x86_64 GNU/Linux

2) Updated the firmware for the Intel 530  240GB disk

3) I have not gone into partition alignment for two reasons: 1) the
article on debian wiki refers to is from a long time ago, 2) blockdev
doesn't indicate misalignment (see below):
$> sudo blockdev --getalignoff /dev/sda1
0
$> sudo blockdev --getalignoff /dev/sda2
0
$> sudo blockdev --getalignoff /dev/sda5
0

4) For mounting file systems, I have added discard in /etc/fstab and
also enabled issue_discards in lvm.conf

5) Enabled deadline scheduler using udev rules as I intend to have two
HDDs reconnected.

6) Added vm.swappiness as kernel option in /etc/sysctl.d/local.conf

What I want to know at this point is:
Is there anything else that is recommended?
The section on RAMDISK options on tmpfs, does that help?
Lastly, the partition alignment discussion on
http://tytso.livejournal.com/2009/02/20/ is from 2009 - is it relevant
today?
Are any of the above "modifications" really necessary?

Thanks,
Kamal


-- 
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/53b96b59.1070...@fastmail.fm



Re: Windows and UTC system time

2014-07-06 Thread Jerry Stuckle
On 7/6/2014 3:20 AM, Thierry de Coulon wrote:
> On Sunday 06 July 2014 00.56:04 Bob Proulx wrote:
>> It doesn't solve the problem because twice a year when DST
>> comes and goes what usually happens is that Windows resets the clock
>> and therefore it gets set forward and back twice.
> 
> I seem to remeber that you could tell Windows (7?) not to care about DST. Not 
> sure.
> 
> Thierry
> 
> 

Yes, there is a registry setting, but there are a lot of problems with
it - which Mickey Soft won't fix.  Their "solution" was to remove the
setting from Windows 8.

Jerry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53b963a4.8040...@attglobal.net



Re: I'm not a huge fan of systemd

2014-07-06 Thread Martin Read

On 06/07/14 00:10, The Wanderer wrote:
> Can you run systemd without logind or journald?

I can't quickly find an answer, so I'll leave answering that one to 
someone else.



Can you run logind without systemd or journald?


If you have something else that provides the systemd interfaces logind 
depends on, you can run logind (and timedated, localed, and hostnamed) 
without using systemd as PID 1. This is what the systemd-shim project is 
intended to allow (but see below).



Can you run journald without systemd or logind?


I don't know. The question seems somewhat moot to me, since I've seen 
people who like systemd in principle but think journald is a terrible 
idea, but I don't think I've seen someone who likes journald but thinks 
systemd is a terrible idea.



If you can, then why is it that libpam package dependencies which appear
(if I've understood the discussion correctly) to be about functionality
now provided by logind are pulling in systemd *as the active init
system* automatically?


There appear to be two facets to this:

First, the dependency on systemd's interfaces is expressed as a Depends 
entry of the form "systemd-sysv | systemd-shim", so as I understand it 
"install systemd-sysv" ends up being the default method of resolving the 
dependency because it's the first entry in the alternation.


Second, logind >= 205 has a further interface dependency on systemd 
(logind <= 204 sets up cgroups by itself; logind >= 205 relies on 
systemd >= 205 to do it) which the current version of systemd-shim does 
not yet fulfill:


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



--
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/53b954fe.9070...@zen.co.uk



Re: tvrplus.ro/tvr-1.html (Flash) just shows a black screen. Other Flash sites work.

2014-07-06 Thread Rares Aioanei
On Sun, 6 Jul 2014 10:01:17 + (UTC)
Curt  wrote:

> On 2014-07-06, Rares Aioanei  wrote:
> >
> > I only had AssetCache; I removed it, same thing.
> >
> 
> There's also 'settings.sol' you might want to get rid of, if you
> haven't already.
> 
> Find and purge everything flash (and all browser caches, etc) and if
> that doesn't solve the problem, it must be something else (implacable
> logic).
> 
> 

I guess it must be something else. :) Thanks for all your help. 

-- 

Rares Aioanei


-- 
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/20140706164003.41768...@debianlaph.localdom.ain



Re: Grub ... updating kernels

2014-07-06 Thread Matej Kosik
On 06/07/14 13:04, David Baron wrote:
> As part of my new 64bit installation, I am now on Grub. I am familiar with 
> Lilo, know how to edit lilo.conf, etc. Of Grube, which I have avoided until 
> now, I know nothing. No man page either.

The safest place to start probably should be "info grub".


-- 
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/53b942f0.5030...@gmail.com



Re: Couple of very small issues

2014-07-06 Thread David Baron
> After new 64bit install ...
> 
> Bash on tty screen shows working directory on prompt. In konsole or
> yakuake, does not. I copied by bashrc from the old /etc.
Actually is working. "Home" directory is not shown, just anything relative to 
it. Other directories show as full paths. I think previous versions were a bit 
different, maybe not :-)


-- 
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/201407061522.52986.d_ba...@012.net.il



Re: Tell Debian to use local time?

2014-07-06 Thread ken

On 07/06/2014 06:41 AM Andrew M.A. Cater wrote:

On Sat, Jul 05, 2014 at 04:10:06PM -0500, Nelson Green wrote:

(Added inadvertently omitted subject)

On Sat, Jul 5, 2014 at 3:01 PM, Erwan David  wrote:


Le 05/07/2014 21:38, Nelson Green a écrit :

Good afternoon,

This morning I had the mis-fortune of creating a dual-boot system with
Debian on
a machine that already had windows installed on. I installed a second

hard

drive, installed Debian, and almost everything works. But I apparently
told the
installer that the system clock is set to UTC, when it is not (because
windows
has no real concept of time).

So when I boot to windows the displayed time is the actual local time,
but when
I boot into Debian the displayed time is four hours behind local time.
If I do a
date -u the time that is displayed is the correct local time.

I have modified /etc/adjtime and removed the UTC line, but every time
I boot up
Debian the line re-appears, and the displayed time is still four hours
behind.
So how do I tell the Debian system that the hardware clock is set to
local time
in an effort to compensate for the lessor system's inability to
correctly manage
time?

Thanks,
Nelson


You can tell windows to use UTC internally (while still displaying local
time)
see

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/2000/Q_21805674.html



Thanks Erwan, but I am afraid I have to leave the windows installation
alone.
Fortunately I rarely have to mess with windows, and as a general rule I
don't
lower my standards to theirs, but in this case I have no choice, at least
until
we can eliminate windows from the equation completely.


This problem has been around for a long time: Windows insists on setting 
the hardware clock to local time.  A fix I came up with long ago was to 
doctor /etc/init.d/ntpd to (re)set the hwclock to UTC on boot.  This was 
on a redhat or opensuse machine, so on a debian machine you'd want to 
edit /etc/init.d/ntp instead.  There wasn't any need to install any 
additional packages to include this one line in that file.






dpkg-reconfigure -plow tzdata

as root which will allow you to set the global timezone data for your machine.

That way you don't necessarily have to adjust adjtime and can choose which 
timezone you're in which will
also sort out the DST "stuff".

Reset the clock using the date command to set the time.

date --set=070511352013

Then run

hwclock --systohc

to set the time in the hardware clock which should then be correct for Windows 
and Linux.

Myself, I keep computers set to UTC all year round.

AndyC



--
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/53b93d40.8040...@mousecar.com



Couple of very small issues

2014-07-06 Thread David Baron
After new 64bit install ...

Bash on tty screen shows working directory on prompt. In konsole or yakuake, 
does not. I copied by bashrc from the old /etc.

Vi/vim does not have the keymapping that it once had, no display of line 
number, etc. Works but without visul clues and "insert." "replace," etc.

I seem to be stuck with pulseaudio which I previously avoided. Played better 
on the DVD based desktop. No longer see MIDI devices in qjackctl.


-- 
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/201407061511.41126.d_ba...@012.net.il



Re: Grub ... updating kernels

2014-07-06 Thread Brian
On Sun 06 Jul 2014 at 15:04:17 +0300, David Baron wrote:

> As part of my new 64bit installation, I am now on Grub. I am familiar with 
> Lilo, know how to edit lilo.conf, etc. Of Grube, which I have avoided until 
> now, I know nothing. No man page either.
> 
> Can someone point be to documentation or some simple how-to add/change 
> kernels 
> and such. Thanks in advance.

Maybe there is something in

   
https://lists.debian.org/caar43im_feyy0eyelpzhgq5j_2g3xsdkxx05bdbc2pkl1b5...@mail.gmail.com

to help you.


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



Grub ... updating kernels

2014-07-06 Thread David Baron
As part of my new 64bit installation, I am now on Grub. I am familiar with 
Lilo, know how to edit lilo.conf, etc. Of Grube, which I have avoided until 
now, I know nothing. No man page either.

Can someone point be to documentation or some simple how-to add/change kernels 
and such. Thanks in advance.


-- 
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/201407061504.18053.d_ba...@012.net.il



Re: How to make preseed.cfg available in no-internet install?

2014-07-06 Thread Brian
On Sat 05 Jul 2014 at 17:56:43 -0400, Kynn Jones wrote:

> On Sat, Jul 5, 2014 at 2:43 PM, Brian  wrote:
> 
> > It can be done but not with a netinst image or CD-1. The method is
> > outlined in this thread.
> 
> Thanks!  It looks like something I could at least stick in a script.
> 
> Searching for "initrd cpio preseed.cfg" I found this page, which spells out
> the whole process in detail:
> 
> https://wiki.debian.org/DebianInstaller/Preseed/EditIso

I wasn't intending you alter the initrd, although you can do that if you
want. For a USB stick (no need to be root):

1. Plug in and use the last few lines of dmesg to find the device name.
   Let's say it is /dev/sdc.

2. Make one partition large enough to hold grub's files (~10M) and a
   netinst or CD-1 image with '/sbin/fdisk'. Put a filesystem on it with
   mkfs.vfat from dosfstools.

/sbin/mkfs.vfat /dev/sdc1

3. Install pmount. Mount this partition:

pmount sdc1

4. Install grub on the stick:

grub-install --boot-directory=/media/sdc1/boot /dev/sdc

5. Determine the UUID of /dev/sdc1:

/sbin/blkid /dev/sdc1

6. Download the hd-media vmlinuz and initrd.gz from


http://ftp.nl.debian.org/debian/dists/wheezy/main/installer-i386/current/images/

   and copy them to /boot. Copy your preseed file and a netinst or CD-1
   image to /.

7. Write a /boot/grub/grub.cfg like so:

menuentry "Test preseed file" {
search --fs-uuid --set=root UUID
linux /boot/vmlinuz priority=high file=/hd-media/preseed.cfg 
locale=en_GB.UTF-8 keymap=gb
initrd /boot/initrd.gz
}

   You choose "priority", "locale" and "keymap". I'd start with "priority=low".
   Add "shared/ask_device=manual" and "shared/enter_device=/dev/disk/UUID"
   to the linux line after you are confident with what you have above.

initrd.gz contains iso-scan. It searches for a Debian ISO on the stick.
When it finds it the partition the ISO is on is mounted on /hd-media.
preseed.cfg is on the same partition so that relieves you of the necessity
of mounting it by hand.

> > Is "auto=true" an absolute requirement? Why?
> 
> That's "cargo-cult" on my part, I confess.  I don't quite understand why
> it's there, and was not able to find a sufficiently clear explanation of
> what it's supposed to do.  I've basically kept it because it works.  (I
> probably would have already tested whether I need it or not if it weren't
> because debugging the installation process is so slow.)

https://www.debian.org/releases/stable/i386/apbs01.html.en

Delays locale and keymap questions (when locale and keymap are put in
preseed.cfg) until after network configuration takes place. Not needed
because the preseeding takes place from the linux line at the start of
the install.

I'm not too sure there isn't a bug in the Wheezy installer which leads
to "keymap=gb" not being acted on with "auto=true". People with a "us"
keymap may not notice it because d-i defaults to a us keyboard anyway.

I'll leave it to you to handle tranferring the USB stick contents to a
CD. :)


-- 
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/20140706114000.ge27...@copernicus.demon.co.uk



Re: Advice needed re TV internet media machine.

2014-07-06 Thread Lisi Reisz
On Sunday 06 July 2014 11:27:25 Joe wrote:
> We started with keyboard and mouse with the Pi, and then found it was
> controllable by our TV remote control, through the HDMI connection. It
> Just Worked.

Lucky you.

Lisi


-- 
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/201407061151.28218.lisi.re...@gmail.com



Re: Screen size trouble with Xorg

2014-07-06 Thread Andrei POPESCU
On Lu, 16 iun 14, 08:03:56, Mike Bailey wrote:
> Hello all,
> Last week I bought myself a new monitor to replace my old 24" monitor. The
> new monitor is a Samsung S27C500, which is connected via hdmi. The monitor
> has two inputs: one hdmi, and one vga. I do not have a VGA input on my video
> card, so I use the hdmi connector. The monitor did not include a vga-to-dvi
> adapter.
> 
> When replacing my old monitor, i used the the aticonfig utility to generate
> a new xorg.conf as I've done in the past, and while the monitor was usable,
> I am stuck with a problem where the screen size is limited to about the size
> of my old 24" monitor, with black space surrounding the entire usable
> screen.

[...]

> Links to my configs:
> 
> xrandr --prop: http://paste2.org/m8gpIbss
> xorg.conf: http://paste2.org/hmIJVWJ0 (monitor block comes from parse-edid)
> xorg.0.log: http://paste2.org/GXNpZpB3

Why use a pastebin if you're not going to include the entire contents. 
Besides, attaching the file would have made your message self-contained.

> lspci block for video card: http://paste2.org/KLNPJnvn
> 
> I notice two things in my xorg.0.log:
> 
> [254760.941] (II) fglrx(0): Using hsync ranges from config file
> [254760.941] (II) fglrx(0): Using vrefresh ranges from config file

I'd try with a minimal xorg.conf:

Section "Device"
Identifier  "WhatEver"
Driver  "fglrx"
EndSection

or even *no* xorg.conf and the radeon driver. Please mind fglrx might be 
blacklisting the necessary radeon kernel module (at least nvidia has to
with nouveau), so it might not work without a few tweaks.

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


signature.asc
Description: Digital signature


Re: Multimedia player for video filte type qs

2014-07-06 Thread ken

On 07/06/2014 06:32 AM Andrei POPESCU wrote:

On Lu, 16 iun 14, 15:38:09, Bret Busby wrote:

Hello.

I wonder whether a multimedia player for the video filteype .qs exists
for Debian Linux.


Just for the archives, the file extension is a poor indicator of the
file type and was originally meant more as information for humans.
Fortunately smart programs (like mplayer or vlc) don't rely much on it.

Kind regards,
Andrei



Yes, the 'file' utility is a much better indicator of the file type 
("file filename.ext").  I haven't seen it written anywhere, but believe 
that the same capability is built into the shell, at least into bash.



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

Archive: https://lists.debian.org/53b92cab.1060...@mousecar.com



Re: Tell Debian to use local time?

2014-07-06 Thread Andrew M.A. Cater
On Sat, Jul 05, 2014 at 04:10:06PM -0500, Nelson Green wrote:
> (Added inadvertently omitted subject)
> 
> On Sat, Jul 5, 2014 at 3:01 PM, Erwan David  wrote:
> 
> > Le 05/07/2014 21:38, Nelson Green a écrit :
> > > Good afternoon,
> > >
> > > This morning I had the mis-fortune of creating a dual-boot system with
> > > Debian on
> > > a machine that already had windows installed on. I installed a second
> > hard
> > > drive, installed Debian, and almost everything works. But I apparently
> > > told the
> > > installer that the system clock is set to UTC, when it is not (because
> > > windows
> > > has no real concept of time).
> > >
> > > So when I boot to windows the displayed time is the actual local time,
> > > but when
> > > I boot into Debian the displayed time is four hours behind local time.
> > > If I do a
> > > date -u the time that is displayed is the correct local time.
> > >
> > > I have modified /etc/adjtime and removed the UTC line, but every time
> > > I boot up
> > > Debian the line re-appears, and the displayed time is still four hours
> > > behind.
> > > So how do I tell the Debian system that the hardware clock is set to
> > > local time
> > > in an effort to compensate for the lessor system's inability to
> > > correctly manage
> > > time?
> > >
> > > Thanks,
> > > Nelson
> >
> > You can tell windows to use UTC internally (while still displaying local
> > time)
> > see
> >
> > http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/2000/Q_21805674.html
> >
> >
> Thanks Erwan, but I am afraid I have to leave the windows installation
> alone.
> Fortunately I rarely have to mess with windows, and as a general rule I
> don't
> lower my standards to theirs, but in this case I have no choice, at least
> until
> we can eliminate windows from the equation completely.


dpkg-reconfigure -plow tzdata 

as root which will allow you to set the global timezone data for your machine.

That way you don't necessarily have to adjust adjtime and can choose which 
timezone you're in which will
also sort out the DST "stuff".

Reset the clock using the date command to set the time.

date --set=070511352013  

Then run 

hwclock --systohc

to set the time in the hardware clock which should then be correct for Windows 
and Linux.

Myself, I keep computers set to UTC all year round.

AndyC


-- 
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/20140706104132.gb4...@galactic.demon.co.uk



Re: Advice needed re TV internet media machine.

2014-07-06 Thread ken

On 07/05/2014 11:11 PM Patrick Wiseman wrote:

On Sat, Jul 5, 2014 at 12:51 PM, Lisi Reisz  wrote:

On Saturday 05 July 2014 17:30:19 Joe wrote:

Joel mentioned the Raspberry Pi, which is a very low-power [ARM]
device, which does the UK catchup channels pretty well, apart from the
occasional glitch when a provider thoughtlessly changes his protocol.


Not for me it doesn't.  And I was told that I was asking too much of it.  I
simply couldn't get it to stream.  It would start, and then the stream would
cut out.  That was my first door-stop!


Sorry to jump in late and in the middle of this conversation, but I'm
surprised by your experience with the Pi. I've run both Xbian and
Raspbmc (both Debian derivatives devoted to providing XBMC on the Pi)
with success, streaming BBC content with the iplayer plugin. Only very
occasionally have I experienced bad buffering and it's usually been
explained by a change by the BBC which the plugin developers are very
quick to pick up on. I do find it necessary to set the video speed
rather than leave it on "Auto", which apparently starts at high speed
but can't maintain it. And the video is sometimes pixellated. But
mostly I've found the Pi very able to handle the stream. And I've
recently become aware of the Hummingboard (a Google search will find
it), which looks as if it may be even more capable than the Pi and not
much more expensive.

Cheers
Patrick


Is there any indication as to why the video is sometimes pixellated? 
Have you run 'top' or 'iotop' or other diagnostics when this is 
happening as compared to when it isn't?



--
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/53b92e1c.3030...@mousecar.com



Re: Multimedia player for video filte type qs

2014-07-06 Thread Andrei POPESCU
On Lu, 16 iun 14, 15:38:09, Bret Busby wrote:
> Hello.
> 
> I wonder whether a multimedia player for the video filteype .qs exists
> for Debian Linux.

Just for the archives, the file extension is a poor indicator of the 
file type and was originally meant more as information for humans. 
Fortunately smart programs (like mplayer or vlc) don't rely much on it.

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


signature.asc
Description: Digital signature


Re: Advice needed re TV internet media machine.

2014-07-06 Thread Joe
On Sun, 6 Jul 2014 11:16:01 +0100
Lisi Reisz  wrote:

>
> 
> I'm also having trouble using the remote.  I have found lots of stuff
> via Google that says go to here, then go to there, but absolutely
> nothing that says *how* to get there.  I have managed to open the
> video folder, and turn the m/c off.  And that is it!!  I even tried
> plugging in a mouse and keyboard, but they didn't work.
> 
> I think that I have bitten off more than I can chew.  I should stick 
> to "normal" computers.  I grock them. :-(
> 
> Lisi
> 
> 

We started with keyboard and mouse with the Pi, and then found it was
controllable by our TV remote control, through the HDMI connection. It
Just Worked.

-- 
Joe


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



Re: Advice needed re TV internet media machine.

2014-07-06 Thread Lisi Reisz
On Saturday 05 July 2014 23:44:46 Ric Moore wrote:
> On 07/05/2014 05:45 PM, Lisi Reisz wrote:
> > On Saturday 05 July 2014 22:32:25 Ric Moore wrote:
> >> On 07/05/2014 03:39 PM, Lisi Reisz wrote:
> >>> Loads of people have streaming Internet.  It must be possible.  And
> >>> yes, once I hace a box that is adequate, I may need to do something
> >>> with my network.
> >>
> >> Will XBMC do the job with your hardware?? If it will run, then running
> >> it as a dedicated server-only might be the ticket. You'd be minus a lot
> >> of other overhead, given the smallish amount of memory you mentioned.
> >> Ric
> >
> > No, not this specialized application of it.  I think that my homework was
> > just inadequate.  As I said, I have come to the conclusion that I really
> > need a computer, but I was hoping for some advice on specs.  I really
> > can't keep buying doorstops, but to buy e.g. an £800.00 machine when a
> > £250.00 one would do the job would be ridiculous.  I don't want to
> > massively over-kill.
> >
> > Amazon sells Prime.  Someone must be able to use it on something.
>
> http://www.howtogeek.com/113491/how-to-get-hulu-and-amazon-video-on-xbmc/

Thanks, Ric. :-)  That looks hopeful.  Now if I could just get catch-up 
TV.

I'm also having trouble using the remote.  I have found lots of stuff via 
Google that says go to here, then go to there, but absolutely nothing that 
says *how* to get there.  I have managed to open the video folder, and turn 
the m/c off.  And that is it!!  I even tried plugging in a mouse and 
keyboard, but they didn't work.

I think that I have bitten off more than I can chew.  I should stick 
to "normal" computers.  I grock them. :-(

Lisi


--
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/201407061116.01428.lisi.re...@gmail.com



Re: apt-get update: unnecessary use of disk space

2014-07-06 Thread Andrei POPESCU
On Vi, 20 iun 14, 18:54:45, Bob Proulx wrote:
> 
> Of course now with SSDs that standard thinking needs to be thought out
> again.  I haven't seen any benchmark data for full SSDs.  I imagine
> that it will have much flatter performance curves up to very full on
> an SSD.  It would super awesome if someone has already done this
> performance benchmarking and would post a link to it so that we could
> all learn from it.

As far as I understand SSDs can drop performance significantly when 
full, but for entirely different reasons. Probably a good start would be 
this Wikipedia article:
https://en.wikipedia.org/wiki/Write_amplification , especially the 
section on over-provisioning.

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


signature.asc
Description: Digital signature


Re: tvrplus.ro/tvr-1.html (Flash) just shows a black screen. Other Flash sites work.

2014-07-06 Thread Curt
On 2014-07-06, Rares Aioanei  wrote:
>
> I only had AssetCache; I removed it, same thing.
>

There's also 'settings.sol' you might want to get rid of, if you haven't
already.

Find and purge everything flash (and all browser caches, etc) and if
that doesn't solve the problem, it must be something else (implacable
logic).


-- 
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/slrnlri7jd.2l0.cu...@einstein.electron.org



Re: Advice needed re TV internet media machine.

2014-07-06 Thread Lisi Reisz
On Sunday 06 July 2014 04:11:27 Patrick Wiseman wrote:
> On Sat, Jul 5, 2014 at 12:51 PM, Lisi Reisz  wrote:
> > On Saturday 05 July 2014 17:30:19 Joe wrote:
> >> Joel mentioned the Raspberry Pi, which is a very low-power [ARM]
> >> device, which does the UK catchup channels pretty well, apart from the
> >> occasional glitch when a provider thoughtlessly changes his protocol.
> >
> > Not for me it doesn't.  And I was told that I was asking too much of it. 
> > I simply couldn't get it to stream.  It would start, and then the stream
> > would cut out.  That was my first door-stop!
>
> Sorry to jump in late and in the middle of this conversation, but I'm
> surprised by your experience with the Pi. I've run both Xbian and
> Raspbmc (both Debian derivatives devoted to providing XBMC on the Pi)
> with success, streaming BBC content with the iplayer plugin. Only very
> occasionally have I experienced bad buffering and it's usually been
> explained by a change by the BBC which the plugin developers are very
> quick to pick up on. I do find it necessary to set the video speed
> rather than leave it on "Auto", which apparently starts at high speed
> but can't maintain it. And the video is sometimes pixellated. But
> mostly I've found the Pi very able to handle the stream. And I've
> recently become aware of the Hummingboard (a Google search will find
> it), which looks as if it may be even more capable than the Pi and not
> much more expensive.

Thanks, Patrick.  But BBC only isn't enough anyway.  I did probably have the 
video speed set wrong.

Lisi


-- 
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/201407061047.26367.lisi.re...@gmail.com



Re: Iptables

2014-07-06 Thread Andrei POPESCU
On Vi, 27 iun 14, 21:20:39, Diogene Laerce wrote:
> On 06/27/2014 08:34 PM, The Wanderer wrote:
> > 
> > Some mail clients (such as Thunderbird) can use that information to
> > display a nested hierarchy of "which mail is a reply to which", which I
> > find very useful; others just use it for "conversation view"-type
> > sorting; others ignore it entirely. If someone using a mail client which
> > is configured to not ignore that information receives both messages,
> > they will immediately be able to tell that your message is a reply, even
> > if you changed the Subject line.
> 
> Thanks ! I already feel dumbness leaving my body. :)
> 
> I didn't find yet how to create such filters or if it would be useful to
> me, but it's very good to know.

It's not a filter, it's a setting.

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


signature.asc
Description: Digital signature


Re: simple database solution without root access

2014-07-06 Thread Miles Fidelman

Bob Proulx wrote:

kamaraju kusumanchi wrote:

I have some data in text format organized as follows

field_1,field_2,field_3,...,field_9
val_1_1,val_1_2,val_1_3,...,val_1_9
val_2_1,val_2_2,val_2_3,...,val_2_9
...
val_100_1,val_100_2,val_100_3,...,val_100_9


I want to do database (sql) like operations on this data. For example,

It sounds like you what you want is what many call "data munging".
Such as "data munging with X" where X is awk, perl, python, ruby, or
other programming language.  There is even a classic book Data Munging
with Perl that specializes in such things.  I tend to use awk for such
things since they can be done as a one-liner fairly easily.



that was my first thought: CSV file plus some scripting

my second thought: is this, perhaps, a job for a spreadsheet?

Miles Fidelman

--
In theory, there is no difference between theory and practice.
In practice, there is.    Yogi Berra


--
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/53b90b19.3090...@meetinghouse.net



Re: simple database solution without root access

2014-07-06 Thread Bob Proulx
kamaraju kusumanchi wrote:
> I have some data in text format organized as follows
> 
> field_1,field_2,field_3,...,field_9
> val_1_1,val_1_2,val_1_3,...,val_1_9
> val_2_1,val_2_2,val_2_3,...,val_2_9
> ...
> val_100_1,val_100_2,val_100_3,...,val_100_9
> 
> 
> I want to do database (sql) like operations on this data. For example,

It sounds like you what you want is what many call "data munging".
Such as "data munging with X" where X is awk, perl, python, ruby, or
other programming language.  There is even a classic book Data Munging
with Perl that specializes in such things.  I tend to use awk for such
things since they can be done as a one-liner fairly easily.

> - I want to find all the entries that have a particular value in
> field_2 and then use the hits to sum up the values in field_8

  awk -F, '$2==5{sum+=$8}END{printf("%d\n",sum);}' datafile

Of course this assumes a simple csv format.  If there are quoted
commas in the data then full CSV parsing is needed.  But if not then
this works well.

> - I want to find all the entries that have a particular value in
> field_2 and filed_7

  awk -F, '$2==42 && $7 == 37' datafile

[The default action is to print so no explicit action is needed.]

> - If the values in the first column are dates, I want to find all
> the entries in field1 that are in a given date range

  awk -F, '$1 ~ /PATTERN1/ && $1 ~ /PATTERN2/' datafile

> These are just a few examples... and the actual operations can be more
> complex.

And so for for me with the above.  All of those can be done as
one-liners with perl, python, ruby, other too.

> The data is used only by myself. I will be the only person
> updating/deleting the entries.
> 
> Is there a simple way to achieve what I am after?

Personally I would use the "data munging with X language" paradigm.  :-)

> I looked at mysql (http://zetcode.com/databases/mysqltutorial/), but there
> the configuration seems to focus on having a central database that could be
> shared across different users. This does not work for me for three reasons:

Are you aware of SQLite?

> 1) I want the data to be stored in my home directory. So, I can backup the
> data as I please.

With SQLite you don't have a central server.  You just have a local
database file.  So if you must have a database then I suggest SQLite.

However I don't think you need a database yet at this time.

> 2) I want the data to be in text format. Since some times, I do
> sed/grep/awk the data myself. Also, this helps me to edit the data file
> directly using editors such as vim.

If you are already sed/grep/awk then stop at awk.  :-)

Seriously though what do you want to do that can't be done easily with awk?

> 3) I do not have root access and am trying to avoid compiling large
> software applications.

Of course!  Everything is already readily available to you without
compiling anything using the basic utilities.

> Any ideas, pointers to existing code (perl scripts?) are much appreciated.

If you like perl then:

  perl -F, -lane 'END{print $t} $t += $F[7] if $F[1] == 5'

And similar for other languages.  You could even load a full CSV
module if needed.

Bob


signature.asc
Description: Digital signature


Re: [SOLVED] Windows and UTC system time (was: no subject)

2014-07-06 Thread Bob Proulx
Zenaan Harkness wrote:
> Bob Proulx wrote:
> > No worries.  The fact that it is documented in rcS is historical at
> > this point.  It always used to be set in the /etc/default/rcS file.
> > But in recent times they moved it to /etc/adjtime instead.
> > However as far as I know there isn't a man page for adjtime.
> 
> apt-get install manpages-dev
> man adjtime adjtimex
> 
> It's not a cmd man page, but something nonetheless...

Neither of those document the UTC versus LOCAL option in /etc/adjtime
though.  Those are section 3 man pages documenting the library call.

But again no problem because the UTC versus LOCAL is documented in the
hwclock(8) page.

  man hwclock

Bob


signature.asc
Description: Digital signature


Re: MPD on localhost won't work if there's no Wifi!?

2014-07-06 Thread Bob Proulx
Brian wrote:
> Bob Proulx wrote:
> > Brian wrote:
> > > or, if the domain name is left blank,
> > >   127.0.1.1   foo
> > > would be seen.
> > 
> > Doesn't it create an entry like this?  I will need to test it in order
> > to see what it creates in that case.
> >   127.0.1.1   foo.localdomain  foo
> > I will try it later and report back.  :-)
> 
> Please do.

You are correct.  I just tried it.  If the domain name is left blank
(something I usually don't do) then what you say is what happens.

  127.0.1.1   foo

Bob


signature.asc
Description: Digital signature


Re: Windows and UTC system time (was: no subject)

2014-07-06 Thread Thierry de Coulon
On Sunday 06 July 2014 00.56:04 Bob Proulx wrote:
> It doesn't solve the problem because twice a year when DST
> comes and goes what usually happens is that Windows resets the clock
> and therefore it gets set forward and back twice.

I seem to remeber that you could tell Windows (7?) not to care about DST. Not 
sure.

Thierry


-- 
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/201407060920.05413.tcou...@decoulon.ch



Re: Windows and UTC system time

2014-07-06 Thread Thierry de Coulon
On Saturday 05 July 2014 22.39:57 Doug wrote:

> Unfortunately, the fix that works in Windows 7 does not work in Windows 8.
> Microsoft "fixed" it!
>
> --doug


One more reason not to use 8.


-- 
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/201407060907.31883.tcou...@decoulon.ch