bedwyr
December 28th, 2011, 01:49 PM
Hello,
Im'going to upgrade my Xubuntu. Reading the release notes, i see this paragraph:
Ubuntu 11.10 has migrated away from /var/run, /var/lock and /dev/shm and now uses /run, /run/lock and /run/shm instead (respectively). While the Ubuntu AppArmor packages and shipped policy have been adjusted for this, custom policy may need to be updated. The following may be used to aid in migration (it allows both the old and the new paths):
$ sed -i -e 's#/var/run#/{,var/}run#' -e 's#/var/lock#/{run,var}/lock#' -e 's#/dev/shm/#/{dev,run}/shm/#' <profile>
When I'm executing this command, bash returns:
bash : syntax error near unexpected symbol « newline »
Does anybody know how to fix this command ?
Thanx
Im'going to upgrade my Xubuntu. Reading the release notes, i see this paragraph:
Ubuntu 11.10 has migrated away from /var/run, /var/lock and /dev/shm and now uses /run, /run/lock and /run/shm instead (respectively). While the Ubuntu AppArmor packages and shipped policy have been adjusted for this, custom policy may need to be updated. The following may be used to aid in migration (it allows both the old and the new paths):
$ sed -i -e 's#/var/run#/{,var/}run#' -e 's#/var/lock#/{run,var}/lock#' -e 's#/dev/shm/#/{dev,run}/shm/#' <profile>
When I'm executing this command, bash returns:
bash : syntax error near unexpected symbol « newline »
Does anybody know how to fix this command ?
Thanx