addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [opensource-62] autofs overwriting /home?

From: mowgli
Sent on: Sunday, May 12, 2013 6:02 PM
1) auto.master:
+dir:/etc/auto.master.d (there is no such dir btw)
+auto.master
/blah/home /etc/auto.home --timeout=3600 --ghost

auto.misc:
cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom

auto.home:
* -rw,hard,intr,rsize=32768,wsize=32768,nosuid server:/exports/home/&

2) df has what i expect before & after.  all the mounts.  /home is not a mount point before or after.  if autofs is running & roaming user logins, then df shows server:/exports/home/userhomedir is mounted to /blah/home/userhomedir.  thats the only diff.  not sure how/why this helps since it just confirms /home isnt a mount point ever, but results sure make it seem like it is!

also i tried using auto.test vs auto.home in case new autofs assumes all auto.home mounts go to /home.  no diff.

thumbs be a twiddlin' !


On Sat, May 11, 2013 at 2:53 PM, John Fields <[address removed]> wrote:

1) what does your auto.master and auto.misc configs look like?

2) What does DF output look like before and after?  I think that output should have everything in it.

Sounds like a behavior change in a later version of autofs is a possibility.

On May 11,[masked]:01 AM, "mowgli" <[address removed]> wrote:
server: ubuntu hardy
client: linux mint 14.1 = ubuntu quantal

using ldap & autofs (automount nfs home shares on server) for roaming profiles on LAN.  all the ubuntu lucid clients work fine; the issue below is only w/ the new linux mint client.

on it, romaing users can login fine & home dirs automount fine to /blah/home/homedir.  just like on lucid clients.  BUT if autofs is running it masks the /home so that the 1 local user on the client no longer has its home dir!

for exampe: roaming user = billy.bob, local user = admin.  roaming user logins & his home dir = /blah/home/billy.bob - all fine.  but whether or not roaming user is logged in, as long as autofs is running, /home is empty!  if autofs is off /home/admin exists.  with autofs off, i can still manually mount billy.bob's home dir to /blah or wherever & /home/admin exists, so its not the mounting or the ldap login.  somehow autofs is mounting something to /home or doing some odd thing.

btw admin user is excluded from ldap on the client.  again /home/admin is gone even when no one is logged in, as long as autofs is running.  autofs isnt configured to mount anything to /home, only to /blah/home/

ideas?




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by mowgli ([address removed]) from Dallas Open Source Saturday.
To learn more about mowgli, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by John Fields ([address removed]) from Dallas Open Source Saturday.
To learn more about John Fields, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy