Tiny Core Linux
dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: jls on May 08, 2016, 09:30:36 AM
-
Hi
After the recent dcore updates usb pendrives don't appear anymore on the desktop.
I'm using e20.
Thanks and happy sunday
-
Ok, I assume you are using dCore-trusty, I will mail you a dCore-trusty.gz with reverting of the recent changes but for the sce-update ones that would not affect it. Please test, if it fixes it, I will make these changes the next RC.
-
Please test the same download link sent in PM, this is with the changes reverted but for sce-update in recent weeks and let me know if the icons appear now.
There was an apparent glitch in the repacking in the last upload mentioned, as the errors you mention are not there now.
-
FWIW I see the exact same behavior in the latest current RC as I do with the dCore-trusty in the link I mailed, both have freshly updated SCEs and do not show the usb icon on the desktop in e20.
-
With the dcore from the link you emailed me the usb appear on the desktop.
Nb. Using enlightenment from the niko2040 ppa
-
Ok. Rather than spend an open ended amount of time troubleshooting the new changes, I will revert them to what we know works and has been the same since the beginning. As there is also no way to know what else may be also broken by the new RC. I will revert tonight.
-
disappeared again on the latest release candidate
-
So the rc just before the group file edit showed the icons? If so I will revert the file change, just wanting to pinpoint it
-
Yes
-
HI
I'm sorry, with the latest RC the usb icons appear.
-
That's great news, the latest rc is hopefully a keeper.
-
Hi
correction:
Booting with user=jls and having /etc/passwd and /etc/shadow in my backup makes usb not appear, , while still booting with user=jls but without the 2 mentioned file in mydata icons appear
-
Ok, may be a user or group problem. Can you post the contents of your backed up /etc/passwd and /etc/shadow?
-
Hi
Here they are:
EDITED: Jason W
-
You should've removed your password hashes, now someone can brute-force them.
-
I should have just asked for the relevant info which is the user/group info for the main user.
-
@JW: have you looked at the files before deleting from the post or I should repost?.
@Curaga: if someone discover my pass what can he does?
-
Yes, I have saved what I need from it, I just deleted the /etc/passwd for your protection as it contained the password hashes.
-
If you use the same password in some other place, or have sshd running to internet on that machine, it can be used to break into those.
-
Thanks
-
Hi
On a pc where I have dCore on the hd and persistent home the icons appear even with shadow and passwd on mydata.
PS if the usb is plugged during boot it doesn't appear, if boot is finhished and so the desktop is ready ad I plug the usb the icons appear.
-
Sounds like enlightenment is using udev or it's own way of seeing usb drives being inserted or removed.
-
it uses udisks 2
-
see attachment
-
In the past did dCore-trusty with this enlightenment package show a usb icon when the usb was already inserted on boot?
I am running this enlightenment on dCore-trusty now and see that it works with the insertion and removeal of usb.
-
Hi
Found a
dCore-trusty:2016.04.03.16.56
and with this version usb already plugged appears.
Tried also dCore-trusty:2016.05.09.23.25 with no luck
-
Ok, I will look in to it further.
-
Could you upload dCore-trusty.gz version 2016.04.03.16.56 somewhere, google drive perhaps, and PM me a link to it?
-
Hi
I'll upload dCore-trusty:2016.04.22.20.54, which works too, since I think I've deleted the previoulsy tested one.
Thanks
-
Turns out to be a file permission problem that crept in the base system. Please test the current RC, it is working here to show an icon when booting with a pendrive already inserted.
-
Hi
Unfortunately in my setup
dCore-trusty:2016.04.22.20.54
show icons of already inserted us while
dCore-trusty:2016.05.25.21.54
doesn't
Jason, you should now be able to download the working gz from my gdrive.
PS. newly inserted pendrives appear on the e20 desktop in both initrds
Thanks
-
Ok, though the current RC was working here with icons for usb drives already inserted at boot, I do see an oversight in the reversion to the previous user and group behavior.
Uploading now.
-
Hi
works now, thank you very much Jason!
-
HI
pendrives icons disappeared again on dCore-trusty:2016.05.29.16.34
:'(
-
Mine are still appearing. There are no changes that should be able to cause this. dCore-trusty:2016.05.29.18.17 is the rc I am using.
-
Here is what I see now. On dCore-wily the icons appear for both cdrom and usb when inserted or booted already inserted. But on dCore-trusty the icons appear but there is a udisks permission error when trying to mount the drive via udiskctl command or with the icons.
-
Hi
I use enlightenment from the niko2040 ppa under dCore- trusty.
-
Ok, that is what I am using also on both dCore-trusty and dCore-wily. Are you able to mount the usb as user with the command udiskctl mount -b /dev/sdc1 or whatever drive?
-
I'm not on the pc right now, but when the usb icons where appearing on the "e" desktop, double clicking on the icon made a pendrive mount and a window with it's content appear.
there was a discussion in the past
http://forum.tinycorelinux.net/index.php/topic,18007.msg117522.html#msg117522
(http://forum.tinycorelinux.net/index.php/topic,18007.msg117522.html#msg117522)
but actually e was mounting usb fine on the prevoious dCore rc.
thanks
-
Ok, here is what I found. Udisks2 needs policykit-1 as a dep, happens automatically in dCore-wily but not dCore-trusty. And lower level deps often need to be installed before higher level ones can successfully run their startup scripts. I installed policykit-1 several times after my desktop was running to no avail. Now udisiks2 commands and the Enlightenment desktop mount and unmount usb and cdrom drives as user. Anyone who is interested in the fix please re-import udisks2 and any SCE that contains it.
The only difference in what you said was working for you and now as far as base changes is what allows the cdrom to be seen on the desktop. Reverting to previous will cause the cdrom to not be seen. Now both dCore-trusty and dCore-wily with the enlightenment from the niko2040 ppa see cdrom and usb icons and can mount/unmount them with the desktop or udisks2.
I am not sure why your results are different, but I would ask you re-import any SCEs that are relevant and please test.
-
Hi
the policykit thing was already discussed:
http://forum.tinycorelinux.net/index.php/topic,18007.msg109896.html#msg109896
(http://forum.tinycorelinux.net/index.php/topic,18007.msg109896.html#msg109896)
-
The thing of starting the policykit daemon and an editing of a config file was discussed, not the issue of needing policykit-1 as a dep of udisks2 to allow udisks2 to mount as regular user in dCore-trusty.
If you would download a tarball of the dCore git area that is not the latest and get the /etc/udev/rules.d/60-cdrom_id.rules and place it in your live system and then run "udevadm trigger" and see if the usb icon reappears. It should not as it only affected the cdrom icon on my system. If that file makes the usb icon appear, I will pursue it further.
-
hi
please read the first phrase of
http://forum.tinycorelinux.net/index.php/topic,18007.msg109896.html#msg109896
(http://forum.tinycorelinux.net/index.php/topic,18007.msg109896.html#msg109896)
-
Hi
Trying my usb pendrive with dCore I can confirm that using the latest RC I can see the usb icons on the desktop.
It's on the pc at home that don't appear.
thanks Jasonw.
-
Hi
I've removed etc/passwod and etc/shadow from /opt/.filetool.lst, rebooted and now pendrives icons appear also on my home pc. Thanks Mr. Jason.
-
Hi
what about adding udisks2 in PKGADDDEP for enlightenment and e20?
Thanks
-
Thanks, the deps are added. I see enlightenment is listed in PKGEXTRAREPODEP, I forget why I felt the need for a separate dep list for things found in the /opt/debextra repos, but firefox is firefox and enlightenment is enlightenment whatever repo they come from, and entries in a dep list that are also found in the debinx are harmless redundancy. I will have the extra repos look to the PKGADDDEP like main repo packages are, just like the exra repos also look at the main debinx as well as their own that may or may not have all the needed deps listed.
-
Hi
I just re-imported enlightenment which I see it imports udisks2, but not policykit-1.
My local PKGADDDEP correctly lists policykit-1 as a dep for udisks2.
Another problem is that I twice imported enlightenment with the -p parameter but both times vlc-data_2.1.6-0ubuntu14.04.1_all.deb is re-downloaded.
The Vlc problem already reported long ago:
http://forum.tinycorelinux.net/index.php/topic,16708.msg99907.html#msg99907 (http://forum.tinycorelinux.net/index.php/topic,16708.msg99907.html#msg99907)
Below my setup:
jls@box:/mnt/sda2/tce/sce$ cat enlightenment-sis.sce.lst
enlightenment
jls@box:/mnt/sda2/tce/sce$ cat enlightenment-sis.sce.dep
xorg-sis
jls@box:/mnt/sda2/tce/sce$ cat xorg-sis.sce.dep
base
jls@box:/mnt/sda2/tce/sce$ cat base.sce.lst
alsa-utils
vim
wireless-tools
wpasupplicant
grep
Xprogs
base-locale
language-pack-it
language-pack-gnome-it-base
ntpdate
xdg-utils
connman
jls@box:/mnt/sda2/tce/sce$ cd
jls@box:~$ cat /opt/debextra/*
http://ppa.launchpad.net/niko2040/e19/ubuntu trusty main
http://ppa.launchpad.net/ferramroberto/lffl/ubuntu trusty main http://dl.google.com/linux/talkplugin/deb/ stable main
http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu trusty main
http://ftp5.gwdg.de/pub/opensuse/repositories/home:/jgeboski/xUbuntu_14.04 ./
http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main
http://packages.bodhilinux.com/bodhi trusty main
http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates main
http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates multiverse
http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates restricted
http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-updates universe
http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-backports main
http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-backports multiverse
http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-backports restricted
http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ trusty-backports universe
jls@box:~$ version -r
You are running dCore-trusty:2016.06.03.17.12, the latest release candidate.
jls@box:~$
Thanks
-
I had put up a fix then in the other thread back then for the vlc bug and didn't hear of any further issues on it as it appeared fixed on my setup, but I will look into it.
There was a release candidate last night, latest trusty as of it is dCore-trusty:2016.06.04.17.36 and that is where the fix for using the main PKGADDDEP is in.
I imported enlightenment on my box and policykit-1 is brought in as expected.
-
vlc-data issue is due to it's being listed twice as a package in the debinx file it was found. Have changed the awk routines that find package lists, .deb file name, and the size getting function to find the first matching and not list both which was messing up the md5sum function as well as the size of downloads, hd space.. I am not sure that Debian/Ubuntu allow a double listing of a package in the same Packages file, but if that is the case, we simply find the first match and go with it in the above mentioned functions.
Fixed in the newest RC, please test, working here with vlc-data with the (main, universe, multiverse, restricted) backports and updates repos of Trusty in /opt/debextra/.