FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Edubuntu User

 
 
LinkBack Thread Tools
 
Old 02-27-2009, 12:55 PM
David Van Assche
 
Default First try, Jaunty Alternate, a bug

Well, I can't even change my network settings under Jaunty, even with
changing policy kit. It seems my connections are read only and totally
locked down... I don't want to revert to using something other than
network manager, but this is close to leaving no choice...

David Van Assche

On Fri, Feb 27, 2009 at 2:37 PM, Asmo Koskinen <asmo.koskinen@arkki.info> wrote:
> Oliver Grawert kirjoitti:
>
>> ogra@osiris:~/Devel/packages/ltspfs-0.5.9$ dpkg
>> --contents ../ltspfsd_0.5.9-0ubuntu1_i386.deb |grep ltspfsd.rules
>> -rw-r--r-- root/root * * * 532 2009-02-27
>> 13:42 ./lib/udev/rules.d/80-ltspfsd.rules
>
> This was fresh Daily/Alpha5 i386 CD installation. USB stick is broken
> after these steps.
>
> 1. No ltspfsd package after fresh installation.
>
> admin-ltsp5@ubuntu-ltsp5:~$ dpkg --get-selections | grep ltsp
> ltsp-server * * * * * * * * * * * * * * * * * * install
> ltsp-server-standalone * * * * * * * * * * * * *install
> ltspfs * * * * * * * * * * * * * * * * * * * * *install
> admin-ltsp5@ubuntu-ltsp5:~$
>
> 2. Manual installation for ltspfsd package.
>
> admin-ltsp5@ubuntu-ltsp5:~$ sudo apt-get install ltspfsd
> Luetaan pakettiluetteloita... Valmis
> Muodostetaan riippuvuussuhteiden puu
> Luetaan tilatiedot... Valmis
> Seuraavat ylimääräiset paketit on merkitty asennettaviksi:
> * ldm ldm-ubuntu-themes
> Seuraavat UUDET paketit asennetaan:
> * ldm ldm-ubuntu-themes ltspfsd
> 0 päivitetty, 3 uutta asennusta, 0 poistettavaa ja 0 päivittämätöntä.
> Noudettavaa arkistoa 1838kt.
> Toiminnon jälkeen käytetään 2593k t lisää levytilaa.
> Haluatko jatkaa [K/e]?
>
> Nouda:1 http://fi.archive.ubuntu.com jaunty/main ldm-ubuntu-themes
> 2:2.0.36-0ubuntu1 [1748kB]
> Nouda:2 http://fi.archive.ubuntu.com jaunty/main ldm 2:2.0.36-0ubuntu1
> [66,2kB]
>
> Nouda:3 http://fi.archive.ubuntu.com jaunty/main ltspfsd 0.5.9-0ubuntu1
> [24,0kB]
>
> Noudettiin 1838kt ajassa 17s (107kt/s)
>
>
> Valitaan aikaisemmin valitsematon paketti ldm-ubuntu-themes.
> (Luetaan tietokantaa... 105393 tiedostoa ja hakemistoa tällä hetkellä
> asennettuna.)
> Puretaan pakettia ldm-ubuntu-themes
> (.../ldm-ubuntu-themes_2%3a2.0.36-0ubuntu1_all.deb)...
> Valitaan aikaisemmin valitsematon paketti ldm.
> Puretaan pakettia ldm (.../ldm_2%3a2.0.36-0ubuntu1_i386.deb)...
> Valitaan aikaisemmin valitsematon paketti ltspfsd.
> Puretaan pakettia ltspfsd (.../ltspfsd_0.5.9-0ubuntu1_i386.deb)...
> Suoritetaan kohteen man-db liipaisimia...
> Tehdään asetuksia: ltspfsd (0.5.9-0ubuntu1) ...
>
> Tehdään asetuksia: ldm (2:2.0.36-0ubuntu1) ...
> Tehdään asetuksia: ldm-ubuntu-themes (2:2.0.36-0ubuntu1) ...
>
> admin-ltsp5@ubuntu-ltsp5:~$
>
> 3. Now I have rules.
>
> admin-ltsp5@ubuntu-ltsp5:/lib/udev/rules.d$ ls -al
> yhteensä 220
> drwxr-xr-x 2 root root *4096 2009-02-27 15:14 .
> drwxr-xr-x 4 root root *4096 2009-02-27 15:14 ..
> -rw-r--r-- 1 root root * 348 2008-12-22 17:19 40-alsa.rules
> -rw-r--r-- 1 root root *7564 2009-02-18 12:59 40-hplip.rules
> -rw-r--r-- 1 root root * *90 2008-10-16 19:03 40-ia64.rules
> -rw-r--r-- 1 root root * 410 2008-12-09 02:48 40-infiniband.rules
> -rw-r--r-- 1 root root * 180 2009-01-04 17:51 40-isdn.rules
> -rw-r--r-- 1 root root *2656 2009-02-23 18:07 40-libpisock9.rules
> -rw-r--r-- 1 root root * 174 2008-10-16 19:03 40-pilot-links.rules
> -rw-r--r-- 1 root root * 248 2009-01-04 17:51 40-ppc.rules
> -rw-r--r-- 1 root root *6784 2009-02-27 03:21
> 40-xserver-xorg-input-wacom.rules
> -rw-r--r-- 1 root root * 334 2009-01-05 18:48 40-zaptel.rules
> -rw-r--r-- 1 root root * *30 2009-01-14 15:35 45-fuse.rules
> -rw-r--r-- 1 root root 39784 2009-01-09 14:21 45-libmtp8.rules
> -rw-r--r-- 1 root root * 172 2009-02-27 03:26 50-firmware.rules
> -rw-r--r-- 1 root root *4562 2009-02-27 03:26 50-udev-default.rules
> -rw-r--r-- 1 root root * 141 2009-02-27 03:26 60-cdrom_id.rules
> -rw-r--r-- 1 root root *1538 2009-02-27 03:26 60-persistent-input.rules
> -rw-r--r-- 1 root root * 718 2009-02-27 03:26 60-persistent-serial.rules
> -rw-r--r-- 1 root root *4372 2009-02-27 03:26 60-persistent-storage.rules
> -rw-r--r-- 1 root root *1440 2009-02-27 03:26
> 60-persistent-storage-tape.rules
> -rw-r--r-- 1 root root * 711 2009-02-27 03:26 60-persistent-v4l.rules
> -rw-r--r-- 1 root root * 525 2009-02-27 03:26
> 61-persistent-storage-edd.rules
> -rw-r--r-- 1 root root * 485 2009-02-17 02:34 62-bluez-hid2hci.rules
> -rw-r--r-- 1 root root * 107 2008-10-16 19:03 64-device-mapper.rules
> -rw-r--r-- 1 root root *1279 2009-02-20 15:51 65-dmsetup.rules
> -rw-r--r-- 1 root root * 390 2009-02-27 03:26 75-cd-aliases-generator.rules
> -rw-r--r-- 1 root root *2403 2009-02-27 03:26
> 75-persistent-net-generator.rules
> -rw-r--r-- 1 root root * 137 2009-02-27 03:26 79-fstab_import.rules
> -rw-r--r-- 1 root root * 779 2009-02-27 03:26 80-drivers.rules
> -rw-r--r-- 1 root root * 532 2009-02-18 23:25 80-ltspfsd.rules
> -rw-r--r-- 1 root root * *68 2009-02-20 19:25 85-alsa-utils.rules
> -rw-r--r-- 1 root root *3356 2009-02-27 01:31 85-brltty.rules
> -rw-r--r-- 1 root root * *84 2009-01-09 14:24 85-hdparm.rules
> -rw-r--r-- 1 root root *1855 2009-02-17 20:26 85-hplj10xx.rules
> -rw-r--r-- 1 root root * 428 2009-02-18 21:43 85-hwclock.rules
> -rw-r--r-- 1 root root * 708 2009-01-09 14:10 85-ifupdown.rules
> -rw-r--r-- 1 root root * 950 2009-01-10 01:21 85-pcmcia.rules
> -rw-r--r-- 1 root root * 221 2009-02-12 19:17 85-regulatory.rules
> -rw-r--r-- 1 root root * *83 2009-02-25 17:22 90-hal.rules
> -rw-r--r-- 1 root root * 234 2009-02-27 03:26 95-udev-late.rules
> -rw-r--r-- 1 root root *1438 2009-02-27 03:26 README
> admin-ltsp5@ubuntu-ltsp5:/lib/udev/rules.d$
>
> 4. Thin client can see (dmesg in chroot) USB stick, but no popup icon on
> the desktop!?
>
> * *71.796391] usb 4-1: new high speed USB device using ehci_hcd and
> address 4
> [ * 72.023847] usb 4-1: configuration #1 chosen from 1 choice
> [ * 72.101291] Initializing USB Mass Storage driver...
> [ * 72.105143] scsi4 : SCSI emulation for USB Mass Storage devices
> [ * 72.105582] usbcore: registered new interface driver usb-storage
> [ * 72.105591] USB Mass Storage support registered.
> [ * 72.107416] usb-storage: device found at 4
> [ * 72.107422] usb-storage: waiting for device to settle before scanning
> [ * 77.116060] usb-storage: device scan complete
> [ * 77.116997] scsi 4:0:0:0: Direct-Access * * * * * * *USB Flash Memory
> 1.00 PQ: 0 ANSI: 2
> [ * 77.127848] sd 4:0:0:0: [sdb] 1001472 512-byte hardware sectors: (512
> MB/489 MiB)
> [ * 77.128576] sd 4:0:0:0: [sdb] Write Protect is off
> [ * 77.128584] sd 4:0:0:0: [sdb] Mode Sense: 0b 00 00 08
> [ * 77.128589] sd 4:0:0:0: [sdb] Assuming drive cache: write through
> [ * 77.136616] sd 4:0:0:0: [sdb] 1001472 512-byte hardware sectors: (512
> MB/489 MiB)
> [ * 77.138185] sd 4:0:0:0: [sdb] Write Protect is off
> [ * 77.138193] sd 4:0:0:0: [sdb] Mode Sense: 0b 00 00 08
> [ * 77.138199] sd 4:0:0:0: [sdb] Assuming drive cache: write through
> [ * 77.138213] *sdb: sdb1
> [ * 77.139731] sd 4:0:0:0: [sdb] Attached SCSI removable disk
> [ * 77.139867] sd 4:0:0:0: Attached scsi generic sg2 type 0
> ----
>
> Best Regards Asmo Koskinen.
>
> --
> edubuntu-users mailing list
> edubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>

