Re: Grub2 UEFI PXE chainloader unloading Network Stack when chainloading an EFI module

2016-07-14 Thread Leandro Gustavo Biss Becker
Thank you all for the replies and sorry my late reply.

Gordon, I downgraded a little bit, from f24 
(grub2-efi-2.02-0.34.fc24.x86_64.rpm) to f22 
(grub2-efi-2.02-0.18.fc22.x86_64.rpm) and everything is working for my needs. 
Chris, thank you for you tips, all the used modules are builtin.

Analyzing the source code for both versions, I found an interesting change on 
grub-core\loader\efi\chainloader.c:382 ( I do not know if this change is 
broking what I need). In the newer version of grub, there is a call to 
grub_device_close(dev), so I'm wondering if this is causing the custom 
application to fail opening UEFI Network Protocols.

Here is a link to a picture of the code difference: 
https://1drv.ms/i/s!AsJQCGQT6-QYnymMc77WIQntDizy

My best regards, Leandro!
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can't start mariadb-server_Solved

2016-07-14 Thread jd1008



On 07/14/2016 12:13 PM, Rick Stevens wrote:

On 07/14/2016 10:51 AM, jd1008 wrote:


On 07/14/2016 11:42 AM, Rick Stevens wrote:

On 07/14/2016 10:20 AM, maderios wrote:

On 07/12/2016 06:00 PM, maderios wrote:

Hi
On F24, I can't start mariadb-server
'systemctl start mariadb
Job for mariadb.service failed because the control process exited with
error code. See "systemctl status mariadb.service" and "journalctl -xe"
for details.'

