Re: Working! - Re: user crontab

2020-05-07 Thread Jon LaBadie
On Fri, May 08, 2020 at 09:57:33AM +1000, Cameron Simpson wrote:
> On 07May2020 15:01, Robert Moskowitz  wrote:
> > /ustr/sbin/mycron:
> > #!/bin/sh
> > 
> > currentDate="$(date +'%a %b %d %T %Y')"
> > echo "From cron@localhost  "$currentDate >> /var/spool/mail/$USER
> 
> Put $currentDate inside the quotes. With echo it is less of an issue, but
> for many other commands you should exert more control over strings.  So as a
> matter of practice:
> 
>echo "From cron@localhost $currentDate"
> 
> If nothing else it prevents filename expansion happening to the value of
> $currentDate. (Not that that will happen with the date format chosen, but
> again, as a general practice in scripting.)
> 
In my mail files each message is followed by a blank line
before the next "From_" line.  Is that a requirement of
mbox format?  If so, it may be necessary to add it to
the crontab output.

Jon
-- 
Jon H. LaBadie  jo...@jgcomp.com
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread Tim via users
Tim:
>> When you're installing a system, Anaconda gives you the chance to
>> manually configure some network details *for* the installation
>> routine to use during installation.  These settings are temporary,
>> they don't write a configuration for the installed system to use,
>> later on.  And if you're on a network with a DHCP server that will
>> automatically assign working addresses, you don't have to do
>> anything at this point, the DHCP system will set things up for you.
>>
>> During first boot of the installed system, you're given a chance to
>> manually control network settings for the newly installed system.


John M. Harris Jr:
> Odd, I don't think that's ever been the case before. I might be
> thinking of RHEL/CentOS. I don't use DHCP, but I've never had to do
> any manual configuration afterwards..

I've been using Fedora since before it was Fedora, and CentOS since I
don't know when (several years), it's always been the way I described
it.  At first I couldn't figure out why, after carefully configuring
network settings when starting off the the installation, the settings
weren't what I expected them to be.  But it didn't take long to find
out that they were only used by the installer routine for itself.

What's your network comprised of?

In the absense of DHCP, there's autoconfig, where each device randomly
picks an IP out of the link-local 169.254.0.0 to 169.254.255.255 range
of addresses, checks to see if it's not already use, then adopts it, or
cycles through picking another until it finds one that's free.

And if your PC was a solo computer on no LAN, it would do that, too. 
As well as simply using 127.0.0.1 as itself.

-- 
 
uname -rsvp
Linux 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: user crontab

2020-05-07 Thread Tim via users
On Thu, 2020-05-07 at 09:09 -0500, Roger Heflin wrote:
> In general if you set up the cronjobs to redirect stdout and stderr
> to a file then typically there is nothing to email.

Just thinking out loud:  If your scripts generate their own logs, you
see the results of your scripts.  But if cron generates its logs, you
see the results of cron executing your scripts.  Might there be a
difference beyond the obvious of knowing it was run by cron?
 
-- 
 
uname -rsvp
Linux 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread Ed Greshko
On 2020-05-08 12:43, Samuel Sieb wrote:
> On 5/7/20 9:30 PM, John M. Harris Jr wrote:
>> On Wednesday, May 6, 2020 11:43:59 PM MST Tim via users wrote:
>>> During first boot of the installed system, you're given a chance to
>>> manually control network settings for the newly installed system.
>>
>> Odd, I don't think that's ever been the case before. I might be thinking of
>> RHEL/CentOS. I don't use DHCP, but I've never had to do any manual
>> configuration afterwards..
>
> If you don't create a user during the install, then there's a firstboot 
> process that runs to let you create one.  I think the wifi config can be done 
> at that point as well.  Ethernet is either automatic or whatever was set 
> during the install.  I've never setup or changed anything, so I can't say 
> which way it is.  (So I might have been wrong about the installer not setting 
> the network config.)

The "issue" of setting up a network on a new install hasn't affected me at all. 
 So, I've not committed to
memory the variations depending on the spin.  So, this may well be inaccurate.

Workstation Live Install - No options to configure the network or hostname.  
The wired network
will be on and functional with DHCP.  Best know how to change hostname after 
the install.

KDE Live Install - No optons to configure the network, but you can set a 
hostname.  You can also set password
for root and configure a user with a UID and GID of your choice as well as 
assign the user to the wheel
group.

Netinstall Everything - You can configure the network fully, including a Wifi 
connection.  Not sure how
user creation is taken care of.  Haven't done this type of install in a while.  
Something to do this afternoon?

-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: F32 - terrible background

2020-05-07 Thread jarmo
Thu, 7 May 2020 22:25:14 -0600
Joe Zeff  kirjoitti:

> They wouldn't like my answer as I never use the provided wallpapers, 
> preferring to have my desktop rotate among a selection of wallpapers 
> I've collected.

Anyway, it's only eyecandy, not matter of life. No effect
to deep waters.. :)

Jarmo
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread Samuel Sieb

On 5/7/20 9:30 PM, John M. Harris Jr wrote:

On Wednesday, May 6, 2020 11:43:59 PM MST Tim via users wrote:

During first boot of the installed system, you're given a chance to
manually control network settings for the newly installed system.


Odd, I don't think that's ever been the case before. I might be thinking of
RHEL/CentOS. I don't use DHCP, but I've never had to do any manual
configuration afterwards..


If you don't create a user during the install, then there's a firstboot 
process that runs to let you create one.  I think the wifi config can be 
done at that point as well.  Ethernet is either automatic or whatever 
was set during the install.  I've never setup or changed anything, so I 
can't say which way it is.  (So I might have been wrong about the 
installer not setting the network config.)

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: F32 - terrible background

2020-05-07 Thread Samuel Sieb

On 5/7/20 7:51 PM, jarmo wrote:

Thu, 7 May 2020 10:34:47 -0700
Samuel Sieb  kirjoitti:



If you do it that way, the next update will reset it and you will
lose your picture.


If I have symlink to picture, I doupt, I loose
picture, maybe only symlink.


If it's a symlink, then yes, it would just change your background to the 
default, but there was also a suggestion to replace the default file 
with a different picture which would be replaced.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread John M. Harris Jr
On Wednesday, May 6, 2020 11:43:59 PM MST Tim via users wrote:
> On Wed, 2020-05-06 at 15:42 -0700, John M. Harris Jr wrote:
> 
> > Apparently, nothing.. "no such connection profile". That's pretty
> > odd, this was configured using NetworkManager in the Anaconda GUI.
> 
> 
> When you're installing a system, Anaconda gives you the chance to
> manually configure some network details *for* the installation routine
> to use during installation.  These settings are temporary, they don't
> write a configuration for the installed system to use, later on.  And
> if you're on a network with a DHCP server that will automatically
> assign working addresses, you don't have to do anything at this point,
> the DHCP system will set things up for you.
> 
> During first boot of the installed system, you're given a chance to
> manually control network settings for the newly installed system.
>  
> -- 
>  
> uname -rsvp
> Linux 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64
>  
> Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
> I will only get to see the messages that are posted to the mailing list.

Odd, I don't think that's ever been the case before. I might be thinking of 
RHEL/CentOS. I don't use DHCP, but I've never had to do any manual 
configuration afterwards..


-- 
John M. Harris, Jr.
Splentity

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: F32 - terrible background

2020-05-07 Thread Joe Zeff

On 05/07/2020 08:51 PM, jarmo wrote:

Maybe there should be somekind of poll, before new release
let users tell, how much they like?
To me, as long as there is NOT wincrab wallpaper, I'm happy.


They wouldn't like my answer as I never use the provided wallpapers, 
preferring to have my desktop rotate among a selection of wallpapers 
I've collected.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: F32 - terrible background

2020-05-07 Thread jarmo
Thu, 7 May 2020 10:34:47 -0700
Samuel Sieb  kirjoitti:


> If you do it that way, the next update will reset it and you will
> lose your picture.

If I have symlink to picture, I doupt, I loose
picture, maybe only symlink.

Maybe there should be somekind of poll, before new release
let users tell, how much they like?
To me, as long as there is NOT wincrab wallpaper, I'm happy.

Jarmo
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Pigdin account config files

2020-05-07 Thread Mauricio Tavares
On Thu, May 7, 2020, 11:58 Robert Moskowitz  wrote:

> Where does Pigdin keep the accounts for a user?
>
> I need Pigdin for IETF jabber rooms.  I have it all set up on my old F30
> system, and now need to migrate that information over to my new F32 system.
>
> I cannot find anything as simple as ~/.pigdin
>
> So perhaps someone here knows where to look...
>
> thanks
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


~/.purple/{accounts,blist}.xml

>
>
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


[389-users] Re: replication problems

2020-05-07 Thread William Brown

Is this a development/debug build? Do you have a reproducer? It would be 
interesting to run this under ASAN ...

> On 7 May 2020, at 22:31, Alberto Viana  wrote:
> 
> William,
> 
> Here's:
> Assertion failure: (vs->sorted == NULL) || (vs->num < 
> VALUESET_ARRAY_SORT_THRESHOLD) || ((vs->num >= VALUESET_ARRAY_SORT_THRESHOLD) 
> && (vs->sorted[0] < vs->num)), at ldap/servers/slapd/valueset.c:471
> Thread 17 "ns-slapd" received signal SIGABRT, Aborted.
> [Switching to Thread 0x7fffbbfff700 (LWP 13431)]
> 0x7455399f in raise () from /lib64/libc.so.6
> (gdb) frame 3
> #3  0x77b71627 in slapi_valueset_done (vs=0x7fffb0022aa8) at 
> ldap/servers/slapd/valueset.c:471
> 471PR_ASSERT((vs->sorted == NULL) || (vs->num < 
> VALUESET_ARRAY_SORT_THRESHOLD) || ((vs->num >= VALUESET_ARRAY_SORT_THRESHOLD) 
> && (vs->sorted[0] < vs->num)));
> (gdb) print vs->sorted@21
> $1 = {0x7fffb0023ad0, 0x7fffb0022b50, 0x4, 0x6c7e80, 0x0, 0x0, 0x0, 0x0, 0x0, 
> 0x7fffb0023c00, 0x7fffb00247c0, 0x0, 0x0, 0x0, 0x25, 0x664f7265626d656d, 0x0, 
> 0x0, 0x115, 0x0, 0x0}
> 
> Thanks
> 
> Alberto Viana
> 
> On Wed, May 6, 2020 at 11:38 PM William Brown  wrote:
> 
> 
> > On 6 May 2020, at 22:40, Alberto Viana  wrote:
> > 
> > William,
> > 
> > Here's:
> > 
> > (gdb) frame 3
> > #3  0x77b71627 in slapi_valueset_done (vs=0x7fffac022aa8) at 
> > ldap/servers/slapd/valueset.c:471
> > 471PR_ASSERT((vs->sorted == NULL) || (vs->num < 
> > VALUESET_ARRAY_SORT_THRESHOLD) || ((vs->num >= 
> > VALUESET_ARRAY_SORT_THRESHOLD) && (vs->sorted[0] < vs->num)));
> > (gdb) print *vs->sorted@21
> > $1 = {18446744073709551615 }
> 
> Ahhh sorry, maybe it should be vs->sorted@21 (no *)
> 
> > 
> > Everything has been a quite chaotic to me too.
> > 
> > Thanks
> > 
> > Alberto Viana
> > 
> > On Tue, May 5, 2020 at 10:38 PM William Brown  wrote:
> > So reading these frames, it's likely that this is the assert condition 
> > failing:
> > 
> > (vs->num >= VALUESET_ARRAY_SORT_THRESHOLD) && (vs->sorted[0] < vs->num)
> > 
> > This is because vs->sorted exists, and vs->num >= threshhold (10), so as a 
> > result, this would indicate that vs->sorted[0] has a problem where it must 
> > be equal to or greater than vs->num.
> > 
> > Is is still possible to seethe content of the vs->sorted array? I think you 
> > could do:
> > 
> > frame 3
> > print *vs->sorted@21
> > 
> > Sorry about the delay in responding to this, things have been hectic for 
> > me. 
> > 
> > 
> > 
> > > On 29 Apr 2020, at 23:40, Alberto Viana  wrote:
> > > 
> > > William,
> > > 
> > > Here's:
> > > 
> > > Frame9:
> > > https://gist.github.com/albertocrj/87bf4a010bf2f7e1f97ef3ee72ee44df
> > > 
> > > Frame7:
> > > https://gist.github.com/albertocrj/840f15e5df10cad0e2977cd030abdba4
> > > 
> > > Frame6:
> > > https://gist.github.com/albertocrj/befb7144b86bc4af86b9a2e0be0293a1
> > > 
> > > Thank you
> > > 
> > > Alberto Viana
> > > 
> > > On Wed, Apr 22, 2020 at 11:09 PM William Brown  wrote:
> > > 
> > > 
> > > > On 23 Apr 2020, at 06:59, Alberto Viana  wrote:
> > > > 
> > > > Mark,
> > > > 
> > > > On frame 9:
> > > > 
> > > > It's go until p *mod->mod_bvalues[20]
> > > > 
> > > > (gdb)  p *mod->mod_bvalues[21]
> > > > Cannot access memory at address 0x0
> > > > 
> > > > On frame 7:
> > > > It's go until p *replacevals[20]
> > > > 
> > > > (gdb) p *replacevals[21]
> > > > Cannot access memory at address 0x0
> > > 
> > > Yep, but we need to see all the outputs from 0 -> 20 and 0 -> 21 
> > > respectively :) So copy paste the full out put please! Thanks for your 
> > > patience with this. 
> > > 
> > > > 
> > > > On frame 6:
> > > > (gdb) frame 6
> > > > #6  0x77ada6fa in entry_delete_present_values_wsi_multi_valued 
> > > > (e=0x7fff8401f500, type=0x7fff84012780 "memberOf", vals=0x0, 
> > > > csn=0x7fff967fb340, urp=8, mod_op=2, replacevals=0x7fff840127c0)
> > > > at ldap/servers/slapd/entrywsi.c:777
> > > > 777valueset_purge(a, >a_present_values, csn);
> > > > (gdb) print *a
> > > > $278 = {a_type = 0x7fff84022b30 "memberOf", a_present_values = {num = 
> > > > 21, max = 32, sorted = 0x7fff84023ad0, va = 0x7fff84022b50}, a_flags = 
> > > > 4, a_plugin = 0x6c7e80, a_deleted_values = {num = 0, max = 0,
> > > > sorted = 0x0, va = 0x0}, a_listtofree = 0x0, a_next = 
> > > > 0x7fff84023c00, a_deletioncsn = 0x7fff840247c0, a_mr_eq_plugin = 0x0, 
> > > > a_mr_ord_plugin = 0x0, a_mr_sub_plugin = 0x0}
> > > > (gdb) print *a->a_present_values
> > > > Structure has no component named operator*.
> > > > (gdb) print *a->a_present_values.va[0]
> > > > 
> > > > 
> > > > Thanks,
> > > > 
> > > > Alberto Viana
> > > > 
> > > > On Wed, Apr 22, 2020 at 4:57 PM Mark Reynolds  
> > > > wrote:
> > > > Goto frame 9 and start printing the mod:
> > > > 
> > > > (gdb) p *mod
> > > > 
> > > > (gdb) print i
> > > > 
> > > > (gdb) p *mod->mod_bvalues[0]
> > > > 
> > > > (gdb) p *mod->mod_bvalues[1]
> > > > 
> > > > ... Keep doing that unitl its NULL
> > > > 
> > > > 
> > > 

