* dizzy 1.7 udev automount misbehaviour @ 2014-11-26 14:03 Ayoub Zaki 2015-03-02 8:56 ` scerveau 0 siblings, 1 reply; 5+ messages in thread From: Ayoub Zaki @ 2014-11-26 14:03 UTC (permalink / raw) To: yocto [-- Attachment #1: Type: text/plain, Size: 652 bytes --] I have built an image using yocto dizzy 1.7 running on beaglebone using systemd as init system and I noticed a misbehaviour while inserting different removable storage device (sd cards /usb sticsk) using vfat/ext3/ext4 FS that it does not correctly get mounted and the mount points under /run/media/$name stay empty. I debugged the automount script triggered by udev on insert/remove : /etc/udev/scripts/mount.sh and it seems that it's correctly running and mounting the media but somehow something is running after and unmounting the media device ! This behaviour was NOT observed with yocto daisy 1.6. Any help/hint is appreciated ! [-- Attachment #2: Type: text/html, Size: 733 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* dizzy 1.7 udev automount misbehaviour 2014-11-26 14:03 dizzy 1.7 udev automount misbehaviour Ayoub Zaki @ 2015-03-02 8:56 ` scerveau [not found] ` <CA+-BmJba+CbvNE4Y=FQOhxuvWV7-4ko8SsMNQ=83H71urGXbJg@mail.gmail.com> 0 siblings, 1 reply; 5+ messages in thread From: scerveau @ 2015-03-02 8:56 UTC (permalink / raw) To: ayoub.zaki, yocto Hello, Did you have a chance to understand the problem concerning the automount failure ? Best regards. Stéphane ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <CA+-BmJba+CbvNE4Y=FQOhxuvWV7-4ko8SsMNQ=83H71urGXbJg@mail.gmail.com>]
* dizzy 1.7 udev automount misbehaviour [not found] ` <CA+-BmJba+CbvNE4Y=FQOhxuvWV7-4ko8SsMNQ=83H71urGXbJg@mail.gmail.com> @ 2015-03-02 9:25 ` Ayoub Zaki 2015-03-03 8:55 ` Michaël Burtin 0 siblings, 1 reply; 5+ messages in thread From: Ayoub Zaki @ 2015-03-02 9:25 UTC (permalink / raw) To: yocto [-- Attachment #1: Type: text/plain, Size: 527 bytes --] ---------- Forwarded message ---------- From: Ayoub Zaki <ayoub.zaki@googlemail.com> Date: 2015-03-02 10:24 GMT+01:00 Subject: Re: [yocto] dizzy 1.7 udev automount misbehaviour To: scerveau <scerveau@gmail.com> Hello Stephane, Yes please read this : http://www.volkerschatz.com/unix/advmount.html Regards 2015-03-02 9:56 GMT+01:00 scerveau <scerveau@gmail.com>: > Hello, > > Did you have a chance to understand the problem concerning the automount > failure ? > > Best regards. > > Stéphane > [-- Attachment #2: Type: text/html, Size: 1220 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: dizzy 1.7 udev automount misbehaviour 2015-03-02 9:25 ` Ayoub Zaki @ 2015-03-03 8:55 ` Michaël Burtin 0 siblings, 0 replies; 5+ messages in thread From: Michaël Burtin @ 2015-03-03 8:55 UTC (permalink / raw) To: Ayoub Zaki; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 1282 bytes --] Hi Yocto, For the record the issue is in current dizzy branch and occurs when using systemd and udev along with udev-extraconf mount scripts. By default, systemd-udevd.service has the option MountFlags=slave, which means that mounts are only seen by udevd process. This explains some weird behavior. I'll file a bug for that. One solution is to change MountFlags to shared, so that mounts become available for all the system. Regards, Michaël On Mon, Mar 2, 2015 at 10:25 AM, Ayoub Zaki <ayoub.zaki@googlemail.com> wrote: > > ---------- Forwarded message ---------- > From: Ayoub Zaki <ayoub.zaki@googlemail.com> > Date: 2015-03-02 10:24 GMT+01:00 > Subject: Re: [yocto] dizzy 1.7 udev automount misbehaviour > To: scerveau <scerveau@gmail.com> > > > Hello Stephane, > > Yes please read this : > > http://www.volkerschatz.com/unix/advmount.html > > Regards > > 2015-03-02 9:56 GMT+01:00 scerveau <scerveau@gmail.com>: > >> Hello, >> >> Did you have a chance to understand the problem concerning the automount >> failure ? >> >> Best regards. >> >> Stéphane >> > > > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > > [-- Attachment #2: Type: text/html, Size: 2520 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* dizzy 1.7 udev automount misbehaviour @ 2014-11-26 13:53 Ayoub Zaki 0 siblings, 0 replies; 5+ messages in thread From: Ayoub Zaki @ 2014-11-26 13:53 UTC (permalink / raw) To: yocto [-- Attachment #1: Type: text/plain, Size: 672 bytes --] I have built an image using yocto dizzy 1.7 running on beaglebone using systemd as init system and I noticed a misbehaviour while inserting different removable storage device (sd cards /usb sticsk) using vfat/ext3/ext4 FS that it does not correctly get mounted and the mount points under /run/media/$name stay empty. I debugged the automount script triggered by udev on insert/remove : /etc/udev/scripts/mount.sh and it seems that it's correctly running and mounting the media but somehow something is running after and unmounting it and leaving the mount points empty ! This behaviour is NOT observed with yocto daisy 1.6. Any help/hint is appreciated ! [-- Attachment #2: Type: text/html, Size: 812 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-03 8:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-26 14:03 dizzy 1.7 udev automount misbehaviour Ayoub Zaki
2015-03-02 8:56 ` scerveau
[not found] ` <CA+-BmJba+CbvNE4Y=FQOhxuvWV7-4ko8SsMNQ=83H71urGXbJg@mail.gmail.com>
2015-03-02 9:25 ` Ayoub Zaki
2015-03-03 8:55 ` Michaël Burtin
-- strict thread matches above, loose matches on Subject: below --
2014-11-26 13:53 Ayoub Zaki
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.