Porteus-v3.2rc3 Bug Reports

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Locked
User avatar
brokenman
Site Admin
Site Admin
Posts: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus-v3.2rc3 Bug Reports

Post#61 by brokenman » 16 Jun 2016, 01:50

It has long been observed that in the text mode Russian alphabet (сyrillic) appears as follows:
Is this only in 32bit? Have you tried setting the character encoding in the terminal?
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 3322
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus-v3.2rc3 Bug Reports

Post#62 by Ed_P » 16 Jun 2016, 04:10

Cinnamon 64bit

Use of a used save.dat file generates a logon screen for user guest. Entering the guest password simply reloads the logon screen. If I change the user id to root the system boots.

I booted 3.2rc3 with no changes= parm.
I created a new 256MB save.dat file.
I rebooted 3.2rc3 with changes=EXIT; and address of the new save.dat file.
I added and saved the password for my wi-fi router.
I changed the clock display to be 12 hrs.
I rebooted, saving my changes,
On rebooting I get the guest logon screen.

Nothing was added to /home/guest/.
Firefox wasn't run.

The guest logon loops.
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 973
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Porteus-v3.2rc3 Bug Reports

Post#63 by ncmprhnsbl » 16 Jun 2016, 04:37

@Ed_P
as brokenman says ... maybe guest permissions.. log in to root and check who owns /home/guest

Code: Select all

ls -l /home
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 3322
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus-v3.2rc3 Bug Reports

Post#64 by Ed_P » 16 Jun 2016, 05:12

^

Code: Select all

root@porteus:~# ls -l /home
total 0
drwxr-xr-x 25 root root 80 Jun 16 01:03 guest/
root@porteus:~# 
And is that because I am logged on now as root or because Porteus saved /home that way when I was logged on as guest?

More importantly, can it be fixed?

Code: Select all

root@porteus:~# su guest
guest@porteus:/root$ ls -l home
/bin/ls: cannot access 'home': Permission denied
guest@porteus:/root$ ls -l home/guest
/bin/ls: cannot access 'home/guest': Permission denied
guest@porteus:/root$ 
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 973
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Porteus-v3.2rc3 Bug Reports

Post#65 by ncmprhnsbl » 16 Jun 2016, 06:43

as root:

Code: Select all

chown -R guest:users /home/guest
whether this will stick on saving/reboot is a good question :unknown:
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Blaze
DEV Team
DEV Team
Posts: 1501
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Porteus-v3.2rc3 Bug Reports

Post#66 by Blaze » 16 Jun 2016, 07:21

brokenman wrote:
It has long been observed that in the text mode Russian alphabet (сyrillic) appears as follows:
Is this only in 32bit?
32 and 64 bit.
Have you tried setting the character encoding in the terminal?
No. Can you give me example of this (these) command(s)?

I think need to take one font from kbd-1.15-x86_64-3.txz package and to tweak /etc/rc.d/rc.font (set a correct font via right commands)

Code: Select all