Re: Working! - Re: user crontab

2020-05-07 Thread Cameron Simpson

On 07May2020 15:01, Robert Moskowitz  wrote:

/ustr/sbin/mycron:
#!/bin/sh

currentDate="$(date +'%a %b %d %T %Y')"
echo "From cron@localhost  "$currentDate >> /var/spool/mail/$USER


Put $currentDate inside the quotes. With echo it is less of an issue, 
but for many other commands you should exert more control over strings.  
So as a matter of practice:


   echo "From cron@localhost $currentDate"

If nothing else it prevents filename expansion happening to the value of 
$currentDate. (Not that that will happen with the date format chosen, 
but again, as a general practice in scripting.)


Also:
[...]
It SEEMs that what I am missing is a FROM: line at the beginning that 
mutt can handle.  Perhaps something like:


From cron@localhost  Thu May 07 13:15:01 2020

Note no colon after 'From' and a timestamp


Note that that is _not_ a "From:" line. A "From:" line is a message 
header line strating with "From:". Like the "To:" and "Subject:" etc in 
most message headers.


What you're supplying is the "message envelope" delimiter line used in 
mbox files, which starts with "From ". It is often called a From_ line 
(note the trailing undescore) specificly to distinguish it in 
conversation from a message header line. It isn't part of the message, 
if it part of the mbox syntax delimiting messages.


Cheers,
Cameron Simpson 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: user crontab

2020-05-07 Thread Cameron Simpson

On 07May2020 12:43, Joe Zeff  wrote:

On 05/07/2020 08:04 AM, Robert Moskowitz wrote:

So all I need is a script at /usr/bin/mycron


Actually, you can put it wherever you want, including ~/bin, as long 
as you give the complete path.  /usr/bin may be the best place, but 
it's not the only place.  Just a thought.


I would use /usr/local/bin. /bin and /usr/bin are "owned" my the OS 
vendor (Fedora), and they might tread on your script in the future.  
/usr/local/bin is nicely out of the way, which still in the default 
$PATH.


Cheers,
Cameron Simpson 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: user crontab

2020-05-07 Thread Cameron Simpson

On 07May2020 07:38, Robert Moskowitz  wrote:

On 5/6/20 11:06 PM, Gordon Messmer wrote:
Technically, no.  If you only want to deliver the messages locally, 
then you only need an MDA, not an MTA.  In fact, you could just create 
/usr/sbin/sendmail as a simple shell script:


#!/bin/sh

(cat; echo) >> $HOME/cron-output


Now I am getting some place.  But I would want it to go to

/var/spool/mail/$USER

Also there is already a /usr/sbin/sendmail on the system.  I am 
concerned that if I replace it with your example, a later update will 
remove it.


Indeed. Find out what package owns it. "rpm -qf /usr/sbin/sendmail" used 
to be the go, not sure of the matching dnf or yum incantation.


I looked at man crontab.5 and did not see a way to specify the mail 
command to run for the cron output.


There isn't. It uses the "system mail", use _is_ /usr/sbin/sendmail.

And finally, how could I test this after setting it up instead of 
waiting for the scheduled time?


A 1 minute cron job?

* * * * * echo hello

Cheers,
Cameron Simpson 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


[389-users] Re: Replication error: network error 0

2020-05-07 Thread William Brown


> On 8 May 2020, at 03:09, Graham Leggett  wrote:
> 
> On 07 May 2020, at 18:51, Graham Leggett  wrote:
> 
>> I have two servers, an older CentOS7 server running 
>> 389-ds-base-1.3.10.1-5.el7, and a newer CentOS8 server running 
>> 389-ds-base-1.4.1.3-7.module_el8.1.0+234+96aec258, and I want to set up 
>> multi-master-replication between them.
>> 
>> The replication agreement for CentOS7-> CentOS8 works great, replication is 
>> working fine.
>> 
>> The replication agreement for CentOS8 -> CentOS7 doesn’t work, giving the 
>> following strange error:
>> 
>> [07/May/2020:18:42:59.201795217 +0200] - ERR - slapi_ldap_bind - Could not 
>> send bind request for id [cn=Replication Manager,cn=config] authentication 
>> mechanism [SIMPLE]: error -1 (Can't contact LDAP server), system error -5987 
>> (Invalid function argument.), network error 0 (Unknown error, host 
>> “x.x.x:636”)
>> 
>> At the core of the above message is "network error 0”, otherwise known as 
>> “success”.

It could be TLS min versions / max versions setting perhaps? But I think I'd 
want to see more detailed logging to be sure ... or even a packet capture of 
the handshake to see where that's failing. 

>> 
>> Does this ring a bell with anyone?
> 
> Some googling sees me unearth this worrying thread: 
> https://pagure.io/389-ds-base/issue/47536
> 
> Quite a while back I spent an enormous amount of debugging time on an Ubuntu 
> version of 389ds that refused point blank to replicate. We eventually 
> discovered an awful bug where 389ds had been bound to two competing SSL 
> libraries, GnuTLS and NSS, and 389ds was passing NSS parameters (directory 
> paths) to GnuTLS, which was silently failing and then eating error messages. 
> We concluded Ubuntu was too broken to fix in any reasonable time and moved 
> all LDAP servers to CentOS7, which worked.
> 
> Doing an ldd /usr/sbin/ns-slapd shows that on CentOS8 389ds is linked to both 
> NSS and OpenSSL, which looks worryingly like the same bug has crept into 
> CentOS8.

In the future there will be some openssl provided crypto opts for password 
hashing/enc, but no sockets are activated, and the symbol names are seperate so 
I think this may not be the cause. 

> 
> Anyone have any details?
> 
> Regards,
> Graham
> —
> 
> ___
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org

—
Sincerely,

William Brown

Senior Software Engineer, 389 Directory Server
SUSE Labs
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org


Re: Fedora 32 user rejected

2020-05-07 Thread Kevin Becker
I believe useradd with no parameters won’t create a home directory. I prefer 
adduser.

> On May 7, 2020, at 6:21 PM, Geoffrey Leach  wrote:
> 
> New installation of Fedora 32
> 
> Root login works
> 
> useradd foo
> passwd foo
> 
> work as expected; in particular the password is verified
> 
> "switch user" from the logout dropdown
> the new user is displayed, password accepted
> screen blacks and we're back to the login
> 
> If I use 'no password' for foo, I don't get a password prompt on the
> login page, but the behavior is the same.
> 
> Thoughts?
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: user crontab

2020-05-07 Thread Cameron Simpson

On 07May2020 09:25, Robert Moskowitz  wrote:
The bottom of that manual entry describes the "mta" setting, and 
says that esmtp relies on a local MTA for local delivery (addresses 
without an "@"). So you'll need something additional anyway. May as 
well go straight to a proper MTA.


And then, to my chagrin, I reread and see it provides example 
"mta" values like:


   /usr/bin/procmail -d %T

So you may be good there.


Would first have to install procmail for this.


Yes, or one of the other suggestions. You need a delivery agent of some 
kind.


It would be interesting to find a 'simple' python script to grab the 
cron output and 'make' an email and appended to the spool/mail


Someone has already posts a simple shell script for that purpose to this 
discussion.


I am finding things about python and email that is leading me down 
many roads.


First is how does CRON even send emails?  The MAILTO option triggers 
where to send email, but what is the how?  What is CRON using to grab 
its output and stuff that into what emailer program?


Cron collects the command output and if not empty feeds it to 
"/usr/sbin/sendmail -oi "$MAILTO"". So your need to intercept that.  
installing an MTA installs a sendmail executable.


Cheers,
Cameron Simpson 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Fedora 32 user rejected

2020-05-07 Thread Geoffrey Leach
New installation of Fedora 32

Root login works

useradd foo
passwd foo

work as expected; in particular the password is verified

"switch user" from the logout dropdown
the new user is displayed, password accepted
screen blacks and we're back to the login

If I use 'no password' for foo, I don't get a password prompt on the
login page, but the behavior is the same.

Thoughts?
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Working now - Re: Pigdin account config files

2020-05-07 Thread Robert Moskowitz

Perhaps I did not fully shut it down when I installed the purple rpms.

Anyway working.  thanks for the help, and I updated my notes for next year!



On 5/7/20 5:10 PM, Robert Moskowitz wrote:



On 5/7/20 4:43 PM, Jonathan Billings wrote:

On May 7, 2020, at 15:26, Robert Moskowitz  wrote:




On 5/7/20 3:14 PM, Robert Moskowitz wrote:
I moved ~/.purple over

It is starting up a little better, but it is not showing my 
account.  So there is something more than just copying

My account is in  ~/.purple/accounts.xml

But when I start pigdin it says no accounts and when I to into 
account manager, it shows nothing there,,,
You might be missing the pidgin and libpurple service account 
package.  For example, for Google Hangouts, you need the 
pidgin-hangouts and purple-hangouts packages.


I went back to my old system and looked into my install history in 
dnf.rpm.log*


And I see I installed a purple-plugin_pack-pigdin* back when I was 
setting this up.


I installed those (nothing else installed other than the same 
dependencies) and still not working...


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Pigdin account config files

2020-05-07 Thread Robert Moskowitz



On 5/7/20 4:43 PM, Jonathan Billings wrote:

On May 7, 2020, at 15:26, Robert Moskowitz  wrote:




On 5/7/20 3:14 PM, Robert Moskowitz wrote:
I moved ~/.purple over

It is starting up a little better, but it is not showing my account.  So there 
is something more than just copying

My account is in  ~/.purple/accounts.xml

But when I start pigdin it says no accounts and when I to into account manager, 
it shows nothing there,,,

You might be missing the pidgin and libpurple service account package.  For 
example, for Google Hangouts, you need the pidgin-hangouts and purple-hangouts 
packages.


I went back to my old system and looked into my install history in 
dnf.rpm.log*


And I see I installed a purple-plugin_pack-pigdin* back when I was 
setting this up.


I installed those (nothing else installed other than the same 
dependencies) and still not working...


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: VDQ Thumb drive software

2020-05-07 Thread Jonathan Billings
On May 7, 2020, at 16:42, Beartooth  wrote:
>I'm pretty sure the Fedora machine I want to use to put something 
> onto a thumb drive doesn't have the thumb drive software installed to do 
> so. But I've searched dnfdragora up one side and down the other without 
> finding it. What is it called? Pretty please?

It’d be part of the kernel if it’s a USB Mass Storage device. You shouldn’t 
need to install anything.

Does `gnome-disks` see the device?

--
Jonathan Billings 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Pigdin account config files

2020-05-07 Thread Jonathan Billings
On May 7, 2020, at 15:26, Robert Moskowitz  wrote:
> 
> 
> 
>> On 5/7/20 3:14 PM, Robert Moskowitz wrote:
>> I moved ~/.purple over
>> 
>> It is starting up a little better, but it is not showing my account.  So 
>> there is something more than just copying
> 
> My account is in  ~/.purple/accounts.xml
> 
> But when I start pigdin it says no accounts and when I to into account 
> manager, it shows nothing there,,,

You might be missing the pidgin and libpurple service account package.  For 
example, for Google Hangouts, you need the pidgin-hangouts and purple-hangouts 
packages. 

--
Jonathan Billings 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: VDQ Thumb drive software

2020-05-07 Thread Samuel Sieb

On 5/7/20 1:41 PM, Beartooth wrote:

I'm pretty sure the Fedora machine I want to use to put something
onto a thumb drive doesn't have the thumb drive software installed to do
so. But I've searched dnfdragora up one side and down the other without
finding it. What is it called? Pretty please?


We'll need more info than that.  What do you want to put on the drive? 
I assume it's not the file manager that you're looking for. :-)

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


VDQ Thumb drive software

2020-05-07 Thread Beartooth

I'm pretty sure the Fedora machine I want to use to put something 
onto a thumb drive doesn't have the thumb drive software installed to do 
so. But I've searched dnfdragora up one side and down the other without 
finding it. What is it called? Pretty please?
-- 
Beartooth Staffwright, Not Quite Clueless Power User
Remember I know little (precious little!) of where up is.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: AMD GPU not used by Fedora 31

2020-05-07 Thread Samuel Sieb

On 5/7/20 12:47 PM, Sreyan Chakravarty wrote:

Does anyone know where the xorg.conf is located ?


It is generally not used now.


It is not in /etc/X11 in my system:

/etc/X11 $ ls

drwxr-xr-x. 2 root root 4096 Nov 25 20:50 xorg.conf.d


You can put snippets in there.

Where is the xorg.conf where I can force it to use my GPU like described 
in this post:


https://askubuntu.com/a/1056431


That page is about NVidia GPUs, not AMD.  And it is somewhat old 
information.


I still don't understand why you're spending so much effort on something 
that will be of little benefit or, more likely, no benefit or worse.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: AMD GPU not used by Fedora 31

2020-05-07 Thread Sreyan Chakravarty

Does anyone know where the xorg.conf is located ?

It is not in /etc/X11 in my system:

/etc/X11 $ ls

total 28
drwxr-xr-x. 2 root root 4096 Jul 25  2019 applnk
drwxr-xr-x. 2 root root 4096 Apr 13 16:46 fontpath.d
drwxr-xr-x. 5 root root 4096 Apr 13 17:37 xinit
-rw-r--r--. 1 root root  547 Jul 27  2019 Xmodmap
drwxr-xr-x. 2 root root 4096 Nov 25 20:50 xorg.conf.d
-rw-r--r--. 1 root root  493 Jul 27  2019 Xresources
drwxr-xr-x. 2 root root 4096 Apr 13 16:49 Xsession.d

I also tried doing a find with this command:

find / -type f -iname xorg.conf

But it only gave one response:

/etc/abrt/plugins/xorg.conf

Why is there an xorg.conf in the automatic bug reporting tool ? And is 
that the entire system. I don't think so.


Where is the xorg.conf where I can force it to use my GPU like described 
in this post:


https://askubuntu.com/a/1056431

Do I have to create the xorg.conf if not present?

--

Regards,
Sreyan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: F32 - terrible background

2020-05-07 Thread Joe Zeff

On 05/07/2020 11:34 AM, Samuel Sieb wrote:


If you do it that way, the next update will reset it and you will lose 
your picture.


I use Xfce, and set my background through the Desktop panel in Settings. 
 In fact, I have a whole bunch of images and let them rotate every five 
minutes because that's what I like.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Pigdin account config files

2020-05-07 Thread Robert Moskowitz



On 5/7/20 3:14 PM, Robert Moskowitz wrote:

I moved ~/.purple over

It is starting up a little better, but it is not showing my account.  
So there is something more than just copying


My account is in  ~/.purple/accounts.xml

But when I start pigdin it says no accounts and when I to into account 
manager, it shows nothing there,,,







On 5/7/20 3:02 PM, Robert Moskowitz wrote:



On 5/7/20 2:37 PM, Jonathan Billings wrote:

On Thu, May 07, 2020 at 11:57:55AM -0400, Robert Moskowitz wrote:

Where does Pigdin keep the accounts for a user?

I need Pigdin for IETF jabber rooms.  I have it all set up on my 
old F30
system, and now need to migrate that information over to my new F32 
system.


I cannot find anything as simple as ~/.pigdin

So perhaps someone here knows where to look...

Look in ~/.purple (libpurple is the library that Pidgin uses for its
account configuration).


Great!

that is easy to migrate...

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Why is SELinux blocking virt-manager from reading my qcow2 file ?

2020-05-07 Thread Sreyan Chakravarty


On 5/8/20 12:45 AM, Samuel Sieb wrote:
Ok, you didn't mention where you moved it to.  That is the correct 
location and the correct label, does it still cause errors? 



No it works fine. Thanks, I did not know about the restorecon command.

--
Regards,
Sreyan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Why is SELinux blocking virt-manager from reading my qcow2 file ?

2020-05-07 Thread Samuel Sieb

On 5/7/20 12:06 PM, Sreyan Chakravarty wrote:


On 5/7/20 11:52 PM, Samuel Sieb wrote:

It doesn't have the correct label, so run:
restorecon -v /var/lib/libvirt/images/Windows.10-disk001.qcow2


This is the security context now:

unconfined_u:object_r:svirt_home_t:s0 'Windows 10-disk001.qcow2'

I am running the image from:

/home/sreyan/.local/share/libvirt/images


Ok, you didn't mention where you moved it to.  That is the correct 
location and the correct label, does it still cause errors?

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Pigdin account config files

2020-05-07 Thread Robert Moskowitz

I moved ~/.purple over

It is starting up a little better, but it is not showing my account.  So 
there is something more than just copying




On 5/7/20 3:02 PM, Robert Moskowitz wrote:



On 5/7/20 2:37 PM, Jonathan Billings wrote:

On Thu, May 07, 2020 at 11:57:55AM -0400, Robert Moskowitz wrote:

Where does Pigdin keep the accounts for a user?

I need Pigdin for IETF jabber rooms.  I have it all set up on my old 
F30
system, and now need to migrate that information over to my new F32 
system.


I cannot find anything as simple as ~/.pigdin

So perhaps someone here knows where to look...

Look in ~/.purple (libpurple is the library that Pidgin uses for its
account configuration).


Great!

that is easy to migrate...

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Why is SELinux blocking virt-manager from reading my qcow2 file ?

2020-05-07 Thread Sreyan Chakravarty


On 5/7/20 11:52 PM, Samuel Sieb wrote:

It doesn't have the correct label, so run:
restorecon -v /var/lib/libvirt/images/Windows.10-disk001.qcow2


This is the security context now:

unconfined_u:object_r:svirt_home_t:s0 'Windows 10-disk001.qcow2'

I am running the image from:

/home/sreyan/.local/share/libvirt/images

--
Regards,
Sreyan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Pigdin account config files

2020-05-07 Thread Robert Moskowitz



On 5/7/20 2:37 PM, Jonathan Billings wrote:

On Thu, May 07, 2020 at 11:57:55AM -0400, Robert Moskowitz wrote:

Where does Pigdin keep the accounts for a user?

I need Pigdin for IETF jabber rooms.  I have it all set up on my old F30
system, and now need to migrate that information over to my new F32 system.

I cannot find anything as simple as ~/.pigdin

So perhaps someone here knows where to look...

Look in ~/.purple (libpurple is the library that Pidgin uses for its
account configuration).


Great!

that is easy to migrate...

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Working! - Re: user crontab

2020-05-07 Thread Robert Moskowitz

/ustr/sbin/mycron:

#!/bin/sh

currentDate="$(date +'%a %b %d %T %Y')"
echo "From cron@localhost  "$currentDate >> /var/spool/mail/$USER
(cat; echo) >> /var/spool/mail/$USER

/etc/sysconfig/crond:

# Settings for the CRON daemon.
# CRONDARGS= :  any extra command-line startup arguments for crond
CRONDARGS= -m "/usr/sbin/mycron"

And there you have your cron output going to the local mail store 
without a mailer.  View with mutt or other mbox viewer.


That date format is important...

Whew.


On 5/7/20 2:00 PM, Robert Moskowitz wrote:
I have dug a bit into mbox fomat and looked at one system that has 
some mail in root's mbox.


It SEEMs that what I am missing is a FROM: line at the beginning that 
mutt can handle.  Perhaps something like:


From cron@localhost  Thu May 07 13:15:01 2020

Note no colon after 'From' and a timestamp

How can I make a command to add to my script to create this? Meanwhile 
I keep digging.


thanks

On 5/7/20 1:24 PM, Robert Moskowitz wrote:

First I made a script at /usr/sbin/mycron

#!/bin/sh

(cat; echo) >> /var/spool/mail/$USER


Then I changed cat /etc/sysconfig/crond

# Settings for the CRON daemon.
# CRONDARGS= :  any extra command-line startup arguments for crond
CRONDARGS= -m "/usr/sbin/mycron"

And restarted crond

Next I changed my crontab with:

15 * * * * ls /home/rgm

I know have mail waiting in /var/spool/mail/rgm, but mutt can't 
process it.  So I am missing something in the format of mail in 
/var/spool/mail.  Can someone point me to the proper format?


What I have there from the cron of that ls is:

From: "(Cron Daemon)" 
To: rgm
Subject: Cron  ls /home/rgm
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 

arm
bin
data
Desktop
Documents
Downloads
Music
odds
Pictures
Public
r
rcd
Templates
test
tftpboot
uasca
Videos



On 5/7/20 10:04 AM, Robert Moskowitz wrote:



On 5/7/20 9:25 AM, Robert Moskowitz wrote:



On 5/7/20 7:48 AM, Robert Moskowitz wrote:



On 5/6/20 11:34 PM, Cameron Simpson wrote:

On 07May2020 13:19, Cameron Simpson  wrote:

On 06May2020 20:20, Robert Moskowitz  wrote:
I am reading up on esmtp which comes with the base install and 
seemingly no mta needed?


Anyway
https://linux.die.net/man/5/esmtprc

shows how to config for sending an email via esmtp to an mta, 
but not just local delivery...


The bottom of that manual entry describes the "mta" setting, and 
says that esmtp relies on a local MTA for local delivery 
(addresses without an "@"). So you'll need something additional 
anyway. May as well go straight to a proper MTA.


And then, to my chagrin, I reread and see it provides example 
"mta" values like:


   /usr/bin/procmail -d %T

So you may be good there.


Would first have to install procmail for this.

It would be interesting to find a 'simple' python script to grab 
the cron output and 'make' an email and appended to the spool/mail


I am finding things about python and email that is leading me down 
many roads.


First is how does CRON even send emails?  The MAILTO option 
triggers where to send email, but what is the how?  What is CRON 
using to grab its output and stuff that into what emailer program?


My digging is that CRON needs some email server installed, like 
postfix, before it will send emails of its stdout.  But where is 
this controlled so I can change it?


Ah, looking at man crond.5:

   -m This  option  allows  you  to specify a shell command 
to use for
  sending Cron mail output instead of using sendmail(8) 
This  com‐
  mand  must  accept a fully formatted mail message 
(with headers)
  on standard input and send it as a mail message to 
the  recipi‐
  ents  specified  in the mail headers. Specifying the 
string off

  (i.e., crond -m off) will disable the sending of mail.

So all I need is a script at /usr/bin/mycron

#!/bin/sh

something
something

So what do I put in the -m arg and in mycron so that this output 
gets appended to /var/spool/mail/MAILTO


?

Thanks

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 

Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread Samuel Sieb

On 5/7/20 9:08 AM, Tom H wrote:

On Thu, May 7, 2020 Tom Horsley  wrote:

On Wed, 06 May 2020 John M. Harris Jr wrote:


This solved it, thank you!


If that solved it, you may not actually be using NetworkManager.
I have no files at all in /etc/sysconfig/network-scripts after
configuring my network with just NetworkManager (it must
store the info somewhere, but I have no idea where).


Is it possible that "network-scripts" was in use in 31 and was
uninstalled with the upgrade to 32 without NM being enabled and
started?!


You should probably read the entire thread before replying to older 
messages.  He found that there actually were files in there.  Also, it 
doesn't matter if you have the "network-scripts" package or not, that is 
still the location for most network configs.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread Samuel Sieb

On 5/7/20 9:06 AM, Tom H wrote:

On Thu, May 7, 2020 at 12:21 AM Samuel Sieb  wrote:

On 5/6/20 3:10 PM, John M. Harris Jr wrote:

On Wednesday, May 6, 2020 2:50:27 PM MST Samuel Sieb wrote:


Are you using NetworkManager or something else?
What do you mean they aren't being read? What is happening or not
happening?


I'm using NetworkManager. The interface is present, with the
correct name, but didn't get an IP address assigned.


My ethernet port is called enp0s25, change the following command as
necessary. Run "nmcli c show enp0s25" to see what NetworkManager
knows about the connection. See if there's anything missing.


You can't assume that the NIC and the connction have the same name.
And there's no way to run "nmcli c s" against a NIC name.


Yes, as Ed reminded me, you should use "nmcli c" to find the connection 
before trying to get the information.  Which, of course, is what I had 
done myself, but didn't think to add that to my reply.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: user crontab

2020-05-07 Thread Joe Zeff

On 05/07/2020 08:04 AM, Robert Moskowitz wrote:


So all I need is a script at /usr/bin/mycron


Actually, you can put it wherever you want, including ~/bin, as long as 
you give the complete path.  /usr/bin may be the best place, but it's 
not the only place.  Just a thought.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Pigdin account config files

2020-05-07 Thread Jonathan Billings
On Thu, May 07, 2020 at 11:57:55AM -0400, Robert Moskowitz wrote:
> Where does Pigdin keep the accounts for a user?
> 
> I need Pigdin for IETF jabber rooms.  I have it all set up on my old F30
> system, and now need to migrate that information over to my new F32 system.
> 
> I cannot find anything as simple as ~/.pigdin
> 
> So perhaps someone here knows where to look...

Look in ~/.purple (libpurple is the library that Pidgin uses for its
account configuration).

-- 
Jonathan Billings 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Pigdin account config files

2020-05-07 Thread Ben Cotton
On Thu, May 7, 2020 at 12:05 PM Robert Moskowitz  wrote:
>
> Where does Pigdin keep the accounts for a user?
>
Look in ~/.purple




-- 
Ben Cotton
He / Him / His
Senior Program Manager, Fedora & CentOS Stream
Red Hat
TZ=America/Indiana/Indianapolis
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Why is SELinux blocking virt-manager from reading my qcow2 file ?

2020-05-07 Thread Samuel Sieb

On 5/7/20 5:21 AM, Sreyan Chakravarty wrote:

Okay, it seems weird just keeps getting weirder.

Double-clicking on the VM and then running the VM works fine. But 
hitting the power-on button from the main virt-manager screen results in 
a SELinux violation.


I will never understand the idiosyncrasies of SELinux.


It doesn't have the correct label, so run:
restorecon -v /var/lib/libvirt/images/Windows.10-disk001.qcow2
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: no GUI (so runlevel3) and HDMI audio - how ?

2020-05-07 Thread Samuel Sieb

On 5/7/20 7:01 AM, lejeczek via users wrote:

I'd like to be able to have audio via HDMI on a box which
runs no GUI (no Xwin, no Wayland).
Would that be possible? Would you recommend a path and a
solution?


The audio device should be there.  Does "aplay -L" show it?  Are you 
generating the audio as a user or root?

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Almost working - Re: user crontab

2020-05-07 Thread Robert Moskowitz
I have dug a bit into mbox fomat and looked at one system that has some 
mail in root's mbox.


It SEEMs that what I am missing is a FROM: line at the beginning that 
mutt can handle.  Perhaps something like:


From cron@localhost  Thu May 07 13:15:01 2020

Note no colon after 'From' and a timestamp

How can I make a command to add to my script to create this? Meanwhile I 
keep digging.


thanks

On 5/7/20 1:24 PM, Robert Moskowitz wrote:

First I made a script at /usr/sbin/mycron

#!/bin/sh

(cat; echo) >> /var/spool/mail/$USER


Then I changed cat /etc/sysconfig/crond

# Settings for the CRON daemon.
# CRONDARGS= :  any extra command-line startup arguments for crond
CRONDARGS= -m "/usr/sbin/mycron"

And restarted crond

Next I changed my crontab with:

15 * * * * ls /home/rgm

I know have mail waiting in /var/spool/mail/rgm, but mutt can't 
process it.  So I am missing something in the format of mail in 
/var/spool/mail.  Can someone point me to the proper format?


What I have there from the cron of that ls is:

From: "(Cron Daemon)" 
To: rgm
Subject: Cron  ls /home/rgm
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 

arm
bin
data
Desktop
Documents
Downloads
Music
odds
Pictures
Public
r
rcd
Templates
test
tftpboot
uasca
Videos



On 5/7/20 10:04 AM, Robert Moskowitz wrote:



On 5/7/20 9:25 AM, Robert Moskowitz wrote:



On 5/7/20 7:48 AM, Robert Moskowitz wrote:



On 5/6/20 11:34 PM, Cameron Simpson wrote:

On 07May2020 13:19, Cameron Simpson  wrote:

On 06May2020 20:20, Robert Moskowitz  wrote:
I am reading up on esmtp which comes with the base install and 
seemingly no mta needed?


Anyway
https://linux.die.net/man/5/esmtprc

shows how to config for sending an email via esmtp to an mta, 
but not just local delivery...


The bottom of that manual entry describes the "mta" setting, and 
says that esmtp relies on a local MTA for local delivery 
(addresses without an "@"). So you'll need something additional 
anyway. May as well go straight to a proper MTA.


And then, to my chagrin, I reread and see it provides example 
"mta" values like:


   /usr/bin/procmail -d %T

So you may be good there.


Would first have to install procmail for this.

It would be interesting to find a 'simple' python script to grab 
the cron output and 'make' an email and appended to the spool/mail


I am finding things about python and email that is leading me down 
many roads.


First is how does CRON even send emails?  The MAILTO option triggers 
where to send email, but what is the how?  What is CRON using to 
grab its output and stuff that into what emailer program?


My digging is that CRON needs some email server installed, like 
postfix, before it will send emails of its stdout.  But where is 
this controlled so I can change it?


Ah, looking at man crond.5:

   -m This  option  allows  you  to specify a shell command 
to use for
  sending Cron mail output instead of using sendmail(8) 
This  com‐
  mand  must  accept a fully formatted mail message (with 
headers)
  on standard input and send it as a mail message to the  
recipi‐
  ents  specified  in the mail headers.  Specifying the 
string off

  (i.e., crond -m off) will disable the sending of mail.

So all I need is a script at /usr/bin/mycron

#!/bin/sh

something
something

So what do I put in the -m arg and in mycron so that this output gets 
appended to /var/spool/mail/MAILTO


?

Thanks

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: user crontab

2020-05-07 Thread Robert Moskowitz



On 5/7/20 1:24 PM, Alexander Dalloz wrote:

Am 07.05.2020 um 02:11 schrieb Robert Moskowitz:

Cameron,

Oh I have done a lot with postfix:

http://www.htt-consult.com/Centos7-mailserver.html


Showing a broken / incomplete submission and submissions setup in 
master.cf of Postfix.


Notice it says work-in-progress.

Any tips gladly accepted.  I have not worked on this in a year, and I 
REALLY need to get back to it and get it working.


The obvious problems are with the amavis and following parts.

But it is a good step forward from so many guides that have, "replace 
your main.cf with this!".


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: F32 - terrible background

2020-05-07 Thread Samuel Sieb

On 5/7/20 4:33 AM, Ed Greshko wrote:

On 2020-05-07 19:27, Robert Moskowitz wrote:
Today's updates included f32-backgrounds-base.  I thought that might 
be new backgrounds, but what ever it is, it is not in the background 
colors used by Xfce 


You can do...

rpm -q --filesbypkg f32-backgrounds-base


I've always just used "rpm -ql package".  I see the long form puts the 
package name in front of each line, but I'm usually only looking at one 
package at a time anyway.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: F32 - terrible background

2020-05-07 Thread Samuel Sieb

On 5/7/20 5:16 AM, jarmo wrote:

Thu, 7 May 2020 07:27:54 -0400
Robert Moskowitz  kirjoitti:

Today's updates included f32-backgrounds-base.  I thought that might
be new backgrounds, but what ever it is, it is not in the background
colors used by Xfce


I looked /usr/share/backgrounds there is symlink "default" png
and it points /usr/share/backgrounds/f32/default/f32.png.
Now deleted that symlink and pointed symlink to my image. Also
you can put your image there /usr/share/backgrounds and name it
as default.png, ofcourse if image in .png format..


If you do it that way, the next update will reset it and you will lose 
your picture.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: user crontab

2020-05-07 Thread Alexander Dalloz

Am 07.05.2020 um 02:11 schrieb Robert Moskowitz:

Cameron,

Oh I have done a lot with postfix:

http://www.htt-consult.com/Centos7-mailserver.html


Showing a broken / incomplete submission and submissions setup in 
master.cf of Postfix.


Alexander

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Almost working - Re: user crontab

2020-05-07 Thread Robert Moskowitz

First I made a script at /usr/sbin/mycron

#!/bin/sh

(cat; echo) >> /var/spool/mail/$USER


Then I changed cat /etc/sysconfig/crond

# Settings for the CRON daemon.
# CRONDARGS= :  any extra command-line startup arguments for crond
CRONDARGS= -m "/usr/sbin/mycron"

And restarted crond

Next I changed my crontab with:

15 * * * * ls /home/rgm

I know have mail waiting in /var/spool/mail/rgm, but mutt can't process 
it.  So I am missing something in the format of mail in 
/var/spool/mail.  Can someone point me to the proper format?


What I have there from the cron of that ls is:

From: "(Cron Daemon)" 
To: rgm
Subject: Cron  ls /home/rgm
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
Precedence: bulk
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 

arm
bin
data
Desktop
Documents
Downloads
Music
odds
Pictures
Public
r
rcd
Templates
test
tftpboot
uasca
Videos



On 5/7/20 10:04 AM, Robert Moskowitz wrote:



On 5/7/20 9:25 AM, Robert Moskowitz wrote:



On 5/7/20 7:48 AM, Robert Moskowitz wrote:



On 5/6/20 11:34 PM, Cameron Simpson wrote:

On 07May2020 13:19, Cameron Simpson  wrote:

On 06May2020 20:20, Robert Moskowitz  wrote:
I am reading up on esmtp which comes with the base install and 
seemingly no mta needed?


Anyway
https://linux.die.net/man/5/esmtprc

shows how to config for sending an email via esmtp to an mta, but 
not just local delivery...


The bottom of that manual entry describes the "mta" setting, and 
says that esmtp relies on a local MTA for local delivery 
(addresses without an "@"). So you'll need something additional 
anyway. May as well go straight to a proper MTA.


And then, to my chagrin, I reread and see it provides example "mta" 
values like:


   /usr/bin/procmail -d %T

So you may be good there.


Would first have to install procmail for this.

It would be interesting to find a 'simple' python script to grab the 
cron output and 'make' an email and appended to the spool/mail


I am finding things about python and email that is leading me down 
many roads.


First is how does CRON even send emails?  The MAILTO option triggers 
where to send email, but what is the how?  What is CRON using to grab 
its output and stuff that into what emailer program?


My digging is that CRON needs some email server installed, like 
postfix, before it will send emails of its stdout.  But where is this 
controlled so I can change it?


Ah, looking at man crond.5:

   -m This  option  allows  you  to specify a shell command to 
use for
  sending Cron mail output instead of using sendmail(8) 
This  com‐
  mand  must  accept a fully formatted mail message (with 
headers)
  on standard input and send it as a mail message to the  
recipi‐
  ents  specified  in the mail headers.  Specifying the 
string off

  (i.e., crond -m off) will disable the sending of mail.

So all I need is a script at /usr/bin/mycron

#!/bin/sh

something
something

So what do I put in the -m arg and in mycron so that this output gets 
appended to /var/spool/mail/MAILTO


?

Thanks

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread Tom H
On Thu, May 7, 2020 at 1:14 AM Samuel Sieb  wrote:
> On 5/6/20 3:55 PM, Tom Horsley wrote:
>> On Wed, 6 May 2020 15:34:09 -0700 Samuel Sieb wrote:
>>>
>>> I have no network-scripts package, but everything still goes into
>>> /etc/sysconfig/network-scripts.
>>
>> Weird. I thought there was nothing there, at least when I first
>> ran the live image, but it does have files stored there now
>> that I've got everything configured.
>
> The install process doesn't create any network connections on the
> installed system.

I just installed "Server" and the static config that I set in Anaconda
was transferred to the installed system.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread Tom H
On Thu, May 7, 2020 Tom Horsley  wrote:
> On Wed, 06 May 2020 John M. Harris Jr wrote:
>
>> This solved it, thank you!
>
> If that solved it, you may not actually be using NetworkManager.
> I have no files at all in /etc/sysconfig/network-scripts after
> configuring my network with just NetworkManager (it must
> store the info somewhere, but I have no idea where).

Is it possible that "network-scripts" was in use in 31 and was
uninstalled with the upgrade to 32 without NM being enabled and
started?!
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread Tom H
On Thu, May 7, 2020 at 12:21 AM Samuel Sieb  wrote:
> On 5/6/20 3:10 PM, John M. Harris Jr wrote:
>> On Wednesday, May 6, 2020 2:50:27 PM MST Samuel Sieb wrote:
>>>
>>> Are you using NetworkManager or something else?
>>> What do you mean they aren't being read? What is happening or not
>>> happening?
>>
>> I'm using NetworkManager. The interface is present, with the
>> correct name, but didn't get an IP address assigned.
>
> My ethernet port is called enp0s25, change the following command as
> necessary. Run "nmcli c show enp0s25" to see what NetworkManager
> knows about the connection. See if there's anything missing.

You can't assume that the NIC and the connction have the same name.
And there's no way to run "nmcli c s" against a NIC name.

But, if you have one NIC,
nmcli c s path 1
or
nmcli c s apath 1
should list the connection's properties. ("path" is the DBus
connection path and "apath" is the DBus active connection path.)
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: GNOME audio routing problem with Bluetooth headset

2020-05-07 Thread Gordon Messmer

On 5/6/20 7:10 PM, Gordon Messmer wrote:
If I select the headset as the Output Device, and then scroll down to 
select an Alert Sound at the bottom of that preferences panel, those 
alerts will play back on the headset.  Nothing else that I've tested does.


I should have done more tests.  :)

Non-GNOME applications like mplayer and Steam games are routed to the 
bluetooth headset properly.  It seems like the problem affects GNOME 
apps (and Firefox).

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Pigdin account config files

2020-05-07 Thread Robert Moskowitz

Where does Pigdin keep the accounts for a user?

I need Pigdin for IETF jabber rooms.  I have it all set up on my old F30 
system, and now need to migrate that information over to my new F32 system.


I cannot find anything as simple as ~/.pigdin

So perhaps someone here knows where to look...

thanks
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread Tom H
On Thu, May 7, 2020 at 12:12 AM John M. Harris Jr  wrote:
> On Wednesday, May 6, 2020 2:50:27 PM MST Samuel Sieb wrote:
>> On 5/6/20 2:46 PM, John M. Harris Jr wrote:
>>
>>> Anyone know if this is just broken now, and what the workaround is
>>> if so? I'm fine manually setting it on boot for now, but this is
>>> causing a lot of issues..
>>
>> Are you using NetworkManager or something else?
>> What do you mean they aren't being read? What is happening or not
>> happening?
>
> I'm using NetworkManager. The interface is present, with the correct
> name, but didn't get an IP address assigned.

Does
journalctl -u NetworkManager
show more details than
systemctl status NetworkManager

Does
nmcli c s
list any connections?

For any connection, does the output of
nmcli c s id 
give any clue as to why it's not up?
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Restoring a USB back-up using Back-ups (Duplicity) on Fedora

2020-05-07 Thread Thomas Schmitt
Hi,

Andrew Wood wrote:
> Note that I'm not especially concerned with restoring the USB exactly - with
> all its partitions, etc.

In this case it seems consensus that you should wipe out its partition
table and create one that fits your intentions. E.g. one single partition
claiming the device up to its end.

Then create a new filesystem. The old one was obviously of type vfat.
Maybe you manage to get it automounted at the same directory as the
old stick filesystem.

Reasoning is that currently the partitions are supposed to be small
and the biggest partition is supposed to be inhabited by a read-only
ISO 9660 filesystem.
(We cannot know for sure as we did not see yet the output of the
proposed blkid run or some partition editor's listing.)

-
From here on i can only guess from the man page of duplicity:

> https://linux.die.net/man/1/duplicity
>
> duplicity restore [options] source_url target_directory
>
> I couldn't understand how to use this command! My first unknown is the
> source URL. I'm using a external USB hardisk 'MyPassport' on /dev/sda1 for
> the duplicity archive.

I would expect that it is the same address you gave as "target_url"
when making the backup, like in
  duplicity full [options] source_directory target_url

The example in the man page relies on automatic recognition of the copy
direction by distinguishing URL from local file path:
  duplicity scp://u...@other.host/some_dir /home/me


> Is it source file:///dev/sda1/Deja-Vu-Back-up where Deja-Vu-Back-up is the
> directory with the back-ups??

(Does modern madness go so far to use "/dev/sda1" as virtual moint point
for URLs ?)

Whatever, i expect that a directory path which leads to "Deja-Vu-Back-up"
will serve as target_url, if you prepend it by "file://".


> Somehow, I need to pass the name of the backed-up USB volume

The man page says "target_directory". So i would expect that it is the
path you gave at backup time as "source_directory".
But maybe you have to use a different mount directory of the USB stick.

E.g. if source_directory was
  /run/media/awood/7160-75C1/some/deeper/directory
and the new filesystem of the stick is mounted as
  /run/media/awood/MY_FAT
then i expect that the "target_directory" is
  /run/media/awood/MY_FAT/some/deeper/directory
Of course the example "/some/deeper/directory" might in practice just
be empty text.


So i place my bet on something like

  duplicity restore \
file:///path/to/Deja-Vu-Back-up/maybe/more \
/run/media/awood/MY_FAT/some/deeper/directory


Have a nice day :)

