Re: JACK Audio Connection Kit

2016-11-22 Thread Richard Hector
On 16/11/16 07:38, Ric Moore wrote:
> Is there some reason removing the libjack-jackd2-0 package removes
> everything audio/video and the kitchen sink??

My theory goes something like this. You have a desktop environment
package installed - something like gnome, or in your case perhaps
xubuntu-desktop (suggesting you're asking about Ubuntu on a Debian list,
but never mind). That depends on a lot of applications which have been
deemed useful for such a desktop.

Some of them (eg timidity) depend on this jack package, so if you remove
jack, timidity has to go, and therefore the desktop package has to go.

But because all those applications were only installed because the
desktop depended on them (ie you didn't install them manually), they're
marked as automatic. So when you remove the desktop, aptitude at least
assumes that you probably no longer want all those other packages
either, and removes them.

The solution, then, might be to 'aptitude unmark auto' all the packages
that are required by xubuntu-desktop which you still want, so that you
can remove the xubuntu-desktop package without having any other effect.
Of course, if any of the packages you want directly depend on
libjack-blah, you have a problem.

xubuntu-desktop might not be the actual (or only) culprit, of course.

And I'm not sure how non-aptitude package managers behave in this regard.

Richard




signature.asc
Description: OpenPGP digital signature


Re: All settings are lost at logout

2016-11-22 Thread Kaj

Den 2016-11-22 00:46, skrev Lisi Reisz:

On Monday 21 November 2016 23:34:06 Kaj wrote:

Den 2016-11-21 17:18, skrev Kent West:

On Mon, Nov 21, 2016 at 9:39 AM, Kaj <70147pers...@telia.com
> wrote:

Den 2016-11-21 15:53, skrev Kent West:
> On Sun, Nov 20, 2016 at 8:41 AM, <70147pers...@telia.com >
> 

 >
wrote: > > > A[fter a reinstall of Debian] all looked very fine, and
I decided to > restart the computer. The first observation was that
suddenly all the > devices defined and mounted in /etc/fstab
appeared as icons on the > desktop, and I could not remove them.
Next was that all of my > settings of Caja file manager were gone. I
use to make some personal > adaptation: first I prefer one mouse
click to open a file from the > icon, the list view instead of icon
view and a few other options like > these. Until now all of these
settings has been saved and restored at > every login, but now they
are lost and has to be redone every time. > The same deals with the
wi-fi password, I have to write it in at > every login. > > Next
observation is that I can  add no program starters to the panel. >
Well, yes, I can add one starter, but no more, they do not appear >
there. I can remove the first icon, and add another one, but still >
just one. Creating them, even more than one, on the desktop causes
no > problem. If all these effects come from the same source I do
not > know, but I suspect they do. Some package might have
unintentionally > been removed, but if so I have not been able to
find out which one. I > have made reinstalls of al lot of them, e.g.
mate-panel, but without > any result. Could anyone find the common
factor, I would appreciate > it. If nothing else I will of course
make a new reinstall, but it > takes a good deal of time, and I feel
it ought to be unnecessary. > > Regards Kaj > > > My first guess is
that when you didn't wipe your /home partition, you > preserved your
old home directory, and then logged in after the > reinstall with
the same name but different user ID, which means not > all of that
directory belongs to you. > > I'd log out, switch to a VT
(Ctrl-Alt-F2), log in as root, rename > your user directory (mv
/home/kaj /home/kaj.bak), delete your current > user (deluser kaj),
and then recreate your user (adduser kaj), so > that you have a
fresh user directory. > > This is only one of two or three ideas
that come immediately to mind > as a way to deal with / test my
theory that your user directory > doesn't have the correct perms,
but they all boil down to suspecting > your user directory perms,
and fixing them. > > I doubt very seriously that a reinstall is
needed. > > -- Kent > > > > > -- Kent West
<")))>< Westing Peacefully - > http://kentwest.blogspot.com

Hi Kent. Thank you for your answer.

A wee of your thoughts I have had myself. Among others I have
earlier noticed that all these hidden config files residing in the
home directory can give very confusing results when you install a
previously used program in a new environment. So I tested to move
all these hidden directories, all starting with a dot, into a
specially created directory, in order to being able to put personal
settings back when the problem is solved.  When running the
different programs, you can see how they create new hidden
directories to put their config files in.

So this I have tested without success. Next I have created a new
user (test) with an own, new home directory. No success on that
neither.

So I think that I have tested the essential parts in your
suggestion, even if I have not been that drastic to clean my home
directory completely.

One reason for my suspicion of a mistakenly removed program is that
the removal of PulseAudio also took away of a lot of other programs,
e.g. Gimp. Those I have had to lay back manually afterwards. Despite
a lot of searching however, I have not found which program or
service is lacking.

/Kaj


I'd next try a different desktop environment ("sudo tasksel" might do
the job easily). If that works, you'll have a good indication that it
has something to do with MATE/Marco/Caja.