root@porteus:~# ls /root/Загрузки/kbd-1.15-x86_64-3/usr/share/kbd/consolefonts
161.cp.gz                drdos8x14.psfu.gz             lat1-14.psfu.gz
162.cp.gz                drdos8x16.psfu.gz             lat1-16.psfu.gz
163.cp.gz                drdos8x6.psfu.gz              lat2-08.psfu.gz
164.cp.gz                drdos8x8.psfu.gz              lat2-10.psfu.gz
165.cp.gz                gr737a-8x8.psfu.gz            lat2-12.psfu.gz
737.cp.gz                gr737a-9x14.psfu.gz           lat2-14.psfu.gz
880.cp.gz                gr737a-9x16.psfu.gz           lat2-16.psfu.gz
928.cp.gz                gr737b-8x11.psfu.gz           lat2a-16.psfu.gz
972.cp.gz                gr737b-9x16-medieval.psfu.gz  lat4-08.psfu.gz
Agafari-12.psfu.gz       gr737c-8x14.psfu.gz           lat4-10.psfu.gz
Agafari-14.psfu.gz       gr737c-8x16.psfu.gz           lat4-12.psfu.gz
Agafari-16.psfu.gz       gr737c-8x6.psfu.gz            lat4-14.psfu.gz
Cyr_a8x14.psfu.gz        gr737c-8x7.psfu.gz            lat4-16+.psfu.gz
Cyr_a8x16.psfu.gz        gr737c-8x8.psfu.gz            lat4-16.psfu.gz
Cyr_a8x8.psfu.gz         gr737d-8x16.psfu.gz           lat4-19.psfu.gz
ERRORS                   gr928-8x16-thin.psfu.gz       lat4a-08.psfu.gz
Goha-12.psfu.gz          gr928-9x14.psfu.gz            lat4a-10.psfu.gz
Goha-14.psfu.gz          gr928-9x16.psfu.gz            lat4a-12.psfu.gz
Goha-16.psfu.gz          gr928a-8x14.psfu.gz           lat4a-14.psfu.gz
GohaClassic-12.psfu.gz   gr928a-8x16.psfu.gz           lat4a-16+.psfu.gz
GohaClassic-14.psfu.gz   gr928b-8x14.psfu.gz           lat4a-16.psfu.gz
GohaClassic-16.psfu.gz   gr928b-8x16.psfu.gz           lat4a-19.psfu.gz
Lat2-Terminus16.psfu.gz  greek-polytonic.psfu.gz       lat5-12.psfu.gz
LatArCyrHeb-08.psfu.gz   iso01-12x22.psfu.gz           lat5-14.psfu.gz
LatArCyrHeb-14.psfu.gz   iso01.08.gz                   lat5-16.psfu.gz
LatArCyrHeb-16+.psfu.gz  iso01.14.gz                   lat7-14.psfu.gz
LatArCyrHeb-16.psfu.gz   iso01.16.gz                   lat7a-14.psfu.gz
LatArCyrHeb-19.psfu.gz   iso02-12x22.psfu.gz           lat7a-16.psf.gz
Mik_8x16.gz              iso02.08.gz                   lat9-08.psf.gz
README.12x22             iso02.14.gz                   lat9-10.psf.gz
README.Arabic            iso02.16.gz                   lat9-12.psf.gz
README.Cyrillic          iso03.08.gz                   lat9-14.psf.gz
README.Ethiopic          iso03.14.gz                   lat9-16.psf.gz
README.Greek             iso03.16.gz                   lat9u-08.psfu.gz
README.Hebrew            iso04.08.gz                   lat9u-10.psfu.gz
README.Lat2-Terminus16   iso04.14.gz                   lat9u-12.psfu.gz
README.cp1250            iso04.16.gz                   lat9u-14.psfu.gz
README.cybercafe         iso05.08.gz                   lat9u-16.psfu.gz
README.drdos             iso05.14.gz                   lat9v-08.psfu.gz
README.lat0              iso05.16.gz                   lat9v-10.psfu.gz
README.lat7              iso06.08.gz                   lat9v-12.psfu.gz
README.lat9              iso06.14.gz                   lat9v-14.psfu.gz
README.psfu              iso06.16.gz                   lat9v-16.psfu.gz
UniCyrExt_8x16.psf.gz    iso07.14.gz                   lat9w-08.psfu.gz
UniCyr_8x14.psf.gz       iso07.16.gz                   lat9w-10.psfu.gz
UniCyr_8x16.psf.gz       iso07u-16.psfu.gz             lat9w-12.psfu.gz
UniCyr_8x8.psf.gz        iso08.08.gz                   lat9w-14.psfu.gz
alt-8x14.gz              iso08.14.gz                   lat9w-16.psfu.gz
alt-8x16.gz              iso08.16.gz                   m.fnt.gz
alt-8x8.gz               iso09.08.gz                   ml.fnt.gz
altc-8x16.gz             iso09.14.gz                   mod_d.fnt.gz
aply16.psf.gz            iso09.16.gz                   mod_s.fnt.gz
arm8.fnt.gz              iso10.08.gz                   mr.fnt.gz
b.fnt.gz                 iso10.14.gz                   mu.fnt.gz
c.fnt.gz                 iso10.16.gz                   partialfonts/
cp1250.psfu.gz           koi8-14.psf.gz                r.fnt.gz
cp850-8x14.psfu.gz       koi8c-8x16.gz                 rl.fnt.gz
cp850-8x16.psfu.gz       koi8r-8x14.gz                 ro.fnt.gz
cp850-8x8.psfu.gz        koi8r-8x16.gz                 ruscii_8x16.psfu.gz
cp857.08.gz              koi8r-8x8.gz                  ruscii_8x8.psfu.gz
cp857.14.gz              koi8r.8x8.psfu.gz             s.fnt.gz
cp857.16.gz              koi8u_8x14.psfu.gz            sc.fnt.gz
cp865-8x14.psfu.gz       koi8u_8x16.psfu.gz            scrawl_s.fnt.gz
cp865-8x16.psfu.gz       koi8u_8x8.psfu.gz             scrawl_w.fnt.gz
cp865-8x8.psfu.gz        lat0-08.psfu.gz               sd.fnt.gz
cp866-8x14.psf.gz        lat0-10.psfu.gz               sun12x22.psfu.gz
cp866-8x16.psf.gz        lat0-12.psfu.gz               t.fnt.gz
cp866-8x8.psf.gz         lat0-14.psfu.gz               t850b.fnt.gz
cybercafe.fnt.gz         lat0-16.psfu.gz               tcvn8x16.psf.gz
cyr-sun16.psfu.gz        lat1-08.psfu.gz               viscii10-8x16.psfu.gz
default8x16.psfu.gz      lat1-10.psfu.gz
default8x9.psfu.gz       lat1-12.psfu.gz
root@porteus:~#            
BTW I found this script for automount + safely remove devices (little triangle things) for the left sidebar (thunar, pcmanfm and probably others)

