Re: Automatically changing the tab name on Konsole?

2018-01-30 Thread Cameron Simpson

On 30Jan2018 21:43, InvalidPath  wrote:

One last thing.. how do I get it to only display user@host rather than
the full path that I'm currently in on the remote server?

[...]

Hey Garry,  So please don't think I'm ungrateful here.. even if the konsole
tabs get long.. it's still VERY helpful to have teh hostnames in there.
Let me ask, how'd you figure out how what code/syntax was needed to do what
it does to the tab names?  I'm looking at it and I can't figure out what
part does what.. exactly.


Try here?

 
https://docs.kde.org/stable5/en/applications/konsole/console-dialogs.html#rename-tab-dialog

Ignoring that for the moment, I use this script:

 https://bitbucket.org/cameron_simpson/css/src/tip/bin/ttylabel

Much like Garry's but expects to be told what to put in the label. So my prompt 
function calls it with what I want in the label.


The point here is that you might no need to know the % syntax, you can just put 
your own text there if you update it when needed.


Cheers,
Cameron Simpson  (formerly c...@zip.com.au)
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Automatically changing the tab name on Konsole?

2018-01-30 Thread InvalidPath
On Tue, Jan 30, 2018 at 3:05 PM, Garry Williams 
wrote:

> On Tue, Jan 30, 2018 at 4:13 PM, InvalidPath 
> wrote:
>
>> One last thing.. how do I get it to only display user@host rather than
>> the full path that I'm currently in on the remote server?
>>
>
> I use the prompt for that information[*].  The whole reason for using %w
> is so that the *shell* (local or remote) can set the title of the tab.  If
> you want the shell to supply another value, then you need to modify the
> code I supplied to do whatever you need done.  Perhaps you want to use
> another format specifier in the tab settings and not use the shell at all.
> Maybe I misunderstood the question.  The "Insert" drop-down in the tab
> configuration screen will show what is available, if you don't want the
> shell to fill it in.
>
>
> __
> [*] A typical prompt for me is: "garry@ifr$ ".  I look at the window
> title to remind me of the path.  I also never show the tabs in konsole.
> That way there's always enough real estate for the path in my terminal
> title bar.  It works for me.  At work, I also use different profiles to get
> different background colors on terminal sessions depending on what host I
> am logged into.  Then I use different menu items (icons, that is) to log to
> different hosts.  More visual cues to make sure I know my context so I
> don't do something stupid.
>
> --
> Garry Williams
>
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>
>
Hey Garry,  So please don't think I'm ungrateful here.. even if the konsole
tabs get long.. it's still VERY helpful to have teh hostnames in there.
Let me ask, how'd you figure out how what code/syntax was needed to do what
it does to the tab names?  I'm looking at it and I can't figure out what
part does what.. exactly.

Also in konsole what is the difference, or how does one differentiate
between tab and remote tab?
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Making Fedora search smarter

2018-01-30 Thread Samuel Sieb

On 01/30/2018 01:17 PM, cen wrote:
Another simple improvement would be to place more used programs on top. 
If I launch Sound 30 times a month and audacity 1 times you could use 
that information to order them appropriately.  Something in the sense of 
Firefox top sites that accumulate on your blank page according to page 
visits except in this case to influence the order of results.


I thought it already worked like that, but I might be mistaken.  I'm 
pretty sure that certain items have changed order in the search for me 
before.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Patrick O'Callaghan
On Tue, 2018-01-30 at 14:07 -0800, Rick Stevens wrote:
> > The idea is that the script picks up the files as fast as you drag them.
> > You might need to shrink the "sleep 1" to "sleep 0.1", or perhaps
> > better, to not sleep at all _if_ any files were run on that loop. The
> > sleep is there to stop your machine spinnning out when idle.
> 
> If you need this to be asynchronous, have a look at inotifywait(1) (part
> of the inotify-tools RPM) and build your script using that tool. The
> script then becomes event-driven rather than using polling.

Good idea.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Patrick O'Callaghan
On Wed, 2018-01-31 at 07:45 +1100, Cameron Simpson wrote:
> > Dragging the files 'in the right order' doesn't affect their names. The
> > script loops over the files in lexical order, not in the order I've
> > dragged them, so the final order won't change.
> 
> The idea is that the script picks up the files as fast as you drag them. You 
> might need to shrink the "sleep 1" to "sleep 0.1", or perhaps better, to not 
> sleep at all _if_ any files were run on that loop. The sleep is there to stop 
> your machine spinnning out when idle.
> 
> Provided the files are picked up suffiently promptly, they are meant to each 
> get a nice incrementing numeric prefix as you drag them, thus ordering their 
> names in the ordered directory.

Yes, I missed that. I see the intent now.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


[389-users] Re: CVE-2017-15135

2018-01-30 Thread William Brown
On Mon, 2018-01-29 at 15:08 +, Torgersen, Eric A wrote:
> Are there any details or guidance available regarding the following:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1525628

Hi,

Summary: This is very low risk for the majority of installations,

There are very limited circumstances where this can affect your
deployment. You must run certain types of hashes, and must have
imported them incorrectly during an ldif2db or nsslapd-allow-hashed-
password: on import.

For most users who allow DS to do the hashing for you (ie ldappasswd or
similar) then there is no risk.

I will communicate with RH security about this, as the issue is meant
to be embargoed, but has leaked, so we must open this asap to give
proper information.

Thanks, 


> 
> Eric Torgersen
> Systems Architect | Information Technology Services | Enterprise
> Infrastructure Services
> 518-442-6471 | etorger...@albany.edu
> University at Albany
> 1400 Washington Ave | Albany, NY 1
> 
> Confidentiality Notice: The information contained in this electronic
> transmission is confidential and is intended for the use of the
> individual(s) or entity(ies) named above only.  If the reader of this
> message is not the intended recipient,  you are hereby notified that
> any dissemination, distribution or reproduction of this transmission
> is strictly prohibited. If you have received this transmission in
> error, please destroy any and all copies of the transmission and
> notify the sender immediately.
> 
> ___
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-leave@lists.fedoraproject.o
> rg
-- 
Sincerely,

William Brown
Software Engineer
Red Hat, Australia/Brisbane
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org


[389-users] Re: 389ds on lxc debian

2018-01-30 Thread William Brown
On Tue, 2018-01-30 at 12:48 +0100, Angel Bosch Mora wrote:
> hi,
> 
> I'm trying to install 1.1.43-1+b1 package on lxc with debian 9 and I
> get this error:
> 
> 
> invoke-rc.d: initscript dirsrv-admin, action "start" failed.
> ● dirsrv-admin.service - 389 Administration Server.
>    Loaded: loaded (/lib/systemd/system/dirsrv-admin.service;
> disabled; vendor preset: enabled)
>    Active: failed (Result: exit-code) since Tue 2018-01-30 12:32:36
> CET; 6ms ago
>   Process: 15226 ExecStart=/usr/sbin/apache2 -k start -f
> /etc/dirsrv/admin-serv/httpd.conf (code=exited, status=1/FAILURE)
> 
> gen 30 12:32:35 Jafar systemd[1]: dirsrv-admin.service: Failed to
> reset devices.list: Operation not permitted
> gen 30 12:32:35 Jafar systemd[1]: Starting 389 Administration
> Server
> gen 30 12:32:36 Jafar systemd[1]: dirsrv-admin.service: Control
> process exited, code=exited status=1
> gen 30 12:32:36 Jafar systemd[1]: Failed to start 389 Administration
> Server..
> gen 30 12:32:36 Jafar systemd[1]: dirsrv-admin.service: Unit entered
> failed state.
> gen 30 12:32:36 Jafar systemd[1]: dirsrv-admin.service: Failed with
> result 'exit-code'.
> 
> 
> it seems a problema about lxc privileges.
> 
> is there anyone running 389 with lxc?

There are a number of users of 389-ds with lxc, just not with the admin
console that I am aware of. 

Perhaps check the documenation on how to do a "console-less" install? 

> 
> regards,
> 
> abosch
> -- Institut Mallorquí d'Afers Socials. Aquest missatge, i si escau,
> qualsevol fitxer annex, es dirigeix exclusivament a la persona que
> n'és destinatària i pot contenir informació confidencial. En cap cas
> no heu de copiar aquest missatge ni lliurar-lo a terceres persones
> sense permís exprés de l'IMAS. Si no sou la persona destinatària que
> s'hi indica (o la responsable de lliurar-l'hi) us demanam que ho
> notifiqueu immediatament a l'adreça electrònica de la persona
> remitent.
> -- Abans d'imprimir aquest missatge, pensau si és realment necessari.
> ___
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-leave@lists.fedoraproject.o
> rg
-- 
Sincerely,

William Brown
Software Engineer
Red Hat, Australia/Brisbane
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Richard Shaw
On Tue, Jan 30, 2018 at 4:26 PM, Philip Rhoades  wrote:

>
>
> Now (had to "rpm --erase . ." first and then install the new version -
> which installed a lot more stuff):


Sorry, you could have used:

dnf reinstall  https://hobbes1069.fedorapeople.org/Photini-2017.
12.0-1.fc27.noarch.rpm

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Philip Rhoades

Richard,



Date: Tue, 30 Jan 2018 10:54:22 -0600
From: Richard Shaw 
Subject: Re: Organising photos visually
To: p...@pricom.com.au, Community support for Fedora users

Message-ID:

Re: Organising photos visually

2018-01-30 Thread Rick Stevens
On 01/30/2018 12:45 PM, Cameron Simpson wrote:
> On 30Jan2018 12:01, Patrick O'Callaghan  wrote:
>> On Tue, 2018-01-30 at 20:53 +1100, Cameron Simpson wrote:
>>>   cd your-staging-directory
>>>   n=1
>>>   while :
>>>   do
>>>     for f in *.jpg
>>>     do
>>>   [ -s "$f" ] || continue
>>>   while :
>>>   do
>>>     target=$( printf 'your-ordered-directory/%05d-%s' "$n" "$f" )
>>>     [ -e "$target" ] || break
>>>     n=$((n+1))
>>>   done
>>>   mv "$f" "$target"
>>>     done
>>>     sleep 1
>>>   done
>>>
>>> That does a "mv", so give it a good test on copies first to avoid it
>>> eating
>>> your files!
>>
>> On second thoughts, I don't think this is going to work:
>>
>>> Then just drag images into the staging directory in the right order
>>> and the
>>> shell script will move them into the ordered directory with nice numeric
>>> prefixes.
>>
>> Dragging the files 'in the right order' doesn't affect their names. The
>> script loops over the files in lexical order, not in the order I've
>> dragged them, so the final order won't change.
> 
> The idea is that the script picks up the files as fast as you drag them.
> You might need to shrink the "sleep 1" to "sleep 0.1", or perhaps
> better, to not sleep at all _if_ any files were run on that loop. The
> sleep is there to stop your machine spinnning out when idle.

If you need this to be asynchronous, have a look at inotifywait(1) (part
of the inotify-tools RPM) and build your script using that tool. The
script then becomes event-driven rather than using polling.

> Provided the files are picked up suffiently promptly, they are meant to
> each get a nice incrementing numeric prefix as you drag them, thus
> ordering their names in the ordered directory.
> 
>> Sorry if I wasn't clear enough in my initial post.
> 
> I think I understood you. You seem to have missing the numeric profix in
> the new names - the script _depends_ on you interactively dragging files
> to the staging dir in a piecemeal fashion.
> 
> Also note Jons bug report.
> 
> Another untested version with a fix for his bug and a fix for the sleep
> thing:
> 
>   cd your-staging-directory
>   n=1
>   while :
>   do
>     moved=
>     for f in *.jpg
>     do
>   [ -s "$f" ] || continue
>   while :
>   do
>     target=$( printf 'your-ordered-directory/%05d-%s' "$n" "$f" )
>     [ -e "$target" ] || break
>     n=$((n+1))
>   done
>   mv "$f" "$target"
>   n=$((n+1))
>   moved=1
>     done
>     [ $moved ] || sleep 0.1
>   done
> 
> See how that logic feels to you.

If you need this to be asynchronous, have a look at inotifywait(1) and
build your script according to that.
> 
> Cheers,
> Cameron Simpson  (formerly c...@zip.com.au)
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org


-- 
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
-"More hay, Trigger?" "No thanks, Roy, I'm stuffed!" -
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Automatically changing the tab name on Konsole?

2018-01-30 Thread Garry Williams
On Tue, Jan 30, 2018 at 4:13 PM, InvalidPath  wrote:

> One last thing.. how do I get it to only display user@host rather than
> the full path that I'm currently in on the remote server?
>

I use the prompt for that information[*].  The whole reason for using %w is
so that the *shell* (local or remote) can set the title of the tab.  If you
want the shell to supply another value, then you need to modify the code I
supplied to do whatever you need done.  Perhaps you want to use another
format specifier in the tab settings and not use the shell at all.  Maybe I
misunderstood the question.  The "Insert" drop-down in the tab
configuration screen will show what is available, if you don't want the
shell to fill it in.


__
[*] A typical prompt for me is: "garry@ifr$ ".  I look at the window title
to remind me of the path.  I also never show the tabs in konsole.  That way
there's always enough real estate for the path in my terminal title bar.
It works for me.  At work, I also use different profiles to get different
background colors on terminal sessions depending on what host I am logged
into.  Then I use different menu items (icons, that is) to log to different
hosts.  More visual cues to make sure I know my context so I don't do
something stupid.

-- 
Garry Williams
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Making Fedora search smarter

