'Permission denied' running %pre script in kickstart (f28)
by Digimer
Hi all, I have a kickstart script for installing Fedora 28 that has a
somewhat large %pre script. When anaconda tries to run it, it fails;
====
Oct 16 07:38:55 localhost org.fedoraproject.Anaconda.Boss[1704]:
INFO:anaconda.modules.boss.module_manager:All modules are ready now.
Oct 16 07:38:55 localhost anaconda[1641]: anaconda: kickstart.script:
Running kickstart %%pre script(s)
Oct 16 07:38:55 localhost anaconda[1641]: anaconda: stdout: Running
pre-installation scripts
Oct 16 07:38:55 localhost anaconda[1641]: program: Running...
/tmp/ks-script-e3w92zo7
Oct 16 07:38:55 localhost anaconda[1641]: program: Error running :
Permission denied
Oct 16 07:38:55 localhost anaconda[1641]: program: Running... chvt 1
Oct 16 07:38:55 localhost anaconda[1641]: program: Return code: 0
Oct 16 07:38:55 localhost dbus-daemon[1704]: Reloaded configuration
====
The script itself, when run manually, succeeds;
====
[anaconda root@localhost tmp]# /tmp/ks-script-e3w92zo7
Finding install drive for a Striker dashboard.
Analyzing platter drive: [/dev/vda], using the transport: [], of the
size: [21474836480 (20.00 GiB)]
Selected the largest disk: [/dev/vda], which has a capacity of: [20.00 GiB]
Writing out the partition plan to: [/tmp/plan_partitions.out]
Completed successfully, exiting.
====
This sounded like an SELinux denial, so I set 'selinux --permissive' to
debug, and it still gets the same error;
====
[anaconda root@localhost ~]# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: error (Success)
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: requested (insecure)
Max kernel policy version: 31
====
Any thoughts on debugging?
digimer
More details;
==== Source kickstart script
$ fpaste pxe/kickstart/striker.ks
Uploading (12.4KiB)...
https://paste.fedoraproject.org/paste/oA96KVWZy227maIFQbkYOA
====
==== Anaconda log pre-failure
# fpaste anaconda.log
Uploading (0.8KiB)...
https://paste.fedoraproject.org/paste/CWy-Xjv6rCKEea42RvZm6Q
====
==== The %pre script that fails when anaconda calls it, but works when
called from tty2
# fpaste ks-script-e3w92zo7
Uploading (10.3KiB)...
https://paste.fedoraproject.org/paste/10dAZiJUpFdnV9FqHBQ40g
====
==== syslog of install attempt
# fpaste syslog
Uploading (1301.5KiB)...
https://paste.fedoraproject.org/paste/-RMntdsuc9cqTDGuEBA7EA
====
--
Digimer
Papers and Projects: https://alteeve.com/w/
"I am, somehow, less interested in the weight and convolutions of
Einstein’s brain than in the near certainty that people of equal talent
have lived and died in cotton fields and sweatshops." - Stephen Jay Gould
5 years, 7 months
mmc0: error -110 whilst initialising SD card
by Frédéric
Hi,
When I plug my new 64Gb SDXC card, I get this in dmesg:
mmc0: error -110 whilst initialising SD card
I have fuse, fuse-exfat and exfat-utils installed. I am using F28 on x86_64.
Works well with 8Gb SDHC.
Thanks,
F
5 years, 7 months
gnuplot 5.2
by Patrick Dupre
Hello,
Could update the gnuplot package in fedora 28?
In addition, could you compile it with the cerf library?
Thank
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
5 years, 7 months
Increasingly frequent problem with: "Unexpected system error";
kernel-core; 4.16.15-300.fc28.x86_64; cannot be reported - related to Chrome
and probably YouTube
by Philip Rhoades
People,
"The backtrace does not contain enough meaningful function frames to be
reported. It is annoying but it does not necessary signalize a problem
with your computer. ABRT will not allow you to create a report in a bug
tracking system but you can contact kernel maintainers via e-mail."
For a long time I have been in the habit of overworking Chrome (eg quite
frequently a dozen windows open with hundreds of tabs) but a little
while ago, instead of just slowly grinding the system to a halt, these
crashes started happening - and then more frequently - now it is up to a
couple of times a day before I can even get anywhere near to my usual
practice of overloading. I haven't cleaned out histories or other stuff
out of Chrome yet but I think my hardware should be up to handling a
decent load but there is obviously something wrong . . and getting worse
. .
My gear:
Chrome: Version 69.0.3497.100 (Official Build) (64-bit)
See attached txt file for complete HW.
Any suggestions about how to debug this problem would be appreciated.
Regards,
Phil.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: phil(a)pricom.com.au
5 years, 7 months
DNF versionlock is ignored.
by Sudhir Khanger
I am not sure what happened but I had locked the update of geoclue2 via dnf versionlock but it has been updated anyway.
$ dnf list installed | grep -ie geoclue2
geoclue2.x86_64 2.4.11-1.fc28 @updates
$ cat /etc/dnf/plugins/versionlock.list
# Added locks on Tue Jul 10 16:14:01 2018
geoclue2-0:2.4.8-1.fc28.*
5 years, 7 months
Hard drive to sleep
by Patrick Dupre
Hello,
Is it safe to put a hard drive on sleep?
I will have to wake it up, later.
(I need to minimize the power consumption during a period of time)
Thank.
/dev/sdb:
ATA device, with non-removable media
Model Number: HGST HTS721010A9E630
Serial Number: JS100X620ES1ZS
Firmware Revision: JB0OA3J0
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0; Revision: ATA8-AST T13 Project D1697 Revision 0b
Standards:
Used: unknown (minor revision code 0x0028)
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 1953525168
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 953869 MBytes
device size with M = 1000*1000: 1000204 MBytes (1000 GB)
cache/buffer size = unknown
Form Factor: 2.5 inch
Nominal Media Rotation Rate: 7200
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
* IDLE_IMMEDIATE with UNLOAD
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* NCQ priority information
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
Non-Zero buffer offsets in DMA Setup FIS
* DMA Setup Auto-Activate optimization
* Device-initiated interface power management
In-order data delivery
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Write Same (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
supported: enhanced erase
168min for SECURITY ERASE UNIT. 170min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5000cca836c63f67
NAA : 5
IEEE OUI : 000cca
Unique ID : 836c63f67
Checksum: correct
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
5 years, 7 months
No "su" / Admin account in Fedora 29?
by Eddie G. O'Connor Jr.
Hello all, I was just wondering how to go about creating the "su" /
admin account for F-29? I installed the beta and it only created the
main user,...I'm almost certain that in F-28 there was an option upon
install to create the admin/root account? I didn't see it in the beta,
is it gone? is there now a new process? Just curious is all.....
Thank In Advance
EGO II
5 years, 7 months