/etc/init.d/show_gvfs

Code: Select all

#!/bin/bash

#modifies /etc/fstab to add 'comment=x-gvfs-show' to all devices.
#This allows the devices to show up in the pcmanfm and thunar left
#panes under udisks2

if [ "$1" = "start" ]; then

  for a in `cat /etc/fstab |sed '/Device partitions/,/^$/!d'|grep '/dev/'|cut -d ' ' -f4|sort -u|grep -v 'x-gvfs-show'`; do
    sed -i '/Device partitions/,/^$/ '"s/$a/$a,comment=x-gvfs-show/g"'' /etc/fstab; 
  done  

fi
Last edited by Blaze on 16 Jun 2016, 19:11, edited 7 times in total.
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Porteus-v3.2rc3 Bug Reports

Post#67 by Bogomips » 16 Jun 2016, 13:51

Cinnamon 32 bit

Slight glitch with screen locker. Have two layouts en and ru. Had switched to ru and then returned to en. However screen locker now insists on being in ru. Enter pw fails, and have to toggle dialog switch to en in order to get pw accepted.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Ed_P
Contributor
Contributor
Posts: 3322
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus-v3.2rc3 Bug Reports

Post#68 by Ed_P » 16 Jun 2016, 17:00

ncmprhnsbl wrote:as root:

Code: Select all

chown -R guest:users /home/guest
whether this will stick on saving/reboot is a good question :unknown:

Unfortunately no. :(

Code: Select all

root@porteus:~# ls -l /home
total 0
drwxr-xr-x 32 root root 80 Jun 16 12:18 guest/
root@porteus:~# 
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Porteus-v3.2rc3 Bug Reports

Post#69 by Bogomips » 16 Jun 2016, 19:40

^ cliexec=chown~-R~guest:users~/home/guest
As temporary fix?

P.S. Cinnamon 32 bit
Worked out how to activate module from CLI. Must not be done as root but as guest, in which case root password has to be supplied, following which activation takes place. 8)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Ed_P
Contributor
Contributor
Posts: 3322
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus-v3.2rc3 Bug Reports

Post#70 by Ed_P » 16 Jun 2016, 22:31

^ Actually I was thinking more along the lines of mloop the save.dat file and changing it's contents but not successful using my normal
3.0.1 system.

Code: Select all

guest@porteus:~$ su
Password: 