2018-01-30 Thread cen
On stock Fedora, searching for "sound" brings up the sound and volume 
control. I recently installed Audacity and since then, searching for 
"sound" brings audacity as the top result. Since then I've mistakenly 
launched audacity several times because of muscle memory. This is kinda 
annoying.. if I needed audacity I'd simply type "audacity". My 
assumption would be that search orders by alphabet.


The first point I would make that placing the exact match on top and a 
system utility at that would make more sense.


Another simple improvement would be to place more used programs on top. 
If I launch Sound 30 times a month and audacity 1 times you could use 
that information to order them appropriately.  Something in the sense of 
Firefox top sites that accumulate on your blank page according to page 
visits except in this case to influence the order of results.


Are there any system settings to influence the search behavior right now?
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Automatically changing the tab name on Konsole?

2018-01-30 Thread InvalidPath
On Tue, Jan 30, 2018 at 2:11 PM, InvalidPath  wrote:

>
>
> On Tue, Jan 30, 2018 at 1:39 PM, Garry Williams 
> wrote:
>
>> On Tue, Jan 30, 2018 at 2:22 PM, InvalidPath 
>> wrote:
>> > Does anyone know if it's even remotely possible to have teh tab names in
>> > Konsole change per remote host you ssh into?
>>
>> Use %w in tab title format and remote tab title format.
>>
>> Then use this in your shell rc (I use zshrc -- maybe you use bashrc):
>>
>> chpwd() {
>> [[ -t 1 ]] || return
>> case $TERM in
>> sun-cmd) print -Pn "\e]l%~\e\\"
>> ;;
>> *xterm*|rxvt|(dt|k|E)term) print -Pn "\e]2;[%m] %~\a"
>> ;;
>> vt220) print -Pn "\e]2;[%m] %~\a"
>> ;;
>> esac
>> }
>>
>> chpwd
>>
>> Now try to remember to "cd ." after loging out of a remote shell to
>> reset the window title.  :-)
>>
>> --
>> Garry Williams
>> ___
>> users mailing list -- users@lists.fedoraproject.org
>> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>>
>
> Holy crap.. *thanks so much* Garry.  I just knew someone out there had
> figured this out!!
>

One last thing.. how do I get it to only display user@host rather than the
full path that I'm currently in on the remote server?

[image: Inline image 1]
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Automatically changing the tab name on Konsole?

2018-01-30 Thread InvalidPath
On Tue, Jan 30, 2018 at 1:39 PM, Garry Williams 
wrote:

> On Tue, Jan 30, 2018 at 2:22 PM, InvalidPath 
> wrote:
> > Does anyone know if it's even remotely possible to have teh tab names in
> > Konsole change per remote host you ssh into?
>
> Use %w in tab title format and remote tab title format.
>
> Then use this in your shell rc (I use zshrc -- maybe you use bashrc):
>
> chpwd() {
> [[ -t 1 ]] || return
> case $TERM in
> sun-cmd) print -Pn "\e]l%~\e\\"
> ;;
> *xterm*|rxvt|(dt|k|E)term) print -Pn "\e]2;[%m] %~\a"
> ;;
> vt220) print -Pn "\e]2;[%m] %~\a"
> ;;
> esac
> }
>
> chpwd
>
> Now try to remember to "cd ." after loging out of a remote shell to
> reset the window title.  :-)
>
> --
> Garry Williams
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>

Holy crap.. *thanks so much* Garry.  I just knew someone out there had
figured this out!!
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Cameron Simpson

On 30Jan2018 12:01, Patrick O'Callaghan  wrote:

On Tue, 2018-01-30 at 20:53 +1100, Cameron Simpson wrote:

  cd your-staging-directory
  n=1
  while :
  do
for f in *.jpg
do
  [ -s "$f" ] || continue
  while :
  do
target=$( printf 'your-ordered-directory/%05d-%s' "$n" "$f" )
[ -e "$target" ] || break
n=$((n+1))
  done
  mv "$f" "$target"
done
sleep 1
  done

That does a "mv", so give it a good test on copies first to avoid it eating
your files!


On second thoughts, I don't think this is going to work:


Then just drag images into the staging directory in the right order and the
shell script will move them into the ordered directory with nice numeric
prefixes.


Dragging the files 'in the right order' doesn't affect their names. The
script loops over the files in lexical order, not in the order I've
dragged them, so the final order won't change.


The idea is that the script picks up the files as fast as you drag them. You 
might need to shrink the "sleep 1" to "sleep 0.1", or perhaps better, to not 
sleep at all _if_ any files were run on that loop. The sleep is there to stop 
your machine spinnning out when idle.


Provided the files are picked up suffiently promptly, they are meant to each 
get a nice incrementing numeric prefix as you drag them, thus ordering their 
names in the ordered directory.



Sorry if I wasn't clear enough in my initial post.


I think I understood you. You seem to have missing the numeric profix in the 
new names - the script _depends_ on you interactively dragging files to the 
staging dir in a piecemeal fashion.


Also note Jons bug report.

Another untested version with a fix for his bug and a fix for the sleep thing:

  cd your-staging-directory
  n=1
  while :
  do
moved=
for f in *.jpg
do
  [ -s "$f" ] || continue
  while :
  do
target=$( printf 'your-ordered-directory/%05d-%s' "$n" "$f" )
[ -e "$target" ] || break
n=$((n+1))
  done
  mv "$f" "$target"
  n=$((n+1))
  moved=1
done
[ $moved ] || sleep 0.1
  done

See how that logic feels to you.

Cheers,
Cameron Simpson  (formerly c...@zip.com.au)
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Cameron Simpson

[ Brought back on list, since Jon is very correct. - Cameron ]

On 30Jan2018 05:09, Jon LaBadie  wrote:

On Tue, Jan 30, 2018 at 08:53:32PM +1100, Cameron Simpson wrote:

Run a small shell script like this (untested, but happy to help debug):

 cd your-staging-directory
 n=1
 while :
 do
   for f in *.jpg
   do
 [ -s "$f" ] || continue
 while :
 do
   target=$( printf 'your-ordered-directory/%05d-%s' "$n" "$f" )
   [ -e "$target" ] || break
   n=$((n+1))
 done
 mv "$f" "$target"
   done
   sleep 1
 done


I think all the files will be named 1-
When there is no name collision you skip the increment.


Yes. Need to increment after the "mv" as well. Good call.

Thanks,
Cameron Simpson  (formerly c...@zip.com.au)
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Automatically changing the tab name on Konsole?

2018-01-30 Thread Garry Williams
On Tue, Jan 30, 2018 at 2:22 PM, InvalidPath  wrote:
> Does anyone know if it's even remotely possible to have teh tab names in
> Konsole change per remote host you ssh into?

Use %w in tab title format and remote tab title format.

Then use this in your shell rc (I use zshrc -- maybe you use bashrc):

chpwd() {
[[ -t 1 ]] || return
case $TERM in
sun-cmd) print -Pn "\e]l%~\e\\"
;;
*xterm*|rxvt|(dt|k|E)term) print -Pn "\e]2;[%m] %~\a"
;;
vt220) print -Pn "\e]2;[%m] %~\a"
;;
esac
}

