You are not logged in.
Was this issue ever resolved? I am having the same problem.
Offline
I still have the issue also even with new initscripts. Vote the task: https://bugs.archlinux.org/task/27409
Last edited by student975 (2011-12-24 00:23:49)
"I exist" is the best myth I know..
Offline
well a workaround can be :
mount cifs with "_netdev" option and put "rc.d stop netfs" in /etc/rc.local.shutdown
O' rly ? Ya rly Oo
Offline
That done the trick.
Offline
Hello,
I found out I was experiencing this very same issue with my cifs mounts because I inadvertently mounted them with the "dev" option. Removing it got me rid of a couple of cifs warning messages on mount, too.
Hope this helps.
Offline
I follow this method but it doesnt work.but I have noticed that there is an error during boot:'Unexpect token near line 507 '<' `' or something like that.
I removed a '<' in line 507 in /etc/rc.d/functions (modified file follow this post) and turn off my laptop.It reports error in tty1 but it halted properly.then I rebooted for twice it just works fine.Maybe I break the functions file and it worked?Will it harm my machine?
Offline
What do you mean by "modified file follow this post"?
My system is currently up to date and my /etc/rc.d/functions at line 507 reads "remove_leftover() {", so there is no '<' in it.
Offline
I mean,I added
# avoid cifs
if [[ $fstype = @(cifs) ]]; then
continue
fi
and
modified line
if in_array _netdev "${opts[@]}" || [[ $fstype = @(cifs) ]]; then
and my /etc/rc.d/functions line 507 is :
done < (findmnt -mrunRo TARGET,FSTYPE,OPTIONS /) umount -r "${mounts[@]}"
and the original is:
done < <(findmnt -mrunRo TARGET,FSTYPE,OPTIONS /) umount -r "${mounts[@]}"
Color disappeared in tty1 so it means that I break the file.But it really works for me...
Offline
I follow this method but it doesnt work.but I have noticed that there is an error during boot:'Unexpect token near line 507 '<' `' or something like that.
I would suggest not changing things that are foreign to you. You've entirely broken the file, and the function (meaning it does nothing at all). You have a script in /etc/rc.d with a /bin/sh shebang, which is where this error comes from. Fix the script, don't break /etc/rc.d/functions.
I removed a '<' in line 507 in /etc/rc.d/functions (modified file follow this post) and turn off my laptop.It reports error in tty1 but it halted properly.then I rebooted for twice it just works fine.Maybe I break the functions file and it worked?Will it harm my machine?
Please post your DAEMONS array.
Offline
My DAEMONS array:
DAEMONS=(@syslog-ng @crond acpid sysfsutils hdapsd dbus alsa !networkmanager connmand bluetooth laptop-mode hddtemp)
I re-installed initscripts to get a original functions,it didnt report error but still hang on Unmounting Non-API Filesystems.
Now I do not turn off my computer,suspend instead.:(
Last edited by phoenixlzx (2012-01-23 15:46:31)
Offline
Your daemons array would be your problem. Nowhere in there are you using netfs. cifs mounts hang on shutdown because the network goes away and the kernel can't contact the remote to properly do the umount. Add 'netfs' somewhere after connmand.
Offline
Your daemons array would be your problem. Nowhere in there are you using netfs. cifs mounts hang on shutdown because the network goes away and the kernel can't contact the remote to properly do the umount. Add 'netfs' somewhere after connmand.
Added,but still hang on 'Unmounting Non-API Filesystems'.Now I'm using an original functions file.
Offline
I have updated to the newest kernel and it fixed.;)
Offline