root@porteus:/home/guest# mloop /mnt/sda5/porteus3.2/changes/porteussave.dat
using /dev/loop28

Please wait while i gather some info ....

mount: wrong fs type, bad option, bad superblock on /dev/loop28,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so



 #################################
 Your data file has been mounted at: 
/mnt/loop

You can unmount it by typing uloop

Here is a list of the files:

root@porteus:/home/guest# ls /mnt/loop
root@porteus:/home/guest# uloop

nothing is mounted in /mnt/loop
May retry using 3.2.
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus-v3.2rc3 Bug Reports

Post#71 by brokenman » 17 Jun 2016, 01:51

No. Can you give me example of this (these) command(s)?
It depends which desktop but look in the terminal menus for changing the encoding. In xfce4 it is 'Terminal/Set Encoding'

The next release will have code in the bootscripts to set guest home folder permissions during boot.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus-v3.2rc3 Bug Reports

Post#72 by brokenman » 17 Jun 2016, 02:06

I booted 3.2rc3 with no changes= parm.
I created a new 256MB save.dat file.
I rebooted 3.2rc3 with changes=EXIT; and address of the new save.dat file.
I added and saved the password for my wi-fi router.
I changed the clock display to be 12 hrs.
I rebooted, saving my changes,
On rebooting I get the guest logon screen.

Nothing was added to /home/guest/.
Something was most definitely added to /home/guest. The question is: What was added? The answer really depends on how you went about the procedures above.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Jack
Contributor
Contributor
Posts: 1187
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Porteus-v3.2rc3 Bug Reports

Post#73 by Jack » 17 Jun 2016, 03:00

Mate rc3 x86_64

I just try to set time or make a adjustment and got delete from pannel and gave an error. Can some verify that?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Ed_P
Contributor
Contributor
Posts: 3322
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus-v3.2rc3 Bug Reports

Post#74 by Ed_P » 17 Jun 2016, 05:26

brokenman wrote:Something was most definitely added to /home/guest. The question is: What was added? The answer really depends on how you went about the procedures above.
1. Created the save.dat using 3.2rc3.
I booted the 3.2rc3 iso using grub4dos.

Code: Select all

set ISO3x=porteus-nemesis-v3.5-lxde-x86_64.iso
set ISO32X=Porteus-CINNAMON-v3.2rc3x-x86_64.iso
set ISO32=Porteus-CINNAMON-v3.2rc3-x86_64.iso
 :
 :
title Porteus 3.2   Always Fresh +\n264MB\n %ISO32% with networking & Firefox 
find --set-root                       /ISOs/%ISO32%
map --heads=0 --sectors-per-track=0   /ISOs/%ISO32% (0xff) 
map --hook
root (0xff)
#kernel /boot/syslinux/vmlinuz    from=/ISOs/%ISO32% extramod=/porteus3.2/Modules changes=EXIT:/porteus3.2/changes/porteussave.dat
kernel /boot/syslinux/vmlinuz    from=/ISOs/%ISO32% extramod=/porteus3.2/Modules;/porteus3.2/modsavedat
initrd /boot/syslinux/initrd.xz

Code: Select all

guest@porteus:~$ ls /mnt/sda5/porteus3.2/Modules
firefox-47.0b9-x86_64-1.xzm*
flashplayer-plugin-11.2.202.621-x86_64-1alien.xzm*
guest@porteus:~$ ls /mnt/sda5/porteus3.2/modsavedat
porteussave.dat.xzm*
guest@porteus:~$ 
Menu > Administration > Porteus save file manager > Password > I want to create a new savefile > Size 256MB
2. I rebooted 3.2rc3 iso using grub4dos

Code: Select all