Thomas
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread Tom H
On Thu, May 7, 2020 Tom Horsley  wrote:
> On Wed, 06 May 2020 John M. Harris Jr wrote:
>
> > Anyone know if this is just broken now, and what the workaround is if so? 
> > I'm
> > fine manually setting it on boot for now, but this is causing a lot of
> > issues..
> >
>
> Probably don't have network-scripts installed. Ever since about fedora
> 29 I think they haven't shipped network-scripts by default, you have
> to fetch them via:
>
> dnf install network-scripts

Please no; network-scripts is a deprecated package.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


How do you Dual boot with Intel RST - Optane ?

2020-05-07 Thread sean darcy

My new laptop has Windows 10 installed with the Intel
rapid Storage Technology  (optane) system chip. Windows is on an nvme 
drive.


FC31 is on a SATA ssd.

BIOS allows me to choose AHCI or RST. I must use AHCI to boot the FC31 
drive, and RST to boot the Windows drive. Neither will boot with the 
other.  Sigh.


1. Is there a way to get the FC31 drive to boot with RST ?

2.  Any way to have the Windows drive boot with AHCI ?

sean
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread Tom H
On Wed, May 6, 2020 John M. Harris Jr  wrote:
>
> Anyone know if this is just broken now, and what the workaround is
> if so? I'm fine manually setting it on boot for now, but this is
> causing a lot of issues..

1) Did you NIC name change?

Compare
ip l
and
ls /etc/sysconfig/network-scripts

2) Was NM disabled for some reason?

systemctl status NetworkManager
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: grub has wrong path for Windows boot

2020-05-07 Thread sean darcy

On 5/6/20 7:55 PM, Samuel Sieb wrote:

On 5/6/20 4:38 PM, sean darcy wrote:

I'm on FC31, dual boot.

os-prober finds the Windows efi boot partition. /dev/nvme0n1p1

sudo mount /dev/nvme0n1p1 nvme0n1p1/
$ ls nvme0n1p1/EFI/Microsoft/Boot/bootmgfw.efi
nvme0n1p1/EFI/Microsoft/Boot/bootmgfw.efi

But boot from the grub menu fails:

'/efi/Microsoft/Boot/bootmgfw.efi' not found

because the grub path use lower case efi, while the the actual path 
has it capitalized.


If you edit the boot command to be uppercase, does it work?  The 
partition is vfat, so it's supposed to be case-insensitive.

___



You're right. No difference. It's a wholly different problem: Intel RST. 
I'll start another thread.



___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Grub stops before booting F31

2020-05-07 Thread Sreyan Chakravarty


On 5/7/20 7:07 PM, and...@gn.apc.org wrote:

At boot, Grub enters its rescue mode with the message error: unknown file
system.
Have you tried re generating the grub files for the bootloader ? You 
might have to do a chroot.


--
Regards,
Sreyan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: [SOLVED] Why is SELinux blocking virt-manager from reading my qcow2 file ?

2020-05-07 Thread Sreyan Chakravarty


On 5/7/20 6:16 PM, Ed Greshko wrote:

OK, the file probably had the correct context when it was imported.


I have virt_content:

system_u:object_r:virt_content_t:s0 'Windows 10-disk001.qcow2'

Don't know the difference.

--
Regards,
Sreyan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: user crontab

2020-05-07 Thread Roger Heflin
In general if you set up the cronjobs to redirect stdout and stderr to
a file then typically there is nothing to email.

Often if you have only a few systems this is easier to use.

On Thu, May 7, 2020 at 8:29 AM Robert Moskowitz  wrote:
>
>
>
> On 5/7/20 7:48 AM, Robert Moskowitz wrote:
> >
> >
> > On 5/6/20 11:34 PM, Cameron Simpson wrote:
> >> On 07May2020 13:19, Cameron Simpson  wrote:
> >>> On 06May2020 20:20, Robert Moskowitz  wrote:
>  I am reading up on esmtp which comes with the base install and
>  seemingly no mta needed?
> 
>  Anyway
>  https://linux.die.net/man/5/esmtprc
> 
>  shows how to config for sending an email via esmtp to an mta, but
>  not just local delivery...
> >>>
> >>> The bottom of that manual entry describes the "mta" setting, and
> >>> says that esmtp relies on a local MTA for local delivery (addresses
> >>> without an "@"). So you'll need something additional anyway. May as
> >>> well go straight to a proper MTA.
> >>
> >> And then, to my chagrin, I reread and see it provides example "mta"
> >> values like:
> >>
> >>/usr/bin/procmail -d %T
> >>
> >> So you may be good there.
> >
> > Would first have to install procmail for this.
> >
> > It would be interesting to find a 'simple' python script to grab the
> > cron output and 'make' an email and appended to the spool/mail
>
> I am finding things about python and email that is leading me down many
> roads.
>
> First is how does CRON even send emails?  The MAILTO option triggers
> where to send email, but what is the how?  What is CRON using to grab
> its output and stuff that into what emailer program?
>
> My digging is that CRON needs some email server installed, like postfix,
> before it will send emails of its stdout.  But where is this controlled
> so I can change it?
>
> thanks
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: user crontab

2020-05-07 Thread Robert Moskowitz



On 5/7/20 9:25 AM, Robert Moskowitz wrote:



On 5/7/20 7:48 AM, Robert Moskowitz wrote:



On 5/6/20 11:34 PM, Cameron Simpson wrote:

On 07May2020 13:19, Cameron Simpson  wrote:

On 06May2020 20:20, Robert Moskowitz  wrote:
I am reading up on esmtp which comes with the base install and 
seemingly no mta needed?


Anyway
https://linux.die.net/man/5/esmtprc

shows how to config for sending an email via esmtp to an mta, but 
not just local delivery...


The bottom of that manual entry describes the "mta" setting, and 
says that esmtp relies on a local MTA for local delivery (addresses 
without an "@"). So you'll need something additional anyway. May as 
well go straight to a proper MTA.


And then, to my chagrin, I reread and see it provides example "mta" 
values like:


   /usr/bin/procmail -d %T

So you may be good there.


Would first have to install procmail for this.

It would be interesting to find a 'simple' python script to grab the 
cron output and 'make' an email and appended to the spool/mail


I am finding things about python and email that is leading me down 
many roads.


First is how does CRON even send emails?  The MAILTO option triggers 
where to send email, but what is the how?  What is CRON using to grab 
its output and stuff that into what emailer program?


My digging is that CRON needs some email server installed, like 
postfix, before it will send emails of its stdout.  But where is this 
controlled so I can change it?


Ah, looking at man crond.5:

   -m This  option  allows  you  to specify a shell command to 
use for
  sending Cron mail output instead of using sendmail(8) 
This  com‐
  mand  must  accept a fully formatted mail message (with 
headers)
  on standard input and send it as a mail message to the  
recipi‐
  ents  specified  in the mail headers.  Specifying the 
string off

  (i.e., crond -m off) will disable the sending of mail.

So all I need is a script at /usr/bin/mycron

#!/bin/sh

something
something

So what do I put in the -m arg and in mycron so that this output gets 
appended to /var/spool/mail/MAILTO


?

Thanks

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


no GUI (so runlevel3) and HDMI audio - how ?

2020-05-07 Thread lejeczek via users
Hi guys,

I'd like to be able to have audio via HDMI on a box which
runs no GUI (no Xwin, no Wayland).
Would that be possible? Would you recommend a path and a
solution?

many thanks, L.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: dual Ethernet adapters?

2020-05-07 Thread Roger Heflin
If it is a really dumb switch you don't need a bond on the switch.  In
my experience most simple switches can move the mac address from one
port to another so fast that without bonding setup it will act as
round-robin on the switch end (if linux is setup round-robin).   On
the better managed switches it will detect the mac address existing on
both ports and complain and/or disable a port.  The high volume of
complaining will cause the management processor to work hard.  On
newer software defined switches they will generally have issues trying
to move the mac addresses around as on a virtual switch (many switches
acting like one) that has to be done in software and won't be able to
keep up.

So put the linux machine in round-robin bonding mode, and connect to
switch.  Do some testing and see how much bandwidth you can get, if
you exceed about 130Mbytes/sec on a dual gb link then it is probably
working.   You should be able to see the amount of data going over
each interface with sar -n DEV (install sysstat) and google how to
change it sampling rate down to 1minute.  Note with nfs and/or disk
access being involved you may not be able to sustain anywhere close to
that rate.  When I have tested my gbit setup I almost never get
anywhere close to the rate even when I am trying, so it might be best
to install sar and see if you are getting anywhere close to 1gbit now.
If you have a switch that supports lacp/802 something then setup both
sides of the bond to lacp/802* with layer3+4 routing on the linux end.

On Wed, May 6, 2020 at 5:48 PM ToddAndMargo via users
 wrote:
>
> On 2020-05-06 15:11, Tom Horsley wrote:
> > On Wed, 6 May 2020 15:02:08 -0700
> > ToddAndMargo via users wrote:
> >
> >> Not to ask too silly a question, but what happens when
> >> you have dual Ethernet adapters and you hook both of
> >> them to your (switching) hub?
> >
> > Mostly you need something that supports "bonding" to
> > go faster. As near as I can tell, 99.9% of all traffic
> > always goes through one ethernet if they are both configured
> > on the same subnet.
>
> Would I have to bond at both the Lixux side and
> the switching hub side?
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Grub stops before booting F31

2020-05-07 Thread andrew
Hello!

I seem to have inadvertently change partition 1 on my hard disk ...

At boot, Grub enters its rescue mode with the message error: unknown file
system.

If I use my Fedora 32 live USB to boot then I can bring up the F32 desktop.

If I run Disks utility then I have:

Partition 1: size 1.1GB ; device /dev/sd1 ; type Linux bootable

Partition 2: size 499 GB ; device /dev/sda2 ; Linux LVM ; contents unknown

Any suggestions ... I might have set partition 1 as the wrong file type or
similar is that possible and how do I fix it ... ??

Thanks for your continued help and assistance.

Andrew, Oxford uk




This message was sent using IMP, the Internet Messaging Program.


- End forwarded message -





This message was sent using IMP, the Internet Messaging Program.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: user crontab

2020-05-07 Thread Robert Moskowitz



On 5/7/20 7:48 AM, Robert Moskowitz wrote:



On 5/6/20 11:34 PM, Cameron Simpson wrote:

On 07May2020 13:19, Cameron Simpson  wrote:

On 06May2020 20:20, Robert Moskowitz  wrote:
I am reading up on esmtp which comes with the base install and 
seemingly no mta needed?


Anyway
https://linux.die.net/man/5/esmtprc

shows how to config for sending an email via esmtp to an mta, but 
not just local delivery...


The bottom of that manual entry describes the "mta" setting, and 
says that esmtp relies on a local MTA for local delivery (addresses 
without an "@"). So you'll need something additional anyway. May as 
well go straight to a proper MTA.


And then, to my chagrin, I reread and see it provides example "mta" 
values like:


   /usr/bin/procmail -d %T

So you may be good there.


Would first have to install procmail for this.

It would be interesting to find a 'simple' python script to grab the 
cron output and 'make' an email and appended to the spool/mail


I am finding things about python and email that is leading me down many 
roads.


First is how does CRON even send emails?  The MAILTO option triggers 
where to send email, but what is the how?  What is CRON using to grab 
its output and stuff that into what emailer program?


My digging is that CRON needs some email server installed, like postfix, 
before it will send emails of its stdout.  But where is this controlled 
so I can change it?


thanks
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


[389-users] Re: pwadmin not working

2020-05-07 Thread Mark Reynolds


On 5/7/20 8:18 AM, Alberto Viana wrote:

William,

I'm just a little bit confused about pwadmin concept 
vs nsslapd-allow-hashed-passwords. Once I turned on 
nsslapd-allow-hashed-passwords, it's no supposed to only users in my 
pwadmin(group/users) to be allowed to add pre-hashed password?


Alberto I think this is a bug.  A password admin should act like 
Directory Manager, it should be allowed to do everything including 
setting a prehashed password.  I think there was a recent change where 
nsslapd-allow-hashed-passwords had its default changed and that broke 
this part of the "Password Administrator" feature.


Could you please file a ticket with your finding and what versions 
worked & didn't:


https://pagure.io/389-ds-base/new_issue

Thanks,

Mark



Thanks

Alberto Viana

On Wed, May 6, 2020 at 7:56 PM William Brown > wrote:


Remember to *unset* it after you make your change, else anyone
with write to userPassword can bypass your password policy.
Generally this means a userc that is able to change their own
password through a self mod, can then bypass pwpolicy.

> On 7 May 2020, at 01:49, Alberto Viana mailto:alberto...@gmail.com>> wrote:
>
> William,
>
> Set nsslapd-allow-hashed-passwords and pwadmin in global policy
works as expected.
>
> Thanks again.
>
> Alberto Viana
>
> On Tue, May 5, 2020 at 9:22 PM Alberto Viana
mailto:alberto...@gmail.com>> wrote:
> William,
>
> I will try it tomorrow, but a reference about
"nsslapd-allow-hashed-passwords" in

https://access.redhat.com/documentation/en-us/red_hat_directory_server/11/html/administration_guide/password_administrators
make senses to me.
>
>
> Thanks anyway.
>
> Alberto Viana
>
> On Tue, May 5, 2020 at 8:58 PM William Brown mailto:wbr...@suse.de>> wrote:
>
>
> > On 6 May 2020, at 09:09, Alberto Viana mailto:alberto...@gmail.com>> wrote:
> >
> > William
> >
> > I want to let this user bypass the policy and add a pre-hashed
password,
>
> If you want to add a pre-hashed password here, you'll need to
change the password-migrate flag in cn=config, load that password,
then unset the password migrate flag.
>
>