--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 02-27-2009, 01:33 PM
Oliver Grawert
 
Default First try, Jaunty Alternate, a bug

hi,
Am Freitag, den 27.02.2009, 15:37 +0200 schrieb Asmo Koskinen:
> Oliver Grawert kirjoitti:
>
> > ogra@osiris:~/Devel/packages/ltspfs-0.5.9$ dpkg
> > --contents ../ltspfsd_0.5.9-0ubuntu1_i386.deb |grep ltspfsd.rules
> > -rw-r--r-- root/root 532 2009-02-27
> > 13:42 ./lib/udev/rules.d/80-ltspfsd.rules
>
> This was fresh Daily/Alpha5 i386 CD installation. USB stick is broken
> after these steps.
>
> 1. No ltspfsd package after fresh installation.
>
> admin-ltsp5@ubuntu-ltsp5:~$ dpkg --get-selections | grep ltsp
> ltsp-server install
> ltsp-server-standalone install
> ltspfs install
> admin-ltsp5@ubuntu-ltsp5:~$
>
> 2. Manual installation for ltspfsd package.
you are aware that ltspfsd doesnt belong on the server at all,
right ?

check your chroot if its there ...

ciao
oli

--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 02-27-2009, 03:08 PM
Asmo Koskinen
 
Default First try, Jaunty Alternate, a bug

