Giter Club home page Giter Club logo

pengwin-enterprise's People

Contributors

crramirez avatar imaandrew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pengwin-enterprise's Issues

passwd: Authentication token manipulation error

C:\Users\Hayden>wle install --root

C:\Users\Hayden>wle
[root@t470s ~]# adduser hayden
[root@t470s ~]# passwd hayden
Changing password for user hayden.
New password:
Retype new password:
passwd: Authentication token manipulation error
[root@t470s ~]# pwconv
[root@t470s ~]# passwd hayden
Changing password for user hayden.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@t470s ~]#

The solution seems to be running pwconv.

I have tried running pwconv with --root on BUILDIR and pwconv on BUILDIR in a chroot as part of the build at https://github.com/WhitewaterFoundry/WLE/blob/master/create-targz.sh#L51 but this issue persists.

Unless we can find another workaround I think we will need to insert pwconv as part of the initial user setup process at https://github.com/WhitewaterFoundry/WLE/blob/master/DistroLauncher/DistributionInfo.cpp#L35.

su: cannot set groups: Operation not permitted

Unpacking Linux filesystem image, this may take a few minutes...
Welcome to WLinux Enterprise Edition.
Please create a root account password. This is the account used to perform administrative functions on Linux.
Changing password for user root.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
Please create a default Linux user account. The username does not need to match your Windows username.
Enter new UNIX username: hayden
Changing password for user hayden.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
Installation successful!
[hayden@t470s ~]$ su -
Password:
su: Authentication failure
[hayden@t470s ~]$

This is related to #2 and #6.

Attempted fixes:

Can I use GPU acceleration in Pengwin?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

'screen' utiltity: permissions issues

I did find an issue with the 'screen' the utility that I'm pretty sure happens across all WSL distros, as it's down to a socket-cleaning service that normally runs on shutdown needing to be manually run. Closing the console window each time doesn't seem to count as a shutdown? But based on the nature of the issue, I wouldn't be surprised if it's something we might run into with other programs and something we could look into workarounds for in our distribution.

But, I don't run into it on WLE... Instead, the first run of screen upon every open of a console window gives a "Cannot make directory '/run/var/screen': Permission denied". However after running screen once with admin permissions, this issue is resolved until next open of a console window.

This different issue on WLE might be down to a permissions based issue similar to #8, or it may be another issue with screen itself, but thought it better to mention than not. If it is a permissions issue, clearing it up may then reveal the original issue noted.

Fix initial user handling.

Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: hayden
Usage: useradd [options] LOGIN
       useradd -D
       useradd -D [options]

Options:
  -b, --base-dir BASE_DIR       base directory for the home directory of the
                                new account
  -c, --comment COMMENT         GECOS field of the new account
  -d, --home-dir HOME_DIR       home directory of the new account
  -D, --defaults                print or change default useradd configuration
  -e, --expiredate EXPIRE_DATE  expiration date of the new account
  -f, --inactive INACTIVE       password inactivity period of the new account
  -g, --gid GROUP               name or ID of the primary group of the new
                                account
  -G, --groups GROUPS           list of supplementary groups of the new
                                account
  -h, --help                    display this help message and exit
  -k, --skel SKEL_DIR           use this alternative skeleton directory
  -K, --key KEY=VALUE           override /etc/login.defs defaults
  -l, --no-log-init             do not add the user to the lastlog and
                                faillog databases
  -m, --create-home             create the user's home directory
  -M, --no-create-home          do not create the user's home directory
  -N, --no-user-group           do not create a group with the same name as
                                the user
  -o, --non-unique              allow to create users with duplicate
                                (non-unique) UID
  -p, --password PASSWORD       encrypted password of the new account
  -r, --system                  create a system account
  -R, --root CHROOT_DIR         directory to chroot into
  -s, --shell SHELL             login shell of the new account
  -u, --uid UID                 user ID of the new account
  -U, --user-group              create a group with the same name as the user
  -Z, --selinux-user SEUSER     use a specific SEUSER for the SELinux user mapping

Enter new UNIX username:

Seems to be an issue here. https://github.com/WhitewaterFoundry/WLE/blob/master/DistroLauncher/DistributionInfo.cpp#L12

/etc/shadow is world readable

Describe the bug
/etc/shadow is world-readable