https://access.redhat.com/documentation/en-us/red_hat_directory_server/11/html/configuration_command_and_file_reference/core_server_configuration_reference#nsslapd-allow-hashed-passwords
>
>
>
> > I also have a global policy and some OU policies level. On
this OU OU=POP-PA,dc=my,dc=domain I have a local policy set.
> >
> > Should I set pwadmin in local policy level? global policy
level is not enough?
>
> I think the ou policies over-ride the global policy, but
regardless, password hash loading is a seperate issues - as
mentioned a pre-hashed PW bypasses pwpolicy regardless of it's
level, and is disallowed unless the above config value is set.
It's not recommended to allow pre-hashed password upload in
production long term, so as mentioned enable it, load the one
password, then disable it.
>
>
>
> >
> > Thanks
> >
> > Alberto Viana
> >
> > On Tue, May 5, 2020 at 7:57 PM William Brown mailto:wbr...@suse.de>> wrote:
> >
> >
> > > On 6 May 2020, at 04:33, Alberto Viana mailto:alberto...@gmail.com>> wrote:
> > >
> > > additional info: invalid password syntax - passwords with
storage scheme are not allowed
> > >
> >
> >
> > This line here is saying that you have a userPassword:
{SCHEME} in your ldif (I think). By default we don't allow
this, but there is a migrate password hash option in cn=config.
> >
> > Of course, loading a hash this way bypasses the password
policy checks 
> >
> > So you may want to check your ldif, and set the userPassword
as cleartext for the modify, and the server-side will apply
pwpolicy and perform proper hashing.
> >
> > Hope that helps,
> >
> > —
> > Sincerely,
> >
> > William Brown
> >
> > Senior Software Engineer, 389 Directory Server
> > SUSE Labs
> > ___
> > 389-users mailing list -- 389-users@lists.fedoraproject.org

> > To unsubscribe send an email to
389-users-le...@lists.fedoraproject.org

> > Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives:

https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
> > ___
> > 389-users mailing list -- 389-users@lists.fedoraproject.org

Re: user crontab

2020-05-07 Thread George N. White III
On Thu, 7 May 2020 at 08:49, Robert Moskowitz  wrote:

>
>
> On 5/6/20 11:34 PM, Cameron Simpson wrote:
> > On 07May2020 13:19, Cameron Simpson  wrote:
> >> On 06May2020 20:20, Robert Moskowitz  wrote:
> >>> I am reading up on esmtp which comes with the base install and
> >>> seemingly no mta needed?
> >>>
> >>> Anyway
> >>> https://linux.die.net/man/5/esmtprc
> >>>
> >>> shows how to config for sending an email via esmtp to an mta, but
> >>> not just local delivery...
> >>
> >> The bottom of that manual entry describes the "mta" setting, and says
> >> that esmtp relies on a local MTA for local delivery (addresses
> >> without an "@"). So you'll need something additional anyway. May as
> >> well go straight to a proper MTA.
> >
> > And then, to my chagrin, I reread and see it provides example "mta"
> > values like:
> >
> >/usr/bin/procmail -d %T
> >
> > So you may be good there.
>
> Would first have to install procmail for this.
>
> It would be interesting to find a 'simple' python script to grab the
> cron output and 'make' an email and appended to the spool/mail
>
>
Mail is one of the areas where userd will add complexity.  Having worked
in a large enterprise where mail leaving the intranet was tightly
controlled,
my use of mail was limited to use cases like cron, at, and ad-hoc status
reports from our internal processing systems. It may be time to revisit the
use of mail for these use cases.   Mail is often inconvenient for data
analysis
like % of jobs that failed, reasons for failures (out of disk or memory
space,
program crashed, network down, etc.) and trends in the time stats for jobs,

There are much fancier job scheduling systems that check for resources
before starting jobs, have a dashboard where you can see the status of
jobs (status of finished tasks, stats of running tasks, job queue with
details
to explain why a particular job was delayed, etc.).   One annoyance with
mail being locked down is that uses often miss notifications of problems.
When I retired, linux uses were moving to NUMA workstations where
there are issues around assigning cores to jobs to make best used of
cache and avoid long IPC hops, scheduling of GPU dependent jobs, etc.
With cron, some tasks need to pay attention to resource issues, so you
end up with a lot of ad-hoc hacks (kinda like the situation with init
scripts).

SLURM is claimed to be suitable for NUMA workstations up to the
largest supercomuters.   I have never used it myself, but it is available
in Fedora.

-- 
George N. White III
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: [SOLVED] Why is SELinux blocking virt-manager from reading my qcow2 file ?

2020-05-07 Thread Ed Greshko
On 2020-05-07 20:35, Sreyan Chakravarty wrote:
>
> On 5/7/20 6:01 PM, Ed Greshko wrote:
>> I would copy that file to the standard location.  If you mv it you'll need 
>> an additional step to change the
>> context.
>
> I did use mv and it works fine. Don't know if that is a problem. Once again, 
> thanks for taking the time to set me straight.
>

OK, the file probably had the correct context when it was imported.

[root@meimei images]# ls -Z F31G.qcow2
system_u:object_r:virt_image_t:s0 F31G.qcow2

is an example of what it should be.

-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


[SOLVED] Why is SELinux blocking virt-manager from reading my qcow2 file ?

2020-05-07 Thread Sreyan Chakravarty


On 5/7/20 6:01 PM, Ed Greshko wrote:

I would copy that file to the standard location.  If you mv it you'll need an 
additional step to change the
context.


I did use mv and it works fine. Don't know if that is a problem. Once 
again, thanks for taking the time to set me straight.


--
Regards,
Sreyan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


[389-users] Re: replication problems

2020-05-07 Thread Alberto Viana
William,

Here's:
Assertion failure: (vs->sorted == NULL) || (vs->num <
VALUESET_ARRAY_SORT_THRESHOLD) || ((vs->num >=
VALUESET_ARRAY_SORT_THRESHOLD) && (vs->sorted[0] < vs->num)), at
ldap/servers/slapd/valueset.c:471
Thread 17 "ns-slapd" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffbbfff700 (LWP 13431)]
0x7455399f in raise () from /lib64/libc.so.6
(gdb) frame 3
#3  0x77b71627 in slapi_valueset_done (vs=0x7fffb0022aa8) at
ldap/servers/slapd/valueset.c:471
471PR_ASSERT((vs->sorted == NULL) || (vs->num <
VALUESET_ARRAY_SORT_THRESHOLD) || ((vs->num >=
VALUESET_ARRAY_SORT_THRESHOLD) && (vs->sorted[0] < vs->num)));
(gdb) print vs->sorted@21
$1 = {0x7fffb0023ad0, 0x7fffb0022b50, 0x4, 0x6c7e80, 0x0, 0x0, 0x0, 0x0,
0x0, 0x7fffb0023c00, 0x7fffb00247c0, 0x0, 0x0, 0x0, 0x25,
0x664f7265626d656d, 0x0, 0x0, 0x115, 0x0, 0x0}

Thanks

Alberto Viana

On Wed, May 6, 2020 at 11:38 PM William Brown  wrote:

>
>
> > On 6 May 2020, at 22:40, Alberto Viana  wrote:
> >
> > William,
> >
> > Here's:
> >
> > (gdb) frame 3
> > #3  0x77b71627 in slapi_valueset_done (vs=0x7fffac022aa8) at
> ldap/servers/slapd/valueset.c:471
> > 471PR_ASSERT((vs->sorted == NULL) || (vs->num <
> VALUESET_ARRAY_SORT_THRESHOLD) || ((vs->num >=
> VALUESET_ARRAY_SORT_THRESHOLD) && (vs->sorted[0] < vs->num)));
> > (gdb) print *vs->sorted@21
> > $1 = {18446744073709551615 }
>
> Ahhh sorry, maybe it should be vs->sorted@21 (no *)
>
> >
> > Everything has been a quite chaotic to me too.
> >
> > Thanks
> >
> > Alberto Viana
> >
> > On Tue, May 5, 2020 at 10:38 PM William Brown  wrote:
> > So reading these frames, it's likely that this is the assert condition
> failing:
> >
> > (vs->num >= VALUESET_ARRAY_SORT_THRESHOLD) && (vs->sorted[0] < vs->num)
> >
> > This is because vs->sorted exists, and vs->num >= threshhold (10), so as
> a result, this would indicate that vs->sorted[0] has a problem where it
> must be equal to or greater than vs->num.
> >
> > Is is still possible to seethe content of the vs->sorted array? I think
> you could do:
> >
> > frame 3
> > print *vs->sorted@21
> >
> > Sorry about the delay in responding to this, things have been hectic for
> me.
> >
> >
> >
> > > On 29 Apr 2020, at 23:40, Alberto Viana  wrote:
> > >
> > > William,
> > >
> > > Here's:
> > >
> > > Frame9:
> > > https://gist.github.com/albertocrj/87bf4a010bf2f7e1f97ef3ee72ee44df
> > >
> > > Frame7:
> > > https://gist.github.com/albertocrj/840f15e5df10cad0e2977cd030abdba4
> > >
> > > Frame6:
> > > https://gist.github.com/albertocrj/befb7144b86bc4af86b9a2e0be0293a1
> > >
> > > Thank you
> > >
> > > Alberto Viana
> > >
> > > On Wed, Apr 22, 2020 at 11:09 PM William Brown  wrote:
> > >
> > >
> > > > On 23 Apr 2020, at 06:59, Alberto Viana 
> wrote:
> > > >
> > > > Mark,
> > > >
> > > > On frame 9:
> > > >
> > > > It's go until p *mod->mod_bvalues[20]
> > > >
> > > > (gdb)  p *mod->mod_bvalues[21]
> > > > Cannot access memory at address 0x0
> > > >
> > > > On frame 7:
> > > > It's go until p *replacevals[20]
> > > >
> > > > (gdb) p *replacevals[21]
> > > > Cannot access memory at address 0x0
> > >
> > > Yep, but we need to see all the outputs from 0 -> 20 and 0 -> 21
> respectively :) So copy paste the full out put please! Thanks for your
> patience with this.
> > >
> > > >
> > > > On frame 6:
> > > > (gdb) frame 6
> > > > #6  0x77ada6fa in
> entry_delete_present_values_wsi_multi_valued (e=0x7fff8401f500,
> type=0x7fff84012780 "memberOf", vals=0x0, csn=0x7fff967fb340, urp=8,
> mod_op=2, replacevals=0x7fff840127c0)
> > > > at ldap/servers/slapd/entrywsi.c:777
> > > > 777valueset_purge(a, >a_present_values, csn);
> > > > (gdb) print *a
> > > > $278 = {a_type = 0x7fff84022b30 "memberOf", a_present_values = {num
> = 21, max = 32, sorted = 0x7fff84023ad0, va = 0x7fff84022b50}, a_flags = 4,
> a_plugin = 0x6c7e80, a_deleted_values = {num = 0, max = 0,
> > > > sorted = 0x0, va = 0x0}, a_listtofree = 0x0, a_next =
> 0x7fff84023c00, a_deletioncsn = 0x7fff840247c0, a_mr_eq_plugin = 0x0,
> a_mr_ord_plugin = 0x0, a_mr_sub_plugin = 0x0}
> > > > (gdb) print *a->a_present_values
> > > > Structure has no component named operator*.
> > > > (gdb) print *a->a_present_values.va[0]
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Alberto Viana
> > > >
> > > > On Wed, Apr 22, 2020 at 4:57 PM Mark Reynolds 
> wrote:
> > > > Goto frame 9 and start printing the mod:
> > > >
> > > > (gdb) p *mod
> > > >
> > > > (gdb) print i
> > > >
> > > > (gdb) p *mod->mod_bvalues[0]
> > > >
> > > > (gdb) p *mod->mod_bvalues[1]
> > > >
> > > > ... Keep doing that unitl its NULL
> > > >
> > > >
> > > >
> > > > Then goto frame 7
> > > >
> > > > (gdb) p *replacevals
> > > >
> > > > (gdb) p *replacevals[0]
> > > >
> > > > (gdb) p *replacevals[1]
> > > >
> > > > --- Keeping doing this until its NULL
> > > >
> > > >
> > > >
> > > > Then goto frame 6
> > > >
> > > > (gdb) print *a
> > > >
> > > > (gdb) print *a->a_present_values
> > > >
> > > > (gdb) 

Re: Why is SELinux blocking virt-manager from reading my qcow2 file ?

2020-05-07 Thread Ed Greshko
On 2020-05-07 20:22, Sreyan Chakravarty wrote:
> Do I have to redefine the VM again ? If not I can move the image there.
>
> On 5/7/20 5:50 PM, Ed Greshko wrote:
>> Any reason for not placing it in the standard area?  /var/lib/libvirt/images
>

I would copy that file to the standard location.  If you mv it you'll need an 
additional step to change the
context.

Then, use

sudo virsh edit (name of VM)

and change the location of the file defined in the devices section.



-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: F32 - terrible background

2020-05-07 Thread Tim via users
Ed Greshko:
>> You can do...
>>
>> rpm -q --filesbypkg f32-backgrounds-base
>>
>> to find what was included and where they are.


Robert Moskowitz:
> Perhaps this is something ingrained in you.  Not something I remember
> in my annual sojourn into this stuff.

I don't remember many rpm options, other than these three:

Find info about a package:  rpm -qi packagename

List contents of a package:  rpm -ql packagename

Read the changelog (if they bother): rpm -q --changelog packagename

I only remember them because I use them occasionally.  If I wanted to
do anything else, I'd look at the man file to see how, or if what I
want to do is an option.
 
-- 
 
uname -rsvp
Linux 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Why is SELinux blocking virt-manager from reading my qcow2 file ?

2020-05-07 Thread Sreyan Chakravarty

Do I have to redefine the VM again ? If not I can move the image there.

On 5/7/20 5:50 PM, Ed Greshko wrote:

Any reason for not placing it in the standard area?  /var/lib/libvirt/images


--
Regards,
Sreyan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Why is SELinux blocking virt-manager from reading my qcow2 file ?

2020-05-07 Thread Sreyan Chakravarty

Okay, it seems weird just keeps getting weirder.

Double-clicking on the VM and then running the VM works fine. But 
hitting the power-on button from the main virt-manager screen results in 
a SELinux violation.


I will never understand the idiosyncrasies of SELinux.

On 5/7/20 5:41 PM, Sreyan Chakravarty wrote:
I have a file for a Windows 10 VM in my home folder under a folder 
called virt-manager:


/home/sreyan/virt-manager/Windows 10-disk001.qcow2

When I try to switch on the VM from virt-manager it fails with:


SELinux is preventing worker from read access on the file 
/home/sreyan/virt-manager/Windows 10-disk001.qcow2.


*  Plugin qemu_file_image (91.4 confidence) suggests 
***


If Windows 10-disk001.qcow2 is a virtualization target
Then you need to change the label on Windows 10-disk001.qcow2'
Do
# semanage fcontext -a -t virt_image_t 
'/home/sreyan/virt-manager/Windows.10-disk001.qcow2'

