Re: F29 to F30 VMware upgrade

2019-05-29 Thread Chris Murphy
On Wed, May 29, 2019 at 7:01 PM CLOSE Dave
 wrote:
>
> I have upgraded three VMware images previously running Fedora 29 to
> Fedora 30 using system-upgrade. All the images are running on the same
> ESC hardware and, so far as I know, use the same VMware foundation. The
> first worked flawlessly. Both the second and third failed in exactly the
> same way: they failed to reboot successfully after the upgrade.
>
> When the reboot occurred, VMware reported a "alloc magic" error
> immediately and froze. Not being a VMware expert, I referred the issue
> to someone who is and he discovered that the MBR, master boot record, on
> the image was corrupt. After installing a new MBR, the system booted and
> the upgrade showed no further problems.

Not sure what would corrupt it but there is competition for LBA 0, the
MBR, in that there's a bootloader portion in the first ~440 bytes and
then a partition table from that point until the 512th byte. So
whenever something changes a partition or a boot flag (active bit) or
bootloader jump code, there's a risk. This was such a well known
problem it directly affected GPT. For one, don't use LBA 0. Two, make
two copies in two totally different locations. Three, checksum
everything. Four, give the bootloader its own home, no sharing.


>
> While investigating, we were sidetracked by the content of grub.cfg. It
> appears that grub no longer includes a section for each possible system
> to be booted. Not seeing any, we thought grub.cfg was corrupt also. But
> that is apparently not the case. After the MBR fix, the generated
> grub.cfg works properly.

Normal behavior, new feature.
https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault

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


F29 to F30 VMware upgrade

2019-05-29 Thread CLOSE Dave
I have upgraded three VMware images previously running Fedora 29 to
Fedora 30 using system-upgrade. All the images are running on the same
ESC hardware and, so far as I know, use the same VMware foundation. The
first worked flawlessly. Both the second and third failed in exactly the
same way: they failed to reboot successfully after the upgrade.

When the reboot occurred, VMware reported a "alloc magic" error
immediately and froze. Not being a VMware expert, I referred the issue
to someone who is and he discovered that the MBR, master boot record, on
the image was corrupt. After installing a new MBR, the system booted and
the upgrade showed no further problems.

While investigating, we were sidetracked by the content of grub.cfg. It
appears that grub no longer includes a section for each possible system
to be booted. Not seeing any, we thought grub.cfg was corrupt also. But
that is apparently not the case. After the MBR fix, the generated
grub.cfg works properly.
-- 
Dave Close
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


alternatives to pnmixer in F30

2019-05-29 Thread Ranjan Maitra
Hi,

I have noticed that pnmixer has been orphaned in F30. What are alternatives 
that I may use? (I rather liked pnmixer and am sorry to see it go, but would be 
fine with checking out something else).

Many thanks and best wishes,
Ranjan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


RPM specfile error with F30

2019-05-29 Thread Ranjan Maitra
Hi,

I have the following specfile which compiled fine in F29 but is not able to 
find references to standard functions in X11, etc even though the compilation 
happens without error (outside the rpmbuild environment). So I am wondering if 
anyone has some suggestions on what has changed/is going wrong.

Here is the spec file:

$ fpaste thaali.spec
Uploading (1.4KiB)...
https://paste.fedoraproject.org/paste/3sHHnOdGoM4YHmdzzJRzgQ


And here are the messages that I get when I try to build:

$ rpmbuild -bb thaali.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k76G12
+ umask 022
+ cd /home/maitra/rpmbuild/BUILD
+ cd /home/maitra/rpmbuild/BUILD
+ rm -rf thaali-0.4.2
+ /usr/bin/bzip2 -dc /home/maitra/rpmbuild/SOURCES/thaali-0.4.2.tar.bz2
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd thaali-0.4.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YvXEwJ
+ umask 022
+ cd /home/maitra/rpmbuild/BUILD
+ cd thaali-0.4.2
+ autoreconf -if
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong 
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong 
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong 
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong 
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection 
-I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now 
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']'
++ find . -name ltmain.sh
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu 
--program-prefix= --disable-dependency-tracking --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc 
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib 
--mandir=/usr/share/man --infodir=/usr/share/info
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
+ /usr/bin/make -O -j8
/usr/bin/make  all-recursive
Making all in src
make[2]: Entering directory '/home/maitra/rpmbuild/BUILD/thaali-0.4.2/src'
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions 

Re: Kickstart Fedora 30 (aarch64) on Raspberry Pi 3 B+

2019-05-29 Thread Felix Geschwindner via users
Thanks Jim, I'll start a thread on the ARM list and reference this discussion.

I played around a bit with both virt_install and lorax and they just don't feel 
as smooth and clean as the traditional PXE way
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


system-upgrade from CIFS-mounted repo?

2019-05-29 Thread Greg Woods
I have a feeling that when this is resolved I'll be doing a face palm and
saying "of course, you idiot!" but I'm not seeing the answer right now.

I have a local repo that I maintain using rsync from an official Fedora
mirror site. This repo is located on one of my "always-on" servers using a
systemd automount in /etc/fstab:

worldsys:/install   /install   nfsrw,x-systemd.automount 0 0

This works great for installing new packages and doing updates, but it does
not work for doing dnf system-upgrade. The packages are not copied when the
"system-upgrade download" is done because they are already on a
locally-available file system, but when  the "system-upgrade reboot" is
done, the upgrade fails (presumably because the remote file system is not
available at the point of the upgrade boot where the upgrade transaction is
run, either  because the network is not up or the automount is not
happening).

Is it impossible to do a system-upgrade from a remote-mounted repo (which
would defeat much of the purpose of maintaining such a repo), or is there a
way to make the network come up and the automount happen at system-upgrade
reboot time?