chpwd

Now try to remember to "cd ." after loging out of a remote shell to
reset the window title.  :-)

-- 
Garry Williams
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Automatically changing the tab name on Konsole?

2018-01-30 Thread InvalidPath
Does anyone know if it's even remotely possible to have teh tab names in
Konsole change per remote host you ssh into?

For example, Right now when I open a new tab, its name changes to teh first
hostname that I ssh into.  Further ssh jumps do not change it.  It's caused
a measurable amount of confusion in the past with many tabs going at once
and since I use one particular host the most as a proxy I have to manually
rename the tabs to help keep track.

Thanks
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: rfc2307 with winbind?

2018-01-30 Thread Jeff Sadowski
Now that I know what to look for I found the relevant page

https://wiki.samba.org/index.php/Idmap_config_ad

On Tue, Jan 30, 2018 at 11:28 AM, Jeff Sadowski  wrote:
> Andreas Schneider: helped me fix the issue.
> Seems there was a flag I was missing from my smb.conf file that is
> needed in fedora.
> I needed the line
>
> idmap config SUBDOMAIN:unix_nss_info = yes
>
> added to my smb.conf
>
> On Fri, Jan 26, 2018 at 12:48 PM, Jeff Sadowski  
> wrote:
>> On Thu, Jan 25, 2018 at 11:33 PM, Jeff Sadowski  
>> wrote:
>>> On Thu, Jan 25, 2018 at 11:31 PM, Jeff Sadowski  
>>> wrote:
 On Wed, Jan 24, 2018 at 7:03 PM, Jeff Sadowski  
 wrote:
> On Wed, Jan 24, 2018 at 4:36 PM, Patrick O'Callaghan
>  wrote:
>> On Wed, 2018-01-24 at 16:25 -0700, Jeff Sadowski wrote:
>>> My AD has the rfc2307 flags to provide home directories and shells.
>>> The ubuntu 16.04 and centos 6.9 correctly get the AD flags for the
>>> home directory and shells.
>>
>> [Please don't top-post, it makes threads hard to follow]
>>
>> I'm no Samba expert but I recently had an issue which required some
>> SElinux configuration to fix. If you have SElinux enabled, take a look
>> at https://linux.die.net/man/8/samba_selinux
>>
> SeLinux is disabled for now. If I get it working I'll try to reenable it.
>
>> poc
>> ___
>> users mailing list -- users@lists.fedoraproject.org
>> To unsubscribe send an email to users-le...@lists.fedoraproject.org

 It is as if windbind was build without support for rfc2307 or winbind
 is using some other file other than /etc/samba/smb.conf.

 I am suspecting the later because of some issues when I run authconfig
 with different templates then replace smb.conf
 the templates I had set with authconfig show up with
 [root@fedora27 ~]# getent passwd jefftest
 even though smb.conf doesn't have those templates.
>>>
>>> I am replacing smb.conf with the one I list above.
>>
>> Another thing I notice is that
>> [root@fedora27 ~]# getent passwd jefftest
>> returns the same info with winbind stopped.
>> which is odd.
>> Where is getent getting the user from?
>>
>> I edited /etc/nsswitch.conf to look as follows
>>
>> passwd:files winbind
>> shadow:files
>> group: files winbind
>> hosts: files mdns4_minimal [NOTFOUND=return] nis dns myhostname
>> bootparams: nisplus [NOTFOUND=return] files
>> ethers: files
>> netmasks:   files
>> networks:   files
>> protocols:  files
>> rpc:files
>> services:  files
>> netgroup:  files
>> publickey:  nisplus
>> automount: files
>> aliases:files nisplus
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: rfc2307 with winbind?

2018-01-30 Thread Jeff Sadowski
Andreas Schneider: helped me fix the issue.
Seems there was a flag I was missing from my smb.conf file that is
needed in fedora.
I needed the line

idmap config SUBDOMAIN:unix_nss_info = yes

added to my smb.conf

On Fri, Jan 26, 2018 at 12:48 PM, Jeff Sadowski  wrote:
> On Thu, Jan 25, 2018 at 11:33 PM, Jeff Sadowski  
> wrote:
>> On Thu, Jan 25, 2018 at 11:31 PM, Jeff Sadowski  
>> wrote:
>>> On Wed, Jan 24, 2018 at 7:03 PM, Jeff Sadowski  
>>> wrote:
 On Wed, Jan 24, 2018 at 4:36 PM, Patrick O'Callaghan
  wrote:
> On Wed, 2018-01-24 at 16:25 -0700, Jeff Sadowski wrote:
>> My AD has the rfc2307 flags to provide home directories and shells.
>> The ubuntu 16.04 and centos 6.9 correctly get the AD flags for the
>> home directory and shells.
>
> [Please don't top-post, it makes threads hard to follow]
>
> I'm no Samba expert but I recently had an issue which required some
> SElinux configuration to fix. If you have SElinux enabled, take a look
> at https://linux.die.net/man/8/samba_selinux
>
 SeLinux is disabled for now. If I get it working I'll try to reenable it.

> poc
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>>>
>>> It is as if windbind was build without support for rfc2307 or winbind
>>> is using some other file other than /etc/samba/smb.conf.
>>>
>>> I am suspecting the later because of some issues when I run authconfig
>>> with different templates then replace smb.conf
>>> the templates I had set with authconfig show up with
>>> [root@fedora27 ~]# getent passwd jefftest
>>> even though smb.conf doesn't have those templates.
>>
>> I am replacing smb.conf with the one I list above.
>
> Another thing I notice is that
> [root@fedora27 ~]# getent passwd jefftest
> returns the same info with winbind stopped.
> which is odd.
> Where is getent getting the user from?
>
> I edited /etc/nsswitch.conf to look as follows
>
> passwd:files winbind
> shadow:files
> group: files winbind
> hosts: files mdns4_minimal [NOTFOUND=return] nis dns myhostname
> bootparams: nisplus [NOTFOUND=return] files
> ethers: files
> netmasks:   files
> networks:   files
> protocols:  files
> rpc:files
> services:  files
> netgroup:  files
> publickey:  nisplus
> automount: files
> aliases:files nisplus
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Patrick O'Callaghan
On Tue, 2018-01-30 at 08:56 -0600, Kenny Gow wrote:
> $ ls -lrt --time=ctime
> 
> to order the list by the time each image was put into the directory.
> 'ctime' is the key. I use this all the time to see the latest
> new files in a directory, in time order.

BTW, for that I tend to use:

$ ls -last ...

simply because it's easy to remember :-) I know it isn't exactly the
same but it's good enough in most cases.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Suspend to Ram Issues

2018-01-30 Thread InvalidPath
On Thu, Jan 25, 2018 at 2:57 PM, InvalidPath  wrote:

>
>
> On Thu, Jan 25, 2018 at 2:55 PM, InvalidPath 
> wrote:
>
>>
>>
>> On Thu, Jan 25, 2018 at 1:22 PM, InvalidPath 
>> wrote:
>>
>>>
>>>
>>> On Thu, Jan 25, 2018 at 1:18 PM, Ed Greshko 
>>> wrote:
>>>
 On 01/26/18 03:57, InvalidPath wrote:
 > So I think you are right.. I'd have to change this file to point
 towards the PLasma
 > equivalent of GDM.


 Just do what I said

 systemctl -f enable sddm.service

 Don't do anything manually.  Do proper system administration.

 --
 A motto of mine is: When in doubt, try it out


 ___
 users mailing list -- users@lists.fedoraproject.org
 To unsubscribe send an email to users-le...@lists.fedoraproject.org

 Gotcha :wink:
>>> I will report back.
>>>
>>
>> Let me ask a stupid question here Wolfgang.. So the display manager is
>> different from the Desktop Environment right?  You can run a multitude of
>> DM's for any DE?
>>
>
> I just answered my own question ;)
>
> https://wiki.gentoo.org/wiki/Display_manager
>
> Man I enjoy learning new stuff.
>

Ok I just wanted to report back.. suspension to ram is working again.

As many of you saw my dilemma with removing the Gnome related content.. I
never did get all of those bits removed, nor did I get a working swap off
this blasted GDM to SDDM and I am still using Plasma as a DE, and the
symlink display-manager.service is pointed to gdm.service which does not
exist. And yet suspend works like a champ.. *shrug*

Thanks to everyone who attempted to help.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Richard Shaw
On Tue, Jan 30, 2018 at 10:45 AM, Philip Rhoades  wrote:

> Richard,
>
> On Fedora 27 x86_64:
>
> Traceback (most recent call last):
>   File "/bin/photini", line 6, in 
> from pkg_resources import load_entry_point
>   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line
> 3037, in 
> @_call_aside
>   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line
> 3021, in _call_aside
> f(*args, **kwargs)
>   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line
> 3050, in _initialize_master_working_set
> working_set = WorkingSet._build_master()
>   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line
> 655, in _build_master
> ws.require(__requires__)
>   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line
> 969, in require
> needed = self.resolve(parse_requirements(requirements))
>   File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line
> 855, in resolve
> raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'appdirs>=1.3' distribution was
> not found and is required by Photini


Just saw that a little while ago, I missed some requires. I've uploaded a
new RPM (same URL)

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Philip Rhoades

Richard,


On 2018-01-31 03:23, users-requ...@lists.fedoraproject.org wrote:

Date: Tue, 30 Jan 2018 08:44:50 -0600
From: Richard Shaw 
Subject: Re: Organising photos visually
To: Community support for Fedora users 
Message-ID:

Re: Organising photos visually

2018-01-30 Thread Patrick O'Callaghan
On Tue, 2018-01-30 at 08:44 -0600, Richard Shaw wrote:
> From what I could tell searching google, you best bet is to plug in the info 
> you need into the EXIF data and then rename the files based on the EXIF data.
> 
> I've never used this before but it only took me about 10 minutes to package:
> 
> https://hobbes1069.fedorapeople.org/Photini-2017.12.0-1.fc27.noarch.rpm
> 
> If someone finds it useful (for this or in general) I may be willing to 
> submit a review request to include it in Fedora.

I took a quick look, but it doesn't seem to do anything the other photo
editors don't do, and still requires a one-by-one process of editing
each file.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


[389-users] Re: Upgrading from 1.3.5.10-21 to 1.3.6-1.24

2018-01-30 Thread Sergei Gerasenko
Thank you for that information, William.

> On Jan 29, 2018, at 5:11 PM, William Brown  wrote:
> 
> On Mon, 2018-01-29 at 16:24 -0600, Sergei Gerasenko wrote:
>> Hello,
>> 
>> I’m getting ready to upgrade from 1.3.5 to 1.3.6 and I’m wondering if
>> there are any possible issues with this. I’ve heard that the
>> replication protocol has changed in regards to the replication
>> protocol for example. Anything else to be concerned about in terms of
>> the schema changes, etc?
> 
> The replication changes just help to prevent conflicts and issues, it
> should be a "safe" upgrade to make, just don't mix the versions for too
> long. 
> 
> There are no other obvious issues I can think of, just be sure to do a
> test upgrade first, and keep backups (even though I doubt anything will
> go wrong, it's just good discipline) 
> 
>> 
>> Thanks for any insight.
>> 
>> Sergei
>> ___
>> 389-users mailing list -- 389-users@lists.fedoraproject.org
>> To unsubscribe send an email to 389-users-leave@lists.fedoraproject.o
>> rg
> -- 
> Sincerely,
> 
> William Brown
> Software Engineer
> Red Hat, Australia/Brisbane
> ___
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Patrick O'Callaghan
On Tue, 2018-01-30 at 08:56 -0600, Kenny Gow wrote:
> On 01/30/2018 06:01 AM, Patrick O'Callaghan wrote:
> > $ ls -l
> > total 7388
> > -rwxr--r--. 1 poc poc 1036281 Jan 29 11:38 20180129113839_01.jpg
> > -rwxr--r--. 1 poc poc 1183695 Jan 29 11:38 20180129113839_02.jpg
> > -rwxr--r--. 1 poc poc 1133299 Jan 29 11:38 20180129113839_03.jpg
> > -rwxr--r--. 1 poc poc 1066885 Jan 29 11:38 20180129113839_04.jpg
> > -rwxr--r--. 1 poc poc  879477 Jan 29 11:38 20180129113839_05.jpg
> > -rwxr--r--. 1 poc poc 1247414 Jan 29 11:38 20180129113839_06.jpg
> > -rwxr--r--. 1 poc poc 1008515 Jan 29 11:38 20180129113839_07.jpg
> > 
> > The filenames are generated from the scanning software (a commercial
> > program running on a Windows VM, and beyond any possibility of
> > modifying). Clearly these names are just timestamps plus a sequence
> > number and represent the order the slides were scanned. Adding another
> > index number via the Shell script isn't going to change this sequence.
> > 
> 
> In the staging directory, try running
> 
> $ ls -lrt --time=ctime
> 
> to order the list by the time each image was put into the directory.
> 'ctime' is the key. I use this all the time to see the latest
> new files in a directory, in time order.
> 
> You can also run
> 
> $ ls -lrt --time=ctime --full-time
> 
> to see the (more exact) time each file was moved into the directory.

Interesting idea. I'll think about that, thanks.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Kenny Gow
On 01/30/2018 06:01 AM, Patrick O'Callaghan wrote:
> $ ls -l
> total 7388
> -rwxr--r--. 1 poc poc 1036281 Jan 29 11:38 20180129113839_01.jpg
> -rwxr--r--. 1 poc poc 1183695 Jan 29 11:38 20180129113839_02.jpg
> -rwxr--r--. 1 poc poc 1133299 Jan 29 11:38 20180129113839_03.jpg
> -rwxr--r--. 1 poc poc 1066885 Jan 29 11:38 20180129113839_04.jpg
> -rwxr--r--. 1 poc poc  879477 Jan 29 11:38 20180129113839_05.jpg
> -rwxr--r--. 1 poc poc 1247414 Jan 29 11:38 20180129113839_06.jpg
> -rwxr--r--. 1 poc poc 1008515 Jan 29 11:38 20180129113839_07.jpg
> 
> The filenames are generated from the scanning software (a commercial
> program running on a Windows VM, and beyond any possibility of
> modifying). Clearly these names are just timestamps plus a sequence
> number and represent the order the slides were scanned. Adding another
> index number via the Shell script isn't going to change this sequence.
> 
In the staging directory, try running

$ ls -lrt --time=ctime

to order the list by the time each image was put into the directory.
'ctime' is the key. I use this all the time to see the latest
new files in a directory, in time order.

You can also run

$ ls -lrt --time=ctime --full-time

to see the (more exact) time each file was moved into the directory.

K
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Richard Shaw
>From what I could tell searching google, you best bet is to plug in the
info you need into the EXIF data and then rename the files based on the
EXIF data.

I've never used this before but it only took me about 10 minutes to package:

https://hobbes1069.fedorapeople.org/Photini-2017.12.0-1.fc27.noarch.rpm

If someone finds it useful (for this or in general) I may be willing to
submit a review request to include it in Fedora.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: any reliable recipe for full install for hyperledger development?

2018-01-30 Thread Jonny Heggheim
Hi Robert.


On 01/30/2018 01:57 PM, Robert P. J. Day wrote:
> so i just tried to follow along but i am by no means a node.js expert,
> and when i tried to install composer-cli with "npm" globally:
>
>   $ sudo npm install -g composer-cli

I like to use nvm https://github.com/creationix/nvm when developing with
Node on Fedora.
I do not like to have npm overwrite or change system files, with nvm it
will install all global modules into my home folder.


Jonny



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


re: node.js, am i safe to delete nodejs, npm and node_modules/?

2018-01-30 Thread Robert P. J. Day

  followup to last query, since i have never *knowingly* done anything
with nodejs, i'm wondering how safe i am to try to wipe every trace of
it from my own fedora 27 system, then re-install.

  first, it *appears* that from a package perspective, no other
*packages* appear to depend on nodejs other than the npm management
package:

  $ rpm -q --whatrequires nodejs
  npm-5.6.0-1.8.9.4.2.fc27.x86_64
  $ rpm -q --whatrequires npm
  no package requires npm
  $

which suggests i can remove those two.

  as for what i just installed with "npm", i tried both a local and a
global ("-g") install with npm, and the end result appeared to be
simply dumping content into a "node_modules/" directory, either in my
current directory or under /usr/lib. and there are also new
directories in my home directory, .npm/ and .node-gyp. am i safe to
just remove all of the above to pretend none of this ever happened?

  thanks muchly.

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


any reliable recipe for full install for hyperledger development?

2018-01-30 Thread Robert P. J. Day

  fedora-using colleague just asked me how easy it would be to install
everything necessary to start playing with linux foundation's
hyperledger (blockchain), apparently including hyperledger fabric and
composer, and whatever else can be crammed onto a fully-updated fedora
27 system.

  i poked around, found this:

https://hyperledger.github.io/composer/installing/installing-index

so i just tried to follow along but i am by no means a node.js expert,
and when i tried to install composer-cli with "npm" globally:

  $ sudo npm install -g composer-cli

i get various warnings about deprecated modules, about a bazillion
warnings that i have no permission ...

  "to access the dev dir
/usr/lib/node_modules/composer-rest-server/node_modules/pkcs11js/.node-gyp/8.9.4"

and warnings like:

  "ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is
   installed. You must install peer dependencies yourself"

which makes me nervous that i have no freaking clue what i'm doing
here, and have no idea which warnings are significant and which
aren't.

  i'm sure i can tease all this out eventually, but has anyone already
gone through this exercise and written it up somewhere?

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Tim
Allegedly, on or about 30 January 2018, Patrick O'Callaghan sent:
> is in principal a very simple requirement: the files were scanned in
> a certain order, but I want to reorder them in the sequence the shots
> were actually taken. This has to be manual because the files have no
> EXIF information.

Find an EXIF editor, insert some basic meta data by hand?

At some stage you are probably want to going to edit metadata, to add
personal information (names, places, etc.) to images, rather than just
a series of numbered images.

I went through this pain, years ago, while taking photos at our state
fair over ten years (and the last one had 650 photos).  Having to name
the people in photos, what the photo was about, etc.  And while many
will say that the best place for meta data is in an external file, I
disagree.  The only way metadata will stay with a picture, as it gets
moved and copied about, is when it's incorporated into it.

I was using Gthumb, and I dabbled with shotwell, at some stage, to do
that kind of thing.  But I seem to recall it stored meta data in its
own system, separate from the images.

I can't recall which program, but you could select a batch of images,
give them all the same metadata (such as a common location).  Then
select individual images, customising them.  I can't remember if I
could select some of the prior batch and give them some extra common
metadata without losing prior metadata, though.

In essence, you're creating a database, and that's probably the best
way to approach it.  Surely there's some photography database software?

-- 
[tim@localhost ~]$ uname -rsvp
Linux 4.14.13-200.fc26.x86_64 #1 SMP Thu Jan 11 05:43:34 UTC 2018 x86_64

Boilerplate:  All mail to my mailbox is automatically deleted.
There is no point trying to privately email me, I only get to see
the messages posted to the mailing list.

Using Windows software is like coating all your handtools with sewage.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Patrick O'Callaghan
On Tue, 2018-01-30 at 20:53 +1100, Cameron Simpson wrote:
>   cd your-staging-directory
>   n=1
>   while :
>   do
> for f in *.jpg
> do
>   [ -s "$f" ] || continue
>   while :
>   do
> target=$( printf 'your-ordered-directory/%05d-%s' "$n" "$f" )
> [ -e "$target" ] || break
> n=$((n+1))
>   done
>   mv "$f" "$target"
> done
> sleep 1
>   done
> 
> That does a "mv", so give it a good test on copies first to avoid it eating 
> your files!

On second thoughts, I don't think this is going to work:

> Then just drag images into the staging directory in the right order and the 
> shell script will move them into the ordered directory with nice numeric 
> prefixes.

Dragging the files 'in the right order' doesn't affect their names. The
script loops over the files in lexical order, not in the order I've
dragged them, so the final order won't change. To be clearer, this is
an example directory listing:

$ ls -l
total 7388
-rwxr--r--. 1 poc poc 1036281 Jan 29 11:38 20180129113839_01.jpg
-rwxr--r--. 1 poc poc 1183695 Jan 29 11:38 20180129113839_02.jpg
-rwxr--r--. 1 poc poc 1133299 Jan 29 11:38 20180129113839_03.jpg
-rwxr--r--. 1 poc poc 1066885 Jan 29 11:38 20180129113839_04.jpg
-rwxr--r--. 1 poc poc  879477 Jan 29 11:38 20180129113839_05.jpg
-rwxr--r--. 1 poc poc 1247414 Jan 29 11:38 20180129113839_06.jpg
-rwxr--r--. 1 poc poc 1008515 Jan 29 11:38 20180129113839_07.jpg

The filenames are generated from the scanning software (a commercial
program running on a Windows VM, and beyond any possibility of
modifying). Clearly these names are just timestamps plus a sequence
number and represent the order the slides were scanned. Adding another
index number via the Shell script isn't going to change this sequence.

Currently the only recourse (apart from renaming each file manually) is
to upload the slides to the gallery (Google Drive) one by one in the
order I want. The gallery will then preserve that order. The problem is
that there are thousands of them (not completely random but organised
in boxes, which may have been shuffled over the years). What I'd prefer
to do is to at least order each box locally and then do a per-box
upload to the gallery.

Sorry if I wasn't clear enough in my initial post.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


[389-users] 389ds on lxc debian

2018-01-30 Thread Angel Bosch Mora
hi,

I'm trying to install 1.1.43-1+b1 package on lxc with debian 9 and I get this 
error:


invoke-rc.d: initscript dirsrv-admin, action "start" failed.
● dirsrv-admin.service - 389 Administration Server.
   Loaded: loaded (/lib/systemd/system/dirsrv-admin.service; disabled; vendor 
preset: enabled)
   Active: failed (Result: exit-code) since Tue 2018-01-30 12:32:36 CET; 6ms ago
  Process: 15226 ExecStart=/usr/sbin/apache2 -k start -f 
/etc/dirsrv/admin-serv/httpd.conf (code=exited, status=1/FAILURE)

gen 30 12:32:35 Jafar systemd[1]: dirsrv-admin.service: Failed to reset 
devices.list: Operation not permitted
gen 30 12:32:35 Jafar systemd[1]: Starting 389 Administration Server
gen 30 12:32:36 Jafar systemd[1]: dirsrv-admin.service: Control process exited, 
code=exited status=1
gen 30 12:32:36 Jafar systemd[1]: Failed to start 389 Administration Server..
gen 30 12:32:36 Jafar systemd[1]: dirsrv-admin.service: Unit entered failed 
state.
gen 30 12:32:36 Jafar systemd[1]: dirsrv-admin.service: Failed with result 
'exit-code'.


it seems a problema about lxc privileges.

is there anyone running 389 with lxc?

regards,

abosch
-- Institut Mallorquí d'Afers Socials. Aquest missatge, i si escau, qualsevol 
fitxer annex, es dirigeix exclusivament a la persona que n'és destinatària i 
pot contenir informació confidencial. En cap cas no heu de copiar aquest 
missatge ni lliurar-lo a terceres persones sense permís exprés de l'IMAS. Si no 
sou la persona destinatària que s'hi indica (o la responsable de lliurar-l'hi) 
us demanam que ho notifiqueu immediatament a l'adreça electrònica de la persona 
remitent.
-- Abans d'imprimir aquest missatge, pensau si és realment necessari.
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Patrick O'Callaghan
On Tue, 2018-01-30 at 20:53 +1100, Cameron Simpson wrote:
> On 29Jan2018 12:35, Patrick O'Callaghan  wrote:
> > On Mon, 2018-01-29 at 12:27 +, Patrick O'Callaghan wrote:
> > > Looking for some advice here. I have a large set of old slides
> > > (transparencies) which I'm currently scanning for the family, but of
> > > course many of them are out of order. Clearly they don't have EXIF
> > > information (they were taken in the 70s and 80s). I'm looking for a way
> > > to order them *visually* after scanning, but the usual apps (Digikam,
> > > Shotwell, Lightroom) don't seem to be able to do this. They only
> > > understand machine-readable sorting, e.g. by the file mod date, size,
> > > exposure data etc., none of which is useful in this case.
> > 
> > To be clear: my target is to be able to open a set of files, then drag
> > and drop thumbnails into the right order, then generate new filenames
> > for them with an index number for further batch processing.
> 
> How about a low tech approach? Open your favourite GUI directory browser 
> capable of showing thumbnails. Open it on your directories of unsorted 
> images.  
> Make another directory "staging" and "ordered" somewhere.
> 
> Run a small shell script like this (untested, but happy to help debug):
> 
>   cd your-staging-directory
>   n=1
>   while :
>   do
> for f in *.jpg
> do
>   [ -s "$f" ] || continue
>   while :
>   do
> target=$( printf 'your-ordered-directory/%05d-%s' "$n" "$f" )
> [ -e "$target" ] || break
> n=$((n+1))
>   done
>   mv "$f" "$target"
> done
> sleep 1
>   done
> 
> That does a "mv", so give it a good test on copies first to avoid it eating 
> your files!
> 
> Then just drag images into the staging directory in the right order and the 
> shell script will move them into the ordered directory with nice numeric 
> prefixes.
> 
> You might want to presage this with a manual presort of groups of images into 
> obvious collections (family, events, what have you), then to drag those into 
> the staging directory in the desired order.

This is much more on the lines of what I'm thinking of (and I'd even
started to imagine how to do it :-) so thanks for the effort. I'll
certainly look into it.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Patrick O'Callaghan
On Tue, 2018-01-30 at 08:20 +1100, Stephen Morris wrote:
> On 30/1/18 12:22 am, Patrick O'Callaghan wrote:
> > On Mon, 2018-01-29 at 07:49 -0500, William Oliver wrote:
> > > On Mon, 2018-01-29 at 12:27 +, Patrick O'Callaghan wrote:
> > > > Looking for some advice here. I have a large set of old slides
> > > > (transparencies) which I'm currently scanning for the family, but of
> > > > course many of them are out of order. Clearly they don't have EXIF
> > > > information (they were taken in the 70s and 80s). I'm looking for a
> > > > way
> > > > to order them *visually* after scanning, but the usual apps (Digikam,
> > > > Shotwell, Lightroom) don't seem to be able to do this. They only
> > > > understand machine-readable sorting, e.g. by the file mod date, size,
> > > > exposure data etc., none of which is useful in this case.
> > > > 
> > > > Any ideas?
> > > > 
> > > > poc
> > > 
> > > I think the buzzword for searching for software is "gallery," and
> > > most of them are web-based.  I use pwigo (www.pwigo.orgorg ), which has a
> > > manual sort option (though you have to dig in a little to find it).
> > 
> > It's actually piwigo, but thanks. I'll take a look.
> > 
> > > But if you're not serving a web page somewhere, I don't know.  There's
> > > always the Wikipedia page to sort through, I guess, though I don't find
> > > that useful as often as I hope:  https://en.wikipedia.org/wiki/Comparis
> > > on_of_photo_gallery_software
> > 
> > I'm already using Google Photos, which I suppose counts as a gallery,
> > but it can get a bit slow when dealing with large batches so I
> > generally use it for sharing the final results. My idea was to find a
> > tool to process photos locally before uploading them. I'll check out
> > that Wikipedia page in any case.
> 
> I do most of my photo editing with Photoshop Elements/Organiser in 
> Windows, which potentially has the capability you are looking for 
> particularly via organiser, but I'm not sure of the graphic quality if 
> running it from a VM (when I tried in the past I wasn't able to get it 
> to install and work under wine). I haven't played around much with 
> similar photo editing tools under Linux, but I'm wondering if 
> 'Rawtherapee' or 'DarkTable' have the functionality you are looking for? 
> If I remember correctly, both packages are in the Fedora repositories.