# restorecon -v '/home/sreyan/virt-manager/Windows.10-disk001.qcow2'

*  Plugin catchall (9.59 confidence) suggests 
**


If you believe that worker should be allowed read access on the 
Windows 10-disk001.qcow2 file by default.

Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'worker' --raw | audit2allow -M my-worker
# semodule -X 300 -i my-worker.pp

Additional Information:
Source Context unconfined_u:unconfined_r:svirt_t:s0:c239,c999
Target Context system_u:object_r:svirt_image_t:s0:c276,c718
Target Objects    /home/sreyan/virt-manager/Windows 
10-disk001.qcow2

  [ file ]
Source    worker
Source Path   worker
Port  
Host  localhost.HPNotebook
Source RPM Packages
Target RPM Packages
SELinux Policy RPM    selinux-policy-3.14.4-50.fc31.noarch
Local Policy RPM selinux-policy-targeted-3.14.4-50.fc31.noarch
Selinux Enabled   True
Policy Type   targeted
Enforcing Mode    Enforcing
Host Name localhost.HPNotebook
Platform  Linux localhost.HPNotebook 
5.5.15-200.fc31.x86_64
  #1 SMP Thu Apr 2 19:16:17 UTC 2020 
x86_64 x86_64

Alert Count   3
First Seen    2020-05-07 17:34:50 IST
Last Seen 2020-05-07 17:34:50 IST
Local ID  74764396-5a32-4477-9eea-5e643d89c270

Raw Audit Messages
type=AVC msg=audit(1588853090.475:1605): avc:  denied  { read } for  
pid=29914 comm="worker" 
path=2F686F6D652F73726579616E2F766972742D6D616E616765722F57696E646F77732031302D6469736B3030312E71636F7732 
dev="dm-2" ino=6684679 
scontext=unconfined_u:unconfined_r:svirt_t:s0:c239,c999 
tcontext=system_u:object_r:svirt_image_t:s0:c276,c718 tclass=file 
permissive=0



Hash: worker,svirt_t,svirt_image_t,file,read


Should I just BLINDLY run the commands specified ? I don't want to be 
making exceptions that I don't understand fully.



Now what is strange is that it was working fine 2 days back. During 
that time I have not done any changes. No updates or whatever.


So why is this happening all of the sudden?

And why the hell is SELinux blocking a file in my /home ? It should be 
totally safe, why would anyone think this is suspicious ?



--
Regards,
Sreyan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Why is SELinux blocking virt-manager from reading my qcow2 file ?

2020-05-07 Thread Ed Greshko
On 2020-05-07 20:11, Sreyan Chakravarty wrote:
> I have a file for a Windows 10 VM in my home folder under a folder called 
> virt-manager:
>
> /home/sreyan/virt-manager/Windows 10-disk001.qcow2
>
> When I try to switch on the VM from virt-manager it fails with:
>
>
> SELinux is preventing worker from read access on the file 
> /home/sreyan/virt-manager/Windows 10-disk001.qcow2.

Because you are placing the file in a "non-standard" area which doesn't conform 
to the
selinux policy for that application.

If you want to use that directory you need to create a local policy as 
described.

Any reason for not placing it in the standard area?  /var/lib/libvirt/images

-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


[389-users] Re: pwadmin not working

2020-05-07 Thread Alberto Viana
William,

I'm just a little bit confused about pwadmin concept
vs nsslapd-allow-hashed-passwords. Once I turned on
nsslapd-allow-hashed-passwords, it's no supposed to only users in my
pwadmin(group/users) to be allowed to add pre-hashed password?

Thanks

Alberto Viana

On Wed, May 6, 2020 at 7:56 PM William Brown  wrote:

> Remember to *unset* it after you make your change, else anyone with write
> to userPassword can bypass your password policy. Generally this means a
> userc that is able to change their own password through a self mod, can
> then bypass pwpolicy.
>
> > On 7 May 2020, at 01:49, Alberto Viana  wrote:
> >
> > William,
> >
> > Set nsslapd-allow-hashed-passwords and pwadmin in global policy works as
> expected.
> >
> > Thanks again.
> >
> > Alberto Viana
> >
> > On Tue, May 5, 2020 at 9:22 PM Alberto Viana 
> wrote:
> > William,
> >
> > I will try it tomorrow, but a reference about
> "nsslapd-allow-hashed-passwords" in
> https://access.redhat.com/documentation/en-us/red_hat_directory_server/11/html/administration_guide/password_administrators
> make senses to me.
> >
> >
> > Thanks anyway.
> >
> > Alberto Viana
> >
> > On Tue, May 5, 2020 at 8:58 PM William Brown  wrote:
> >
> >
> > > On 6 May 2020, at 09:09, Alberto Viana  wrote:
> > >
> > > William
> > >
> > > I want to let this user bypass the policy and add a pre-hashed
> password,
> >
> > If you want to add a pre-hashed password here, you'll need to change the
> password-migrate flag in cn=config, load that password, then unset the
> password migrate flag.
> >
> >
> https://access.redhat.com/documentation/en-us/red_hat_directory_server/11/html/configuration_command_and_file_reference/core_server_configuration_reference#nsslapd-allow-hashed-passwords
> >
> >
> >
> > > I also have a global policy and some OU policies level. On this OU
> OU=POP-PA,dc=my,dc=domain I have a local policy set.
> > >
> > > Should I set pwadmin in local policy level? global policy level is not
> enough?
> >
> > I think the ou policies over-ride the global policy, but regardless,
> password hash loading is a seperate issues - as mentioned a pre-hashed PW
> bypasses pwpolicy regardless of it's level, and is disallowed unless the
> above config value is set. It's not recommended to allow pre-hashed
> password upload in production long term, so as mentioned enable it, load
> the one password, then disable it.
> >
> >
> >
> > >
> > > Thanks
> > >
> > > Alberto Viana
> > >
> > > On Tue, May 5, 2020 at 7:57 PM William Brown  wrote:
> > >
> > >
> > > > On 6 May 2020, at 04:33, Alberto Viana  wrote:
> > > >
> > > > additional info: invalid password syntax - passwords with storage
> scheme are not allowed
> > > >
> > >
> > >
> > > This line here is saying that you have a userPassword: {SCHEME}
> in your ldif (I think). By default we don't allow this, but there is a
> migrate password hash option in cn=config.
> > >
> > > Of course, loading a hash this way bypasses the password policy checks
> 
> > >
> > > So you may want to check your ldif, and set the userPassword as
> cleartext for the modify, and the server-side will apply pwpolicy and
> perform proper hashing.
> > >
> > > Hope that helps,
> > >
> > > —
> > > Sincerely,
> > >
> > > William Brown
> > >
> > > Senior Software Engineer, 389 Directory Server
> > > SUSE Labs
> > > ___
> > > 389-users mailing list -- 389-users@lists.fedoraproject.org
> > > To unsubscribe send an email to
> 389-users-le...@lists.fedoraproject.org
> > > Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > > List Guidelines:
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> > > List Archives:
> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
> > > ___
> > > 389-users mailing list -- 389-users@lists.fedoraproject.org
> > > To unsubscribe send an email to
> 389-users-le...@lists.fedoraproject.org
> > > Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > > List Guidelines:
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> > > List Archives:
> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
> >
> > —
> > Sincerely,
> >
> > William Brown
> >
> > Senior Software Engineer, 389 Directory Server
> > SUSE Labs
> > ___
> > 389-users mailing list -- 389-users@lists.fedoraproject.org
> > To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
> > Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives:
> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
> > ___
> > 389-users mailing list -- 389-users@lists.fedoraproject.org
> > To unsubscribe send an 

Re: F32 - terrible background

2020-05-07 Thread jarmo
Thu, 7 May 2020 07:27:54 -0400
Robert Moskowitz  kirjoitti:


> Today's updates included f32-backgrounds-base.  I thought that might
> be new backgrounds, but what ever it is, it is not in the background
> colors used by Xfce

I looked /usr/share/backgrounds there is symlink "default" png
and it points /usr/share/backgrounds/f32/default/f32.png.
Now deleted that symlink and pointed symlink to my image. Also
you can put your image there /usr/share/backgrounds and name it
as default.png, ofcourse if image in .png format..

Got that terrible image off my eyes.. :)

Jarmo
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Why is SELinux blocking virt-manager from reading my qcow2 file ?

2020-05-07 Thread Sreyan Chakravarty
I have a file for a Windows 10 VM in my home folder under a folder 
called virt-manager:


/home/sreyan/virt-manager/Windows 10-disk001.qcow2

When I try to switch on the VM from virt-manager it fails with:


SELinux is preventing worker from read access on the file 
/home/sreyan/virt-manager/Windows 10-disk001.qcow2.


*  Plugin qemu_file_image (91.4 confidence) suggests ***

If Windows 10-disk001.qcow2 is a virtualization target
Then you need to change the label on Windows 10-disk001.qcow2'
Do
# semanage fcontext -a -t virt_image_t 
'/home/sreyan/virt-manager/Windows.10-disk001.qcow2'

# restorecon -v '/home/sreyan/virt-manager/Windows.10-disk001.qcow2'

*  Plugin catchall (9.59 confidence) suggests **

If you believe that worker should be allowed read access on the Windows 
10-disk001.qcow2 file by default.

Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'worker' --raw | audit2allow -M my-worker
# semodule -X 300 -i my-worker.pp

Additional Information:
Source Context unconfined_u:unconfined_r:svirt_t:s0:c239,c999
Target Context system_u:object_r:svirt_image_t:s0:c276,c718
Target Objects    /home/sreyan/virt-manager/Windows 
10-disk001.qcow2

  [ file ]
Source    worker
Source Path   worker
Port  
Host  localhost.HPNotebook
Source RPM Packages
Target RPM Packages
SELinux Policy RPM    selinux-policy-3.14.4-50.fc31.noarch
Local Policy RPM selinux-policy-targeted-3.14.4-50.fc31.noarch
Selinux Enabled   True
Policy Type   targeted
Enforcing Mode    Enforcing
Host Name localhost.HPNotebook
Platform  Linux localhost.HPNotebook 
5.5.15-200.fc31.x86_64
  #1 SMP Thu Apr 2 19:16:17 UTC 2020 x86_64 
x86_64

Alert Count   3
First Seen    2020-05-07 17:34:50 IST
Last Seen 2020-05-07 17:34:50 IST
Local ID  74764396-5a32-4477-9eea-5e643d89c270

Raw Audit Messages
type=AVC msg=audit(1588853090.475:1605): avc:  denied  { read } for  
pid=29914 comm="worker" 
path=2F686F6D652F73726579616E2F766972742D6D616E616765722F57696E646F77732031302D6469736B3030312E71636F7732 
dev="dm-2" ino=6684679 
scontext=unconfined_u:unconfined_r:svirt_t:s0:c239,c999 
tcontext=system_u:object_r:svirt_image_t:s0:c276,c718 tclass=file 
permissive=0



Hash: worker,svirt_t,svirt_image_t,file,read


Should I just BLINDLY run the commands specified ? I don't want to be 
making exceptions that I don't understand fully.



Now what is strange is that it was working fine 2 days back. During that 
time I have not done any changes. No updates or whatever.


So why is this happening all of the sudden?

And why the hell is SELinux blocking a file in my /home ? It should be 
totally safe, why would anyone think this is suspicious ?


--
Regards,
Sreyan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: user crontab

2020-05-07 Thread Robert Moskowitz



On 5/6/20 11:34 PM, Cameron Simpson wrote:

On 07May2020 13:19, Cameron Simpson  wrote:

On 06May2020 20:20, Robert Moskowitz  wrote:
I am reading up on esmtp which comes with the base install and 
seemingly no mta needed?


Anyway
https://linux.die.net/man/5/esmtprc

shows how to config for sending an email via esmtp to an mta, but 
not just local delivery...


The bottom of that manual entry describes the "mta" setting, and says 
that esmtp relies on a local MTA for local delivery (addresses 
without an "@"). So you'll need something additional anyway. May as 
well go straight to a proper MTA.


And then, to my chagrin, I reread and see it provides example "mta" 
values like:


   /usr/bin/procmail -d %T

So you may be good there.


Would first have to install procmail for this.

It would be interesting to find a 'simple' python script to grab the 
cron output and 'make' an email and appended to the spool/mail


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: F32 - terrible background

2020-05-07 Thread Robert Moskowitz



On 5/7/20 7:33 AM, Ed Greshko wrote:

On 2020-05-07 19:27, Robert Moskowitz wrote:
Today's updates included f32-backgrounds-base.  I thought that might 
be new backgrounds, but what ever it is, it is not in the background 
colors used by Xfce 


You can do...

rpm -q --filesbypkg f32-backgrounds-base

