Scriptlet errors during manual installation of Fedora 23
by Andrej Podzimek
Hi,
Because Anaconda doesn't support my usual partitioning scheme (root on Btrfs in LVM in LUKS in LVM in GPT, /boot on Btrfs, etc.), I created the entire layout manually and tried to install Fedora using dnf. The same layout works perfectly fine in ArchLinux.
I basically followed this howto, with adjustments for s/yum/dnf/ and for EFI/GPT: http://dustymabe.com/2014/05/29/manual-linux-installs-with-funky-storage-...
The initial filesystem installation (dnf install -y --releasever=23 --installroot=/mnt/sysimage filesystem) already got a few glitches of this form:
Non-fatal POSTIN scriptlet failure in rpm package filesystem
This^^^ happened to roughly half of the installed packages. I tried to proceed with the rest (i.e., to install @core @standard kernel grub2 grub2-efi sihm grub2-tools), but it failed with scriptlet errors that prevented a few key packages from getting installed at all:
error: %prein(selinux-policy-targeted-3.13.1-157.fc23.noarch) scriptlet failed, exit status 126
Error in PREIN scriptlet in rpm package selinux-policy-targeted
Packages with those errors are reported as failed after the verify step. What I tried next:
* setenforce 0
* upgrading the installation environment and/or the sysimage with dnf and rpm from rawhide
* --releasever=22 instead of 23
* ...and checking for a few other common points with this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1270663
* a plain sysimage directory with no predefined Btrfs subvolumes in it
* unmounting, remounting, checking that everything has seclabel on, no weirdness in dmesg, etc.
Well, nothing of the above helped; the error is still the same.
How can I diagnose this? Where can I dig out the exact reason why the scriptlets are failing?
Provided that Anaconda actually does some steps that I'm missing and can carry out the installation correctly, is there a way to *force* it to just accept whatever is mounted into /mnt/sysimage at the moment, without trying to make sense of it? I'm pretty sure dracut can handle my partition layout just fine, so the entire issue here is about getting the basic installation done somehow.
Theoretically I could create a simple-and-stupid layout that Anaconda can handle, proceed with the installation and reshuffle the partitions afterwards, but that's sooo cumbersome that I thought I'd first ask whether someone knows a workaround to the scriptlet problems.
Cheers,
Andrej
7 years
ATA2:00: link is slow to respond....
by Angelo Moreschini
Hi,
my computer boot only in emergency mode ...
Looking the journalctl (command journalctl -xb), I found (in thejournalctl
) these lines in red color :
ATA2:00: link is slow to respond....
(and after..)
ATA200: SRST failed (erro 16)
That seem indicate that it is a problem to access the HDs..
I found a possible solution to the problem in this post:
http://codeverge.com/opensuse.org.help.install/-solved-ata1-srst-failed-e...
There is wrote that :...the problem can depend by the physic set up of the
HD (as "master", "slave", "single drive", ...): this set up can be done by
changing the position of a jumper on the HD...
I know that, in the past time, the HDs had to be set physically in this
way.., but recently I never heart anymore that the modern HD need this
operation..
So actually I don't care anymore of the configuration of the HDs
(my HD is Toshiba 1 TB that I bought few mounts ago).
I would like to have a confirmation that what I read in the post is only an
obsolete information and, in any case, I would like to know also what I can
do to go around in my problem..
>From the command line: ls /dev/sd* I get:
give me this input :
/dev/sda /dev/sda1 /dev/sda2 /dev/sda5 /dev/sdb /dev/sdb1
/dev/sdb2
Thank you
regards
Angelo
7 years, 3 months
Screen rapidly blanking on and off
by Ted Roche
I've run into a problem with my Dell Inspiron where the screen blanks
every second, unless I'm typing or moving the mouse. Spinning the
mouse around the screen will keep the screen lit, while typing will
blank between keystrokes, and I'm a fair 70 wpm typist.
This ia Fedora 23 64 bit installation, and I've seen the problem on
all three of the current kernel installs,
Linux jupiter.in.tedroche.com 4.7.4-100.fc23.x86_64 #1 SMP Thu Sep 15
18:48:53 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
4.7.4, 4.7.5, and 4.7.6.
Nothing in the logs stands out and unusual.
Suggestions on what I might look at to troubleshoot ths?
--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com
7 years, 5 months
WD My Passport Ultra 3T usb drive problem
by Gregory P. Ennis
Everyone,
I just purchased 3 WD My Passport Ultra 3T usb drives that I had hoped
to use for archive files for some digital images.
Looks like WD has made it difficult to use for Linux. The google
searches that I did stepped me through mounting it on a Windows 10
system and then formatting it with nts. Unfortuantely, when I tried to
connect it to Fedora 24 I am still not able to recognize it to mount
it. All of the /dev/sd* entries were the same before and after I
plugged it in. Smartmontools appears to recognize it when it is
plugged in a usb port, but pauses and does not finish its execution to
completion. gparted scans all devices and does not finish when the
drive is plugged in a usb port.
Has anyone in the group figured out how to use these drives?
Thanks for you help!!!!
Greg Ennis
7 years, 5 months
md-raid1 + lvm
by Gour
Hello,
I’m new Fedora (f25-beta) user considering to fully (after having Fedora
on my netbook) migrate to Fedora.
At the moment I run Debian (Sid) and have two hard disks: 1x1TB and
1x2TB (one old 1TB disk recently died) and have the following layout:
sda: 1 - BIOS boot
2 - md-raid1 (root, xfs)
3 - md-raid1 (home, xfs)
sdb: 1 - BIOS boot
2 - md-raid1 (root, xfs)
3 - md-raid1 (home, xfs)
4 - swap
5 - backup partition
Now I’ve a feeling that, somehow, Fedora favours usage of LVM
partitions…Otoh, I’ve been told that using LVM on top of RAID(1) might
not be the best solution, so wonder whether you recommend to keep the
same layout as on Debian or to put my raid-1 volumes in LVM containers?
Another concern I have is in regard to separate /boot partition which I
was not using on Linux for quite some time, but see that Fedora’s
automatic layout does create it?
Sincerely,
Gour
--
One who is able to withdraw his senses from sense objects,
as the tortoise draws its limbs within the shell,
is firmly fixed in perfect consciousness.
7 years, 6 months
Dual boot
by Celso Viana
Dear All,
I had a setup with "Windows 10" and "Fedora 23" dual boot (UEFI). I
installed the "Fedora 24" on this machine and the installer failed to
detect the most "Windows 10". Does anyone know how to reconfigure /
reinstall GRUB to Windows appears in the boot menu?
Thanks
--
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org
Palmas/TO
7 years, 6 months
starting remote firefox via SSH
by bruce
Hi.
This is a "continuation" of the issue of starting firefox for a diff
user on a box.
If one logs into (SSH) into a remote box, and wants to start firefox
on the remote machine, such that all firefox operations occur on the
remote machine..
Different sites suggest setting the DISPLAY var, as well as xauth,
etc.. none of which seem to work.
The local/remote are both centos/fed.
The goal:
To be able to SSH into a remote box, and run a py script that
initiates a py/selenium binding/process to use firefox.
-This requires that the remote box be able to start/run firefox
for the user that the SSH session was started as/under.
The SSH/Firefox issue:
-How to SSH into the box, and start firefox?
(Already set up the keys, to allow ssh into the box vai ssh 192.168.1.4)
Tried:
ssh 192.168.1.4
foo@box1# DISPLAY=0: firefox
---ERROR: cannot open display: 0:
foo@box1# export DISPLAY=0:
foo@box1# firefox
---No protocol specified
---ERROR: cannot open display: 0:
This has to be simple!
Any thoughts??
7 years, 7 months
nc missing option -z
by Suvayu Ali
Hi,
I used to use netcat to check if a particular host is up or if I have
internet connection before I run a few scripts. I would use the -z
option in particular. But now I see that has been removed:
$ nc -z imap.gmail.com 993 && sync-my-email.sh
ncat: invalid option -- 'z'
Here is the excerpt from the old manual page:
-z Specifies that nc should just scan for listening daemons, without
sending any data to them. It is an error to use this option in
conjunction with the -l option.
Any ideas what happened to it? What can I use as replacement?
Thanks for any ideas.
--
Suvayu
Open source is the future. It sets us free.
7 years, 7 months
install.img
by CLOSE Dave
I need a copy of the install.img file for Fedora 20. It doesn't seem to
be present in archives.fedoraproject.org or in the F20 netinstall ISO.
Can anyone point me to a copy?
--
Dave Close
7 years, 7 months