I suppose I could set up a web server on the system with the repo so that
the download would be forced at system-upgrade download time, but that's a
big hammer for a small nail that I would prefer to avoid.

Thanks,
--Greg
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


gnome-terminal-server.service fails with startx

2019-05-29 Thread Samuel Rakitničan
I am trying to run gnome-terminal on openbox started from terminal 
(multi-user.target) with startx command. GNOME applications that relies on DBus 
can't communicate or fails to start in the case of gnome-terminal.

Starting gnome-terminal tries to pull gnome-terminal-server but that service 
fails.
Code:
$ gnome-terminal 
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: 
Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached

May 27 13:58:42 rawhide2 systemd[1027]: Starting GNOME Terminal Server...
May 27 13:58:43 rawhide2 gnome-terminal-server[1673]: Unable to init server: 
Could not connect: Connection refused
May 27 13:58:43 rawhide2 gnome-terminal-server[1673]: Failed to parse 
arguments: Cannot open display:
May 27 13:58:43 rawhide2 systemd[1027]: gnome-terminal-server.service: Main 
process exited, code=exited, status=10/n/a
May 27 13:58:43 rawhide2 systemd[1027]: gnome-terminal-server.service: Failed 
with result 'exit-code'.
May 27 13:58:43 rawhide2 systemd[1027]: Failed to start GNOME Terminal Server.

On the other hand, starting the openbox from GDM works fine for DBus 
applications so it must be that environment is not set correctly when starting 
with xinit. dbus.socket and dbus.service are running.

I am on Fedora 30.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: comments in pdf

2019-05-29 Thread Robert P. J. Day
On Wed, 29 May 2019, Ed Greshko wrote:

> On Wed, May 29, 2019, 21:29 Eddie O'Connor  wrote:
>   Just curious does it require "KDE" bits and pieces to work/run?
>
> You could just do “dnf install okular“ and see for yourself. It will
> give you the option to continue or not.

  on the commercial side, i paid for qoppa software's "pdf studio" a
few years back, i pay the occasional upgrade charge, and have never
regretted it. at the time, there was nothing open source that had all
the features i was after.

  https://www.qoppa.com/

rday

-- 


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

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: comments in pdf

2019-05-29 Thread Ed Greshko
On Wed, May 29, 2019, 21:29 Eddie O'Connor  wrote:

> Just curious does it require "KDE" bits and pieces to work/run?
>
>>

You could just do “dnf install okular“ and see for yourself. It will give
you the option to continue or not.

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


Re: comments in pdf

2019-05-29 Thread Eddie O'Connor
Just curious does it require "KDE" bits and pieces to work/run?

On Wed, May 29, 2019, 2:12 AM Robin Laing  wrote:

> On 26/05/2019 09:21, Marko Vojinovic wrote:
> > On Sun, 26 May 2019 11:29:52 +0200
> > "Patrick Dupre"  wrote:
> >
> >> Would you have a suggestion for a software capable of adding comments
> >> in a pdf file?
> >
> > okular
> >
> > HTH, :-)
> > Marko
> >
>
>
> I second the vote for okular.
>
> I use it.  Can add comments, highlight, underline or mark a block.
>
> You can choose the colours you want to use as well.
>
>
> Robin
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> 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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: F30 Grub2-mkconfig and Grub2-install not Working Correctly?

2019-05-29 Thread Stephen Morris

On 28/5/19 3:17 am, ja wrote:

On Mon, 2019-05-27 at 19:10 +0200, Tom H wrote:

On 23/5/19 9:07 pm, Tom H wrote:

I haven't tried it but setting "GRUB_ENABLE_BLSCFG=false"
"/etc/default/grub" _should_ (given the variable's name) allow
"grub2-mkconfig" give you an upstream-style "grub.cfg".

Thanks Tom, "/etc/default/grub" had a setting of
"GRUB_ENABLE_BLSCFG=true" which I changed from "true" to "false"
and that enabled the original grub2-mkconfig style menu. So
everything is now good.

Good. You're welcome.

[ But the BLS way is nice too. If you have the time, you should set up
a VM and check it out. ]


+1


I'd be quite happy to use the BLS methodology if it used the same menu 
structure as generated by grub2-mkconfig. I've never liked the way 
grubby produces the menus, and BLS seems to be exactly the same. Other 
OS menu entries are not required now, as I'm running F30 in a VM under 
Windows 10 now, with Ubuntu in a 2nd VM instead of tri-booting as I was 
previously. I actually wanted to run Windows 10 in a VM under Fedora, 
but Fedora wouldn't install in my hardware raid environment, nor would 
it install with UEFI active, the live cd hung at a black screen at the 
point of wanting to display the desktop, and I couldn't get it advance 
any further.



regards,

Steve



___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: comments in pdf

2019-05-29 Thread Robin Laing

On 26/05/2019 09:21, Marko Vojinovic wrote:

On Sun, 26 May 2019 11:29:52 +0200
"Patrick Dupre"  wrote:


Would you have a suggestion for a software capable of adding comments
in a pdf file?


okular

HTH, :-)
Marko




I second the vote for okular.

I use it.  Can add comments, highlight, underline or mark a block.

You can choose the colours you want to use as well.


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


Re: F30, user sessions fail with: systemd[PID]: PAM failed: Cannot allocate memory

2019-05-29 Thread Francis . Montagnac

Hi.

On Wed, 22 May 2019 15:41:58 +0200 francis.montag...@inria.fr wrote:

> I add time, from a second textual console as root, to see the "systemd
> --user" process reach more than 40 GB of memory before dying.

I made a bugzilla for this problem:

  https://bugzilla.redhat.com/show_bug.cgi?id=1714117

Let's hope ...

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