to find what was included and where they are.  Nothing really new.  :-(


Perhaps this is something ingrained in you.  Not something I remember in 
my annual sojourn into this stuff.


Wow, did they fix the default background.

Someone is listening into things discussed here!

This version is reasonable!  I will use it for at least a while to tip 
my hat, so to speak (I have a real Panama hat from my grandfather that 
we think he got back in the '30s!), to those working on delivering all 
this code and stuff to us.




___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: user crontab

2020-05-07 Thread Robert Moskowitz



On 5/6/20 11:06 PM, Gordon Messmer wrote:

On 5/6/20 3:00 PM, Robert Moskowitz wrote:
Do I need something like postfix with a minimal installation to get 
the output from my crontab? 



Technically, no.  If you only want to deliver the messages locally, 
then you only need an MDA, not an MTA.  In fact, you could just create 
/usr/sbin/sendmail as a simple shell script:


#!/bin/sh

(cat; echo) >> $HOME/cron-output


Now I am getting some place.  But I would want it to go to

/var/spool/mail/$USER

Also there is already a /usr/sbin/sendmail on the system.  I am 
concerned that if I replace it with your example, a later update will 
remove it.  I looked at man crontab.5 and did not see a way to specify 
the mail command to run for the cron output.


And finally, how could I test this after setting it up instead of 
waiting for the scheduled time?


thanks

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: F32 - terrible background

2020-05-07 Thread Ed Greshko
On 2020-05-07 19:27, Robert Moskowitz wrote:
> Today's updates included f32-backgrounds-base.  I thought that might be new 
> backgrounds, but what ever it is, it is not in the background colors used by 
> Xfce 

You can do...

rpm -q --filesbypkg f32-backgrounds-base

to find what was included and where they are.  Nothing really new.  :-(

-- 
The key to getting good answers is to ask good questions.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: F32 - terrible background

2020-05-07 Thread Robert Moskowitz



On 5/6/20 10:38 PM, Ed Greshko wrote:

On 2020-05-07 10:30, Robert Moskowitz wrote:



On 5/6/20 10:21 PM, Ed Greshko wrote:

On 2020-05-07 10:14, Robert Moskowitz wrote:


On 5/6/20 10:03 PM, John M. Harris Jr wrote:

On Tuesday, May 5, 2020 6:35:15 PM MST Robert Moskowitz wrote:

Ugh.

And I had the nerve to complain about the F30 background.

This overly blue and bright background has to go!!!
Yeah, it came up on the devel list a few weeks ago, it led users 
to believe
their graphics drivers were having issues. I'm not really 
surprised it didn't
get resolve though. As a plus, it's not the default for KDE Spin, 
it seems.


One person on the list sent me some nice soft blue backgrounds that 
if I have to use blue they are miles better.


I don't like backgrounds with any sort of picture.  Soothing soft 
plain colors for me.  Perhaps a green would be better...



You said you're using Xfce, yes?

If you want a solid color background, then why didn't you select 
"Style: None" and then

"Color: Solid color" and then pick the color you want?



I am not seeing this as a feature in the Desktop settings dialog.

What are you using for this?




Desktop Settings.  Here is a screenshot.

https://drive.google.com/file/d/1a9i45W69SrCUnAxrz9yyw0qICJBCIRf9/view?usp=sharing



I saw this and could not get it to work.  But since you had it working, 
I looked again.  What option was needed to turn off the picture 
background and switch to the color?


I finally found it was the Style pull down.  You have to change that to 
None for desktop to switch to color.


Really obvious of course.

Not

Thanks

Today's updates included f32-backgrounds-base.  I thought that might be 
new backgrounds, but what ever it is, it is not in the background colors 
used by Xfce


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: dual Ethernet adapters?

2020-05-07 Thread J.Witvliet--- via users



From: "ToddAndMargo via users" 
mailto:users@lists.fedoraproject.org>>
Date: Thursday, 7 May 2020 at 00:03:05
To: "Community support for Fedora users" 
mailto:users@lists.fedoraproject.org>>
Cc: "ToddAndMargo" mailto:toddandma...@zoho.com>>
Subject: dual Ethernet adapters?

Hi All,

Not to ask too silly a question, but what happens when
you have dual Ethernet adapters and you hook both of
them to your (switching) hub?

You go twice as fast?

Very seldom.
You might try bonding, but remember about “the weakest link in the chain”.

Dual adapters are very helpfull when dealing with multiple segments, or 
multiple internet providers.



Many thanks,
-T
Tony Ewell, B.S.E.E.
Owner, Rent-A-Nerd Computer Services
775-265-5150,  9:00 am to 5:00 pm PST/PDT

--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet 
de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u 
verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat 
aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband 
houdt met risico's verbonden aan het elektronisch verzenden van berichten.

This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. The State accepts no 
liability for damage of any kind resulting from the risks inherent in the 
electronic transmission of messages.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


re. Restoring a USB back-up using Back-ups (Duplicity)

2020-05-07 Thread Andrew Wood

Hello,

Thank-you for your suggestions re. the partitioning of the USB in 
response to my previous email.


Note that I'm not especially concerned with restoring the USB exactly - 
with all its partitions, etc. It's a standard USB which was formatted on 
a windows machine to be a Live Fedora 32 stick. But prior to this I'd 
backed it up with duplicity simply by plugging into my Fedora machine 
when the weekly back-up was scheduled. It's true that even before it 
become the Live Fedora 32 stick,  it was a Live USB anyway. When I 
plugged it into the computer then I'd have a panel pop-up saying: 
'Contains software. Would you like to run it?' But more importantly, 
there was data on it - in the data partition.


The restored USB could be reformatted to be a single large volume as has 
been suggested. I'm not clear if duplicity would only have backed-up the 
data partition on the USB (volume name '7160-75C1'). In a sense, it 
doesn't matter as the data is the part that matters and that remains in 
the archive which duplicity created. Does that all make sense?


This leads me to the use of duplicity. I notice a man entry for it here: 
https://linux.die.net/man/1/duplicity


*duplicity restore [*/options/*]* /source_url /target_directory

I couldn't understand how to use this command! My first unknown is the 
source URL. I'm using a external USB hardisk 'MyPassport' on /dev/sda1 
for the duplicity archive.


Is it source file:///dev/sda1/Deja-Vu-Back-up where Deja-Vu-Back-up is 
the directory with the back-ups??


Somehow, I need to pass the name of the backed-up USB volume 
('7160-75C1') too. Note that it's all the data contents of the the 
volume. Then there's the target directory too - anywhere in my hard disk 
in the home/user directory will do - on a standard Fedora setup.


Thanks for all your help and advice.

Best wishes, Andrew

 Forwarded Message 
Subject:re. Restoring a USB back-up using Back-ups (Duplicity)
Date:   Wed, 6 May 2020 21:11:15 +0100
From:   Andrew Wood 
To: users@lists.fedoraproject.org



Thanks for this reply ... I should have said that the USB drive I 
mentioned (/run/media/awood/7160-75C1 ) was previously a bootable USB 
and partitioned as such. This leads me to wonder if I can simply rename 
the volume (is that the correct term?) to the previous name and then use 
Duplicity? But what's the parameters for a restore on this USB with this 
name?

Thanks for your help and assistance.
Andrew
Date: Wed, 6 May 2020 12:15:32 -0700 From: Samuel Sieb  
Subject: Re: Restoring a USB back-up using Back-ups (Duplicity) on 
Fedora To: users@lists.fedoraproject.org Message-ID: 
 Content-Type: 
text/plain; charset=utf-8; format=flowed On 5/6/20 11:38 AM, Andrew Wood 
wrote:



I had a USB flash drive which I backed using Back-ups (Duplicity) on
Fedora 31. The USB volume was called /run/media/awood/7160-75C1

I then used the same USB flash drive to create a Fedora 32 Live Image on
it. After this, the USB volume was called
/run/media/awood/Fedora-WS-Live-32-1-6

How do I restore the contents of the USB flash drive so that it has the
same contents as the /run/media/awood/7160-75C1 ??


You need to reformat it with the original filesystem id.  Open a
terminal and use "fdisk -l" to make sure you have the right device.  I'm
going to assume the drive is /dev/sdb and only has one partition.  Make
sure it's unmounted by running:
umount /run/media/awood/Fedora-WS-Live-32-1-6
Don't click the eject button because that will also disconnect it from
USB.  Then run "sudo mkfs.fat -i 716075C1 /dev/sdb1".  Replug the device
and it should come up as before.

--


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Gjots2 installation issues on F32

2020-05-07 Thread Frederic Muller
On 5/7/20 3:08 PM, Samuel Sieb wrote:
> On 5/7/20 1:01 AM, Frederic Muller wrote:
>> On 5/7/20 2:16 PM, Samuel Sieb wrote:
>>> On 5/7/20 12:10 AM, Frederic Muller wrote:
 So when downloading the latest rpm from sourceforge
 (v3.1.6-1.fc31.noarch.rpm) I am getting the following errors when
 installing:
 Problem: conflicting requests
 - nothing provides python(abi) = 3.7 needed by
 gjots2-3.1.6-1.fc31.noarch
>>>
>>> F32 has moved to Python 3.8:
>>> https://fedoraproject.org/wiki/Changes/Python3.8
>>> ___
>>
>> Yes I read that. I thought 3.7 would be a minimum requirement. Is there
>> a way for me to change that inside the rpm or fix the issue then?
>
> You could try using "rpmrebuild" to adjust the requirements.  But that
> would only work if the ABIs are actually compatible between 3.7 and
> 3.8.  It's strange that it's a noarch package that requires a certain
> ABI. Otherwise, you would need to rebuild the rpm from source.
ok I see. Well at least I have something to "play with" today. ;-)

Thank you very much for your tips.

Fred
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Gjots2 installation issues on F32

2020-05-07 Thread Samuel Sieb

On 5/7/20 1:01 AM, Frederic Muller wrote:

On 5/7/20 2:16 PM, Samuel Sieb wrote:

On 5/7/20 12:10 AM, Frederic Muller wrote:

So when downloading the latest rpm from sourceforge
(v3.1.6-1.fc31.noarch.rpm) I am getting the following errors when
installing:
Problem: conflicting requests
- nothing provides python(abi) = 3.7 needed by
gjots2-3.1.6-1.fc31.noarch


F32 has moved to Python 3.8:
https://fedoraproject.org/wiki/Changes/Python3.8
___


Yes I read that. I thought 3.7 would be a minimum requirement. Is there
a way for me to change that inside the rpm or fix the issue then?


You could try using "rpmrebuild" to adjust the requirements.  But that 
would only work if the ABIs are actually compatible between 3.7 and 3.8. 
 It's strange that it's a noarch package that requires a certain ABI. 
Otherwise, you would need to rebuild the rpm from source.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Gjots2 installation issues on F32

2020-05-07 Thread Frederic Muller
On 5/7/20 2:16 PM, Samuel Sieb wrote:
> On 5/7/20 12:10 AM, Frederic Muller wrote:
>> So when downloading the latest rpm from sourceforge
>> (v3.1.6-1.fc31.noarch.rpm) I am getting the following errors when
>> installing:
>> Problem: conflicting requests
>> - nothing provides python(abi) = 3.7 needed by
>> gjots2-3.1.6-1.fc31.noarch
>
> F32 has moved to Python 3.8:
> https://fedoraproject.org/wiki/Changes/Python3.8
> ___

Yes I read that. I thought 3.7 would be a minimum requirement. Is there
a way for me to change that inside the rpm or fix the issue then?

Thank you.

Fred
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Restoring a USB back-up using Back-ups (Duplicity) on Fedora

2020-05-07 Thread Thomas Schmitt
Hi,

Samuel Sieb wrote:
> I was thinking that he had used one of the tools to
> create the live media, but that usually gives a mount point of "LIVE", so it
> likely was a straight write of the iso.

Oops. I did not consider unpacker/installer tools.
So Andrew Wood should better run something like

  sudo lsblk -o NAME,SIZE,FSTYPE,LABEL

to get an overview of block devices and show us the lines which say
"Fedora-WS-Live-32-1-6" and their subordinates (or their boss and peers).
If the ISO was copied directly to the stick, they probably look like

  sdd   1.8G iso9660 Fedora-WS-Live-31-1-6
  ├─sdd11.8G iso9660 Fedora-WS-Live-31-1-6
  ├─sdd2   10.6M vfatANACONDA
  └─sdd3   22.2M hfsplus ANACONDA


> Have you seen USB sticks that come with a GPT partition table?

Not when they are new. But people or software can decide to equip
the stick with GPT.

grub-mkrescue produces ISOs with GPT. Guix and other projects use it
to make their installation ISOs. If you run sfdisk after copying the
ISO in order to let it move the backup table to the storage device
end, then the stick gets fully GPT compliant.

(Fedora ISOs contain an invalid GPT and its backup. But because the
GPT is not announced by a protective MBR partition table, it is not
recognizable. Its backup table will hardly ever get at the exact end
of a storage device. So it will not be recognized either. Cargo cult.
I try to proselyte distros to use plain not nested MBR table. But
everybody is reluctant to change layouts that work by accident but
are nevertheless reliable.)


> the filesystem still needs to
> be reformatted and set to the right volume id.

Yes.

I think "7160-75C1" was what man mformat calls -N "serial number" and
man mkdosfs calls -i "volume id", in contrast to -v "volume label" and
-n "volume name" which can take up to 11 characters. The label was
probably all blanks, so that the blkid "UUID" value was chosen as mount
point name.



Whatever, it seems that Andrew Wood needs hands-on advise how to
partition the USB stick. The instruction for how to then create the
filesystem was given by Samuel Sieb by:

  sudo mkfs.fat -i 716075C1 /dev/sdb1

with the caveat that /dev/sdb1 is only an example and has to be replaced
by the address of the newly created first partition of the stick.

And of course an example has to be given how to restore the backup into
the new filesystem.


Have a nice day :)

Thomas
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Gjots2 installation issues on F32

2020-05-07 Thread Samuel Sieb

On 5/7/20 12:10 AM, Frederic Muller wrote:

So when downloading the latest rpm from sourceforge
(v3.1.6-1.fc31.noarch.rpm) I am getting the following errors when
installing:
Problem: conflicting requests
- nothing provides python(abi) = 3.7 needed by gjots2-3.1.6-1.fc31.noarch


F32 has moved to Python 3.8:
https://fedoraproject.org/wiki/Changes/Python3.8
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Gjots2 installation issues on F32

2020-05-07 Thread Frederic Muller
Hi!

Opened a bug report in the Gjots2 bug tracker but didn't receive a
response yet. So apparently the package has been upgraded (since v3.1.0)
to use Python3 and PyGObject for GTK-3, and is actively maintained,
which is great.

I am using Gjots2 to store my passwords, using PGP encryption and not
being able to install it is a bit of an issue.

So when downloading the latest rpm from sourceforge
(v3.1.6-1.fc31.noarch.rpm) I am getting the following errors when
installing:
Problem: conflicting requests
- nothing provides python(abi) = 3.7 needed by gjots2-3.1.6-1.fc31.noarch

Any idea how to resolve this?

Thank you.

Fred
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: /etc/sysconfig/network-scripts/ifcfg-* not read after upgrade to F32

2020-05-07 Thread Tim via users
On Wed, 2020-05-06 at 15:42 -0700, John M. Harris Jr wrote:
> Apparently, nothing.. "no such connection profile". That's pretty
> odd, this was configured using NetworkManager in the Anaconda GUI.

When you're installing a system, Anaconda gives you the chance to
manually configure some network details *for* the installation routine
to use during installation.  These settings are temporary, they don't
write a configuration for the installed system to use, later on.  And
if you're on a network with a DHCP server that will automatically
assign working addresses, you don't have to do anything at this point,
the DHCP system will set things up for you.

During first boot of the installed system, you're given a chance to
manually control network settings for the newly installed system.
 
-- 
 
uname -rsvp
Linux 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org