Neither of these is really what I'm looking for. They have lots of
tools for image manipulation, which might be useful at a later stage,
but don't address the question of just manually ordering the files.
Possibly they could be arm-twisted into doing this by means of copying,
 as could Digikam, Shotwell etc., but it's a lot of overkill for what
is in principal a very simple requirement: the files were scanned in a
certain order, but I want to reorder them in the sequence the shots
were actually taken. This has to be manual because the files have no
EXIF information. I appreciate that this is a rather specific
requirement so I'm not that surprised that it isn't supported.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Watchdog timer and slow shutdown

2018-01-30 Thread Patrick O'Callaghan
On Tue, 2018-01-30 at 06:01 +0800, Ed Greshko wrote:
> On 01/30/18 04:17, Patrick O'Callaghan wrote:
> > I don't think that's it. If they're being killed after a watchdog
> > timout then they are responding to a signal.
> 
> 
> But, maybe they are not being gracefully killed off after the timeout?   
> Maybe the
> timeout is "Oh, screw it. Let's reboot/power-off anyway".

Possibly. I'll try and monitor the '-D' status next time.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Epson XP-860: available printer driver won't print in duplex

2018-01-30 Thread Ed Greshko
On 01/30/18 19:13, Temlakos wrote:
> On 01/29/2018 10:52 PM, Ed Greshko wrote:
>> On 01/30/18 11:27, Temlakos wrote:
>>> Recently I bought an Epson XP-860, to replace the XP-810 that finally quit 
>>> on me
>>> after many long years of service.
>>>
>>> But when I went to install a printer driver, I found that duplex printing 
>>> is simply
>>> not available.
>>>
>>> It might or might not be significant that the recommended printer drivers 
>>> are Epson
>>> XP-820 CUPS/Gutenprint drivers, regular and simplified.
>>>
>>> I tried installing the Epson Printer Utility from the Epson site. But that 
>>> doesn't
>>> seem to do anything to make full duplex available.
>>
>> You installed epson-inkjet-printer-escpr?
>>
>
> No, that I did not. Should I? What configuration options should I specify?
>
>