To Reproduce
Steps to reproduce the behavior:

  1. Install Pengwin Enterprise 8 (e.g. from Microsoft Store, as I did)
  2. Start Penwing Enterprise, and follow the create a new user process that is kickstarted
  3. This involves setting a root password, a new username, and a password for the user
  4. Check the permissions on /etc/shadow (ls -lh /etc/shadow)
  5. Observe it is world readable:
[ian@pengwin8 ~]$ ls -lh /etc/shadow*
-rw-r--r-- 1 root root 706 Oct 19 11:24 /etc/shadow
-rw-r--r-- 1 root root 576 Oct 19 11:24 /etc/shadow-

Expected behavior
/etc/shadow should probably have tighter restrictions, no? It does usually in most (all?) Linux installations.

Additional context
Clearly the security implications are probably less severe in the WSL context, but best practice should still be adhered to.

Insert here:

WLinux Pengwin Enterprise 8 Version

Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here: 8.4.9.0

Windows Build

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:

OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22000 N/A Build 22000
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
BIOS Version: Dell Inc. 1.16.0, 09/07/2021

For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number

git will not install on Pengwin Enterprise Linux

Describe the bug
I purchased Pengwin Enterprise Linux from the Microsoft store.

I can update by doing: #yum update -y

but I cannot install git

I am on the latest version/build of Windows 10 Pro

I need to get git on this installation, if not, I please need a refund. You are charging ~$100 for this OS.