Hi
I discovered that, strangely, dnf doesn't delete mysql installation in
/var/lib/mysql when I uninstall old Mysql.
Mariadb tried to use /var/lib/mysql/*, that's why it did not work
After removing this directory, I can start mariadb.

Most uninstalls don't delete _data_ files created by the application--
just in case the uninstall was an "oops!" and you still want the data.


It is strange that 2 different db management SW, are coded
to use same data dir. Should not each db management package
make use of a data dir that bears it's installation name, such as
/var/lib/mariadb.d for mariadb ? This would have spared the OP
the unpleasant experience.

As I understand it, MariaDB is supposed to be the replacement for MySQL
as far as Fedora is concerned. I can see two possibilities: a) there's
a permission issue in that /var/lib/mysql is owned by the old mysql user
and mariadb uses a different user; or b) the MySQL databases aren't
compatible with the MariaDB version installed. Without the logs, it's
pretty hard to tell.


But the installation process should create a unique user also, specific
to the name of the db package. Keeping things separate is, as I see it,
the way to go to prevent clashing pathnames.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can't start mariadb-server_Solved

2016-07-14 Thread maderios

On 07/14/2016 08:13 PM, Rick Stevens wrote:

As I understand it, MariaDB is supposed to be the replacement for MySQL
as far as Fedora is concerned. I can see two possibilities: a) there's
a permission issue in that /var/lib/mysql is owned by the old mysql user
and mariadb uses a different user; or b) the MySQL databases aren't
compatible with the MariaDB version installed. Without the logs, it's
pretty hard to tell.


*OLD* /var/log/mariadb.log

2016-07-12 17:44:57 140485538900160 [Note] InnoDB: Using mutexes to ref 
count buffer pool pages
2016-07-12 17:44:57 140485538900160 [Note] InnoDB: The InnoDB memory 
heap is disabled
2016-07-12 17:44:57 140485538900160 [Note] InnoDB: Mutexes and rw_locks 
use GCC atomic builtins
2016-07-12 17:44:57 140485538900160 [Note] InnoDB: Memory barrier is not 
used
2016-07-12 17:44:57 140485538900160 [Note] InnoDB: Compressed tables use 
zlib 1.2.8

2016-07-12 17:44:57 140485538900160 [Note] InnoDB: Using Linux native AIO
2016-07-12 17:44:57 140485538900160 [Note] InnoDB: Using SSE crc32 
instructions
2016-07-12 17:44:57 140485538900160 [Note] InnoDB: Initializing buffer 
pool, size = 128.0M
2016-07-12 17:44:57 140485538900160 [Note] InnoDB: Completed 
initialization of buffer pool
2016-07-12 17:44:57 140485538900160 [Note] InnoDB: Highest supported 
file format is Barracuda.

InnoDB: No valid checkpoint found.
InnoDB: If you are attempting downgrade from MySQL 5.7.9 or later,
InnoDB: please refer to 
http://dev.mysql.com/doc/refman/5.6/en/upgrading-downgrading.html

InnoDB: If this error appears when you are creating an InnoDB database,
InnoDB: the problem may be that during an earlier attempt you managed
InnoDB: to create the InnoDB data files, but log file creation failed.
InnoDB: If that is the case, please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/error-creating-innodb.html
2016-07-12 17:44:57 140485538900160 [ERROR] Plugin 'InnoDB' init 
function returned error.
2016-07-12 17:44:57 140485538900160 [ERROR] Plugin 'InnoDB' registration 
as a STORAGE ENGINE failed.

2016-07-12 17:44:57 140485538900160 [Note] Plugin 'FEEDBACK' is disabled.
2016-07-12 17:44:57 140485538900160 [Warning] GSSAPI plugin : default 
principal 'mariadb/localhost.localdomain@' not found in keytab
2016-07-12 17:44:57 140485538900160 [ERROR] mysqld: Server GSSAPI error 
(major 851968, minor 2529639093) : gss_acquire_cred failed -Unspecified 
GSS failure.  Minor code may provide more information. Keytab 
FILE:/etc/krb5.keytab is nonexistent or empty.
2016-07-12 17:44:57 140485538900160 [ERROR] Plugin 'gssapi' init 
function returned error.
2016-07-12 17:44:57 140485538900160 [ERROR] Unknown/unsupported storage 
engine: InnoDB

2016-07-12 17:44:57 140485538900160 [ERROR] Aborting
--
Maderios
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can't start mariadb-server_Solved

2016-07-14 Thread Rick Stevens
On 07/14/2016 10:51 AM, jd1008 wrote:
> 
> 
> On 07/14/2016 11:42 AM, Rick Stevens wrote:
>> On 07/14/2016 10:20 AM, maderios wrote:
>>> On 07/12/2016 06:00 PM, maderios wrote:
 Hi
 On F24, I can't start mariadb-server
 'systemctl start mariadb
 Job for mariadb.service failed because the control process exited with
 error code. See "systemctl status mariadb.service" and "journalctl -xe"
 for details.'
>>> Hi
>>> I discovered that, strangely, dnf doesn't delete mysql installation in
>>> /var/lib/mysql when I uninstall old Mysql.
>>> Mariadb tried to use /var/lib/mysql/*, that's why it did not work
>>> After removing this directory, I can start mariadb.
>> Most uninstalls don't delete _data_ files created by the application--
>> just in case the uninstall was an "oops!" and you still want the data.
>>
> It is strange that 2 different db management SW, are coded
> to use same data dir. Should not each db management package
> make use of a data dir that bears it's installation name, such as
> /var/lib/mariadb.d for mariadb ? This would have spared the OP
> the unpleasant experience.

As I understand it, MariaDB is supposed to be the replacement for MySQL
as far as Fedora is concerned. I can see two possibilities: a) there's
a permission issue in that /var/lib/mysql is owned by the old mysql user
and mariadb uses a different user; or b) the MySQL databases aren't
compatible with the MariaDB version installed. Without the logs, it's
pretty hard to tell.
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
- Millihelen (n): The amount of beauty required to launch one ship.  -
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can't start mariadb-server_Solved

2016-07-14 Thread jd1008



On 07/14/2016 11:42 AM, Rick Stevens wrote:

On 07/14/2016 10:20 AM, maderios wrote:

On 07/12/2016 06:00 PM, maderios wrote:

Hi
On F24, I can't start mariadb-server
'systemctl start mariadb
Job for mariadb.service failed because the control process exited with
error code. See "systemctl status mariadb.service" and "journalctl -xe"
for details.'

Hi
I discovered that, strangely, dnf doesn't delete mysql installation in
/var/lib/mysql when I uninstall old Mysql.
Mariadb tried to use /var/lib/mysql/*, that's why it did not work
After removing this directory, I can start mariadb.

Most uninstalls don't delete _data_ files created by the application--
just in case the uninstall was an "oops!" and you still want the data.


It is strange that 2 different db management SW, are coded
to use same data dir. Should not each db management package
make use of a data dir that bears it's installation name, such as
/var/lib/mariadb.d for mariadb ? This would have spared the OP
the unpleasant experience.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can't start mariadb-server_Solved

2016-07-14 Thread Rick Stevens
On 07/14/2016 10:20 AM, maderios wrote:
> On 07/12/2016 06:00 PM, maderios wrote:
>> Hi
>> On F24, I can't start mariadb-server
>> 'systemctl start mariadb
>> Job for mariadb.service failed because the control process exited with
>> error code. See "systemctl status mariadb.service" and "journalctl -xe"
>> for details.'
> Hi
> I discovered that, strangely, dnf doesn't delete mysql installation in
> /var/lib/mysql when I uninstall old Mysql.
> Mariadb tried to use /var/lib/mysql/*, that's why it did not work
> After removing this directory, I can start mariadb.

Most uninstalls don't delete _data_ files created by the application--
just in case the uninstall was an "oops!" and you still want the data.
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
-  If you put the federal government in charge of the Sahara Desert, -
-  in five years there'd be a shortage of sand.  -
-  -- Milton Friedman-
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Can't start mariadb-server_Solved

2016-07-14 Thread maderios

On 07/12/2016 06:00 PM, maderios wrote:

Hi
On F24, I can't start mariadb-server
'systemctl start mariadb
Job for mariadb.service failed because the control process exited with
error code. See "systemctl status mariadb.service" and "journalctl -xe"
for details.'

Hi
I discovered that, strangely, dnf doesn't delete mysql installation in 
/var/lib/mysql when I uninstall old Mysql.

Mariadb tried to use /var/lib/mysql/*, that's why it did not work
After removing this directory, I can start mariadb.
Greetings
--
Maderios
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


cron -- abrt issue

2016-07-14 Thread bruce
Hey..

Testing some code (python).

Created a simple test cron to run the app. The app runs from the cmdline as
the user, so in the cmd world, env vars, user privs/etc.. are good.

However, from the cron process, I get the following. The logs --
/var/log/messages indicate the abrtd process is deleting the tmp dir.. so I
can't see what it's complaining about..

Any thoughts on how to resolve this..

Jul 14 08:45:09 crawl1 abrt: detected unhandled Python exception in
'/crawl_tmp/jcccParse_cloud_test.py'
Jul 14 08:45:09 crawl1 abrtd: Directory 'pyhook-2016-07-14-08:45:09-14939'
creation detected
Jul 14 08:45:09 crawl1 abrt-server[14944]: Saved Python crash dump of pid
14939 to /var/spool/abrt/pyhook-2016-07-14-08:45:09-14939
Jul 14 08:45:09 crawl1 abrtd: Executable
'/crawl_tmp/jcccParse_cloud_test.py' doesn't belong to any package and
ProcessUnpackaged is set to 'no'
Jul 14 08:45:09 crawl1 abrtd: 'post-create' on
'/var/spool/abrt/pyhook-2016-07-14-08:45:09-14939' exited with 1
Jul 14 08:45:09 crawl1 abrtd: Deleting problem directory
'/var/spool/abrt/pyhook-2016-07-14-08:45:09-14939'

Thanks...
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: ssm resize luks on lvm...

2016-07-14 Thread Morgan Read

On 12/07/16 16:24, Chris Murphy wrote:

On Tue, Jul 12, 2016 at 5:35 AM, Morgan Read  wrote:



Well, it seems to have reduced the volumes, but not the filesystems:

Volume   Pool   Volume size  FS
FS size   Free  TypeMount point

...
/dev/mapper/luks-a69b434b-c409-4612-a51e-4bb0162cb316
  crypt_pool   192.73 GB ext4
195.73 GB   21.40 GB  crypt   /home
/dev/mapper/luks-d313ea5e-fe14-4967-b11c-ae0e03c348b6
  crypt_pool17.00 GB ext4
20.00 GB   14.70 GB  crypt   /



You're right, this is damn peculiar.

The way I'm reading this, each LV is separately encrypted, is that
right? And then it's the dmcrypt/LUKS volume that is formatted ext4?

So:

ext4
   |
LUKS
   |
  LV
   |
  VG
   |
  PV
   |
Disk

If so, as far as I can tell it's correct to point it at the LUKS
volume, the thing that is mounted.


Yes, that's it - I prefer to look up at the underside of the disk though :')

Historically, I've always had / /home and /usr/local on separate 
partitions, then LVM came along, then LUKS came along - then I started 
to find I wanted to preserve /var and /opt during upgrades.  Perhaps, if 
I didn't suffer from historical inertia then I would have encrypted the 
whole disk putting LUKS on top of the LVM (or, below from the way you're 
looking at disks - anyway, so individual partitions weren't encrypted 
but the whole disk, or should that be PV or LV...).  I've never been 
able to see where the balance of benefits lies between LVM/LUKS and 
LUKS/LVM.



I've cut and pasted direct from the terminal - no omissions or additions to
the series of commands and outputs.

Following the two above commands, ssm lists the two volumes as reduced in
size by 3G, but the file system's size (FS size) as remaining the same...


But what I'm seeing is *ONLY* the LUKS volume was reduced. The LV is
the same size as before.

ssm is apparently confused about the stack relationships. It's
treating the command literally for only the dmcrypt volume, not the
file system and not the LV. Off hand I'd say that's a really big bug.


Hmm, yes.  The developer seems to have acknowledged that on the bug report.

...


So it's catch 22. It can't be shrunk now because the proper accounting
can't be done. It can't be fixed until the partition is resized to
match the volume size, and even then the fixing may fail for multiple
reasons.


Bugger!  (Thank god I wasn't so cavalier to do this without b/u first!)



Docs, docs, docs!



...



I don't know what you mean by the last sentence. The LV is the
underlying system, LUKS volumes is above that, and the fs is above
that. Shrink has to be done top to bottom, which is what it seems you


I'm a Kiwi - perhaps I see things the other way up? :)

Many thanks for your help getting to the bottom of this.
Regards
Morgan.

--
Morgan Read


Confused about DRM?
Get all the info you need at:
http://drm.info/
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[SOLVED] Re: OT: grep and regex patterns

2016-07-14 Thread Mike Wright

On 07/13/2016 11:02 PM, c...@zip.com.au wrote:

On 13Jul2016 22:03, Mike Wright  wrote:

OK, thanks everybody.

Had to use egrep. This works:

PATTERN='https?://[^/]*\.in(/.*)*'
egrep $PATTERN file.of.links > links.in


You need quotes around $PATTERN when you use it, thus:

  egrep "$PATTERN" file.of.links > links.in


Arrrgh!  I'd sloppily lost the double quotes during a cut and paste. 
They've been restored.



You may be getting away with it here, but another pattern may well be
broken up by the shell on whitespace. Not to mention globbing (unquoted
askerisks and question marks, etc).


Covers cases with https and where nothing follows the .in


Your:

  (/.*)*

is better written:

  (/.*)?

i.e. it is there or it is not. As it happens the "*" form you used will
be matched as efficiently in this case, but there are plenty of patterns
where using "*" instead of something more constrained can lead to
exponential cost as the regexp engine tries many many more combinations
as it attempts to match. Always write these things as
pickily/conservatively as possible.


Makes sense.  Exponential earnings = good, costs = bad ;)


The other nit is that you should use $lowercase variable names in the
shell instead of $UPPERCASE names for script local variables which you
do not intend to export. This is a good practice thing, but quite
important for reasons I can explain at length is requested.


Duly noted.  I got bit by that yesterday when I stepped on a system 
level variable.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: application to listen to on-line broadcasts? [SOLVED]

2016-07-14 Thread Tim
On Wed, 2016-07-13 at 16:46 -0600, William wrote:
> Neither VLC nor Amarok seem to come with Fedora

My (old) version of Fedora has VLC installed from the RPM Fusion repos,
most likely because it includes encumbered codecs.  It is one of the
players that handles just about everything you can throw at it.  And
it's cross-platform, giving it has a very wide userbase, so it's
probably not going to go away.

-- 
tim@localhost ~]$ uname -rsvp

Linux 3.19.8-100.fc20.i686 #1 SMP Tue May 12 17:42:35 UTC 2015 i686

All mail to my mailbox is automatically deleted, there is no point trying
to privately email me, I will only read messages posted to the public lists.

George Orwell's '1984' was supposed to be a warning against tyranny, not
a set of instructions for supposedly democratic governments.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: dual boot - Windows 10 upgrade.

2016-07-14 Thread Ger van Dijck
Op Thu, 14 Jul 2016 02:47:13 +0200 schreef Robin Laing  
:


I need to do the windows 10 upgrade on a dual boot laptop.  Any serious  
worries I need to watch out for?


Thank you in advance.

Robin
--


Just do the upgrade to Windows 10 and reinstall new Fedora 24 : When  
upgrading to Windows 10 Fedora keeps in the bootloader the name of the  
former version of Windows , then reinstall new Fdora 24 and in the  
bootloader appears Windows 10.


My experience is that when you upgrade or do a new install of Windows dual  
boot does not functionate anymore.


Greetings ,


Ger van Dijck.

users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



--
Gemaakt met Opera's revolutionaire e-mailprogramma:  
http://www.opera.com/mail/

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org