Yes, I believe you should.  And when you configure the driver you should 
specify  the
ppd file Epson-XP-860_Series-epson-escpr-en.ppd.gz.


-- 
A motto of mine is: When in doubt, try it out



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Epson XP-860: available printer driver won't print in duplex

2018-01-30 Thread Temlakos

On 01/29/2018 10:52 PM, Ed Greshko wrote:

On 01/30/18 11:27, Temlakos wrote:

Recently I bought an Epson XP-860, to replace the XP-810 that finally quit on me
after many long years of service.

But when I went to install a printer driver, I found that duplex printing is 
simply
not available.

It might or might not be significant that the recommended printer drivers are 
Epson
XP-820 CUPS/Gutenprint drivers, regular and simplified.

I tried installing the Epson Printer Utility from the Epson site. But that 
doesn't
seem to do anything to make full duplex available.


You installed epson-inkjet-printer-escpr?



No, that I did not. Should I? What configuration options should I specify?

Temlakos
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Fedora27: NFS v4 terrible write performance

2018-01-30 Thread Ed Greshko
On 01/30/18 14:10, Terry Barnaby wrote:
Oh and, BTW, you should probably google "nfs performance many small files".

-- 
A motto of mine is: When in doubt, try it out



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Organising photos visually

2018-01-30 Thread Cameron Simpson