To Reproduce

  1. open a terminal (WSL - Pengwin Enterprise
  2. type: #yum install git -y

[root@hannah ~]# yum insall git

Loaded plugins: ovl
No such command: insall. Please use /bin/yum --help
[root@hannah ~]# yum install git
Loaded plugins: ovl
ftp://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
http://ftp2.scientificlinux.org/linux/scientific/7.6/x86_64/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp2.scientificlinux.org; Unknown error"
Trying other mirror.
http://ftp1.scientificlinux.org/linux/scientific/7.6/x86_64/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp1.scientificlinux.org; Unknown error"
Trying other mirror.
http://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
http://ftp2.scientificlinux.org/linux/scientific/7.6/x86_64/updates/fastbugs/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp2.scientificlinux.org; Unknown error"
Trying other mirror.
http://ftp1.scientificlinux.org/linux/scientific/7.6/x86_64/updates/fastbugs/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp1.scientificlinux.org; Unknown error"
Trying other mirror.
ftp://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/updates/fastbugs/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
http://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/updates/fastbugs/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
http://ftp2.scientificlinux.org/linux/scientific/7.6/x86_64/updates/security/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp2.scientificlinux.org; Unknown error"
Trying other mirror.
http://ftp1.scientificlinux.org/linux/scientific/7.6/x86_64/updates/security/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp1.scientificlinux.org; Unknown error"
Trying other mirror.
ftp://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/updates/security/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
http://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/updates/security/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.8.3.1-20.el7 will be installed
--> Processing Dependency: perl-Git = 1.8.3.1-20.el7 for package: git-1.8.3.1-20.el7.x86_64
--> Processing Dependency: less for package: git-1.8.3.1-20.el7.x86_64
--> Processing Dependency: perl(Error) for package: git-1.8.3.1-20.el7.x86_64
--> Processing Dependency: perl(Git) for package: git-1.8.3.1-20.el7.x86_64
--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-20.el7.x86_64
--> Processing Dependency: rsync for package: git-1.8.3.1-20.el7.x86_64
--> Running transaction check
---> Package less.x86_64 0:458-9.el7 will be installed
---> Package perl-Error.noarch 1:0.17020-2.el7 will be installed
---> Package perl-Git.noarch 0:1.8.3.1-20.el7 will be installed
---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed
---> Package rsync.x86_64 0:3.1.2-6.el7_6.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================
Package Arch Version Repository Size

Installing:
git x86_64 1.8.3.1-20.el7 sl-security 3.7 M
Installing for dependencies:
less x86_64 458-9.el7 sl 119 k
perl-Error noarch 1:0.17020-2.el7 sl 31 k
perl-Git noarch 1.8.3.1-20.el7 sl-security 54 k
perl-TermReadKey x86_64 2.30-20.el7 sl 30 k
rsync x86_64 3.1.2-6.el7_6.1 sl-fastbugs 385 k

Transaction Summary

Install 1 Package (+5 Dependent packages)

Total download size: 4.3 M
Installed size: 23 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
git-1.8.3.1-20.el7.x86_64.rpm FAILED
http://ftp2.scientificlinux.org/linux/scientific/7.6/x86_64/updates/security/git-1.8.3.1-20.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp2.scientificlinux.org; Unknown error"
Trying other mirror.
less-458-9.el7.x86_64.rpm FAILED
http://ftp2.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/less-458-9.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp2.scientificlinux.org; Unknown error"
Trying other mirror.
perl-Error-0.17020-2.el7.noarc FAILED
http://ftp1.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/perl-Error-0.17020-2.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp1.scientificlinux.org; Unknown error"
Trying other mirror.
perl-Git-1.8.3.1-20.el7.noarch FAILED
http://ftp1.scientificlinux.org/linux/scientific/7.6/x86_64/updates/security/perl-Git-1.8.3.1-20.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp1.scientificlinux.org; Unknown error"
Trying other mirror.
perl-TermReadKey-2.30-20.el7.x FAILED
http://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/perl-TermReadKey-2.30-20.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
perl-Git-1.8.3.1-20.el7.noarch FAILED
http://ftp2.scientificlinux.org/linux/scientific/7.6/x86_64/updates/security/perl-Git-1.8.3.1-20.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp2.scientificlinux.org; Unknown error"
Trying other mirror.
perl-TermReadKey-2.30-20.el7.x FAILED
http://ftp1.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/perl-TermReadKey-2.30-20.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp1.scientificlinux.org; Unknown error"
Trying other mirror.
perl-Git-1.8.3.1-20.el7.noarch FAILED
ftp://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/updates/security/perl-Git-1.8.3.1-20.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
perl-TermReadKey-2.30-20.el7.x FAILED
http://ftp2.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/perl-TermReadKey-2.30-20.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp2.scientificlinux.org; Unknown error"
Trying other mirror.
rsync-3.1.2-6.el7_6.1.x86_64.r FAILED
http://ftp1.scientificlinux.org/linux/scientific/7.6/x86_64/updates/fastbugs/rsync-3.1.2-6.el7_6.1.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp1.scientificlinux.org; Unknown error"
Trying other mirror.
git-1.8.3.1-20.el7.x86_64.rpm FAILED
http://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/updates/security/git-1.8.3.1-20.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
perl-Git-1.8.3.1-20.el7.noarch FAILED
http://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/updates/security/perl-Git-1.8.3.1-20.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
rsync-3.1.2-6.el7_6.1.x86_64.r FAILED
http://ftp2.scientificlinux.org/linux/scientific/7.6/x86_64/updates/fastbugs/rsync-3.1.2-6.el7_6.1.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp2.scientificlinux.org; Unknown error"
Trying other mirror.
git-1.8.3.1-20.el7.x86_64.rpm FAILED
http://ftp1.scientificlinux.org/linux/scientific/7.6/x86_64/updates/security/git-1.8.3.1-20.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp1.scientificlinux.org; Unknown error"
Trying other mirror.
less-458-9.el7.x86_64.rpm FAILED
ftp://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/less-458-9.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
rsync-3.1.2-6.el7_6.1.x86_64.r FAILED
http://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/updates/fastbugs/rsync-3.1.2-6.el7_6.1.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
perl-Error-0.17020-2.el7.noarc FAILED
http://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/perl-Error-0.17020-2.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
less-458-9.el7.x86_64.rpm FAILED
http://ftp1.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/less-458-9.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp1.scientificlinux.org; Unknown error"
Trying other mirror.
rsync-3.1.2-6.el7_6.1.x86_64.r FAILED
ftp://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/updates/fastbugs/rsync-3.1.2-6.el7_6.1.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
perl-Error-0.17020-2.el7.noarc FAILED
http://ftp2.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/perl-Error-0.17020-2.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp2.scientificlinux.org; Unknown error"
Trying other mirror.
less-458-9.el7.x86_64.rpm FAILED
http://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/less-458-9.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
perl-TermReadKey-2.30-20.el7.x FAILED
ftp://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/perl-TermReadKey-2.30-20.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
perl-Error-0.17020-2.el7.noarc FAILED
ftp://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/os/Packages/perl-Error-0.17020-2.el7.noarch.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.
git-1.8.3.1-20.el7.x86_64.rpm FAILED
ftp://ftp.scientificlinux.org/linux/scientific/7.6/x86_64/updates/security/git-1.8.3.1-20.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.scientificlinux.org; Unknown error"
Trying other mirror.

### Error downloading packages:
perl-TermReadKey-2.30-20.el7.x86_64: [Errno 256] No more mirrors to try.
less-458-9.el7.x86_64: [Errno 256] No more mirrors to try.
git-1.8.3.1-20.el7.x86_64: [Errno 256] No more mirrors to try.
1:perl-Error-0.17020-2.el7.noarch: [Errno 256] No more mirrors to try.
rsync-3.1.2-6.el7_6.1.x86_64: [Errno 256] No more mirrors to try.
perl-Git-1.8.3.1-20.el7.noarch: [Errno 256] No more mirrors to try.

I am on the latest version/build of Windows 10 Pro

All man pages are missing

It seems like all man pages are missing. I installed man-db man-pages (and man-pages-overrides) but there were no man pages for anything ( such as "man ls") except for some of my own software which I had in my $MANPATH. That worked fine.

I tracked down the root cause. /etc/yum.conf has the following setting:
tsflags=nodocs

That prevents the installation of man pages. I commented out the line, and removed and re-installed man-db, man-pages and man-pages-overrides. I have most of the man pages I expect. (Sadly, I had installed quite a number of packages before that, so I'm going to have to go back and uninstall/reinstall to get those man pages.)

My guess is that you're going to want man pages installed from the start.

can i update the kernel version ?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

No GPU Acceleration after update.sh to RockyLinux8.5.12

Accelerated... no :(

display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 12.0.1, 256 bits) (0xffffffff)
Version: 21.1.5
Accelerated: no
Video memory: 15924MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Mesa/X.org
OpenGL renderer string: llvmpipe (LLVM 12.0.1, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 21.1.5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 21.1.5
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.1.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

===================================

Expected behavior
Expected to see "accelerator": "on"
Screenshots
If applicable, add screenshots to help explain your problem.
image

Additional context
Add any other context about the problem here.

What other troubleshooting have you attempted?
I have attempted to do all necessary dnf or yum updates, any repo updates, windows updates, WSL (MS store) updates (actually just uninstalled it, because multiple distros stopped working after installation of WSL Preview from MS store).
Insert here:

WLinux Version
Pengwin Enterprise 8 (8.5.12- currently upgraded)
Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here:

Windows Build
Windows 11 pro Version 21H2 22000.376 - Windows Insider-Beta Windows Feature Experience Pack 1000.22000.376.0
Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:
32gb RAM, x64, Intel(R) i5-9300H @ 2.4GHz

For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number

[Feature] Post-install script (ร  la WLinux)

I just created a first install.tar.gz with the script create-targz.sh and I noticed that sudo (for example) was not installed.

As the script is "consumed" as is from CentOS, I think that a sort of post-install script (such as the one from WLinux) could be a very good added value.

Error During Oracle Xe installation

encounter error during oracle 18c xe installation
/opt/oracle/product/18c/dbhomeXE/oui/bin/runInstaller.sh: line 3: 3517 Segmentation fault (core dumped) ./runInstaller $* /opt/oracle/product/18c/dbhomeXE/oui/bin/runInstaller.sh: line 3: 3522 Segmentation fault (core dumped) ./runInstaller $* [SEVERE] An error occurred while registering the Oracle home. Verify logs in /var/log/oracle-database-xe-18c/results/oraInstall.log and /opt/oracle/oraInventory for more details and try again.

Unable to address USB printer with BUS and deviceID

Note

These WSL error messages occur from time to time and can tricky to troubleshoot short of reinstalling WSL.

They are usually not an issue with WLinux itself but a glitch with the underlying Windows Subsystem for Linux in Windows 10.

You can help us help you and Microsoft improve WSL and address these if you can provide us some debugging information.

[ ] I have read the above statement.

Basic Troubleshooting

Please check:

[ ] I have confirmed WSL is enabled: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[ ] I have searched Google for the error message.
[ ] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[ ] I have searched the WLinux issues page: https://github.com/WhitewaterFoundry/WLinux/issues.
[ ] I have reset WLinux: Settings->Apps->Apps & features->WLinux->Advanced Options->Reset.
[ ] I have disabled and re-enabled WSL in Windows Features.
[ ] I have run Windows 10 updates and restarted.

What other troubleshooting have you attempted to date?

Error Code

Insert here:

Please check:

[ ] This error code is not one listed below.

Known Error Codes
0x80040306 Fix: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#error-0x80040306-on-installation
0x80040154 Fix: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#error-0x80040154-after-windows-update

Version

Find: Settings->Apps->Apps & features->WLinux->Advanced Options->Version.

Insert here:

Screenshot

Insert here:

Windows Build

Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:

For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number

WSL Debug Data

Please collect and attach .etl files by following this guide: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#starting-bash-gives-an-error-code

Question: Oracle Linux

I'm testing Oracle Linux.

It updates to Oracle Linux 7. Is it possible to change to Oracle Linux 6?

Reason: Weblogic 10.3 and Oracle Forms 11g only works in this version.

Thanks.

rpm --rebuilddb causes all future rpm functions to segfault/yum to hang

Update: This is a confirmed bug in WSL, not Berkeley DB.

Reproducible on RHEL, CentOS, Oracle, and Scientific Linux.

To reproduce:

  1. Install WLinux Enterprise. A signed build you can sideload on Windows 10 for testing is available here for debugging this bug, see here to see custom DB_CONFIG set on that image.

  2. Set root password and create new default user.

  3. su - into root.

  4. Example 1: Type the following commands:

[root@t470s ~]# rpm -q rpm
rpm-4.11.3-35.el7.x86_64
[root@t470s ~]# rpm --rebuilddb
[root@t470s ~]# rpm -q rpm
Segmentation fault (core dumped)
[root@t470s ~]#
  1. Example 2: Type the following commands:
[hayden@t470s ~]$ sudo rm -rf /var/lib/rpm/__db*
[hayden@t470s ~]$ db_verify /var/lib/rpm/Packages
BDB5105 Verification of /var/lib/rpm/Packages succeeded.
[hayden@t470s ~]$ sudo rpm --rebuilddb
[hayden@t470s ~]$ sudo yum update
Loaded plugins: ovl
Segmentation fault (core dumped)
[hayden@t470s ~]$

Expected result:

rpm --rebuilddb would rebuild a working rpmdb.

Actual result:

Running rpm --rebuilddb breaks rpm and yum. Modifications to BD_CONFIG improve things somewhat and there is a partial fix after the fact.

Theories:

What works:

  • This workaround, useful for recovering rpmdb after rpm --rebuild.
  • OpenSUSE's implementation of rpm, but for very different reasons
  • Setting some DB_CONFIG flags improves behaviors but just causes different issues
  • A single report of a custom Docker RHEL 7.5 image pull of working, but not 7.3. This bug can be reproduced on images built using the CentOS Docker image kickstart file as built with this script.

Logs:

Thanks:

Thank you so far to @therealkenc @crramirez @Conan-Kudo @daviesalex and @pmatilai for working on this issue.

Building aarch64 fails

sudo livemedia-creator --make-tar --iso=/tmp/install.iso --image-name=install.tar.xz --ks=install.ks

at https://github.com/WhitewaterFoundry/WLE/blob/master/create-targz.sh#L39

experiences critical error

logs show anaconda cannot find package vim-minimal
at https://gist.github.com/sirredbeard/931b69c6d52a52ea907ce3cfdf34a7fb#file-gistfile1-txt-L1183

kickstart files says to install vim-minimal
at https://github.com/CentOS/sig-cloud-instance-build/blob/master/docker/centos-7arm64.ks#L42

commenting out vim-minimal in kickstart file just produces can't find systemd, other packages, etc.

packages seem to be in repo linked by kickstart file
at http://mirror.centos.org/altarch/7/updates/aarch64/Packages/

yet it cannot find them

perhaps anaconda cannot locate because no tree file?

ERR packaging:got HTTP Error 404 when downloading [.]treeinfo files

at https://gist.github.com/sirredbeard/931b69c6d52a52ea907ce3cfdf34a7fb#file-gistfile1-txt-L1183

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.