Oliver Grawert kirjoitti:

> you are aware that ltspfsd doesnt belong on the server at all,
> right ?

Well, I'm just another user ;-).

> check your chroot if its there ...

ltspfsd is there.

admin-ltsp5@ubuntu-ltsp5:~$ sudo chroot /opt/ltsp/i386
[sudo] password for admin-ltsp5:
root@ubuntu-ltsp5:/# dpkg --get-selections | grep ltsp
ltsp-client install
ltsp-client-core install
ltspfsd install
root@ubuntu-ltsp5:/#

I purged ltspfsd from server side and autoremove ldm and ldm-themes.

I did have rules:

admin-ltsp5@ubuntu-ltsp5:~$ ls -al
/opt/ltsp/i386/lib/udev/rules.d/80-ltspfsd.rules
-rw-r--r-- 1 root root 532 2009-02-18 23:25
/opt/ltsp/i386/lib/udev/rules.d/80-ltspfsd.rules

Then I did ltsp-update-image.

Same situation, no icon for the usb stick on the desktop.

Best Regards Asmo Koskinen.

--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 02-27-2009, 04:41 PM
Asmo Koskinen
 
Default First try, Jaunty Alternate, a bug

Asmo Koskinen kirjoitti:

> /opt/ltsp/i386/lib/udev/rules.d/80-ltspfsd.rules