On 29Jan2018 12:35, Patrick O'Callaghan  wrote:

On Mon, 2018-01-29 at 12:27 +, Patrick O'Callaghan wrote:

Looking for some advice here. I have a large set of old slides
(transparencies) which I'm currently scanning for the family, but of
course many of them are out of order. Clearly they don't have EXIF
information (they were taken in the 70s and 80s). I'm looking for a way
to order them *visually* after scanning, but the usual apps (Digikam,
Shotwell, Lightroom) don't seem to be able to do this. They only
understand machine-readable sorting, e.g. by the file mod date, size,
exposure data etc., none of which is useful in this case.


To be clear: my target is to be able to open a set of files, then drag
and drop thumbnails into the right order, then generate new filenames
for them with an index number for further batch processing.


How about a low tech approach? Open your favourite GUI directory browser 
capable of showing thumbnails. Open it on your directories of unsorted images.  
Make another directory "staging" and "ordered" somewhere.


Run a small shell script like this (untested, but happy to help debug):

 cd your-staging-directory
 n=1
 while :
 do
   for f in *.jpg
   do
 [ -s "$f" ] || continue
 while :
 do
   target=$( printf 'your-ordered-directory/%05d-%s' "$n" "$f" )
   [ -e "$target" ] || break
   n=$((n+1))
 done
 mv "$f" "$target"
   done
   sleep 1
 done

That does a "mv", so give it a good test on copies first to avoid it eating 
your files!


Then just drag images into the staging directory in the right order and the 
shell script will move them into the ordered directory with nice numeric 
prefixes.


You might want to presage this with a manual presort of groups of images into 
obvious collections (family, events, what have you), then to drag those into 
the staging directory in the desired order.


Cheers,
Cameron Simpson  (formerly c...@zip.com.au)
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Mesa >= 17.2.4 for F27?

2018-01-30 Thread Clemens Eisserer
Hi Metthew,

> Is there a specific issue you need addressed? That's generally more
> useful than updates for updates' sake.

Well, actually I do: https://bugs.freedesktop.org/show_bug.cgi?id=102435

But in general, what is the benefit of not shipping bugfix updates of
core-desktop packages such as Mesa when available?
I understand the hestitation of upgrading to a new major version which
might break things, but bugfix-updates ...

However in regard to Fedora's current mesa update stratary, I don't
see any clear pattern anyway:
Typically one update is issued per major mesa release (most time
arround x.x.2-x.x.4) and fedora stays there until the next major
release (typially when people start asking and complaining for
updates).

Best regards, Clemens
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org