--
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Thank you Kent for the hints on how to solve my problem. Well now I have
stepped out on unknown ground. I had never had any reason to use this
program tasksel, and hence knew nothing about it. But well, after
reading the man page, I gave it a try, and installed the LXDE
environment. After reboot I found that most of, maybe every, program I
had installed in Mate is here too. Maybe not so strange, but a welcome
observation. So far I have not teste

Re: JACK Audio Connection Kit

2016-11-22 Thread Martin Read

On 22/11/16 07:06, Ric Moore wrote:

On 11/21/2016 11:38 PM, kamaraju kusumanchi wrote:

apt-rdepends --state-show=Installed --state-follow=Installed PKGNAME



It lists just a couple of base packages. So, why would it want to remove
half of mmy installed desktop? It's the same with firefox. What gives?? Ric


kamaraju appears to have mistyped the command, omitting the vitally 
important (for this exercise) '-r' flag. As written, it will show you 
what PKGNAME depends on, directly or indirectly. The command is properly:


apt-rdepends -r --state-show=Installed --state-follow=Installed PKGNAME

(note the '-r' flag)

This will show you what *depends on* PKGNAME (either by depending on it 
directly, or by depending on something that does). Now, this still won't 
get you a full answer, because it won't show you all the Automatically 
Installed packages that will be removed, but it will give you a starting 
point for understanding what's going on.




Problem compiling libpoppler=0.48.0-2 in Jessie

2016-11-22 Thread Davide Anchisi
Hi,

I am trying to compile "libpoppler" in Debian Jessie (amd64) from testing
sources:
apt-get -b source libpoppler64=0.48.0-2
I resolved the build dependencies:
apt-get build-dep libpoppler64=0.48.0-2

The build begins, but stops with an error:

make[1]: entering directory
"/home/davide/daInstallare/LaTeX/ultima/poppler-0.48.0"
dh_install --list-missing
dh_install: libpoppler-qt5-1 missing files
(usr/lib/*/libpoppler-qt5.so.1*), aborting
...
make[1]: *** [override_dh_install] Error 255
...
make: *** [binary] Errore 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2

Thanks for any help

Davide


Re: orriso: listing files+offsets in an ISO9660 image w/o RockRidge

2016-11-22 Thread Jonathan Dowland
On Fri, Nov 18, 2016 at 05:27:25PM +0100, Thomas Schmitt wrote:
> If you got the GNU xorriso tarball, then it is not linked dynamically
> with installed libisofs.so but rather statically with its own copy of
> libisofs.

OK, yup that's what I did.

> In the build directory
> 
>   $ xorriso/xorriso -version
> 
> should say:
> 
>   GNU xorriso 1.4.7 : RockRidge filesystem manipulator, libburnia project.
>   ...
>   xorriso version   :  1.4.7
>   Version timestamp :  2016.11.10.134753

Yep

> Please check in this directory whether file
>   libisofs/fs_image.c
> contains the bug fix:

Yes, the code corresponds to the patch being applied.

> If the "+" variant looks like being in effect, then please let gdb check
> how the Rock Ridge read attempt sneaks in. Set two break points:

Sure ok, I will have to try that a little later today or this week.

> > This might not have been a great example, because I can't share the contents
> > of the ISO (old emails and ICQ logs).
> 
> Please mail me in private where i can download it.

Sorry, I can't share that image (but there are others I probably can).

> > I have four ISOs which are recordings from TV made with a DVD writer
> > appliance,
> 
> That's probably UDF filesystems. Interesting anayways.

Good catch: you are right, they are. Are they interesting enough for me to
put them online somewhere?

-- 
Jonathan Dowland
Please do not CC me, I am subscribed to the list.


signature.asc
Description: Digital signature


Re: Why? -- "A Modest Proposal"

2016-11-22 Thread Darac Marjal

On Tue, Nov 22, 2016 at 01:00:49AM -0500, kamaraju kusumanchi wrote:

On Wed, Nov 16, 2016 at 9:13 AM, Richard Owlett  wrote:

There exist SOC  projects to encourage/mentor fledgling
programmers.
Considering the state of documentation, esp man pages, why no SOD  projects for potential tech writers.

In many areas, nerds are considered illiterate. I can see SOD projects as a
vehicle to encourage technically oriented teens to hone their composition
skills. Attempting to edit existing man pages might be a good starting
point. It would obviously require mentors with an atypical mixture of skill
sets.



One side note. IMHO man pages/info pages have a huge barrier of entry.
You have to learn a new language to write one and that can be


Not necessarily. There are tools which convert from one document format 
to man pages. pod2man creates man pages from perl's embedded POD format.  
For Python there's sphinx or doxygen. For more generic purposes, DocBook 
renders to all sorts of outputs.


Not creating documentation CONTENT because of PRESENTATION issues is 
specious, really.



discouraging to some. Ideally, a documentation developer would just
focus on the content and does not spend much time on the meta aspects
of documentation (ex:- typesetting/formatting etc.,). From this
aspect, a wiki is an ideal way to document something... but may be
there are better tools out there that I am unaware of.

thanks
raju
--
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



--
For more information, please reread.



Re: Why? -- "A Modest Proposal"

2016-11-22 Thread Richard Owlett

On 11/22/2016 12:00 AM, kamaraju kusumanchi wrote:

On Wed, Nov 16, 2016 at 9:13 AM, Richard Owlett  wrote:

There exist SOC  projects to encourage/mentor fledgling
programmers.
Considering the state of documentation, esp man pages, why no SOD  projects for potential tech writers.

In many areas, nerds are considered illiterate. I can see SOD projects as a
vehicle to encourage technically oriented teens to hone their composition
skills. Attempting to edit existing man pages might be a good starting
point. It would obviously require mentors with an atypical mixture of skill
sets.



One side note. IMHO man pages/info pages have a huge barrier of entry.


I agree. More so than I might have before I was pointed to 
projects aimed at improving man pages and their preparation.



You have to learn a new language to write one and that can be
discouraging to some. Ideally, a documentation developer would just
focus on the content and does not spend much time on the meta aspects
of documentation (ex:- typesetting/formatting etc.,).


We agree. I was attempting to focus on a sub-set of the problem.
SOC projects focus, by design, on developing skill sets tightly 
bound to the activity of programming.


I would see SOD as serving a much broader audience. [Side note I 
date from the era when the catch phrase "Why Johnny can't ..." 
was prevalent when discussing the state of education in the 
U.S.A.] I can see SOD projects at the Junior and Senior high 
school level motivating the writing skills of under performing 
but technology oriented students. I was [possibly still am a half 
century later] part of that audience.




 From this
aspect, a wiki is an ideal way to document something... but may be
there are better tools out there that I am unaware of.

thanks
raju





Re: All settings are lost at logout

2016-11-22 Thread Kaj



Den 2016-11-21 18:36, skrev David Wright:

On Mon 21 Nov 2016 at 12:23:49 (-0500), Gene Heskett wrote:

On Monday 21 November 2016 11:58:39 Greg Wooledge wrote:


On Mon, Nov 21, 2016 at 11:53:35AM -0500, Gene Heskett wrote:

Call up a terminal, and type:

cd
sudo chown -R yourusername:yourusername *


This will miss the dot files, and the home directory itself.

sudo chown -R "$LOGNAME:$LOGNAME" .


True, my bad.  OTOH, if he has somehow lost ownership of /home/him, he
has a much larger problem, and he will need to become root and cd
to /home, then use your command line verbatum, but I would first

echo $LOGNAME

To find out who the system really things he is.


And of course, you are doing this interactively, NOT in a script,
which means you should notice if the cd fails.  If the cd fails, DO
NOT run the chown command.


Yep, he has much bigger problems in that event.


It would also be a good idea to *check* the ownerships of everything
before doing the chown, just to make sure you're solving the correct
problem.


In my case thats around 35 Gb of stuff to sift thru as my email corpus
goes back to around 2002 in some maildirs. Since I should absolutely own
everything in my ~/usr directory, its just easier to let the system do
it since it can't hurt anything.  I don't know of, or am not familiar
with, any tool in our bag of tricks that could easily find the missed
ownership(s).


Well, you could start from

# find / -mount -not -group 0 -exec ls -ld {} \; -o -not -user 0 -exec ls -ld 
{} \;

which is for listing all non-root.root files on a root filesystem.
Substitute an appropriate pathname for / and user number for 0.


Obviously the thought of doing that at the filesystems root = / would
inflict damages similar to an rm -Rf. Common sense will be needed.


Cheers,
David.





Hi Gene, Greg, David and Brian,

Thank you for answer and suggestions. They are all founded in a 
suspicion that I have lost the ownership of, or at least the access to 
my files, especially the config files in my home directory. I had really 
no feeling that this is the case, as, despite the bad behaviour I 
described initially, the environment is working, and I can use the 
programs I have installed. Also the printer is working.


But I made a test via this command sequence:

sudo find /home/ -regex ".*/\.?*.*" -ls | awk '$5$6 !~ 
//'


which filtered out all those files where my user id neither own a file 
or directory nor my group has access. The total number of files and 
directories (the part before the pipe bar) is 281502 and to 26 of them I 
or my group have no admittance. They have the root as owner and group. 
None of these 26 is a configuration file. Most of the files owned by 
root but with access from my group are those on a few vfat (fat32) 
partitions, which I have to make it possible to reach the data also from 
MS Windows. Even if this is very rare nowadays, I want to keep the 
possibility.


Because of this investigation I do not think that the reason to my issue 
is bad access to configuration files. Hope someone has more ideas.


By the way 1, echo $LOGNAME printed my login id.
By the way 2, regarding Brian's comment: I gave no root password at the 
install, so I cannot login as (or su to) root, and neither I want that.


Best regards
Kaj



Re: JACK Audio Connection Kit

2016-11-22 Thread kamaraju kusumanchi
On Tue, Nov 22, 2016 at 5:07 AM, Martin Read  wrote:
> On 22/11/16 07:06, Ric Moore wrote:
>>
>> On 11/21/2016 11:38 PM, kamaraju kusumanchi wrote:
>>>
>>> apt-rdepends --state-show=Installed --state-follow=Installed PKGNAME
>>
>>
>>
>> It lists just a couple of base packages. So, why would it want to remove
>> half of mmy installed desktop? It's the same with firefox. What gives??
>> Ric
>
>
> kamaraju appears to have mistyped the command, omitting the vitally
> important (for this exercise) '-r' flag. As written, it will show you what
> PKGNAME depends on, directly or indirectly. The command is properly:
>
> apt-rdepends -r --state-show=Installed --state-follow=Installed PKGNAME
>
> (note the '-r' flag)
>
> This will show you what *depends on* PKGNAME (either by depending on it
> directly, or by depending on something that does). Now, this still won't get
> you a full answer, because it won't show you all the Automatically Installed
> packages that will be removed, but it will give you a starting point for
> understanding what's going on.
>

Thanks for correcting me Martin. Yes, you are right. We need the -r
flag for this use case.

raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Re: JACK Audio Connection Kit

2016-11-22 Thread Greg Wooledge
On Tue, Nov 22, 2016 at 02:06:35AM -0500, Ric Moore wrote:
> On 11/21/2016 11:38 PM, kamaraju kusumanchi wrote:
> >apt-rdepends --state-show=Installed --state-follow=Installed PKGNAME
> 
> 
> It lists just a couple of base packages.

So just paste the output here.  Or at least say which packages.



Perfekt julklapp - Så här tycker läsarna om årets mest omtalade bok

2016-11-22 Thread Månadens Säljbok
Bilda din egen uppfattning om Livet med kvantfysiska glasögon
Läs på webben 
[http://www.epostservice.se/aspnet/v3/pub/link.ashx?issueid=311220&userid=33797228&linkid=15229851&readid=449DC6F570FF&test=0&umailid=2932094380]
 

Bilda din egen uppfattning om årets mest omtalade bok, Livet med kvantfysiska 
glasögon!

Mer än 6000 har redan läst den.

Här får du några av läsarrösterna:

"Wowjag ryser i hela kroppen...vilka möjligheter."

"Viktigt att söka nya vägar och inse att allt inte är svart
eller vitt utan det finns så mycket att upptäcka"

"Er bok är banbrytande, fantastisk."

"I LOVE-LOVE-LOVE IT!"

"Den går verkligen rätt in i hjärtat"

"En skön bok som många borde läsa.."

"Klart bästa boken på länge."

"Så galet bra! Så bra gjord och så SPOT-ON"

"Har potential att skapa magi i många människors liv"

"Tack för Er underbart nyfikna spännande bok och tack
för att Ni orkar stå kvar tills det skakat färdigt."

Livet med kvantfysiska glasögon toppade försäljningslistorna
hos både Bokus 
[https://www.epostservice.se/aspnet/v3/pub/link.ashx?issueid=311220&userid=33797228&linkid=15229852&readid=449DC6F570FF&test=0&umailid=2932094380]
 och Adlibris 
[http://www.epostservice.se/aspnet/v3/pub/link.ashx?issueid=311220&userid=33797228&linkid=15229853&readid=449DC6F570FF&test=0&umailid=2932094380]
 under sommaren. Upptäck den
du också!

Vi rekommenderar den varmt! En perfekt julklapp!
 
BESTÄLL HÄR 
[http://www.epostservice.se/aspnet/v3/pub/link.ashx?issueid=311220&userid=33797228&linkid=15229854&readid=449DC6F570FF&test=0&umailid=2932094380]


 


          
[http://www.epostservice.se/aspnet/v3/pub/link.ashx?issueid=311220&userid=33797228&linkid=15229854&readid=449DC6F570FF&test=0&umailid=2932094380]


 
BESTÄLL HÄR 
[http://www.epostservice.se/aspnet/v3/pub/link.ashx?issueid=311220&userid=33797228&linkid=15229854&readid=449DC6F570FF&test=0&umailid=2932094380]
 


Trevlig läsning!

Månadens säljbok
 
 
 
 
 
avanmälan [http://www.epostservice.com/unsub.asp?33797228&75A249A29919&311220]
[_]

[off list] Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific]

2016-11-22 Thread Richard Owlett

On 11/21/2016 11:15 AM, David Wright wrote:

Disclaimer: I have no idea what the subject of this thread is about.



If I was going on only on the responses to my post starting this 
sub-thread I would wonder myself ;/


[snip]


Well, I know what my expectations are: to see an idiosyncratic problem
posed (it SHALL do this and that) and then see people slapped down for
not sticking to the precise conditions spelled out or implied by the OP,
should they make a suggestion that is probably more useful to others
having a similar (but not absolutely identical) problem.


I'm in close to a "no win" situation on this forum.
I have in the past been taken to task for being detailed enough.
When asking a very narrowly focused "How do I do ..." question I 
tend to get

one of two responses:
  1. "You should not want to do *THAT*."
  2. The respondent explicitly ignores inconvenient details of 
what I wrote:


An example in this sub-thread is the my supposed interest in 
auto-mounting.

To quote myself [1]:

This has me wondering if the objectionable reaction was *before* 
OR *after*

having run

 gsettings set org.mate.media-handling automount false

Then all the discussion depending on my presumed desire to 
automount :<




The usefulness of many suggestions is limited, of course, by the OPs
insistence that a horse and cart is driven through the unix security
model merely because the OP never connects anything to the internet
(which is insane).


I do not understand that sentence.
I have a used laptop explicitly purchased to use as "laboratory 
device".
It is intentionally isolated as much as possible from any outside 
action.

There *EXACTLY* TWO things that can affect what I observe:
  1. What is internal to an un-updated copy of Debian 8.6.0 
using MATE.

  2. I myself do to the system.
I obviously do connect to the internet. JUST not via THAT system ;/

[snip]


As the OP always declares a desire to learn more, then it might be
appropriate to suggest writing a script running under root which
watches for any /dev/sd* devices to pop up, creates mount points,
appends lines to /etc/fstab (umask = 0, of course) and mounts them.
The script could sleep and loop or be run under cron.


Philosophically I agree, although I've not gone that route on 
this problem.

See the next to last sentence of [1].

[snip]


One could always reboot or, in the OP's case, reinstall Debian :)


I do so frequently enough to be accumulating a slew of 
preseed.cfg files.


[snip]


I'm not sure why the OP would want DE solutions. If you want to learn
how to troubleshoot car engines, you start with an old car, not with
one where about the only thing you can do when you lift the bonnet is
find that there's just room to plug into the computer diagnostic
socket (if that's where they go).


Why a DE? For the same reason I've driven cars with automatic 
transmissions - it's more convenient. That state of Missouri 
recently declared that I MUST only drive cars with automatic 
transmissions. Traumatic spinal cord injuries can be a nuisance 
.


Debian Linux is a tool. To use it effectively and conveniently, I 
occasionally have to delve into the realm of unintended consequences.



[1] https://lists.debian.org/debian-user/2016/11/msg00838.html



Re: Coercing sane file permissions -- site specific

2016-11-22 Thread Richard Owlett

On 11/21/2016 12:43 PM, Joe wrote:

[snip]

While this does not actually constitute automounting, I suggest that it
differs by a single mouse click. And actually, I didn't deduce that
automounting was what the OP wanted,


It is explicitly what I do not want.
I said in 
https://lists.debian.org/debian-user/2016/11/msg00838.html :

"...
This has me wondering if the objectionable reaction was *before* 
OR *after* having run


 gsettings set org.mate.media-handling automount false"


 I said that it was what *I* had
working. The point was to demonstrate that software existed to do the
job the OP wanted done, even if I didn't see quite what software that
was.





Re: Coercing sane file permissions -- site specific

2016-11-22 Thread Greg Wooledge
On Tue, Nov 22, 2016 at 09:09:01AM -0600, Richard Owlett wrote:
> On 11/21/2016 12:43 PM, Joe wrote:
> >While this does not actually constitute automounting, I suggest that it
> >differs by a single mouse click. And actually, I didn't deduce that
> >automounting was what the OP wanted,
> 
> It is explicitly what I do not want.
> I said in 
> https://lists.debian.org/debian-user/2016/11/msg00838.html :
> "...
> This has me wondering if the objectionable reaction was *before* 
> OR *after* having run
> 
>  gsettings set org.mate.media-handling automount false"

OK, this is just way too confusing and convoluted for me.

I was one of the people (there were more than one) who concluded that
you might be looking for an automounting solution.  Perhaps we were
wrong.

But in that case, what *DO* you want?  You've been told repeatedly that
it is not possible to mount a file system without root privileges at
some point in the chain of processes.  Meanwhile, you insist that you
want a solution that allows you to do this as "any user", which is
flatly impossible unless there is some daemon or other intermediary
process to arbitrate the elevated privileges for you.

Intermediary agents to mount file systems on behalf of an end user
generally fall into two categories:

 * Automounters.

 * Desktop environment specific tools.

Yet, you seem to be rejecting both of these.

So, what do you want?



Re: Coercing sane file permissions -- site specific

2016-11-22 Thread Richard Owlett

On 11/22/2016 9:16 AM, Greg Wooledge wrote:

On Tue, Nov 22, 2016 at 09:09:01AM -0600, Richard Owlett wrote:

On 11/21/2016 12:43 PM, Joe wrote:

While this does not actually constitute automounting, I suggest that it
differs by a single mouse click. And actually, I didn't deduce that
automounting was what the OP wanted,


It is explicitly what I do not want.
I said in
https://lists.debian.org/debian-user/2016/11/msg00838.html :
"...
This has me wondering if the objectionable reaction was *before*
OR *after* having run

  gsettings set org.mate.media-handling automount false"


OK, this is just way too confusing and convoluted for me.


Please note the subject line of 
...debian-user/2016/11/msg00838.html began "MURPHY'S LAW RULES". 
It detailed observations. It noted that system had begun acting 
as desired. It obviously implied that I was about to do some 
testing to find out why. I did after all ASK if there was a 
logging tool that met stated criteria.


[snip]
Intermediary agents to mount file systems on behalf of an end user
generally fall into two categories:

  * Automounters.

See above.



  * Desktop environment specific tools.

I have stated that I use Mate D.E.



Yet, you seem to be rejecting both of these.

I never said so.



Re: Coercing sane file permissions -- site specific

2016-11-22 Thread Lisi Reisz
On Tuesday 22 November 2016 15:38:04 Richard Owlett wrote:
> On 11/22/2016 9:16 AM, Greg Wooledge wrote:
> > On Tue, Nov 22, 2016 at 09:09:01AM -0600, Richard Owlett wrote:
> >> On 11/21/2016 12:43 PM, Joe wrote:
> >>> While this does not actually constitute automounting, I suggest that it
> >>> differs by a single mouse click. And actually, I didn't deduce that
> >>> automounting was what the OP wanted,
> >>
> >> It is explicitly what I do not want.
> >> I said in
> >> https://lists.debian.org/debian-user/2016/11/msg00838.html :
> >> "...
> >> This has me wondering if the objectionable reaction was *before*
> >> OR *after* having run
> >>
> >>   gsettings set org.mate.media-handling automount false"
> >
> > OK, this is just way too confusing and convoluted for me.
>
> Please note the subject line of
> ...debian-user/2016/11/msg00838.html began "MURPHY'S LAW RULES".
> It detailed observations. It noted that system had begun acting
> as desired. It obviously implied that I was about to do some
> testing to find out why. I did after all ASK if there was a
> logging tool that met stated criteria.
>
> > [snip]
> > Intermediary agents to mount file systems on behalf of an end user
> > generally fall into two categories:
> >
> >   * Automounters.
>
> See above.
>
> >   * Desktop environment specific tools.
>
> I have stated that I use Mate D.E.
>
> > Yet, you seem to be rejecting both of these.
>
> I never said so.

Richard - much of the problem is that your frame of reference is, by your 
own - boasted?? ;-) - admission somewhat idiosyncratic.  You are somewhat 
difficult to follow. 

Moreover, in spite of your saying that you believe that your emails will help 
other people, 1) they probably don't understand them and 2) even if they 
understand them, the chance that they have exactly the same problem is 
vanishingly small, given that you insist on circumscribing everything in ways 
that most of us find eccentric at best and utterly bizarre at worst.

Lisi



Re: Coercing sane file permissions -- site specific

2016-11-22 Thread Greg Wooledge
On Tue, Nov 22, 2016 at 09:38:04AM -0600, Richard Owlett wrote:
> On 11/22/2016 9:16 AM, Greg Wooledge wrote:
> >Intermediary agents to mount file systems on behalf of an end user
> >generally fall into two categories:
> >
> >  * Automounters.
> See above.

Do you mean THIS PART?

> >>>differs by a single mouse click. And actually, I didn't deduce that
> >>>automounting was what the OP wanted,
> >>
> >>It is explicitly what I do not want.

That sure as hell looks like a blanket rejection of automounting
technologies to me.

> >  * Desktop environment specific tools.
> I have stated that I use Mate D.E.

And?

> >Yet, you seem to be rejecting both of these.
> I never said so.

STOP REPLYING WITH NEGATIONS THAT LEAVE ME WITH NO CLUE WHAT YOU WANT

What do you want?



mdadm - two questions

2016-11-22 Thread Kamil Jońca
(I do not know it is proper place to ask these questions.)
1.
man mdadm has some info about CONTAINER-s.

I think, that I understand how to use it, but I cannot imagine use case
of containers.
Can someone explain whent it is desirable to use containers, especially
DDF instead of free mdX devices?

2. there is md0 (raid1) with two disk in it. It is PV for lvm.
I want to extend space by adding  another two disks. Is it possible somehow
extent md0? Or the only way is to create second md device, and assign it
to volume group?

KJ

-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
Oh yeah.  Forgot about those.  Getting senile, I guess...
-- Larry Wall in <199710261551.haa17...@wall.org>



Re: [off list] Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific]

2016-11-22 Thread Brian
On Tue 22 Nov 2016 at 08:38:55 -0600, Richard Owlett wrote:

> On 11/21/2016 11:15 AM, David Wright wrote:
> >Disclaimer: I have no idea what the subject of this thread is about.
> 
> 
> If I was going on only on the responses to my post starting this sub-thread
> I would wonder myself ;/

Forgetting about the subject line, the content of the thread starter is
essentially: you want to plug a USB stick into your Debian machine and
want totally unfettered read/write access when logged in as user.

I'll repeat part of the content of another post:

 > You have USB stick which is formatted FAT16 (say). I'd expect after
 > plugging it into your Debian machine 'lsblk' would show the device
 > and its partitions. Does this happen?
 >
 > Then something like
 >
 >   pmount sdg1
 >
 > would put the mount point as /media/sdg1. Does this happen?

Two questions requiring only a "yes" or "no" response.

If you do not mind, a third question. Do you now have totally unfettered
read/write access to /media/sdg1 as a user?

-- 
Brian.




Re: mdadm - two questions

2016-11-22 Thread Dan Ritter
On Tue, Nov 22, 2016 at 06:10:53PM +0100, Kamil Jońca wrote:
> (I do not know it is proper place to ask these questions.)
> 1.
> man mdadm has some info about CONTAINER-s.
> 
> I think, that I understand how to use it, but I cannot imagine use case
> of containers.
> Can someone explain whent it is desirable to use containers, especially
> DDF instead of free mdX devices?

Only when you have bizarre Windows compatibility needs and
appropriate hardware.

> 2. there is md0 (raid1) with two disk in it. It is PV for lvm.
> I want to extend space by adding  another two disks. Is it possible somehow
> extent md0? Or the only way is to create second md device, and assign it
> to volume group?

Both are available:
https://raid.wiki.kernel.org/index.php/Growing

but if you're doing this frequently, you
should consider ZFS instead of mdadm and lvm.

-dsr-



forcefsck inconsistency

2016-11-22 Thread Pierre Frenkiel


hi everybody,
trying to force the exec of fsck at boot, I found in init.d/checkfs.sh:

  if [ -f /forcefsck ] || grep -q -s -w -i "forcefsck" /proc/cmdline
then
force="-f"
else
force=""
fi

So, I typed "touch /forcefsck", and rebooted.
This gave me several strange (IMHO) things

1/  fsck was run on 3 of my 5 ext4 partitions
but not on / (which actually has fs_passno=1)
and not for the 5th partition ,/dev/sdg1, which has fs_passno=2.
I have in syslog:

 "EXT4-fs (sdg1): warning: maximal mount count reached, running e2fsck is 
recommended"

2/ I have in syslog:

   "systemd-fsck[2553]: Please pass 'fsck.mode=force' on the kernel
command line rather than creating /forcefsck on the root file system."

   Does that mean that the guys working on checkfs.sh and systemd-fsck don't
   communicate?
   Anyway, I also tried this method, which gave me the same results.

   A workaround would be to boot with a live cd, and run fsck manually, but is
   there an easier solution?

best regards,
--
Pierre Frenkiel



Re: forcefsck inconsistency

2016-11-22 Thread David Wright
On Tue 22 Nov 2016 at 19:50:50 (+0100), Pierre Frenkiel wrote:
> trying to force the exec of fsck at boot, I found in init.d/checkfs.sh:
> 
>   if [ -f /forcefsck ] || grep -q -s -w -i "forcefsck" /proc/cmdline
>   then
>   force="-f"
>   else
>   force=""
>   fi
> 
> So, I typed "touch /forcefsck", and rebooted.
> This gave me several strange (IMHO) things
> 
> 1/  fsck was run on 3 of my 5 ext4 partitions
> but not on / (which actually has fs_passno=1)
> and not for the 5th partition ,/dev/sdg1, which has fs_passno=2.
> I have in syslog:
> 
>  "EXT4-fs (sdg1): warning: maximal mount count reached, running e2fsck is 
> recommended"
> 
> 2/ I have in syslog:
> 
>"systemd-fsck[2553]: Please pass 'fsck.mode=force' on the kernel
> command line rather than creating /forcefsck on the root file system."
> 
>Does that mean that the guys working on checkfs.sh and systemd-fsck don't
>communicate?
>Anyway, I also tried this method, which gave me the same results.
> 
>A workaround would be to boot with a live cd, and run fsck manually, but is
>there an easier solution?

Some things got a bit out-of-date perhaps. What works is to edit the
linux line in grub, adding

forcefsck

This gets processed by scripts in the initrd.

Cheers,
David.



Watching 12 Video Then Follow and Healthy your Life

2016-11-22 Thread Easy health and beauty tips
Hello Friend,

Watching 12 Video Then Follow and Healthy your Life.
If you get more videos Subscribe my Channel.
-

DIY Healthy Juices and Smoothies for Lowering Cholesterol
https://www.youtube.com/watch?v=4HH2vxkD4U0

Top 10 Superfoods to Boost Your Metabolism
https://www.youtube.com/watch?v=C2dLrZBAn-s

Top 10 Health Benefits of Brown Rice
https://www.youtube.com/watch?v=3d0tH4ukx3k

Top 10 Beauty Benefits of Aloe Vera
https://www.youtube.com/watch?v=cOyRgvGMXjA

This is What Happens to Your Body When You Quit Eating Sugar
https://www.youtube.com/watch?v=DhVOF-Cq86g

These 10 Toxic Food Items Made in China are Very Dangerous for Your Health
https://www.youtube.com/watch?v=VpkwzuspLW8

How to Treat Flea Bites on Humans and Pets
https://www.youtube.com/watch?v=jxCeiIRgTbI

How to Treat Bunions without Surgery
https://www.youtube.com/watch?v=uS4RJZ80C3I

How to Stop Vomiting in Dogs
https://www.youtube.com/watch?v=ZF0fyzTd0Nk

How to Reduce Your High Cortisol Stress Hormone Level Naturally
https://www.youtube.com/watch?v=vWmyZUqbo4w

How to Get Rid of Back Acne Fast
https://www.youtube.com/watch?v=_3seVK4zPRc

How to Eat Healthy for Cheap When You’re Broke
https://www.youtube.com/watch?v=y6ENcl3sB8w


Re: mdadm - two questions

2016-11-22 Thread Kamil Jońca
Dan Ritter  writes:

>> I want to extend space by adding  another two disks. Is it possible somehow
>> extent md0? Or the only way is to create second md device, and assign it
>> to volume group?
>

Unfortunately I cannot see how from raid1 of 2*1TB disks migrate to
raid1(raid10?)  of 4*1TB disks
KJ
-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
If you want to program in C, program in C.  It's a nice language.  I
use it occasionally...   :-)
-- Larry Wall in <7...@jpl-devvax.jpl.nasa.gov>



Re: xorriso: listing files+offsets in an ISO9660 image w/o RockRidge

2016-11-22 Thread Thomas Schmitt
Hi,

i wrote about video DVDs:
> > That's probably UDF filesystems. Interesting anayways.

Jonathan Dowland wrote:
> Good catch: you are right, they are. Are they interesting enough for me to
> put them online somewhere?

If they demonstrate the Rock Ridge read error despite -read_fs "norock",
then they might help to solve the riddle.

Else they could still be valuable for general research.


Have a nice day :)

Thomas



Re: mdadm - two questions

2016-11-22 Thread Dan Ritter
On Tue, Nov 22, 2016 at 09:10:50PM +0100, Kamil Jońca wrote:
> Dan Ritter  writes:
> 
> >> I want to extend space by adding  another two disks. Is it possible somehow
> >> extent md0? Or the only way is to create second md device, and assign it
> >> to volume group?
> >
> 
> Unfortunately I cannot see how from raid1 of 2*1TB disks migrate to
> raid1(raid10?)  of 4*1TB disks


http://serverfault.com/questions/43677/best-way-to-grow-linux-software-raid-1-to-raid-10

-dsr-



Re: mdadm - two questions

2016-11-22 Thread Jens Sauer
> Unfortunately I cannot see how from raid1 of 2*1TB disks migrate to
> raid1(raid10?)  of 4*1TB disks

I don't think you can reshape a RAID 1 to a RAID 10.

mdadm can reshape RAID 1/5/6. You can move from RAID 5 to 6 or the other
way around.
*Maybe* you can even reshape from 1 to RAID 5/6.

I see these options:

* create a second RAID 1 with the new devices, make this a pv and add it to
your vg
* backup all data, create a RAID 10/5/6 with all four devices
* Test if you can reshape from RAID 1 to 5/6

The last option only if RAID 5/6 serves your needs.

Regards,
Jens


Re: forcefsck inconsistency

2016-11-22 Thread Pierre Frenkiel

On Tue, 22 Nov 2016, David Wright wrote:


Some things got a bit out-of-date perhaps. What works is to edit the
linux line in grub, adding


  Hi David,
  It would be interesting to know which one is out-of-date, checkfs.sh or 
systemd-fsck?
  Anyway, my question was not "how to force fsck". This can be done either with
  "touch /forecfsck" which gives warnings, but does not prevent fsck to run.
  or
  at boot, edit the command line, adding "fsck.mode=force"
  both methods have the advantage that the force mode is removed after the boot.

  My question is: why fsck does not process the 2 partitions / and /dev/sdg1 ?

cheers,
--
Pierre Frenkiel



Re: mdadm - two questions

2016-11-22 Thread Kamil Jońca
Dan Ritter  writes:

> http://serverfault.com/questions/43677/best-way-to-grow-linux-software-raid-1-to-raid-10

Yes. And it was my idea (except rsync I plan to do pvmove to new aray)
Thanks for confirmation.
KJ
-- 
http://stopstopnop.pl/stop_stopnop.pl_o_nas.html
The sweeter the apple, the blacker the core --
Scratch a lover and find a foe!
-- Dorothy Parker, "Ballad of a Great Weariness"



Execution of maintainer scripts and dependencies of package

2016-11-22 Thread Ravi Roy
Hi,

I've a question regarding the package maintainer scripts (preinst,
postinst, prerm and postrm) and dependencies of the package

I've a meta package where i've certain dependencies mentioned and i'm
checking a config file in 'preinst' from a dependent package but is not
found.

Question is : All dependencies of the package are installed and configured
first then maintainers scripts are run or  ?
Thank you

Regards
Ravi.