Lenny (Debian stable) worked with usb sticks, it has little bit
different rules file for ltspfsd.

Lenny:

# udev rules for Debian systems, usually installed into:
# /etc/udev/rules.d/z60_ltspfsd.rules

# legacy floppy drives:
ACTION=="add", KERNEL=="fd[0-9]", RUN+="ltspfs_entry add %k auto"

# USB floppy drives:
ACTION=="add", SUBSYSTEM=="block", KERNEL!="fd[0-9]",
ENV{ID_TYPE}=="floppy", ATTRS{removable}=="1", RUN+="ltspfs_entry add %k
auto"

# USB sticks and other removable drives:
ACTION=="add", SUBSYSTEM=="block", ENV{ID_TYPE}=="disk",
ATTRS{removable}=="1", RUN+="ltspfs_entry add %k"

# external USB hard drives:
ACTION=="add", SUBSYSTEM=="block", ENV{ID_BUS}=="usb",
ENV{ID_TYPE}=="disk", ATTRS{removable}!="1", RUN+="ltspfs_entry add %k"

# CDROM drives:
ACTION=="add", SUBSYSTEM=="block", ENV{ID_TYPE}=="cd",
ATTRS{removable}=="1", RUN+="ltspfs_entry add %k"

# internal hard drives:
# (NOTE: enabling this will provide root-level write access to local
hard disks)
#ACTION=="add", SUBSYSTEM=="block", ENV{ID_TYPE}=="disk",
ATTRS{removable}!="1", RUN+="ltspfs_entry add %k"

# device removals:
ACTION=="remove", SUBSYSTEM=="block", RUN+="ltspfs_entry remove %k"
----

Lenny has a line for "USB sticks and other removable drives". Should
Jaunty had it too?

Jaunty:

# udev rules for Debian systems, usually installed into:
# /etc/udev/rules.d/z60_ltspfsd.rules

# legacy floppy drives:
ACTION=="add", KERNEL=="fd[0-9]", RUN+="ltspfs_entry add %k auto"

# USB floppy drives:
ACTION=="add", SUBSYSTEM=="block", KERNEL!="fd[0-9]",
ENV{ID_TYPE}=="floppy", ATTRS{removable}=="1", RUN+="ltspfs_entry add %k
auto"

# other drives:
ACTION=="add", SUBSYSTEM=="block", ENV{ID_TYPE}!="floppy",
RUN+="ltspfs_entry add %k"

# device removals:
ACTION=="remove", SUBSYSTEM=="block", RUN+="ltspfs_entry remove %k"
----

Best Regards Asmo Koskinen.

--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 02-27-2009, 09:12 PM
Oliver Grawert
 
Default First try, Jaunty Alternate, a bug

hi,
Am Freitag, den 27.02.2009, 19:41 +0200 schrieb Asmo Koskinen:


> Lenny has a line for "USB sticks and other removable drives". Should
> Jaunty had it too?
no, note that debian uses a massively hacked up udev version while
ubuntu uses the plain upstream version.
you surely see a bug here and it definately needs fixage but note that
this bug could be in nautils in gvfs or elsewhere, lets nail it down and
fix it properly (first step would be to file a bug in LP).
debian lenny uses a very old gnome, a kernel thats two versions behind
jaunty and a lot older udev version as well (note that lenny was frozen
for nearly a year so nearly all software s outdated in comparison to
upstream or jaunty)

ciao
oli
--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 02-27-2009, 09:24 PM
 
Default First try, Jaunty Alternate, a bug

> you surely see a bug here and it definately needs fixage but note that
> this bug could be in nautils in gvfs or elsewhere, lets nail it down and
> fix it properly (first step would be to file a bug in LP).

Thank you for explain that, Oliver. I'll file a bug tomorrow.

Best Ragrds Asmo Koskinen.


--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 02-28-2009, 02:49 PM
Asmo Koskinen
 
Default First try, Jaunty Alternate, a bug

asmo.koskinen@arkki.info kirjoitti:

> I'll file a bug tomorrow.

Here: https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/335767

Best Regards Asmo Koskinen.