title Porteus 3.2   changes=      \n264MB\n%ISO32% with networking & Firefox 
find --set-root                       /ISOs/%ISO32%
map --heads=0 --sectors-per-track=0   /ISOs/%ISO32% (0xff) 
map --hook
root (0xff)
kernel /boot/syslinux/vmlinuz    from=/ISOs/%ISO32% extramod=/porteus3.2/Modules changes=EXIT:/porteus3.2/changes/porteussave.dat
#kernel /boot/syslinux/vmlinuz    from=/ISOs/%ISO32% extramod=/porteus3.2/Modules;/porteus3.2/modsavedat
initrd /boot/syslinux/initrd.xz
3. I clicked on the 3.2rc3 task bar's Network icon.
I clicked on Network Settings
I clciked on my wi-fi network name and entered it's password and connected to it.
4. I clicked on Menu > Preferences > Date & Time > Use 24 hr clock > Off
5. I clicked on Menu > Shutdown the computer > Restart
6. When I rebooted with the updated save.dat file I got a signon screen for guest.

Anything else you need? :)


-update-

Code: Select all

guest@porteus:~$ mloop /mnt/sda5/porteus3.2/changes/porteussave.dat
 Please enter root's password below 
Password: 
using /dev/loop8

Please wait while i gather some info ....

 #################################
 Your data file has been mounted at: 
/mnt/loop

You can unmount it by typing uloop

Here is a list of the files:
etc  home  lib	root  usr  var

guest@porteus:~$ ls -l /mnt/loop/home
total 0
drwxr-xr-x 16 guest users 322 Jun 16 12:15 guest/

guest@porteus:~$ ls -l /mnt/loop/home/guest
total 0
drwxr-xr-x 2 guest users 6 Jun 15 23:44 Desktop/
drwxr-xr-x 2 guest users 6 Feb 21 01:25 Documents/
drwxr-xr-x 2 guest users 6 Feb 21 01:35 Downloads/
drwxr-xr-x 2 guest users 6 Feb 21 01:44 Music/
drwxr-xr-x 2 guest users 6 Feb 21 01:36 Pictures/
drwxr-xr-x 2 guest users 6 Feb 21 01:40 Videos/

guest@porteus:~$ ls -l /mnt/loop/home/guest/Desktop
total 0

guest@porteus:~$ ls -l /mnt/loop/etc
total 24
drwxr-xr-x 3 root root   32 Jun 15 23:45 NetworkManager/
-rw-r--r-- 1 root root   42 Jun 15 23:49 dhcpcd.duid
-r-------- 1 root root  192 Jun 15 23:49 dhcpcd.secret
-rw-r--r-- 1 root root  802 Jun 16 12:12 fstab
drwxr-xr-x 3 root root   30 Jun 16 12:13 gconf/
-rw-r--r-- 1 root root  264 Jun 16 12:16 mtab
-rw------- 1 root users   0 Jun 15 23:50 mtab.fuselock
drwxr-xr-x 2 root root   24 Jun 16 12:12 profile.d/
-rw------- 1 root root  512 Jun 16 12:16 random-seed
-rw-r--r-- 1 root root  130 Jun 16 12:12 resolv.conf
drwxr-xr-x 3 root root   21 Jun 16 12:14 samba/
drwxr-xr-x 3 root root   21 Jun 15 23:44 udev/

guest@porteus:~$ ls -l /mnt/loop/lib
total 0
drwxr-xr-x 3 root root 27 Jun 15 23:44 modules/

guest@porteus:~$ ls -l /mnt/loop/root
/bin/ls: cannot open directory '/mnt/loop/root': Permission denied

guest@porteus:~$ ls -l /mnt/loop/usr
total 0
drwxr-xr-x 3 root root 26 Jun 16 12:12 share/

guest@porteus:~$ ls -l /mnt/loop/var
total 0
drwxr-xr-x 4 root root  37 Jun 16 12:14 cache/
drwxr-xr-x 7 root root  79 Jun 16 12:12 lib/
drwxr-xr-x 2 root root   6 Jun 16 12:18 lock/
drwxr-xr-x 3 root root 247 Jun 16 12:13 log/
drwxr-xr-x 3 root root  18 Jun 16 12:12 spool/
guest@porteus:~$ 
Basically /home is the only folder in save.dat not limited to root access.

And nothing was added to /home/guest/.
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus-v3.2rc3 Bug Reports

Post#75 by brokenman » 17 Jun 2016, 19:26

Anything else you need?
No. That should be enough. I will retrace your steps, find the culprit and get back to you. Thanks for the report.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Locked