--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 02-28-2009, 06:24 PM
Asmo Koskinen
 
Default First try, Jaunty Alternate, a bug

Asmo Koskinen kirjoitti:

> Here: https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/335767

I feel like an elephant in china shop, but I did this anyway ;-)

1. root@ltsp200:/home/user-ltsp5/Työpöytä# mkdir UsbStick

2. root@ltsp200:/home/user-ltsp5/Työpöytä# mount -t vfat /dev/sdb1
/home/user-ltsp5/Työpöytä/UsbStick

3. root@ltsp200:/home/user-ltsp5/Työpöytä# mount | grep user-ltsp5
192.168.1.102:/home/user-ltsp5 on /home/user-ltsp5 type fuse.sshfs
(rw,nosuid,nodev,user_id=0,group_id=0,allow_other, max_read=65536)
/dev/sdb1 on /home/user-ltsp5/Työpöytä/UsbStick type vfat
(rw,fmask=0022,dmask=0022,codepage=cp437,iocharset =iso8859-1)
root@ltsp200:/home/user-ltsp5/Työpöytä#

4. root@ltsp200:/home/user-ltsp5/Työpöytä# ls -al UsbStick/
total 4764
drwxr-xr-x 7 root root 16384 1970-01-01 02:00 .
drwxr-xr-x 1 user-ltsp5 user-ltsp5 4096 2009-02-28 21:04 ..
-rwxr-xr-x 1 root root 3501613 2009-02-14 18:38
Messu_20090215.odp
-rwxr-xr-x 1 root root 1305521 2009-02-14 18:41
Messu_20090215.pdf
drwxr-xr-x 4 root root 8192 2009-02-14 18:37 .Trash-1000
drwxr-xr-x 4 root root 8192 2008-06-21 22:45 .Trash-1001
drwxr-xr-x 4 root root 8192 2008-08-13 15:22 .Trash-1002
drwxr-xr-x 4 root root 8192 2008-11-19 16:20 .Trash-1003
drwxr-xr-x 4 root root 8192 2008-06-04 11:32 .Trash-1004
root@ltsp200:/home/user-ltsp5/Työpöytä#

5. root@ubuntu-ltsp5:/home/user-ltsp5/Työpöytä# ls -al UsbStick/
yhteensä 8
drwxr-xr-x 2 user-ltsp5 user-ltsp5 4096 2009-02-28 21:04 .
drwxr-xr-x 3 user-ltsp5 user-ltsp5 4096 2009-02-28 21:04 ..
root@ubuntu-ltsp5:/home/user-ltsp5/Työpöytä#
----

So I can create dir and mount usb stick on that just ceated dir inside
chroot, but on the server side I see just dir (owned by user), nothing
about mounted stuff...

Best Regards Asmo Koskinen.

--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 03-01-2009, 06:45 AM
Asmo Koskinen
 
Default First try, Jaunty Alternate, a bug

Asmo Koskinen kirjoitti:

> Things has changed.
> https://lists.ubuntu.com/archives/jaunty-changes/2009-January/002619.html

I wonder how much from Hardy/Intrepid?

GR 19.1.2009 about ltspfs/ltspfsd:

"Latest upstream should address this, as we no longer block removable
devices in a udev rule at all. Instead, we block only ide and ata
devices that are not removable by default - what we call "Internal
disks". USB disks, wether removable or not, should no longer be blocked
by default.

This will no doubt make it into Jaunty. Not sure if/when a backport to
Intrepid is planned."

https://bugs.launchpad.net/ubuntu/+source/ltspfs/+bug/274122/comments/4

Best Regards Asmo Koskinen.

--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 
Old 03-15-2009, 10:12 AM
Asmo Koskinen
 
Default First try, Jaunty Alternate, a bug

Asmo Koskinen kirjoitti:

> I just tried quickly Jaunty Alternate (daily CD, 25.2).
>
> Everything else (sound) worked out as expected, but USB stick did not
> popped on the desktop?

I downloaded today Alpha 6 - bug is fixed!

Ubuntu Alternate Alpha 6 i386 + HP Mini 2133 as a thin client. I have
screenshot here:

http://www.arkki.info/howto/Wiki/LTSP5/Jaunty-A6-i386.png

Well done, Stéphane!

Best Regards Asmo Koskinen.

--
edubuntu-users mailing list
edubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
 

Thread Tools




All times are GMT. The time now is 11:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org